How to deal with closing/standbying notebook and forgetting about it - avoid empty battery on fedora silerblue

Rather new to fedora silverblue, coming from 30y of private/work microsoft and about 10y debian. Im just so beyond done with microsoft…

blown away by fedora silverblue experience, absolutely zero issues on an old fujitsu and a lenovo p1g6 (that one with bazzite). Everything is fast, responsive and stable, flatpacks are awesome. Slight learning curve regarding layering and rpm-ostree for a few select packages (like vm manager). Now only my main workstation is left on windows.

Already read a lot about enabling hibernation and have enabled it, disabled secure boot on the fujitsu and configured power button to hibernate.
Sometimes i just close the lid, notebook goes to standby and I forget and come back/wake up to an empty battery.

How could i deal with this (besides not forgetting). Look into somehow auto hibernate from standby after some time or some other way?

thanks

I’m quite new too. UPower is probably the thing to investigate, check out /etc/UPower/UPower.conf, you can optionally put your modifications in /etc/UPower/UPower.conf.d/<whatever>.conf. I don’t know whether it could wake from sleep to hibernate instead, but that’d be my first port of call, anyway.

Unfortunately, it’s not something we have a good support for as we don’t setup a dedicated swap partition anymore that could be used for hibernation. There might be some guides to do it however.