1、点击左下角的搜索框,输入“cmd”,点击【以管理员身份运行】。
2、输入“powercfg /h on”,回车键。注意:“powercfg /h on”是开启休眠功能,“powercfg /hoff”是关闭休眠功能。
3、设置完成。