With the lid closed, my Macbook Air (13” 2020 Intel (MacBookAir 9,1), macOS 14.3.1) drains battery, usually at a fee of greater than 10 proportion factors per 24 hours. I’ve tried the same old voodoo of resetting PRAM, SMC and whatnot and have even gone so far as reinstalling the OS. Earlier than that, I had tried turning off every part that appeared associated to background sync, together with logging out from iCloud, with no obvious impact. I turned these issues again on. “Wake for community entry” and “Energy Nap” are set to “energy adapter solely”. Energy financial savings mode is at “when on battery energy”. Battery well being is “regular”. There’s nothing electrically related (USB or 3.5 mm earphone jack) to the pc.
What’s the pc doing that’s so necessary that it must occur all evening, with no one watching it?
pmset -g log
exhibits two sorts of DarkWake occasions: EC.RTC and EC.ARPT.
The RTC occasions occur commonly, normally an hour aside, however generally two hours.
The EC.ARPT occasions happen in bursts, with about one occasion per minute, over a interval of an hour or so. These are, judging by the explanation (packet knowledge dump) given within the pmset log and snooped community visitors, attributable to incoming packets on an already-established TCP connection on distant port 5223, distant host eu-north-courier-4.push-apple.com.akadns.internet or any of a number of comparable domains.
log —present
for the time round any of those occasions exhibits a number of thousand traces of output!
Pretty usually, the machine sits properly idle, briefly waking up each one or two hours in the course of the evening, however then has a type of EC.ARPT bursts, lasting one or two hours, round six o’clock within the morning.
I attempted turning WiFi off, after which the indicated battery degree increased from 49% to 51% in a single day, regardless of the machine not being plugged in! On this configuration, the pmset log signifies DarkWake occasions each two hours, which appears cheap.
The entire community visitors over a 24h interval is normally round 5 Mbyte, which is already quite a bit for a machine which sitting with its lid closed, byt I’ve seen one excessive of virtually 50 Mbyte!
The whole pmset log for one ARPT occasion appears to be like a follows. Throughout this era, there was community visitors with
- eu-north-courier-4.push-apple.com.akadns.internet:5223
- get-bx.g.aaplimg.com:443
- api.apple-cloudkit.fe.apple-dns.internet:443
(Sure, these knowledge have been captured final November, with an earlier macOS model, however the signs stay the identical at present.)
2023-11-27 08:00:49 +0100 WakeDetails DriverReason:ARPT - DriverDetails:
DriverReason:DataFrame - DriverDetails:080045020198e16500003806398f11399285c0a802031467db1eab729a8
DriverReason:ARPT - DriverDetails:
2023-11-27 08:00:49 +0100 HibernateStats hibmode=3 standbydelaylow=10800 standbydelayhigh=86400 rd=243 ms
2023-11-27 08:00:49 +0100 WakeTime WakeTime: 0.773 sec
2023-11-27 08:00:49 +0100 Kernel Consumer Acks Delays to Sleep notifications: [AppleIntelFramebuffer driver is slow(msg: SetState to 1)(672 ms)] [IOThunderboltControllerType4 driver is slow(msg: SetState
to 2)(376 ms)] [AppleHPMIECS driver is slow(msg: WillChangeState to 2)(395 ms)] [AppleUSBVHCIBCE driver is slow(msg: SetState to 1)(301 ms)] [AppleIntelFramebuffer driver is slow(msg: SetState to 0)(584
ms)] [RP01 driver is slow(msg: SetState to 0)(1016 ms)]
2023-11-27 08:00:49 +0100 Kernel Consumer Acks Delays to Wake notifications: [RP05 driver is slow(msg: SetState to 2)(727 ms)] [AppleIntelFramebuffer driver is slow(msg: SetState to 0)(643 ms)] [RP01 dri
ver is slow(msg: SetState to 0)(1010 ms)] [RP05 driver is slow(msg: SetState to 2)(723 ms)] [AppleUSBVHCIBCE driver is slow(msg: SetState to 1)(303 ms)] [AppleIntelFramebuffer driver is slow(msg: SetState
to 0)(702 ms)] [RP01 driver is slow(msg: SetState to 0)(1018 ms)] [RP05 driver is slow(msg: SetState to 2)(723 ms)] [AppleIntelFramebuffer driver is slow(msg: SetState to 0)(681 ms)] [RP01 driver is slow
(msg: SetState to 0)(1005 ms)] [RP05 driver is slow(msg: SetState to 2)(723 ms)] [AppleUSBVHCIBCE driver is slow(msg: SetState to 1)(300 ms)] [AppleIntelFramebuffer driver is slow(msg: SetState to 0)(679
ms)] [RP01 driver is slow(msg: SetState to 0)(1006 ms)] [RP05 driver is slow(msg: SetState to 2)(727 ms)] [AppleIntelFramebuffer driver is slow(msg: SetState to 0)(651 ms)] [RP01 driver is slow(msg: SetSt
ate to 0)(1008 ms)] [RP05 driver is slow(msg: SetState to 2)(725 ms)] [AppleUSBVHCIBCE driver is slow(msg: SetState to 1)(303 ms)] [AppleIntelFramebuffer driver is slow(msg: SetState to 0)(678 ms)] [RP01
driver is slow(msg: SetState to 0)(1014 ms)] [RP05 driver is slow(msg: SetState to 2)(724 ms)] [AppleUSBVHCIBCE driver is slow(msg: SetState to 1)(301 ms)] [AppleIntelFramebuffer driver is slow(msg: SetSt
ate to 0)(637 ms)] [RP01 driver is slow(msg: SetState to 0)(1008 ms)] [RP05 driver is slow(msg: SetState to 2)(723 ms)] [AppleUSBVHCIBCE driver is slow(msg: SetState to 1)(302 ms)] [AppleIntelFramebuffer
driver is slow(msg: SetState to 0)(640 ms)] [RP01 driver is slow(msg: SetState to 0)(1018 ms)] [RP05 driver is slow(msg: SetState to 2)(724 ms)] [AppleIntelFramebuffer driver is slow(msg: SetState to 0)(6
42 ms)] [RP01 driver is slow(msg: SetState to 0)(1010 ms)] [RP05 driver is slow(msg: SetState to 2)(728 ms)] [AppleUSBVHCIBCE driver is slow(msg: SetState to 1)(303 ms)] [AppleIntelFramebuffer driver is s
low(msg: SetState to 0)(665 ms)] [RP01 driver is slow(msg: SetState to 0)(1007 ms)] [RP05 driver is slow(msg: SetState to 2)(725 ms)] [AppleUSBVHCIBCE driver is slow(msg: SetState to 1)(300 ms)] [AppleInt
elFramebuffer driver is slow(msg: SetState to 0)(644 ms)] [RP01 driver is slow(msg: SetState to 0)(1013 ms)] [RP05 driver is slow(msg: SetState to 2)(724 ms)] [AppleIntelFramebuffer driver is slow(msg: Se
tState to 0)(675 ms)] [RP01 driver is slow(msg: SetState to 0)(1007 ms)] [RP05 driver is slow(msg: SetState to 2)(723 ms)]
2023-11-27 08:00:56 +0100 Assertions PID 98(powerd) Launched InternalPreventSleep "PM configd - Await Gadget enumeration" 00:00:06 id:0x0xd0000915b [System: No Assertions]
2023-11-27 08:00:56 +0100 Assertions PID 98(powerd) Launched PreventStandby "Proxy to stop standby entry" 00:00:27 id:0x0x800009154 [System: No Assertions]
2023-11-27 08:00:56 +0100 Assertions PID 98(powerd) Created PreventStandby "Proxy to stop standby entry" 00:00:00 id:0x0x800009161 [System: No Assertions]
2023-11-27 08:00:56 +0100 Sleep Getting into Sleep state on account of 'Upkeep Sleep':TCPKeepAlive=energetic Utilizing Batt (Cost:16%) 49 secs
2023-11-27 08:00:58 +0100 Wake Requests [process=mDNSResponder request=Maintenance deltaSecs=7198 wakeAt=2023-11-27 10:00:56 info="upkeep wake"] [process=powerd request=AdaptiveWake deltaSecs=4933
wakeAt=2023-11-27 09:23:11] [*process=powerd request=TCPKATurnOff deltaSecs=63 wakeAt=2023-11-27 08:02:01] [process=powerd request=CSPNEvaluation deltaSecs=68 wakeAt=2023-11-27 08:02:06] [process=powerd
request=UserWake deltaSecs=22153 wakeAt=2023-11-27 14:10:12 info="com.apple.alarm.user-invisible-com.apple.calaccessd.travelEngine.periodicRefreshTimer,358"]
2023-11-27 08:00:58 +0100 PM Consumer Acks Delays to Sleep notifications: [com.apple.bluetooth.sleep is slow(1556 ms)] [com.apple.apsd is slow(1877 ms)]
2023-11-27 08:01:44 +0100 Assertions PID 98(powerd) Created InternalPreventSleep "Holding in darkwake for as much as 20 seconds to question mannequin for inactivity prediction" 00:00:00 id:0x0xd00009164 [
System: SRPrevSleep kCPU]
2023-11-27 08:01:44 +0100 Assertions PID 229(mDNSResponder) Created MaintenanceWake "mDNSResponder:upkeep" 00:00:00 id:0x0xd00009167 [System: SRPrevSleep kCPU]
2023-11-27 08:01:44 +0100 Assertions PID 229(mDNSResponder) Launched MaintenanceWake "mDNSResponder:upkeep" 00:00:00 id:0x0xd00009167 [System: SRPrevSleep kCPU]
2023-11-27 08:01:44 +0100 Assertions PID 98(powerd) Launched InternalPreventSleep "Holding in darkwake for as much as 20 seconds to question mannequin for inactivity prediction" 00:00:00 id:0x0xd00009164
[System: PrevIdle]
2023-11-27 08:01:45 +0100 Assertions PID 98(powerd) Created InternalPreventSleep "PM configd - Await Gadget enumeration" 00:00:00 id:0x0xd00009169 [System: PrevIdle]