两个怎么都删不掉的唤醒事件

2023-03-06 12:17:50 +08:00
 a66243766
com.apple.alarm.user-visible-com.apple.CalendarNotification.EKTravelEngine.periodicRefreshTimer

com.apple.alarm.user-visible-com.apple.acmd.alarm

问题每个人都有,只是大家不知道的

国外问题记录

中国的用户只能来美区才能看到类似的讨论,在中国没有人讨论这个问题,但实际上问题每个人都有,我们很在乎这个问题,对我产生了很大的困扰。

4158 次点击
所在节点    macOS
31 条回复
yinxianwei
2023-03-20 14:24:26 +08:00
a66243766
2023-03-20 15:11:52 +08:00
@yinxianwei 感谢不是这个 这个已经回答里的操作已经做过了,而且在每次唤醒的时候外界显示器也会跟着一亮一暗很烦人
notgoda
115 天前
@feel5230 V 友您好, 一直被合盖休眠问题困扰搜索到这个帖子,我没有外接任何外设, 发现也在掉电, 这是我执行 sudo log show --last 24h | grep -e "Wake from" -e "DarkWake" -e "due to" -e "Maintenance" -e "Clamshell Sleep" -e "Wake reason" 的输出,太长我把它上传到 https://pastebin.com/UWcZW2P3 , 早 8 点前我都没起床,

这是执行 sudo pmset -g log | grep -e "Wake from" -e "DarkWake" -e "due to" -e "Maintenance" -e "Clamshell Sleep" 相关的输出

2024-09-17 07:59:01 +0800 Assertions PID 441(mDNSResponder) Created MaintenanceWake "mDNSResponder:maintenance" 00:00:00 id:0x0xd00008418 [System: PrevIdle DeclUser kDisp]
2024-09-17 07:59:01 +0800 DarkWake DarkWake from Deep Idle [CDN] : due to NUB.SPMI0Sw3IRQ nub-spmi.0x02 rtc/Maintenance Using BATT (Charge:68%) 45 secs
2024-09-17 07:59:01 +0800 Assertions PID 441(mDNSResponder) Released MaintenanceWake "mDNSResponder:maintenance" 00:00:00 id:0x0xd00008418 [System: PrevIdle DeclUser SRPrevSleep kCPU kDisp]
2024-09-17 07:59:46 +0800 Sleep Entering Sleep state due to 'Maintenance Sleep':TCPKeepAlive=active Using Batt (Charge:68%) 16454 secs

2024-09-18 07:58:59 +0800 Assertions PID 441(mDNSResponder) Created MaintenanceWake "mDNSResponder:maintenance" 00:00:00 id:0x0xd0000885d [System: PrevIdle DeclUser kDisp]
2024-09-18 07:58:59 +0800 Assertions PID 441(mDNSResponder) Released MaintenanceWake "mDNSResponder:maintenance" 00:00:00 id:0x0xd0000885d [System: PrevIdle DeclUser kDisp]
2024-09-18 07:58:59 +0800 DarkWake DarkWake from Deep Idle [CDN] : due to NUB.SPMI0Sw3IRQ nub-spmi.0x02 rtc/Maintenance Using BATT (Charge:100%) 45 secs
2024-09-18 07:59:44 +0800 Sleep Entering Sleep state due to 'Maintenance Sleep':TCPKeepAlive=active Using Batt (Charge:100%) 33838 secs


能否请您帮看看下一步该如何排查. 感激不尽!
另外有没有一种办法在电脑合盖时,自动关闭蓝牙和 wifi , 打开盖时自动打开蓝牙和 wifi?
feel5230
95 天前
@notgoda 根据你提供的日志输出,Mac 的睡眠模式应该由 “MaintenanceWake” 和 “DarkWake” 触发,导致在合盖休眠期间设备从深度睡眠模式进入短暂的 “DarkWake” 状态,即设备在不完全唤醒的情况下处理任务,随后会重新进入睡眠状态。
你可以试下
1 、sudo pmset -b tcpkeepalive 0
电池状态下禁用网络唤醒
2 、mDNSResponder 用于在局域网中发现设备
系统偏好设置 > 节能器 > 关闭 “网络唤醒” 选项
3 、
sudo pmset -a autopoweroff 1
[开启自动关机]

sudo pmset -a standbydelaylow 3600
[当 Mac 使用电池电量较低时,1 小时内未使用的情况下,系统会从普通睡眠切换到待机状态,进一步节省电量]

sudo pmset -a standbydelayhigh 3600
[即使在电量充足的情况下,系统在 1 小时后也会从普通睡眠状态切换到更深的待机状态以节约电量]

