Sleep is working, hibernate is working, but selecting “Standby, then hibernate” in power saving settings doesn’t work, it actually performs a normal sleep, and what is that unknown period it needs to jump from normal sleep to hibernate?
Operating System: Manjaro Linux
KDE Plasma Version: 6.0.5
KDE Frameworks Version: 6.2.0
Qt Version: 6.7.1
Kernel Version: 6.9.1-2-MANJARO (64-bit)
Graphics Platform: Wayland
The unknown period is only configurable through systemd config files, the HibernateDelaySec entry in /etc/systemd/sleep.conf can modify the default which depends on your system’s capabilities and is described in man systemd-sleep.conf (see the “suspend-then-hibernate” section).
With a laptop left connected to power, it seems it will always fail to hibernate after sleeping
If the system has battery and HibernateDelaySec= is not set, low-battery alarms (ACPI _BTP) are tried first for detecting battery percentage and wake up the system for hibernation. If not available, or HibernateDelaySec= is set, the system would regularly wake up to check the time and detect the battery percentage/discharging rate. The rate is used to schedule the next detection. If that is also not available, SuspendEstimationSec= is used as last resort.
After setting HibernateDelaySec to a value, now it works fine as it should.
Hello there, I’ve got the Same Setup (Manjaro and the adjusted sleep.conf to switch to hibernate after 90 minutes) and most of the time it works fine. My Laptop goes into Standby and after the 90 minutes, it switches.
But sometimes, it doesnt work and it’s still in Standby, although it’s definetly been more than the 90 minutes.
I meed to do some more Testing to find out what causes this, but maybe you got some tips on how to find the root of the problem… I’m definetly No pro in Linux on that.
I could bei wrong on this, but maybe the Firefox Browser may be a problem?
Last night i left open the Browser and this morning, the Laptop was still in Standby.
Did some more testing today and in KJournald i found a hint at the real cause for this behaviour.
When i start the application menu and select the standby there, i can see that the laptop only enters suspend mode (Kjournald says: The system will suspend now!
But when i press the power button of my laptop, which i configured to be the same “standby”, KJournald says: The system will suspend and later hibernate now!
Dunno why the button seems to trigger this but the suspend/standby-icon in application menu doesnt… Maybe someone got an idea.
For the real test, im gonna press the power button this time to see, if it really goes into hibernation after some time.