所以我的 Mac 在睡眠模式下会耗电很多。我阅读并尝试了所有发现的方法,但问题仍然存在。我有一台 MacBook Pro 2015 13 英寸,装有 macOS Catalina 10.15.2,电源小憩 = 关闭,允许蓝牙设备唤醒 = 关闭,屏幕时间 = 关闭,睡眠时请勿打扰 = 开启。重置了 SMC 和 NVRAM,在安全模式下运行。没有任何变化。
pmset -g log 似乎显示“com.apple.alarm.user-visible-Weekly Usage Report,297”是造成消耗的原因。以下是日志:
2020-01-27 23:15:12 +0100 Notification Display is turned off
2020-01-27 23:15:12 +0100 Assertions PID 170(hidd) Summary UserIsActive "com.apple.iohideventsystem.queue.tickle serviceID:1000002e1 name:NULL product:Apple Internal Keyb eventType:11" 00:00:01 id:0x0x900008018 [System: DeclUser IntPrevDisp kDisp]
2020-01-27 23:15:12 +0100 Assertions PID 129(powerd) Summary InternalPreventDisplaySleep "com.apple.powermanagement.delayDisplayOff" 00:00:19 id:0x0x1000008001 [System: DeclUser IntPrevDisp kDisp]
2020-01-27 23:15:12 +0100 Assertions PID 150(apsd) Summary InteractivePushServiceTask "com.apple.apsd-lastpowerassertionlinger" 00:00:00 id:0x0x12000080c8 [System: DeclUser IntPrevDisp kDisp]
2020-01-27 23:15:12 +0100 Assertions PID 150(apsd) Summary InteractivePushServiceTask "com.apple.apsd-datareceived-push.apple.com" 00:00:00 id:0x0x12000080c9 [System: DeclUser IntPrevDisp kDisp]
2020-01-27 23:15:12 +0100 Assertions Kernel Idle sleep preventers: -None-
2020-01-27 23:15:12 +0100 Assertions [System: DeclUser IntPrevDisp kDisp]
2020-01-27 23:15:12 +0100 Assertions PID 129(powerd) Created InternalPreventSleep "com.apple.powermanagement.darkwakelinger" 00:00:00 id:0x0xd000080ca [System: DeclUser SRPrevSleep IntPrevDisp kCPU kDisp]
2020-01-27 23:15:12 +0100 AppWakeReason AppWoke:com.apple.bluetoothd-blueavengers Reason:BlueAvengers: Toggle beacon state
2020-01-27 23:15:28 +0100 Assertions PID 129(powerd) TimedOut InternalPreventSleep "com.apple.powermanagement.darkwakelinger" 00:00:15 id:0x0xd000080ca [System: DeclUser SRPrevSleep IntPrevDisp kCPU kDisp]
2020-01-27 23:15:28 +0100 Assertions Summary- [System: DeclUser IntPrevDisp kDisp] Using Batt(Charge: 93)
2020-01-27 23:15:28 +0100 Sleep Entering Sleep state due to 'Clamshell Sleep':TCPKeepAlive=active Using Batt (Charge:93%) 835 secs
2020-01-27 23:15:33 +0100 Wake Requests [*process=powerd request=TCPKATurnOff deltaSecs=43255 wakeAt=2020-01-28 11:16:28] [process=powerd request=UserWake deltaSecs=527288 wakeAt=2020-02-03 01:43:41 info="com.apple.alarm.user-visible-Weekly Usage Report,297"]
2020-01-27 23:15:33 +0100 PM Client Acks Delays to Sleep notifications: [com.apple.apsd is slow(2800 ms)] [mDNSResponder is slow(5027 ms)]
2020-01-27 23:29:23 +0100 Kernel Client Acks Delays to Sleep notifications: [AppleIntelFramebuffer driver is slow(msg: SetState to 1)(1447 ms)] [powerd is slow(5033 ms)] [AppleThunderboltNHIType2 driver is slow(msg: WillChangeState to 2)(360 ms)] [RP03 driver is slow(msg: SetState to 0)(1010 ms)]
2020-01-27 23:29:23 +0100 Assertions PID 233(mDNSResponder) Created MaintenanceWake "mDNSResponder:maintenance" 00:00:00 id:0x0xd000080f2 [System: PrevIdle DeclUser IntPrevDisp kDisp]
2020-01-27 23:29:23 +0100 Assertions PID 233(mDNSResponder) Released MaintenanceWake "mDNSResponder:maintenance" 00:00:00 id:0x0xd000080f2 [System: PrevIdle DeclUser IntPrevDisp kDisp]
2020-01-27 23:29:23 +0100 Notification Next immediate inactivity window start:'2020-01-27 23:15:00 +0100' end:'2020-01-28 10:15:00 +0100'
2020-01-27 23:29:23 +0100 Notification Next largest inactivity window start:'2020-01-28 23:00:00 +0100' end:'2020-01-29 10:15:00 +0100'
2020-01-27 23:29:23 +0100 Assertions PID 129(powerd) Created InternalPreventSleep "Network wake delay proxy assertion" 00:00:00 id:0x0xd000080f3 [System: DeclUser IntPrevDisp kDisp]
2020-01-27 23:29:23 +0100 DarkWake DarkWake from Deep Idle [CDN] : due to ARPT/Network Using BATT (Charge:92%) 30 secs
2020-01-27 23:29:23 +0100 WakeDetails DriverReason:ARPT - DriverDetails:
2020-01-27 23:29:23 +0100 HibernateStats hibmode=3 standbydelaylow=10800 standbydelayhigh=86400 799
2020-01-27 23:29:23 +0100 WakeTime WakeTime: 0.840 sec
2020-01-27 23:29:23 +0100 Kernel Client Acks Delays to Wake notifications: [AirPort_BrcmNIC driver is slow(msg: SetState to 2)(520 ms)]
2020-01-27 23:29:53 +0100 Assertions PID 129(powerd) TimedOut InternalPreventSleep "Network wake delay proxy assertion" 00:00:30 id:0x0xd000080f3 [System: DeclUser SRPrevSleep IntPrevDisp kCPU kDisp]
2020-01-27 23:29:53 +0100 Sleep Entering Sleep state due to 'Maintenance Sleep':TCPKeepAlive=inactive Using Batt (Charge:92%) 30776 secs
2020-01-27 23:29:55 +0100 Wake Requests [*process=powerd request=TCPKATurnOff deltaSecs=42392 wakeAt=2020-01-28 11:16:28] [process=powerd request=UserWake deltaSecs=526425 wakeAt=2020-02-03 01:43:41 info="com.apple.alarm.user-visible-Weekly Usage Report,297"]
2020-01-27 23:29:55 +0100 PM Client Acks Delays to Sleep notifications: [com.apple.apsd is slow(1782 ms)]
2020-01-28 08:02:49 +0100 Kernel Client Acks Delays to Sleep notifications: [AppleThunderboltNHIType2 driver is slow(msg: WillChangeState to 2)(363 ms)] [RP03 driver is slow(msg: SetState to 0)(1105 ms)]
2020-01-28 08:02:49 +0100 Notification Display is turned on
2020-01-28 08:02:49 +0100 Assertions Kernel Idle sleep preventers: IODisplayWrangler
2020-01-28 08:02:49 +0100 Assertions PID 233(mDNSResponder) Created MaintenanceWake "mDNSResponder:maintenance" 00:00:00 id:0x0xd0000810a [System: PrevIdle DeclUser IntPrevDisp kDisp]
2020-01-28 08:02:49 +0100 Assertions PID 233(mDNSResponder) Released MaintenanceWake "mDNSResponder:maintenance" 00:00:00 id:0x0xd0000810a [System: PrevIdle DeclUser IntPrevDisp kDisp]
2020-01-28 08:02:49 +0100 Wake Wake from Deep Idle [CDNVA] : due to EC.LidOpen/Lid Open Using BATT (Charge:77%)
2020-01-28 08:02:49 +0100 WakeDetails DriverReason:WiFi.ScanOffload - DriverDetails:
2020-01-28 08:02:49 +0100 HibernateStats hibmode=3 standbydelaylow=10800 standbydelayhigh=86400 800
2020-01-28 08:02:49 +0100 WakeTime WakeTime: 0.907 sec
2020-01-28 08:02:49 +0100 Kernel Client Acks Delays to Wake notifications: [AppleIntelFramebuffer driver is slow(msg: SetState to 2)(444 ms)] [AirPort_BrcmNIC driver is slow(msg: SetState to 2)(479 ms)]
有谁知道如何解决这一问题?
提前非常感谢您!
编辑:根据 macOS 电池信息,电池状况良好(145 次循环),根据 Coconut Battery:95.1%
答案1
我花了几个小时解决同样的问题,我甚至对我的 Macbook 进行了全新安装。这是我最终得到的解决方案。实际上,从技术上讲,这不是一个解决方案,而是一个变通方法。
将休眠模式更改为 25,这意味着完全休眠,也就是不为 RAM 供电。为此,请从终端应用程序使用以下命令:
pmset -b hibernatemode 25
这样做的缺点是唤醒速度较慢,但由于如今的 SSD 速度非常快,所以这不再是一个大问题。
我尝试过的另一件事,你可能也想尝试一下sleepwatcher
。这是一个可以监控机器进入睡眠和唤醒状态的应用程序,并让你运行脚本/采取行动等。我以前的做法是,当机器进入睡眠状态时,我会运行一个脚本来关闭 WIFI。但我不记得它到底改善了多少情况。最近因为工作,我几乎只使用 Windows。要安装sleepwatch
,你可以使用 brew:
brew install sleepwatcher
然后阅读随附的文档以了解如何使用。
您还可以尝试的另一件事是清除机器并进行全新安装。再次,我不记得它对电池消耗有多大影响,抱歉。
只要我记得,这两种方法是我尝试过的最有效的方法。它们至少应该有一些效果,可能效果相当好。