Saturday, August 12, 2017

Ubuntu Hibernation

Ubuntu Hibernation




Setting up Hibernation on newer Ubuntu OS was quite a pain to me - as I use Ubuntu mostly on my laptop, hibernation is quite a feature I need, putting the computer into sleep mode consumes more battery than hibernating it.

While Ubuntu disabled hibernation by default since 14.04 (or earlier, I dont really know, I jumped to 14.04 from 13.04 and skipped 13.10)

The following link is a page from the documentation of Ubuntu detailing how to re-enable hibernation through the Terminal and gedit (the default editor of Ubuntu).

Well, there is a catch though - you will need to set up a swap partition as least as large as your usable amount of RAM. So, say you have a computer with 8GB of RAM and 128GB of storage, you will have to make a partition of 8GB and mark it as the swap area while installing Ubuntu.

If youre not sure if you did so, you can test if your setup allows you to hibernate by running the following command in Terminal:

sudo pm-hibernate

Ubuntu Documentatoin on Hibernation:

http://ubuntuhandbook.org/index.php/2014/04/enable-hibernate-ubuntu-14-04/


download file now