Red Hat Bugzilla – Bug 329541
Time-based suspend triggers hibernate upon resume
Last modified: 2013-03-05 22:52:20 EST
Description of problem:
Whenever I leave the laptop idle long enough to suspend (S3), right after it
finishes resuming it goes to hibernate (S4). What is more, upon a second resume
I get a popup saying that hibernate failed, although nothing seems to be busted.
Note that it does not happen when suspend is triggered using other method, like
for instance closing the lid.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Set the suspend time
Laptop resumes and then immediately hibernates
Laptop resumes and stays resumed
To me it looks like both pm-suspend and pm-hibernate are called, as the
hibernate happens quite fast. For reference, I have Toshiba Satellite A100-847
here, which worked fine under F7 running 2.6.23-rc* kernel.
I'm seeing this too, on an i386 installation on a Dell Laptop.
Here is the result of grep gnome-power-manager /var/log/messages:
Oct 11 14:30:15 localhost gnome-power-manager: (mclasen) Resuming computer
Oct 12 12:27:38 localhost gnome-power-manager: (mclasen) Hibernating computer
because System idle
Oct 12 13:21:46 localhost gnome-power-manager: (mclasen) Resuming computer
Oct 12 13:22:25 localhost gnome-power-manager: (mclasen) Resuming computer
As you can see, the machine hibernated while I was away for lunch, which is ok.
When I came back I resumed, and then it immediately suspended again.
What worries me is that there's no logging for the last suspend action. So, if
anyone can reproduce while running
gnome-power-manager --no-daemon --verbose
then please post the log here. Thanks.
I've put the log here: http://bugzilla.gnome.org/show_bug.cgi?id=486138
for the patch. Get the build here