Here is the patch I came up with.  Basically, when the "idle" callback
is called, this will stop it from changing the brightness if idle
dimming is disabled.  Hope this is suitable - I know one could suppress
the idle callback from being called, but it seems that it is used for
other things (gscreensaver, etc).  If not, then that would be the
preferred solution.

** Attachment added: "gpm-backlight.c.diff"
   http://launchpadlibrarian.net/9690288/gpm-backlight.c.diff

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