Why does shutdown not have priority over suspend/hibernation ?

Asked by Zenigata17

When shutting down a laptop, if one closes the lid just after clicking shut down, the laptop may go to suspend/hibernation mode instead of shutting down. This is especially annoying since when recovering from suspend/hibernation, then the laptop continue the shut down process.

Question information

English Edit question
Ubuntu Edit question
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Richard Seguin (sectech) said :

When you click shutdown your actually executing a shutdown script. If I understand you correctly your wondering why when you shut the lid after clicking shutdown it will suspend, then when you open the lid it will continue the process. If I am wrong please correct me.

When you trigger a stand-by event your essentially interrupting any other process that is running and your telling the laptop to go to sleep quickly. Often the system cannot shut down as quickly as it can suspend. When your powering back up your system after the stand-by your telling the system to resume whatever it was doing... It just happens to be in your case that what it was doing last was shutting down.

My suggestion would be to either wait for the system to shut down properly or just use the standby and shut it down later.

Another solution is to change the setting under power management so that when you close the lid the system shuts down automatically if that's what you want.

Can you help with this problem?

Provide an answer of your own, or ask Zenigata17 for more information if necessary.

To post a message you must log in.