Hi,

gpm doesn't handle correctly the state of my battery which explains the
previous issue with backlight.

While on battery, closing the lid blanks the screen (as configured for
AC) whereas it should sleep:

 - ** EMIT: summary-changed(2): Batterie de l'ordinateur, 6 heures 40 minutes 
restantes (95,7 %)
TI:16:16:32     TH:0x9fc890     FI:gpm-manager.c        
FN:gpm_manager_client_changed_cb,829
 - same state as before, ignoring
TI:16:16:32     TH:0x9fc890     FI:gpm-button.c FN:gpm_button_emit_type,81
 - emitting button-pressed : lid-down
TI:16:16:32     TH:0x9fc890     FI:gpm-manager.c        
FN:gpm_manager_button_pressed_cb,749
 - Button press event type=lid-down
TI:16:16:32     TH:0x9fc890     FI:gpm-manager.c        FN:gpm_manager_play,222
 - failed to play lid-close: File or data not found
TI:16:16:32     TH:0x9fc890     FI:gpm-manager.c        
FN:gpm_manager_lid_button_pressed,668
 - Performing AC policy
TI:16:16:32     TH:0x9fc890     FI:gpm-manager.c        
FN:gpm_manager_perform_policy,510
 - action: /apps/gnome-power-manager/buttons/lid_ac set to blank (The lid has 
been closed on ac power.)

first line proves that gpm is aware that the battery is discharging,
while it states afterwards the lid has been closed on ac power (which is
incorrect).

Cheers,
Julien

-- 
Brightness not adjusted when switching from AC to battery
https://bugs.launchpad.net/bugs/522525
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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

Reply via email to