Page MenuHomePureOS Tracker

Increase OEM-Swap-Partition to enable hibernation / hib. on emergency shutdown due to low battery
Open, NormalPublic

Description

General problem:

  • hibernation does not work on Librem laptops
  • hibernation does not work in case laptop's uncontrolled switching off due to empty battery (which resulted in several already reported broken filesystems and the need to re-install the whole OS)

Points to keep in mind:

  • Librem laptops are delivered with different RAM-sizes up to 16GB
  • keeping in mind that Purism so far mainly sells premium-priced laptops and probably only secondarily provides an own OS, buyers of those premium-priced laptops could assume their devices to work properly without the need to re-install the whole system because one did not touch the device for 3 days
  • hibernation is a commonly used feature with laptops (Ubuntu therefor suggests a swap-size taking hibernation into account (see: https://itsfoss.com/swap-size/)

Threads in forum:

Possible solution:

  • please consider increasing the default (OEM) swap-partition-size to allow general hibernation (keeping that max RAM-amount of 16BG in mind - my 17.1GB swap doesn't seem enough for my 16GB RAM; especially keep in mind, that your not only distributing an OS, but sell premium-priced laptops that should work out of the box)
  • make sure, laptops enter hibernation by default on empty battery

Event Timeline

ajlok created this task.Aug 8 2018, 05:16
ajlok updated the task description. (Show Details)

Not related to the core issue but figured I'd mention it - in my Librem 13v3 power settings, the drop down menu next to "when the power button is pressed" only has three available options - “Suspend” “Power Off” and “Nothing.” There should also be a "Hibernate" option but it's not there for me. I'm running PureOS and my system is fully updated.

In T535#9784, @thegoat wrote:

Not related to the core issue but figured I'd mention it - in my Librem 13v3 power settings, the drop down menu next to "when the power button is pressed" only has three available options - “Suspend” “Power Off” and “Nothing.” There should also be a "Hibernate" option but it's not there for me. I'm running PureOS and my system is fully updated.

I've also got "hibernate" in the same situation (PureOS fully upgraded, 13v3)

ajlok: Very odd that you have this option while I don't, as we're both using the Librem 13v3. Is there a setting in Gnome that I might be missing somehow?

We already talked about it in the forum. I don't remember. I used a tool to change some gnome settings. But don't remember what. Might be there was an option for it?

Nevertheless - the console-command for sending the laptop into hibernation didn't work either.

hansolo added a subscriber: hansolo.Feb 8 2019, 11:27
jonas.smedegaard triaged this task as Normal priority.