Comment 6 for bug 137598

Revision history for this message
Tim Hull (thully) wrote :

The issue here is:

*g-p-m changes the brightness to the "dim" brightness on idle with dim enabled
*g-p-m changes brightness value to full brightness on leaving idle with dim enabled
*g-p-m changes brightness value to full brightness on idle with dim disabled

This all takes place in "gpm-backlight.c" in the source, in the "gpm_backlight_brightness_evaluate_and_set" function.

Instead:

*g-p-m should change the brightness to the "dim" brightness on idle with dim enabled *if not already set to a lesser value
*g-p-m should return the brightness to the original (pre-dim) brightness on leaving idle
*g-p-m should not touch the brightness on idle/leaving idle with dim disabled

I'm looking at the code, but I can't guarantee a patch since I'm a bit C-impared :)