Hibernation mode does not work when I close the laptop lid. The logs show the following errors: systemd-sleep[3991]: Failed to put system to sleep. System resumed again: Device or resource busy.
This started after updating from F42 to F43 and the subsequent plasma update.
However, if I click the “Hibernation” button in the interface or call “sudo systemctl hibernate, hibernation and waking up from hibernation work.
The file /etc/systemd/logind.conf does not exist.
I tried changing the TimeoutStopSec parameter in plasma-powerdevil.service, but to no avail.
Sleep and Hibernate are two totally different processes. Sleep does not power off, merely goes to a standby state while retaining system status in RAM. Hibernate saves the system status into a physical storage swap space and powers off.
The failure to sleep tells you that something is active and preventing idling the system. Maybe a process or maybe the network or possibly something else. Do you have any remotely mounted file sytems?
You are absolutely right, sleep mode and hibernation are two completely different settings. But the thing is, I have hibernation set to activate when I close the lid.
well, we can no longer look at the journalctl logs nor the config file since you uploaded them to a facility that is only available for short term use. They disappear after about 24 hours.
Please redo the journalctl logs and paste them here as preformatted text (use the </> button) so we can have them for reference and are not limited as to time.
We would need to see what happens from the time just before you close the lid until you reopen it and power back on.