Closing lid after telling computer to shut down results in hibernate
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KDE Base |
Fix Released
|
Medium
|
|||
gnome-power-manager (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
kdebase-workspace (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
After clicking "Shut Down", after all windows and task bars have been removed from the screen, I usually close the laptop lid. However, I have set my computer to hibernate when the lid is closed. The result is that Ubuntu stops shutting down and starts hibernating, which it does successfully. Next time I boot my computer, I have to boot TWICE to get to a usable desktop - once to wake up from hibernate, at which point the shutdown is completed, and then again to boot up into a new session.
Expected behavior is that, during shutdown, the laptop will ignore the signal to hibernate and just continue shutting down when the laptop lid is closed.
I am using Ubuntu 8.10 (Intrepid), although this bug might exist in earlier releases. Hardware is Thinkpad Z61t.
Changed in kdebase: | |
status: | Unknown → Fix Released |
Changed in kdebase: | |
importance: | Unknown → Medium |
This happens for me too, and has happened for me since dapper. I've always run Kubuntu, I'm not sure it that's relevant.
Other related behaviour is that in 8.10, powerdevil hibernates when the battery level is critical, but sometimes it takes longer than expected (ie. "will suspend to disk in ten seconds" disappears, and hibernate doesn't start for another 30). In this case, I sometimes manually hibernate, hoping to avoid completely depleting my battery. The last time I did this, I plugged in before booting, and then booted. immediately after resuming from hibernation, the coputer immediately hibernated again.
I Propose these changes to behaviour: sleep/shutdown/ reboot process, all subsequent such tasks are immediately cancelled, or not allowed to start. sleep/shutdown/ reboot processes may start within 5 (or 3?) minutes of resuming from sleep or hibernation. This would allow the user to save any documents open before the computer runs the critical battery task (ie. hibernation, or shutdown)
- After one task begins a hibernation/
- No hibernation/