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 :)

-- 
Screen brightness resets to default (maximum) on idle with AC plugged in
https://bugs.launchpad.net/bugs/137598
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to