连接电源睡眠时发热,但查看日志发现在晚上睡眠和早上开机之间又没有被唤醒过,是不是日志命令不对?
% pmset -g log|grep -e " Sleep " -e " Wake " -e "Display is turned" | tail -n 80
2021-04-10 19:04:06 +0800 Notification Display is turned off
2021-04-11 08:57:47 +0800 Notification Display is turned on
tcpkeepalive 为 0,睡眠时断网; powernap 为 0,睡眠时不会检查邮件;
% pmset -g
System-wide power settings:
Currently in use:
standbydelaylow 0
standby 1
womp 0
halfdim 1
hibernatefile /var/vm/sleepimage
proximitywake 0
powernap 0
gpuswitch 2
networkoversleep 0
disksleep 10
standbydelayhigh 86400
sleep 5 (sleep prevented by fud, UserEventAgent, sharingd)
hibernatemode 3
ttyskeepawake 1
displaysleep 15
tcpkeepalive 0
highstandbythreshold 50
acwake 0
lidwake 1
电源设置:
1
whenov 2021-04-11 11:02:28 +08:00 via Android
有些应用会阻止睡眠,可以先把所有应用退出试试
|
2
elmon 2021-04-11 13:24:52 +08:00 via iPhone
个别情况吧? 我出现过一次
|
3
wclebb 2021-04-11 15:21:57 +08:00 via iPhone
有安装 intel power 检测软件吗?
|
4
jobs0 2021-04-12 08:13:30 +08:00
还真没注意过。
|
5
typetraits 2021-04-12 17:51:03 +08:00 via iPhone
log show --style syslog | grep -i "Wake Reason"
查询唤醒日志 |
6
Jay54520 OP @typetraits
localhost kernel[0]: (AppleTopCaseHIDEventDriver) [HID] [ATC] AppleDeviceManagementHIDEventService::processWakeReason Wake reason: Host (0x01) [com.apple.apsd:stream] Checking for wake reason address <private> from <private> [com.apple.apsd:stream] Found potential wake reason (null) |