I am using ubuntu 18, I had issues using hibernation
systemctl-hibernate
pm-hibernate
setting the power button to hibernate, dconf-editor, alt+power button, and gnome extentions did not work
It started working after I used
sudo apt install uswsusp
Now only pm-hibernate works, non of the others including systemctl-hibernate and the power button being set up to hibernate, and alt+power button
I assume that the default action when using the power button with or without alt is the systemctl-hiberate.
How can i set it up to use pm-hibernate?