Comment 60 for bug 481312

Revision history for this message
Berend De Schouwer (berend-de-schouwer) wrote :

gpm-manager in gpm_manager_client_changed_cb() sometimes checks for on_battery, and sometimes checks for on_battery && lid_is_closed.

This patch makes it consistent (always check for on_battery && lid_is_closed)

Again: untested, sorry

If this works, I'd like to get a little help with logging the feature request correctly to upower (or kernel acpi) assuming it's a bios bug.