Red Hat Bugzilla – Bug 497743
gnome-power-manager sleeps after waking
Last modified: 2013-01-10 02:47:59 EST
Hitting the sleep button causes g-p-m to initiate sleep. It's blocked while doing so. This means that the hal button press event isn't delivered until after resume, which means too much time has passed for them to be flagged as duplicate events. This causes a further sleep cycle.
Created attachment 341367 [details]
This patch simply skips sending the hal event if it's a button event rather than a lid event. Probably not suitable for upstream, but potentially a decent workaround for F-11? Tested with no double suspends and suspend on lid close still working.
This bug appears to have been reported against 'rawhide' during the Fedora 11 development cycle.
Changing version to '11'.
More information and reason for this action is here:
*** Bug 507547 has been marked as a duplicate of this bug. ***
The patch has been successfully tested by the two reporters of bug 507547. Please consider releasing an update with it.
I got rid of this problem by installing the patched gnome power manager (linked to in bug 507547). But it's come back again with the latest update.
I am facing same problem after latest update.
* Mon Aug 20 2009 Richard Hughes <firstname.lastname@example.org> - 2.26.4-3
- Actually apply the patch in #497743
See http://koji.fedoraproject.org/koji/taskinfo?taskID=1617346 for the build.