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