- UID
- 472061
- 最后登录
- 1970-1-1
- 阅读权限
- 40
- 精华
- 主题
- 回帖
- 0
- 积分
- 753
- PB币
-
- 威望
-
- 贡献
-
- 技术
-
- 活跃
-
|
查到待机命令:
rundll32.exe powrprof.dll,SetSuspendState 0,1,0
设想一下,是否能给笔记本加一条触发运行服务呢?
比如合上屏幕时就运行这个CMD文件吧,不知可行?
---------
还有,原文是这么说的:
But if you have enabled hibernation, then the above command hibernates the PC instead of entering sleep mode. So you need to apply a workaround which isn't exactly ideal, something like this.
如果启用了休眠,休眠会取代(睡眠)待机模式,所以你要在上面的基础上关掉休眠,然后再开启,
powercfg -h off
rundll32.exe powrprof.dll,SetSuspendState 0,1,0
powercfg -h on
-- 也许用固态硬盘的就不愿意了,我发现这个休眠文件可能是8G或更大哦,来回删了又写。
所以还是关掉休眠比较好 |
|