How to Enable Hybrid Suspend in Ubuntu [Quick Tips]

In Ubuntu, there is a “suspend” button where you can click to put your desktop/laptop to sleep and quickly recover from it later. While “suspending”, the computer will save the existing state to the RAM so it can be quickly restored without having to go through the hard disk. However, this also means that you can’t power off your machine since all the data in the RAM will disappear once the power is cut. A better way to deal with this is through “hybrid suspend” where it will first suspend the computer (saving the existing state to the RAM) and after a while if it is not restored, the saved data will get transferred to the hard disk (or the swap) and the computer go into hibernation. In the hibernation mode, the restoration will take a slightly longer time to restore (but still faster than a cold boot), but no power will be used in the process.

Here is how you can enable the Hybrid Suspend mode in Ubuntu:

1. Open a terminal and type:

This will check if your system support hybrid suspend. If you see the message “hybrid suspend is supported”, then you can proceed with the steps below. (Typically, if your system support hibernation, it should be able to support hybrid suspend).


2. Still in the terminal, enter the following command:

and paste the following code into the blank area. (Paste using the “Shift + Ctrl + v” keyboard shortcut)

3. Lastly, save (using “Ctrl + o”) and exit (using “Ctrl + x”) the text editor.

That’s it.

via Webupd8 and AskUbuntu

Image credit: Wooden Doll by Big Stock Photo.