无法挂起系统,稍后通过 logind 休眠:不支持睡眠动词“suspend-then-hibernate”

无法挂起系统,稍后通过 logind 休眠:不支持睡眠动词“suspend-then-hibernate”

我尝试在 ubuntu 22.04 上激活挂起然后休眠功能。我按照以下说明操作:这个答案,但不幸的是当我运行sudo systemctl suspend-then-hibernate返回错误:

无法挂起系统,稍后通过 logind 休眠:不支持睡眠动词“suspend-then-hibernate”

我在 中激活了 suspend-then-hibernate sleep.conf。这里它包含:

[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=50min

我的笔记本电脑是联想 Thinkbook 14 G2。我的笔记本电脑不支持suspend-then-hibernate该功能吗?还是我错过了什么?

更新:

在此之前,我有 10GB 的交换空间,但现在我升级到了 16GB 交换空间,但仍然无法工作。

(base) mycom@mycom:~$ free -h
               total        used        free      shared  buff/cache   available
Mem:            15Gi       5,4Gi       5,4Gi       1,1Gi       4,6Gi       8,6Gi
Swap:           15Gi          0B        15Gi

当我运行时systemctl hibernate也返回类似的错误:

通过 logind 无法使系统休眠:不支持睡眠动词“hibernate”

相关内容