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.

** Patch added: "gpm-manager.diff"
   http://launchpadlibrarian.net/50675716/gpm-manager.diff

-- 
Laptop suspends when I connect/disconnect AC
https://bugs.launchpad.net/bugs/481312
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu.

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

Reply via email to