I use command sudo pm-suspend to put my laptop to sleep and when I resume from sleep my session logs out and saved session is lost. It does not happen every time but very often.


1 Answer 1


Try use pm-suspend-hybrid instead. It will prepare the system for hibernate by storing all memory content to disk and then goes into suspend. The suspended state gives the advantage that it can resume very quick and because it also prepared for hibernate the system is also able to start when the power is lost.

More info here: http://manpages.ubuntu.com/manpages/precise/man8/pm-action.8.html

Good luck!

  • He never said he unplugged his laptop between suspend and resume for 3 days and you could have asked him that in a comment before posting your answer. Sep 27, 2016 at 0:46
  • True, but hybrid suspend most likely will solve the problem if the suspend state is lost. It seemed more useful to provide a solution instead of an inquiry to figure out the exact reason why it happens. But I could indeed have asked. Sep 30, 2016 at 16:37
  • If you edit your answer with the preamble "If suspended for a long time system could shut down in which case hybrid suspend-hibernate..." or something like that, I'll remove my downvote.... the software won't let me unless you edit the answer. Oct 1, 2016 at 17:30

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .