Public bug reported: Now that gnome-settings-daemon's power management code checks upower's is-docked flag, it's important that it be accurate.
However, it is possible that the inputs to the is-docked state could change while the laptop is suspended without generating a drm udev event to trigger a re-probe. This is fairly easily reproducible: 1. Connect external monitor 2. Suspend using the system menu 3. Disconnect external monitor 4. Wake the laptop back up 5. Close lid I expect the laptop to go to sleep. However, it does not, because upower believes the laptop is still docked (you can confirm this by looking for the "is-docked" line in upower --dump) Fix for this issue was committed upstream as http://cgit.freedesktop.org/upower/commit/?id=6fb36eb5eb85386d2e1c5d9fb760d68053d8afc5 ** Affects: upower (Ubuntu) Importance: Undecided Status: New ** Affects: upower (Ubuntu Oneiric) Importance: Undecided Status: New ** Also affects: upower (Ubuntu Oneiric) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/980746 Title: upower does not check dock state on resume from suspend To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/upower/+bug/980746/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs