So far so good - fingers crossed! Thanks for making the suggestions.That's super. I'm glad the standbydelay change was helpful even if my conceptions of pmset defaults were three years out of date, haha
So far so good - fingers crossed! Thanks for making the suggestions.That's super. I'm glad the standbydelay change was helpful even if my conceptions of pmset defaults were three years out of date, haha
Can you provide me with the terminal instructions for doing this changes? I'm also confronting these issues on my early 2015 MacBook Air since updating to macOS 10.15.6. The weird thing is that I have had this notebook for four years and all the way up to 10.15.5 sleep mode with lid closed worked fine.I made two changes. Adjusted the timeouts for both to 3600, kept hibernate mode at 3 but also changed HyperAdvisor on my Parallels Desktop VM to "Apple" and so far it's been 2-3 days with the laptop properly going into hibernation mode and virtually no battery drain when waking from hibernation.
First, in Terminal, pmset -g to display and take note of your current settings.Can you provide me with the terminal instructions for doing this changes?
sudo pmset standbydelayhigh 3600
sudo pmset standbydelaylow 3600
2020-11-10 09:20:07 +0100 Assertions PID 84(powerd) Released InternalPreventSleep "PM configd - Wait for Device enumeration" 00:00:06 id:0x0xd00009993 [System: DeclUser kDisp]
2020-11-10 09:20:07 +0100 Sleep Entering Sleep state due to 'Maintenance Sleep':TCPKeepAlive=inactive Using Batt (Charge:92%) 5 secs
2020-11-10 09:20:09 +0100 Wake Requests [*process=powerd request=TCPKATurnOff deltaSecs=43232 wakeAt=2020-11-10 21:20:41]
2020-11-10 09:20:09 +0100 PM Client Acks Delays to Sleep notifications: [com.apple.apsd is slow(1923 ms)]
2020-11-10 09:20:11 +0100 Assertions PID 200(mDNSResponder) Created MaintenanceWake "mDNSResponder:maintenance" 00:00:00 id:0x0xd000099a4 [System: PrevIdle DeclUser kDisp]
2020-11-10 09:20:11 +0100 Assertions PID 200(mDNSResponder) Released MaintenanceWake "mDNSResponder:maintenance" 00:00:00 id:0x0xd000099a4 [System: PrevIdle DeclUser kDisp]
2020-11-10 09:20:12 +0100 Assertions PID 84(powerd) Created InternalPreventSleep "PM configd - Wait for Device enumeration" 00:00:00 id:0x0xd000099a6 [System: DeclUser kDisp]
2020-11-10 09:20:12 +0100 DarkWake DarkWake from Deep Idle [CDN] : due to EC.DarkPME/Maintenance Using BATT (Charge:92%) 7 secs
2020-11-10 09:20:12 +0100 HibernateStats hibmode=3 standbydelaylow=10800 standbydelayhigh=86400 rd=267 ms
2020-11-10 09:20:12 +0100 WakeTime WakeTime: 1.271 sec
2020-11-10 09:20:12 +0100 Kernel Client Acks Delays to Sleep notifications: [AppleIntelFramebuffer driver is slow(msg: SetState to 1)(1383 ms)] [powerd is slow(3003 ms)] [UPSB driver is slow(msg: SetState to 2)(952 ms)] [UPSB driver is slow(msg: SetState to 2)(952 ms)] [AppleHPMIECS driver is slow(msg: WillChangeState to 2)(1098 ms)] [AppleHPMIECS driver is slow(msg: WillChangeState to 2)(1099 ms)] [IOBluetoothHostControllerUARTTransport driver is slow(msg: SetState to 0)(585 ms)] [RP12 driver is slow(msg: SetState to 0)(1126 ms)]
2020-11-10 09:20:12 +0100 Kernel Client Acks Delays to Wake notifications: [IOBluetoothHostControllerUARTTransport driver is slow(msg: SetState to 1)(408 ms)] [AirPort_BrcmNIC driver is slow(msg: SetState to 2)(495 ms)] [UPSB driver is slow(msg: SetState to 2)(942 ms)] [UPSB driver is slow(msg: SetState to 2)(940 ms)] [IOBluetoothHostControllerUARTTransport driver is slow(msg: SetState to 0)(575 ms)] [RP12 driver is slow(msg: SetState to 0)(1121 ms)] [IOBluetoothHostControllerUARTTransport driver is slow(msg: SetState to 1)(410 ms)] [AirPort_BrcmNIC driver is slow(msg: SetState to 2)(495 ms)] [UPSB driver is slow(msg: SetState to 2)(947 ms)] [UPSB driver is slow(msg: SetState to 2)(944 ms)] [IOBluetoothHostControllerUARTTransport driver is slow(msg: SetState to 0)(569 ms)] [RP12 driver is slow(msg: SetState to 0)(1129 ms)] [IOBluetoothHostControllerUARTTransport driver is slow(msg: SetState to 1)(408 ms)] [AirPort_BrcmNIC driver is slow(msg: SetState to 2)(490 ms)] [UPSB driver is slow(msg: SetState to 2)(939 ms)] [UPSB driver is slow(msg: SetState to 2)(937 ms)]
It's a puzzle, and not the fun kind. I just ordered a new battery for my 6s because after reinstall seemed to not fix a sudden total battery failure last night, today the battery works fine. :/Well after the first night of my MBP losing 4% overnight, last night it lost %5 battery. I did notice however that it woke every few hours during the night. I've now set tcpkeepalive 0 for the battery setting to see if this reduces the usage tonight.
Thanks. I'll try it out and see if the issue is fixed.sudo pmset standbydelaylow 3600
2020-11-12 01:14:12 +1000 Kernel Client Acks Delays to Sleep notifications: [RP12 driver is slow(msg: SetState to 2)(357 ms)] [AirPort_BrcmNIC driver is slow(msg: SetState to 2)(466 ms)] [RP12 driver is slow(msg: SetState to 0)(1208 ms)]
2020-11-12 01:14:12 +1000 AppWakeReason AppWoke:com.apple.bluetoothd-blueavengers Reason:BlueAvengers: Toggle beacon state
2020-11-12 01:14:12 +1000 Assertions PID 256(mDNSResponder) Created MaintenanceWake "mDNSResponder:maintenance" 00:00:00 id:0x0xd0000a5ea [System: No Assertions]
2020-11-12 01:14:12 +1000 Assertions PID 256(mDNSResponder) Released MaintenanceWake "mDNSResponder:maintenance" 00:00:00 id:0x0xd0000a5ea [System: No Assertions]
2020-11-12 01:14:13 +1000 DarkWake DarkWake from Standby [CDN] : due to RTC/Maintenance Using BATT (Charge:67%) 0 secs
2020-11-12 01:14:13 +1000 HibernateStats hibmode=3 standbydelaylow=7200 standbydelayhigh=7200 rd=598 ms
2020-11-12 01:14:13 +1000 WakeTime WakeTime: 4.790 sec
2020-11-12 01:14:13 +1000 Kernel Client Acks Delays to Wake notifications: [AirPort_BrcmNIC driver is slow(msg: SetState to 2)(463 ms)] [UPSB driver is slow(msg: SetState to 2)(540 ms)] [UPSB driver is slow(msg: SetState to 2)(540 ms)] [IOBluetoothHostControllerUARTTransport driver is slow(msg: SetState to 1)(636 ms)]
2020-11-12 01:14:13 +1000 Sleep Entering Sleep state due to 'Maintenance Sleep':TCPKeepAlive=disabled Using Batt (Charge:67%) 10803 secs
2020-11-12 01:14:14 +1000 Wake Requests [*process=bluetoothd request=Maintenance deltaSecs=10798 wakeAt=2020-11-12 04:14:12 info="com.apple.bluetoothd-blueavengers"]
2020-11-12 01:14:14 +1000 PM Client Acks Delays to Sleep notifications: [com.apple.apfsd is slow(267 ms)] [PLSleepWakeAgent is slow(427 ms)] [systemstats is slow(876 ms)] [com.apple.duetactivityscheduler is slow(1295 ms)]
2020-11-13 02:33:08 +1000 Kernel Client Acks Delays to Sleep notifications: [IOBluetoothHostControllerUARTTransport driver is slow(msg: SetState to 0)(508 ms)]
2020-11-13 02:33:08 +1000 AppWakeReason AppWoke:com.apple.bluetoothd-blueavengers Reason:BlueAvengers: Toggle beacon state
2020-11-13 02:33:08 +1000 Assertions PID 243(mDNSResponder) Created Maint
enanceWake "mDNSResponder:maintenance" 00:00:00 id:0x0xd0000866c [System: DeclUser
kDisp]
2020-11-13 02:33:08 +1000 Assertions PID 243(mDNSResponder) Released Main
tenanceWake "mDNSResponder:maintenance" 00:00:00 id:0x0xd0000866c [System: DeclUser kDisp]
2020-11-13 02:33:09 +1000 DarkWake DarkWake from Standby [CDN] : due to RTC/Maintenance Using BATT (Charge:68%) 0 secs
2020-11-13 02:33:09 +1000 HibernateStats hibmode=25 standbydelaylow=7200 standbydelayhigh=7200 rd=232 ms
2020-11-13 02:33:09 +1000 WakeTime WakeTime: 3.998 sec
2020-11-13 02:33:09 +1000 Kernel Client Acks Delays to Wake notifications: [UPSB driver is slow(msg: SetState to 2)(539 ms)] [UPSB driver is slow(msg: SetState to 2)(538 ms)] [RP12 driver is slow(msg: SetState to 1)(1200 ms)]
2020-11-13 02:33:09 +1000 Sleep Entering Sleep state due to 'Maintenance Sleep':TCPKeepAlive=disabled Using Batt (Charge:68%) 3602 secs
2020-11-13 02:33:09 +1000 AppWakeReason AppWoke:com.apple.bluetoothd-blueavengers Reason:BlueAvengers: Roll beacon advertisement
2020-11-13 02:33:11 +1000 Wake Requests [*process=bluetoothd request=Maintenance deltaSecs=3597 wakeAt=2020-11-13 03:33:08 info="com.apple.bluetoothd-blueavengers"] [process=powerd request=AdaptiveWake deltaSecs=9703 wakeAt=2020-11-13 05:14:54]
2020-11-13 02:33:11 +1000 PM Client Acks Delays to Sleep notifications: [com.apple.apsd is slow(1938 ms)]
2020-11-28 05:44:41 +0300 Sleep Entering Sleep state due to 'Clamshell Sleep':TCPKeepAlive=active Using Batt (Charge:77%) 7 secs
2020-11-28 05:44:48 +0300 DarkWake DarkWake from Deep Idle [CDN] : due to EC.ARPT/Maintenance Using BATT (Charge:77%) 46 secs
2020-11-28 05:45:34 +0300 Sleep Entering Sleep state due to 'Maintenance Sleep':TCPKeepAlive=inactive Using Batt (Charge:77%) 7155 secs
2020-11-28 07:44:49 +0300 DarkWake DarkWake from Deep Idle [CDN] : due to EC.SleepTimer/SleepTimer Using BATT (Charge:74%) 0 secs
2020-11-28 07:44:49 +0300 Sleep Entering Sleep state due to 'Maintenance Sleep':TCPKeepAlive=inactive Using Batt (Charge:74%) 76 secs
2020-11-28 07:46:05 +0300 DarkWake DarkWake from Standby [CDN] : due to EC.SleepTimer/HibernateError Using BATT (Charge:74%) 46 secs
2020-11-28 07:46:51 +0300 Sleep Entering Sleep state due to 'Maintenance Sleep':TCPKeepAlive=inactive Using Batt (Charge:74%) 14290 secs
2020-11-28 11:45:01 +0300 DarkWake DarkWake from Deep Idle [CDN] : due to EC.RTC/SleepService Using BATT (Charge:69%) 0 secs
2020-11-28 11:45:01 +0300 Sleep Entering Sleep state due to 'Sleep Service Back to Sleep':TCPKeepAlive=inactive Using Batt (Charge:69%) 21641 secs
2020-11-28 17:45:42 +0300 DarkWake DarkWake from Deep Idle [CDN] : due to EC.RTC/Maintenance Using BATT (Charge:63%) 45 secs
2020-11-28 17:46:27 +0300 Sleep Entering Sleep state due to 'Maintenance Sleep':TCPKeepAlive=inactive Using Batt (Charge:63%) 34113 secs
2020-11-28 17:46:30 +0300 Assertions Summary- [System: DeclUser kDisp] Using Batt(Charge: 63)
2020-11-29 03:15:00 +0300 DarkWake DarkWake from Deep Idle [CDN] : due to EC.RTC/SleepService Using BATT (Charge:47%) 0 secs
2020-11-29 03:15:00 +0300 Sleep Entering Sleep state due to 'Sleep Service Back to Sleep':TCPKeepAlive=inactive Using Batt (Charge:47%) 63906 secs
2020-11-29 21:00:06 +0300 DarkWake DarkWake from Standby [CDN] : due to EC.RTC/SleepService Using BATT (Charge:47%) 2 secs
2020-11-29 21:00:08 +0300 Sleep Entering Sleep state due to 'Sleep Service Back to Sleep':TCPKeepAlive=inactive Using Batt (Charge:18%) 55153 secs
2020-11-30 12:19:18 +0300 Assertions Summary- [System: DeclUser kDisp] Using AC(Charge: 0)
global:
sudo pmset -a disksleep 15
charger:
sudo pmset -c sleep 120
sudo pmset -c powernap 1
sudo pmset -c displaysleep 20
battery:
sudo pmset -b tcpkeepalive 0
sudo pmset -b sleep 30
sudo pmset -b displaysleep 10
sudo pmset -b standbydelayhigh 10800
sudo pmset -b standbydelaylow 3600
sudo pmset -b proximitywake 0
sudo pmset -b powernap 0
Unclear on how long until you opened the lid? When over 50% battery, pmset will use your 3 hour standbydelayhigh setting.So, I was expecting that my MBP will hibernate in an hour after I close the lid. But when I've opened the lid it started immediately (just like RAM was not powered off).
BTW, batter drain during 9 sleep hours was 2%.
Thanks for the reply.Unclear on how long until you opened the lid? When over 50% battery, pmset will use your 3 hour standbydelayhigh setting.
If you're getting instant wakes after 9 hrs, you can try forcing hibernate by setting hibernatemode to 25, but 2% per 9 hours isn't what killed your battery anyway.
It was that bizarre holding at 47% and then giant drop out of nowhere.
I would keep an eye on what your battery does next time it gets below 50, whether during sleep or not
Right, I think your RAM is staying powered on because of a change to SMC behavior pushed in Mojave and Catalina this year, but since pmset isn't actually reflective of what SMC is going to do with RAM in retina MBPs, who can say. I haven't seen a report of a retina MBP user with Mojave or Catalina still seeing the slow wake that reflects RAM being powered off, but maybe some are... Either way your RAM is clearly staying powered on, which will use battery.But real life shows that mac doesn't go to standby (hibernate). It wakes immediately the next morning.