Linux How To's | Bash Scripting | Python

Wednesday, 23 October 2013

Hibernate option saves all the currently running applications and turns off the system without any further power consumption. When the system wakes up on the next restart, all the previously running applications are restored. By default, Hibernation is disabled in Ubuntu and it is removed from the Ubuntu's shutdown menu (for versions 12.04 and onwards). This article will guide you to re-enable the Hibernate feature in Ubuntu systems.

Check Whether Hibernation Works in Your System

First this you'll have to do is to check if hibernation works fine in your system or not. You need to enter a command after which your system will turn off.

sudo pm-hibernate

You'll have to reboot the system again and check if previously active applications re-open, if they do, hibernation works well for your system. If they don’t re-open, see whether the swap partition is not less than the available RAM.

Enabling Hibernate Option

To enable Hibernate option in the Ubuntu shutdown menu, you'll have to create a hibernation configuration file as follows: