Ubuntu 22.04.4 LTS执行systemctl hibernate后无法恢复,开机状态如同关机
Ubuntu 22.04.4 LTS执行systemctl hibernate后无法恢复,开机状态如同关机
我实在受够了笔记本休眠时掉电太严重的问题,所以想给Ubuntu设置休眠(hibernate)功能,但折腾了好久都搞不定。执行systemctl hibernate命令后,笔记本确实会关机,但再次开机的时候,完全恢复不到休眠前的状态,就跟正常关机再开机一模一样。
我的设备是联想L13 Yoga,装的是Ubuntu 22.04.4 LTS和Windows 11双系统,平时主要用Ubuntu,现在就想解决Ubuntu的休眠恢复问题。
我已经试过了网上不少帖子里的解决方案,最后还跟着一篇内容很详细的教程一步步操作,但还是没能解决问题。
目前我已经配置了Polkit的权限文件,具体内容如下:
执行
cat /etc/polkit-1/localauthority/50-local.d/com.ubuntu.enable-hibernate.pkla的输出:[Re-enable hibernate by default in upower]
Identity=unix-user:*
Action=org.freedesktop.upower.hibernate
ResultActive=yes[Re-enable hibernate by default in logind]
Identity=unix-user:*
Action=org.freedesktop.login1.hibernate
ResultActive=yes
备注:内容来源于stack exchange,提问作者Sabaca
相关产品推荐
相关产品推荐

