How to set up Hibernate on Ubuntu 20.04 Learn to set up hibernate on Ubuntu 20.04 using systemd. Details on swap partitions, resume, polkit, and xsecurelock.