sudo pmset -a powernap 0
[禁用 Power Nap 后,系统在睡眠状态下不会定期唤醒处理这些任务,从而减少不必要的唤醒事件]
notgoda
95 天前
@feel5230 感谢回复. Power Nap 很早之前就已经禁用, “网络唤醒” 选项也一直是关闭的, sudo pmset -b tcpkeepalive 0 我之前也禁用过没效果, 剩下的那 3 个参数好像我 m1 macOS12.5 是不支持的, 这是我电源管理的参数: https://imgur.com/a/1CaMKAC

$ sudo pmset -g live
System-wide power settings:
Currently in use:
standby 1
Sleep On Power Button 1
SleepServices 0
hibernatefile /var/vm/sleepimage
powernap 0
disksleep 10
sleep 1 (sleep prevented by sharingd, powerd)
hibernatemode 3
ttyskeepawake 1
displaysleep 10
tcpkeepalive 0
lowpowermode 0


$ pmset -g assertions
2024-10-09 16:10:40 +0800
Assertion status system-wide:
BackgroundTask 0
ApplePushServiceTask 0
UserIsActive 1
PreventUserIdleDisplaySleep 0
PreventSystemSleep 0
ExternalMedia 0
PreventUserIdleSystemSleep 1
NetworkClientActive 0
Listed by owning process:
pid 375(WindowServer): [0x00003e9b00099700] 00:00:00 UserIsActive named: "com.apple.iohideventsystem.queue.tickle serviceID:100000799 name:AppleHIDKeyboardEve product:Apple Internal Keyb eventType:3"
Timeout will fire in 600 secs Action=TimeoutActionRelease
pid 682(sharingd): [0x000140f9000189bb] 00:06:05 PreventUserIdleSystemSleep named: "Handoff"
pid 320(powerd): [0x000140a300018940] 00:07:30 PreventUserIdleSystemSleep named: "Powerd - Prevent sleep while display is on"
pid 320(powerd): [0x000140a30009893e] 00:07:30 UserIsActive named: "com.apple.powermanagement.lidopen"
Timeout will fire in 150 secs Action=TimeoutActionRelease
No kernel assertions.
notgoda
94 天前
@feel5230 您说的 节能器 > 关闭 “网络唤醒” 选项 是这里吗 https://imgur.com/a/laHQGxK
notgoda
94 天前
@feel5230 $ sudo pmset -g custom
Password:
Sorry, try again.
Password:
Battery Power:
Sleep On Power Button 1
lowpowermode 0
standby 1
ttyskeepawake 1
hibernatemode 3
powernap 0
hibernatefile /var/vm/sleepimage
displaysleep 10
sleep 1
tcpkeepalive 0
lessbright 1
disksleep 10
SleepServices 0
AC Power:
Sleep On Power Button 1
lowpowermode 0
standby 1
ttyskeepawake 1
hibernatemode 3
powernap 0
hibernatefile /var/vm/sleepimage
displaysleep 10
womp 0
networkoversleep 0
sleep 1
tcpkeepalive 1
disksleep 10
SleepServices 0
KrisLiu
86 天前
我的 M1 MacBook Air 长期以来一直在莫名米秒地合盖耗电,能在 12 个小时内耗掉 30%以上。
KrisLiu
86 天前
系统是最新的 15.0.1 ,今天按照网上的教程尝试执行了一下“mset -g log|grep -e "sleep" -e "wake" -e "wake request" -e "waketime"”,下面是输出,出现了大量的 IntelligencePlatformCore 搜来搜去也不知道这是个什么,难道这电脑在连接苹果智能服务器?可这是国行机器国行系统啊。
有哪位大佬能帮我看一下这个是什么原因,怎么解决吗???求求了救救孩子吧。
2024-10-18 01:32:48 +0800 Wake Requests [process=mDNSResponder request=Maintenance deltaSecs=7198 wakeAt=2024-10-18 03:32:47 info="upkeep wake"] [*process=dasd request=SleepService deltaSecs=1073 wakeAt=2024-10-18 01:50:42 info="com.apple.dasd:501:com.apple.intelligenceplatform.IntelligencePlatformCore.Pipeline.FastPass"] [process=powerd request=TCPKATurnOff deltaSecs=305884 wakeAt=2024-10-21 14:30:53] [process=powerd request=CSPNEvaluation deltaSecs=3444 wakeAt=2024-10-18 02:30:12] [process=powerd request=UserWake deltaSecs=22931 wakeAt=2024-10-18 07:55:00 info="com.apple.alarm.user-invisible-com.apple.osanalytics.hardhighengagementtimer,110"]
2024-10-18 01:32:48 +0800 PM Client Acks Delays to Sleep notifications: [com.apple.bluetooth.sleep is slow(1537 ms)]
2024-10-18 01:32:50 +0800 com.apple.sleepservices.sessionStarted SleepService: window begins with cap time=180 secs
2024-10-18 01:32:52 +0800 com.apple.sleepservices.sessionTerminated SleepService: window has terminated.
2024-10-18 01:33:29 +0800 Assertions PID 203(coreaudiod) TurnedOff PreventUserIdleSystemSleep "com.apple.audio.BuiltInSpeakerDevice.context.preventuseridlesleep" 00:00:39 id:0x0x100008d51 [System: PrevIdle]
2024-10-18 01:33:31 +0800 Wake Requests [process=mDNSResponder request=Maintenance deltaSecs=7198 wakeAt=2024-10-18 03:33:29 info="upkeep wake"] [*process=dasd request=SleepService deltaSecs=1047 wakeAt=2024-10-18 01:50:58 info="com.apple.dasd:501:com.apple.intelligenceplatform.IntelligencePlatformCore.Pipeline.FastPass"] [process=powerd request=TCPKATurnOff deltaSecs=305842 wakeAt=2024-10-21 14:30:53] [process=powerd request=CSPNEvaluation deltaSecs=3402 wakeAt=2024-10-18 02:30:12] [process=powerd request=UserWake deltaSecs=22889 wakeAt=2024-10-18 07:55:00 info="com.apple.alarm.user-invisible-com.apple.osanalytics.hardhighengagementtimer,110"]
2024-10-18 01:33:31 +0800 PM Client Acks Delays to Sleep notifications: [com.apple.bluetooth.sleep is slow(1551 ms)]
2024-10-18 01:33:32 +0800 com.apple.sleepservices.sessionStarted SleepService: window begins with cap time=180 secs
2024-10-18 01:33:34 +0800 com.apple.sleepservices.sessionTerminated SleepService: window has terminated.
2024-10-18 01:34:17 +0800 Assertions PID 203(coreaudiod) TurnedOff PreventUserIdleSystemSleep "com.apple.audio.BuiltInSpeakerDevice.context.preventuseridlesleep" 00:00:45 id:0x0x100008d51 [System: PrevIdle]
2024-10-18 01:34:18 +0800 Wake Requests [process=mDNSResponder request=Maintenance deltaSecs=7198 wakeAt=2024-10-18 03:34:17 info="upkeep wake"] [*process=dasd request=SleepService deltaSecs=1020 wakeAt=2024-10-18 01:51:19 info="com.apple.dasd:501:com.apple.intelligenceplatform.IntelligencePlatformCore.Pipeline.FastPass"] [process=powerd request=TCPKATurnOff deltaSecs=305794 wakeAt=2024-10-21 14:30:53] [process=powerd request=CSPNEvaluation deltaSecs=3354 wakeAt=2024-10-18 02:30:12] [process=powerd request=UserWake deltaSecs=22841 wakeAt=2024-10-18 07:55:00 info="com.apple.alarm.user-invisible-com.apple.osanalytics.hardhighengagementtimer,110"]
2024-10-18 01:34:18 +0800 PM Client Acks Delays to Sleep notifications: [com.apple.bluetooth.sleep is slow(1532 ms)]
2024-10-18 01:34:20 +0800 com.apple.sleepservices.sessionStarted SleepService: window begins with cap time=180 secs
2024-10-18 01:34:22 +0800 com.apple.sleepservices.sessionTerminated SleepService: window has terminated.
2024-10-18 01:34:31 +0800 Wake Requests [process=mDNSResponder request=Maintenance deltaSecs=7198 wakeAt=2024-10-18 03:34:29 info="upkeep wake"] [*process=dasd request=SleepService deltaSecs=905 wakeAt=2024-10-18 01:49:36 info="com.apple.dasd:501:com.apple.intelligenceplatform.IntelligencePlatformCore.Pipeline.FastPass"] [process=powerd request=TCPKATurnOff deltaSecs=305782 wakeAt=2024-10-21 14:30:53] [process=powerd request=CSPNEvaluation deltaSecs=3342 wakeAt=2024-10-18 02:30:12] [process=powerd request=UserWake deltaSecs=22829 wakeAt=2024-10-18 07:55:00 info="com.apple.alarm.user-invisible-com.apple.osanalytics.hardhighengagementtimer,110"]
2024-10-18 01:34:31 +0800 PM Client Acks Delays to Sleep notifications: [com.apple.bluetooth.sleep is slow(1539 ms)]
2024-10-18 01:34:32 +0800 com.apple.sleepservices.sessionStarted SleepService: window begins with cap time=180 secs
2024-10-18 01:34:34 +0800 com.apple.sleepservices.sessionTerminated SleepService: window has terminated.
feel5230
68 天前
@notgoda 我看到你这个系统设置,我都怀疑我自己的眼睛了,你的版本是多少的系统?
notgoda
64 天前
@feel5230 你看我 25 楼的回复. MBA m1 macOS 系统版本 12.5

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/921536

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX