[RESPONDED] How to enable hibernate on Ubuntu?

I’m on Ubuntu 23.04 and I’m trying to enable hibernate (so I can use it instead of suspend, given how much suspend drains battery).

Everything I find online points to this thread to explain how to enable hibernate if it is not enabled on our system. However, this is way above my technical understanding–there is no easy step-by-step explanation on how to do it.

Has anyone does this on Ubuntu on the Framework? If so, how?

Have you read . . . on this forum?

While we do not test or support it officially, this will probably get you going.
It’s quite involved (I’ve done it before on 12th gen), and it may lead to additional challenges if you miss a step.

Just my 2 cent here.

I am not using the hibernate function on laptops with Linux anymore:

  • I use laptops with large RAM amount 32 or 64 GB ram. Means the SWAP space will have to be at least that large and IMHO, this is a waste of disk space.
  • The boot up process is very fast under Linux.

That was an issue with Windows taking ages to boot where hibernation was a thing.
If I’m on travel and working on some things, I just put it to sleep as I’ll continue 30 minutes later where I stopped.

As a counter point, being able to not have to open and position windows particular to your workflow is something I value. Hibernation works REALLY well on the 11th and 12th Frameworks that I own. It is just a matter of increasing the size of the swap file, updating grub, and adding the GUI elements back into Gnome.

Beyond this you now have several options when finished using your laptop. Suspend, hibernation, or power off.

Granted if your are sitting on 64gb of RAM your swap file will be huge, just kind of how hibernation works.

1 Like

With how cheap fast storage got this isn’t really a concern. If you are fin with opening everything you need again every-time, good for you. If not hibernation is pretty amazing, especially for window hoarders like me XD.