Comment 121 for bug 95444

Revision history for this message
renato neves (trigun666) wrote : Re: No Screen Backlight Control; Sony Vaio with nvidia 8 series graphics

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