Feature request: Hibernate
I'm not sure if that's by design or it's a bug, but I don't see a sleep option in the power menu:
The settings also have no option to configure sleep for the laptop lid state.
Suspend is sleep.
Okay, true; that means hibernate is missing :)
I think the general trend in distros is to remove hibernate, because it can have issues.
this is also mentioned in Issue: Feature Request - #537 I'm also looking forward to these options hopefully making it to this DE.
@git-f0x - Is this considered a distro? I was under the impression that this is a DE. These features exists on in POP! OS.
No, it is a DE. But I've seen some distros (e.g. Fedora) not having a hibernate option, due to issues. It could probably be conditionally added if it's a really wanted feature (though sleep and shut down are probably enough for most people). Edit: While I don't have an install of Pop 22.04 to check, by default, Pop has 4GB of on-disk swap, which isn't enough for hibernate when having >4GB of RAM.
i had to do my research on the difference between Hibernate and Suspend.
IMO hibernate really isn't worth it. Sleep/suspend has lasted me weeks on a full battery
Hibernate is worth a shot if it can be implemented. Using hibernate battery will also last longer compared to sleep. During sleep if your battery falls to zero your entire work that was open on your system will be destroyed if not saved. Hibernate allow saving the state of apps so no matter if battery is emptied, data will be available on next boot as it was left before hibernating the system.
If implemented it can also be used to prevent data loss when during sleep if battery falls below 5% system will hibernate before state of system is killed
If implemented it can also be used to prevent data loss when during sleep if battery falls below 5% system will hibernate before state of system is killed
I haven't thought about that
That's how it works in Windows. We can set a battery percent threshold, below which system will hibernate
Hibernation is handy when you are multi-tasking, when for example researching a project for which you have different apps open. Suddenly you have to go, and you don't know when you are back: hibernate your system, doesn't use power. Suspend uses power, so when the battery runs out, you loose your workflow.
But you can use hibenation, if you have set it up when installing your distro, by evoking: systemctl hibernate
I'm also tired of the endless workarounds and articles required just to enable hibernation. Even after all that hassle, it still doesn't work properly. That's why I fully support adding this feature—it’s so underrated.
I've issued a feature request against pop-os/iso to make installing hibernation on Pop!_OS as seemless as possible. https://github.com/pop-os/iso/issues/343
The lack of hibernate option is one of the big reasons I've moved back to Windows after each attempt at Linux desktop. I'm really hoping to stick to Fedora COSMIC this time, but hibernate would definitely make adoption easier for people coming from Mac and Windows.
If you have a big enough swap-partition, you can set a keyboard-short-cut for the command systemctl hibernate.
Settings → Input-devices → Keyboard → Keyboard-short-cuts → Custom
If you have a big enough swap-partition, you can set a keyboard-short-cut for the command
systemctl hibernate.Settings → Input-devices → Keyboard → Keyboard-short-cuts → Custom
thanks for the idea, i think a keyboard shortcut is the best option until it can be added to the DE.
I am running cosmic alpha and followed the instructions here and Hibernate works great. https://support.system76.com/articles/enable-hibernation/
There are some linux systems which have problems with suspend, it isn't just the other way around.
There are some linux systems which have problems with suspend, it isn't just the other way around.
Yes, but that's the user's decission, aint it? You could just provide a warning.
That's my opinion.