Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Delayed hibernation

I have suspend and hibernation working on a laptop running Fedora 24 (Workstation). I have to take a call on whether to suspend or hibernate when I take a break. Then, I came across the concept of delayed hibernation on the Arch Wiki - Delayed hibernation.

It would be quite handy to have this - i.e. typical scenario would be to shut the lid to suspend and not have to worry when the battery runs out while in the suspend state. With a service that wakes the system up after a period of being in a suspend state and go into hibernation, it would do just that - automatically take care of that headache.

Can a systemd service be set up on Fedora with this script? Does it need to be adapted in any way to use on Fedora? Is it sufficient to create a systemd service with this script and enable it?

Delayed hibernation

I have suspend and hibernation working on a laptop running Fedora 24 (Workstation). I have to take a call on whether to suspend or hibernate when I take a break. break from using the laptop.

Then, I came across the concept of delayed hibernation on the Arch Wiki - Delayed hibernation.

It would be quite handy to have this delayed hibernation - i.e. typical scenario would be to shut the lid to suspend and not have to worry when the battery runs out while in the suspend state. With a service that wakes the system up after a period of being in a suspend state and go into hibernation, it would do just that - automatically take care of that headache.

Can a systemd service be set up on Fedora with this script? Does it need to be adapted in any way to use on Fedora? Is it sufficient to create a systemd service with this script and enable it?