If I close the laptop lid the next boot fails

hibernatelaptop

I never shutdown my laptop. I use hibernate instead. Hibernate and suspend are working, but if I close the lid after clicking "Hibernate" the next boot will crash. I see a black screen that never goes away and I have to hard reset it holding the power button losing all my open applications.

I hate when I forget it and I close the lid! Is there a solution for this? Is this a compatibility problem with no solution?

My laptop is a Lenovo Ideapad Y460 running Debian wheezy.

Linux 2.6.39-2-amd64 #1 SMP Tue Jul 5 02:51:22 UTC 2011 x86_64 GNU/Linux

Best Answer

In your Power features setup, there's an option for 'action when closing lid'... change that from 'suspend' to 'none', or even to 'hibernate'. If you set it to hibernate, then you don't have to click anything... just close the lid, and it'll hibernate automatically.

If you're running KDE, it's:

  • system settings
  • Power Management (light bulb, towards bottom)
  • Energy Saving Settings (Top item on left column)
  • Button Events Handling (second from bottom, right side).
  • "When Laptop Lid Closed..." setting.

There's three tabs (top, right side) which determine actions for AC, Battery and Low Battery states.

Related Question