# elementaty_os Lid Hibernate Ubuntu Make sure you have SWAP > RAM SWAP to fstab find swap UUID: blkid | grep swap should output /dev/nvme0n1p1: UUID="90ee7315-b16a-4e2g-bd07-cg83703750b9" TYPE="swap" PARTUUID="abadca41-942a-6c83-88d2-db28cf41ce13"` copy the UUID, without the " : UUID=90ee7315-b16a-4e2g-bd07-cg83703750b9 add swap to fstab sudo nano /etc/fstab add UUID=90ee7315-b16a-4e2g-bd07-cg83703750b9 none swap sw 0 0 reboot add swap to grub sudo nano /etc/default/grub edit GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" to GRUB_CMDLINE_LINUX_DEFAULT="resume=UUID=90ee7215-c16a-4e2f-bd07-cd83703750b6" if you DONT want kernel messages to be shown and keep the plymouth animation during boot, change to: GRUB_CMDLINE_LINUX_DEFAULT="quiet splash resume=UUID=90ee7215-c16a-4e2f-bd07-cd83703750b6" update grub with the new settings: sudo update-grub try with sudo systemctl hibernate after reboot it should show all the same windows again activate automatic hibernation after delay To start using this function you need to create a file sudo nano /etc/systemd/sleep.conf add [Sleep] HibernateDelaySec=3600 try sudo systemctl suspend-then-hibernate Should sleep for the time specified and then the screen turns on shortly and it hibernates. Try rebooting after this happened. If it works make it permanent. sudo nano /etc/systemd/logind.conf change #HandleSuspendKey=suspend #HandleLidSwitch=suspend to HandleSuspendKey=suspend-then-hibernate HandleLidSwitch=suspend-then-hibernate Save the file. Restart logind service by the command: systemctl restart systemd-logind.service