upower does not check dock state on resume from suspend
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
upower (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Oneiric |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
Now that gnome-settings-
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://
Related branches
Changed in upower (Ubuntu): | |
status: | New → Fix Committed |
This bug was fixed in the package upower - 0.9.15-3git1
---------------
upower (0.9.15-3git1) precise; urgency=low
Upload current Debian packaging git head.
* Add 00git_update_ dock_after_ suspend. patch: Re-coldplug dock status when
resuming from sleep. Patch by Evan Broder, thanks! Also committed
upstream. (LP: #980746)
-- Martin Pitt <email address hidden> Fri, 13 Apr 2012 14:39:59 +0200