on unsuspend g-p-m alters the backlight level even if power status not changed

Bug #34897 reported by Paul Sladen
14
Affects Status Importance Assigned to Milestone
gnome-power
Confirmed
Unknown
gnome-power-manager (Ubuntu)
New
Medium
Unassigned

Bug Description

If the backlight brightness has been altered (for example it's a sunny day) and then the machine is suspended; on unsuspend the backlight brightness will suddenly jump back to the level configured in g-p-preferences after a couple of seconds, even if the AC power status as not changed.

This looks fairly unslightly and it isn't necessarily want is wanted.

Ideally g-p-manager should only act on its internal settings when a change of state occurs ('edge' rather than 'level').

This also appears to happen when the screensaver deactivates and comes back to the desktop.

Paul Sladen (sladen)
description: updated
description: updated
Revision history for this message
Richard Hughes (richard-hughes) wrote :

How did you modify the brightness of the laptop panel without using g-p-p?

Revision history for this message
Paul Sladen (sladen) wrote :

Fn-Home/Fn-End. Aswell as generating nvram events on the ThinkPad these also get handled directly by the hardware.

The long-term solution is to map all the hot-keys through the input layer. Take the key-event, examine the appropriate hardware-state and if nothing has changed then process the action in software. Wifi/BT toggle, VGA/TFT and Volume are other examples of events that may or may not be handled at a lower-level, but which still generate the key-action.

Revision history for this message
Paul Sladen (sladen) wrote :

Just noticed that is related:

  https://launchpad.net/bugs/34743

Revision history for this message
Richard Hughes (richard-hughes) wrote :

But we can cope with that, as g-p-m could read the brightness and then set it to this value on resume, rather than just enforcing the policy brightness.

>The long-term solution is to map all the hot-keys through the input layer.

Agreed.

Richard.

Changed in gnome-power:
status: Unknown → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.