I too hate having to pass a URL so I will copy and paste the information and attach the web page to the bottom. I do not see this in your link.
While reading this, I noticed that hibernation may not work if you formatted with btrfs file system? So, how is hibernation permanently enabled in Ubuntu 16.04?
To make the Ubuntu hibernation process permanent, you need to create a new file using a text editor on the command line:
sudo nano /etc/polkit-1/localauthority/50-local.d/com.ubuntu.enable-hibernate.pkla
The system requires root privileges to enable the hibernation option, hence, the command sudo should be added. You can use other text editors like vi, gedit, emacs, etc.
Now, copy and paste the following text to a file (use the mouse; keyboard shortcuts won’t work):
[Re-enable hibernate by default in upower]
Identity=unix-user:*
Action=org.freedesktop.upower.hibernate
ResultActive=yes
[Re-enable hibernate by default in logind]
Identity=unix-user:*
Action=org.freedesktop.login1.hibernate;org.freedesktop.login1.handle-hibernate-key;org.freedesktop.login1;org.freedesktop.login1.hibernate-multiple-sessions;org.freedesktop.login1.hibernate-ignore-inhibit
ResultActive=yes
Press CTRL+O to save, and CTRL+X to exit the nano editor.
Now, logout of your system and then login again. You will now see a hibernate option, along with the Shut Down and Suspend options.
The link for your convenience is:
https://fossbytes.com/enable-disable-hibernate-option-ubuntu-power-menu/
Best Answer
Please make sure that your swap is mounted correctly. Edit the
/etc/fstab/
file using the nano editor:When the /etc/fstab is opened, go to the line where you can read: ” # swap was on /dev/…..” immediately after this line, I mean the next line, be sure there is no ”#”. If there is a ”#” starting this following line, just delete it. Then press Ctrl+O and after that Enter to save the changes you made to fstab, then Ctrl+X to exit nano. Now your swap space will be active for hibernation after the next reboot.
...and restart your computer.