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).
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 %) manager_ client_ changed_ cb,829 button_ emit_type, 81 manager_ button_ pressed_ cb,749 manager_ play,222 manager_ lid_button_ pressed, 668 manager_ perform_ policy, 510 power-manager/ buttons/ lid_ac set to blank (The lid has been closed on ac power.)
TI:16:16:32 TH:0x9fc890 FI:gpm-manager.c FN:gpm_
- same state as before, ignoring
TI:16:16:32 TH:0x9fc890 FI:gpm-button.c FN:gpm_
- emitting button-pressed : lid-down
TI:16:16:32 TH:0x9fc890 FI:gpm-manager.c FN:gpm_
- Button press event type=lid-down
TI:16:16:32 TH:0x9fc890 FI:gpm-manager.c FN:gpm_
- failed to play lid-close: File or data not found
TI:16:16:32 TH:0x9fc890 FI:gpm-manager.c FN:gpm_
- Performing AC policy
TI:16:16:32 TH:0x9fc890 FI:gpm-manager.c FN:gpm_
- action: /apps/gnome-
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