When i dim the brightness it goes from 100% to 20% , then if i increase it goes from 20% to 30%, after that brightness can't be changed anymore.
This is the conversion :
in set brightness : "$(( $value * 5 + 15 ))"
in get brightness : value=$(( ${value//%/ } /5 -3 ))
i changed it into this : "$(( $value * 33 ))"
and this : value=$(( ${value//%/ } / 33 ))
It's not better but i prefer it. :P
When i dim the brightness it goes from 100% to 20% , then if i increase it goes from 20% to 30%, after that brightness can't be changed anymore.
This is the conversion :
in set brightness : "$(( $value * 5 + 15 ))"
in get brightness : value=$(( ${value//%/ } /5 -3 ))
i changed it into this : "$(( $value * 33 ))"
and this : value=$(( ${value//%/ } / 33 ))
It's not better but i prefer it. :P