怎么实现笔记本合盖就休眠?
Tofloor
poster avatar
rekees2020
deepin
2020-08-19 23:30
Author
有没有办法在不插电的情况下合上盖子就直接休眠,而不是挂起?
感觉应该是有配置文件控制suspend to memory和suspend to disk


Reply Favorite View the author
All Replies
avatar
慕云晴空
deepin
2020-08-19 23:47
#1
在系统设置里面应该有相关选项吧
Reply View the author
avatar
Ziggy
deepin
2020-08-20 00:29
#2
麻烦看一下系统设置的电源选项有没有
Reply View the author
avatar
piaoliang77
deepin
2020-08-20 00:47
#3
我把"合上笔记本时待机"选项开了,合上笔记本后黑屏但屏幕背光灯是亮的,CPU风扇也是转动的,温度也很高,再次打开屏幕按任何按键都无法唤醒系统,只能强行关机.
Reply View the author
avatar
不会开车有驾照
deepin
2020-08-20 00:57
#4
据说要设置swap分区
Reply View the author
avatar
linux-uos
deepin
2020-08-20 01:21
#5
要先确定你有没有swap分区,然后在控制中心打开相关设置就行了!
Reply View the author
avatar
rekees2020
deepin
2020-08-20 07:55
#6
https://bbs.deepin.org/post/199998
要先确定你有没有swap分区,然后在控制中心打开相关设置就行了!

有swap分区,能正常休眠
控制中心有相关的设置,是合盖时挂起
挂起和休眠不一样
Reply View the author
avatar
rekees2020
deepin
2020-08-20 07:57
#7
https://bbs.deepin.org/post/199998
在系统设置里面应该有相关选项吧

并没有,只有挂起,没有休眠
Reply View the author
avatar
rekees2020
deepin
2020-08-20 08:13
#8
改了/etc/systemd/logind.conf里的handlelidswitch值应该是控制这个的,但是值是ignore,按控制中心的设置,应该为suspend
改为hibernate后,不插电合盖依然是挂起
Reply View the author
avatar
慕云晴空
deepin
2020-08-20 16:02
#9
https://bbs.deepin.org/post/199998
并没有,只有挂起,没有休眠

那我就不知道了。。
抱歉
Reply View the author
avatar
gbzxjks
deepin
2020-08-21 22:49
#10
我也想知道这个功能怎么实现,deepin v20的电源管理好像没什么用
Reply View the author
avatar
rekees2020
deepin
2020-08-28 05:44
#11
最近的更新里实现了这个功能,赞!!!
Reply View the author
avatar
安洛
deepin
2020-08-28 06:02
#12
https://bbs.deepin.org/post/199998
我把"合上笔记本时待机"选项开了,合上笔记本后黑屏但屏幕背光灯是亮的,CPU风扇也是转动的,温度也很高,再次 ...

似乎是显卡驱动问题?
Reply View the author
avatar
deepinuser17
deepin
2020-08-28 07:05
#13
https://bbs.deepin.org/post/199998
我把"合上笔记本时待机"选项开了,合上笔记本后黑屏但屏幕背光灯是亮的,CPU风扇也是转动的,温度也很高,再次 ...

你需要设置swap分区.而且swap分区的尺寸要大于内存容量.重点是swap分区的尺寸要大于内存容量.
Reply View the author