My Kubuntu 22.04 on a Macbook Air takes a lot to wake up from sleep, which makes me think it's maybe hibernating in fact.
This is happening even if the lid is closed for a few seconds. It takes up to 10-15 seconds to wake up.
Only Escape key seems to work for this purpose.
In the Plasma settings the default is sleep/suspend when lid is closed, and there is no hibernation option:
I have read here (Does linux have a hybrid "deep sleep" mode like the Mac?) that Ubuntu above 18.04 has this feature, but here it says that the feature is not enabled by default but needs editing the file /etc/systemd/sleep.conf
. On my system that file has all options commented out:
[Sleep]
#AllowSuspend=yes
#AllowHibernation=yes
#AllowSuspendThenHibernate=yes
#AllowHybridSleep=yes
#SuspendMode=
#SuspendState=mem standby freeze
#HibernateMode=platform shutdown
#HibernateState=disk
#HybridSleepMode=suspend platform shutdown
#HybridSleepState=disk
#HibernateDelaySec=180min
How can I tell what is happening and what are the settings on my system?
I want to know whether this behavior is due to hibernation being active by default (by some Kubuntu setting or by deeper Macbook boot settings) or to some odd problem with the OS taking a lot of time to wake up from suspend.
journalctl -b
, I see lines likekernel: PM: hibernation: Registered nosave memory: [mem 0x00000000-0x00000fff]
. So, it's hibernation, isn't it? – cipricus Aug 24 '22 at 14:42