Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

chrisia777

macrumors newbie
Jan 21, 2021
10
7
sorry about that.
I did it again and I found there are a lot of logs.
here is just from Nov 19

2020-11-19 18:15:55 -0800 DarkWake DarkWake from Deep Idle [CDNP] : due to SMC.OutboxNotEmpty smc.70070000 wifibt wlan DataFrame ARPT/ Using BATT (Charge:75%) 8 secs


2020-11-19 18:16:05 -0800 DarkWake DarkWake from Deep Idle [CDNP] : due to SMC.OutboxNotEmpty smc.70070000 wifibt wlan DataFrame ARPT/ Using BATT (Charge:75%) 7 secs


2020-11-19 18:16:14 -0800 DarkWake DarkWake from Deep Idle [CDNP] : due to SMC.OutboxNotEmpty smc.70070000 wifibt wlan DataFrame ARPT/ Using BATT (Charge:75%) 7 secs


2020-11-19 18:16:23 -0800 DarkWake DarkWake from Deep Idle [CDNP] : due to SMC.OutboxNotEmpty smc.70070000 wifibt wlan DataFrame ARPT/ Using BATT (Charge:75%) 8 secs


2020-11-19 18:16:39 -0800 DarkWake DarkWake from Deep Idle [CDNP] : due to SMC.OutboxNotEmpty smc.70070000 wifibt wlan DataFrame ARPT/ Using BATT (Charge:75%) 9 secs


2020-11-19 18:16:56 -0800 DarkWake DarkWake from Deep Idle [CDNP] : due to SMC.OutboxNotEmpty smc.70070000 wifibt wlan DataFrame ARPT/ Using BATT (Charge:75%) 8 secs


2020-11-19 18:17:13 -0800 DarkWake DarkWake from Deep Idle [CDNP] : due to SMC.OutboxNotEmpty smc.70070000 wifibt wlan DataFrame ARPT/ Using BATT (Charge:75%) 7 secs


2020-11-19 18:17:29 -0800 DarkWake DarkWake from Deep Idle [CDNP] : due to SMC.OutboxNotEmpty smc.70070000 wifibt wlan DataFrame ARPT/ Using BATT (Charge:75%) 8 secs


2020-11-19 18:17:44 -0800 DarkWake DarkWake from Deep Idle [CDNP] : due to SMC.OutboxNotEmpty smc.70070000 wifibt wlan DataFrame ARPT/ Using BATT (Charge:75%) 7 secs


2020-11-19 18:43:10 -0800 DarkWake DarkWake from Deep Idle [CDNP] : due to SMC.OutboxNotEmpty smc.70070000 wifibt wlan DataFrame ARPT/ Using BATT (Charge:75%) 5 secs


2020-11-19 18:47:36 -0800 DarkWake DarkWake from Deep Idle [CDNP] : due to SMC.OutboxNotEmpty smc.70070000 wifibt wlan DataFrame ARPT/ Using BATT (Charge:75%) 6 secs


2020-11-19 19:35:53 -0800 DarkWake DarkWake from Deep Idle [CDNP] : due to SMC.OutboxNotEmpty smc.70070000 wifibt wlan DataFrame ARPT/ Using BATT (Charge:74%) 5 secs


2020-11-19 22:18:23 -0800 DarkWake DarkWake from Deep Idle [CDNP] : due to SMC.OutboxNotEmpty smc.70070000 wifibt wlan DataFrame ARPT/ Using BATT (Charge:62%) 8 secs


2020-11-19 22:18:42 -0800 DarkWake DarkWake from Deep Idle [CDNP] : due to SMC.OutboxNotEmpty smc.70070000 wifibt wlan DataFrame ARPT/ Using BATT (Charge:62%) 7 secs


2020-11-19 22:19:04 -0800 DarkWake DarkWake from Deep Idle [CDNP] : due to SMC.OutboxNotEmpty smc.70070000 wifibt wlan DataFrame ARPT/ Using BATT (Charge:62%) 8 secs


2020-11-19 22:19:18 -0800 DarkWake DarkWake from Deep Idle [CDNP] : due to SMC.OutboxNotEmpty smc.70070000 wifibt wlan DataFrame ARPT/ Using BATT (Charge:62%) 8 secs


2020-11-19 22:19:34 -0800 DarkWake DarkWake from Deep Idle [CDNP] : due to SMC.OutboxNotEmpty smc.70070000 wifibt wlan DataFrame ARPT/ Using BATT (Charge:62%) 8 secs


2020-11-19 22:19:51 -0800 DarkWake DarkWake from Deep Idle [CDNP] : due to SMC.OutboxNotEmpty smc.70070000 wifibt wlan DataFrame ARPT/ Using BATT (Charge:62%) 8 secs


2020-11-19 22:20:05 -0800 DarkWake DarkWake from Deep Idle [CDNP] : due to SMC.OutboxNotEmpty smc.70070000 wifibt wlan DataFrame ARPT/ Using BATT (Charge:62%) 8 secs


2020-11-19 22:39:05 -0800 DarkWake DarkWake from Deep Idle [CDNP] : due to SMC.OutboxNotEmpty smc.70070000 wifibt wlan DataFrame ARPT/ Using BATT (Charge:62%) 7 secs


2020-11-19 22:41:37 -0800 DarkWake DarkWake from Deep Idle [CDNP] : due to SMC.OutboxNotEmpty smc.70070000 wifibt wlan DataFrame ARPT/ Using BATT (Charge:62%) 9 secs


2020-11-19 22:49:16 -0800 DarkWake DarkWake from Deep Idle [CDNP] : due to SMC.OutboxNotEmpty smc.70070000 wifibt wlan DataFrame ARPT/ Using BATT (Charge:62%) 7 secs
I've found out a solution to sovle this issue:

1.Run command in terminal: sudo pmset -a tcpkeepalive 0

2.Run command in terminal: sudo pmset -a powernap 0

3.Make sure these options is not checked: "System Preferences->Battery->Optimized battery charging" and "System Preferences->Battery->Power Adapter->Wake for network access"
 

hyperjigs

macrumors newbie
Jun 22, 2012
1
1
Hi,



I have a Macbook Pro M1 (should also work with a MBA) and was able to solve the darkwake by downloading an app from Jettison which manages sleep settings. I use an LG27UL850 as my external monitor on clamshell model and connect a 3TB WD MyBook to its built-in USB Dock.



1. I downloaded and installed this app https://www.stclairsoft.com/download/ManageSleepSettings.zip. The good thing with this app is that you don't need to execute commands as it has been scripted. You also have the option to disable and revert back if needed i.e. bringing your macbook on trips for security as you want "Find My Mac" running.


If you are like me who's scared of executing apps and unknown scripts, you may read Jettison's FAQ here: Jettison FAQ (stclairsoft.com)



2. To make my HDD unmount automatically when I lock my screen at the end of my work session, I installed a $3 app called Ejectify. I set to unmount on "Display Off" which allows me to lock my computer (cmd+ctrl+q) and just allow my monitor to sleep automatically. No problems waking it up and the app mounts the disks/partitions on the the HDD - I login via my Apple Watch. I tried to use Jettison and Mountain as well but both apps did not allow my to automatically unmount when I lock my computer traditionally using (cmd+ctrl+q)



You can download Ejectify here: Ejectify - Unmounts external disks automatically



By the way, I still connect my apple usb-c charger on my mac because I noticed that optimized battery charging does not work if I just get power from the usb-c monitor. It draws in power instead from the apple charger. This is important for me because I now use my Mac 99% of the time on clamshell mode. I also did not disable deep sleep in the 27UL850 so that it provides power to my external HDD. When I wake the display, the HDD is automatically mounted by Ejectify and hourly backups via TimeMachine resumes (Backup does not run when the computer is asleep because the HDD is unmounted by the app every-time the screen display turns off. Take note that this does NOT work if you manually turn power-off from your monitor because it does not trigger the app to unmount the disks first.



Other setup parameters: I use a Logitech bluetooth K380 keyboard and Logitech M720 (connected via dongle). The WD MyBook is connected directly to the first USB ports of the monitor while I used a 4 port USB hub to extend the monitor's second port. The USB hub drives a Logitech C920 Cam and the M720 dongle.



This is the perfect setup for me. I hope this helps.



Cheers!

Hyperjigs
 
  • Like
Reactions: foliovision

tarasis

macrumors 6502a
Oct 26, 2007
692
99
Here, there and everywhere
You lucky people. My darkwake’s for SMC.OutboxNotEmpty pretty Much all last 45 seconds. So over 11 hours today, my Air dropped 6% while asleep.


Code:
2021-07-04 14:01:03 +0100 Sleep                 Entering DarkWake state due to 'Clamshell Sleep':TCPKeepAlive=active Using Batt (Charge:76%)           
2021-07-04 14:04:39 +0100 DarkWake              DarkWake from Deep Idle [CDN] : due to SMC.OutboxNotEmpty smc.70070000 wifibt wlan/ Using BATT (Charge:76%) 45 secs   
2021-07-04 14:05:27 +0100 DarkWake              DarkWake from Deep Idle [CDN] : due to SMC.OutboxNotEmpty smc.70070000 wifibt wlan/ Using BATT (Charge:76%) 45 secs

… snip …

2021-07-05 00:41:22 +0100 DarkWake              DarkWake from Deep Idle [CDN] : due to SMC.OutboxNotEmpty smc.70070000 wifibt wlan/ Using BATT (Charge:70%) 45 secs   
2021-07-05 00:42:47 +0100 DarkWake              DarkWake from Deep Idle [CDN] : due to SMC.OutboxNotEmpty smc.70070000 wifibt wlan/ Using BATT (Charge:70%) 45 secs
 

orthorim

Suspended
Feb 27, 2008
733
350
I've found out a solution to sovle this issue:

1.Run command in terminal: sudo pmset -a tcpkeepalive 0

2.Run command in terminal: sudo pmset -a powernap 0

3.Make sure these options is not checked: "System Preferences->Battery->Optimized battery charging" and "System Preferences->Battery->Power Adapter->Wake for network access"
Just found this also - hopefully this is the solution

Both my MacBook Pro M1 Pro and MBA M1 have been waking up every 20 min, sometimes they wake up and stay awake inside my backpack, getting really hot.

It's ridiculous. Apple trying to do too many things.

I say: Make sleep sleep again. Sleep means sleep, no doing all sorts of weird stuff.

The only downside is find my Mac is disabled - but in reality the first thing a laptop thief does is they power off the computer with a hard power off. Then find my mac doesn't work anyway. So this is not a big loss. Perhaps if you are very forgetful and can't remember where you left you mac... but for theft, no benefit.
 
  • Love
Reactions: foliovision

orthorim

Suspended
Feb 27, 2008
733
350
YESSSS!! It's working!! Between yesterday when I put the computer to sleep, and today - NOTHING!

Thanks!!

1639013629054.png
 

diegoveloper

macrumors newbie
Jan 9, 2022
20
3
YESSSS!! It's working!! Between yesterday when I put the computer to sleep, and today - NOTHING!

Thanks!!

View attachment 1925315

Does this work for you? I tried all the steps mentioned and it doesn't work.
I have a M1 Max and I use in clamshell mode, only connected to an external monitor via HDMI.


This is the log I see


2022-01-09 20:00:32 -0500 DarkWake DarkWake from Deep Idle [CDN] : due to AOP.OutboxNotEmpty spu_queue_overflow_ep42/ Using BATT (Charge:100%) 45 secs 2022-01-09 21:04:40 -0500 DarkWake DarkWake from Deep Idle [CDN] : due to AOP.OutboxNotEmpty spu_queue_overflow_ep42/ Using BATT (Charge:100%) 45 secs 2022-01-09 22:09:01 -0500 DarkWake DarkWake from Deep Idle [CDN] : due to AOP.OutboxNotEmpty spu_queue_overflow_ep42/ Using BATT (Charge:100%) 45 secs

Anyone know what's `spu_queue_overflow_ep42` or `AOP.OutboxNotEmpty`?
 

orthorim

Suspended
Feb 27, 2008
733
350
Does this work for you? I tried all the steps mentioned and it doesn't work.
I have a M1 Max and I use in clamshell mode, only connected to an external monitor via HDMI.


This is the log I see


2022-01-09 20:00:32 -0500 DarkWake DarkWake from Deep Idle [CDN] : due to AOP.OutboxNotEmpty spu_queue_overflow_ep42/ Using BATT (Charge:100%) 45 secs 2022-01-09 21:04:40 -0500 DarkWake DarkWake from Deep Idle [CDN] : due to AOP.OutboxNotEmpty spu_queue_overflow_ep42/ Using BATT (Charge:100%) 45 secs 2022-01-09 22:09:01 -0500 DarkWake DarkWake from Deep Idle [CDN] : due to AOP.OutboxNotEmpty spu_queue_overflow_ep42/ Using BATT (Charge:100%) 45 secs

Anyone know what's `spu_queue_overflow_ep42` or `AOP.OutboxNotEmpty`?
It works on my M1 Macbook Air.

I am now applying it to the M1 Pro MacBook Pro 16 (which still has the darkwaking every hour insomnia)
 

ice29

macrumors regular
Dec 9, 2016
179
137
Switzerland
My M1 MBP16 (and M1 Air and M1 MacMini before it) gets to a strange mode after a few days without reboot when it will wake every 45 seconds... none of the fixes from internet forums help, disabling wifi and BT does not help... what helps is only reboot it every now and then (when it starts doing this again)
Today morning my battery was drained to zero again...

2022-02-24 06:41:22 +0100 DarkWake DarkWake from Deep Idle [CDN] : due to NUB.SPMISw3IRQ nub-spmi0.0x02 rtc/ Using BATT (Charge:2%) 45 secs 2022-02-24 06:42:09 +0100 DarkWake DarkWake from Deep Idle [CDN] : due to NUB.SPMISw3IRQ nub-spmi0.0x02 rtc/ Using BATT (Charge:2%) 46 secs 2022-02-24 06:42:57 +0100 DarkWake DarkWake from Deep Idle [CDN] : due to NUB.SPMISw3IRQ nub-spmi0.0x02 rtc/ Using BATT (Charge:2%) 45 secs 2022-02-24 06:43:44 +0100 DarkWake DarkWake from Deep Idle [CDN] : due to NUB.SPMISw3IRQ nub-spmi0.0x02 rtc/ Using BATT (Charge:1%) 45 secs 2022-02-24 06:44:31 +0100 DarkWake DarkWake from Deep Idle [CDN] : due to NUB.SPMISw3IRQ nub-spmi0.0x02 rtc/ Using BATT (Charge:1%) 45 secs 2022-02-24 06:45:18 +0100 DarkWake DarkWake from Deep Idle [CDN] : due to NUB.SPMISw3IRQ nub-spmi0.0x02 rtc/ Using BATT (Charge:1%) 45 secs 2022-02-24 06:46:05 +0100 DarkWake DarkWake from Deep Idle [CDN] : due to NUB.SPMISw3IRQ nub-spmi0.0x02 rtc/ Using BATT (Charge:1%) 45 secs 2022-02-24 06:46:53 +0100 DarkWake DarkWake from Deep Idle [CDN] : due to NUB.SPMISw3IRQ nub-spmi0.0x02 rtc/ Using BATT (Charge:1%) 45 secs 2022-02-24 06:47:40 +0100 DarkWake DarkWake from Deep Idle [CDN] : due to NUB.SPMISw3IRQ nub-spmi0.0x02 rtc/ Using BATT (Charge:1%) 45 secs 2022-02-24 06:48:27 +0100 DarkWake DarkWake from Deep Idle [CDN] : due to NUB.SPMISw3IRQ nub-spmi0.0x02 rtc/ Using BATT (Charge:1%) 45 secs 2022-02-24 06:49:14 +0100 DarkWake DarkWake from Deep Idle [CDN] : due to NUB.SPMISw3IRQ nub-spmi0.0x02 rtc/ Using BATT (Charge:1%) 45 secs
 

phlarp

macrumors newbie
Feb 19, 2018
2
0
My M1 MBP16 (and M1 Air and M1 MacMini before it) gets to a strange mode after a few days without reboot when it will wake every 45 seconds... none of the fixes from internet forums help, disabling wifi and BT does not help... what helps is only reboot it every now and then (when it starts doing this again)
Today morning my battery was drained to zero again...

2022-02-24 06:41:22 +0100 DarkWake DarkWake from Deep Idle [CDN] : due to NUB.SPMISw3IRQ nub-spmi0.0x02 rtc/ Using BATT (Charge:2%) 45 secs 2022-02-24 06:42:09 +0100 DarkWake DarkWake from Deep Idle [CDN] : due to NUB.SPMISw3IRQ nub-spmi0.0x02 rtc/ Using BATT (Charge:2%) 46 secs 2022-02-24 06:42:57 +0100 DarkWake DarkWake from Deep Idle [CDN] : due to NUB.SPMISw3IRQ nub-spmi0.0x02 rtc/ Using BATT (Charge:2%) 45 secs 2022-02-24 06:43:44 +0100 DarkWake DarkWake from Deep Idle [CDN] : due to NUB.SPMISw3IRQ nub-spmi0.0x02 rtc/ Using BATT (Charge:1%) 45 secs 2022-02-24 06:44:31 +0100 DarkWake DarkWake from Deep Idle [CDN] : due to NUB.SPMISw3IRQ nub-spmi0.0x02 rtc/ Using BATT (Charge:1%) 45 secs 2022-02-24 06:45:18 +0100 DarkWake DarkWake from Deep Idle [CDN] : due to NUB.SPMISw3IRQ nub-spmi0.0x02 rtc/ Using BATT (Charge:1%) 45 secs 2022-02-24 06:46:05 +0100 DarkWake DarkWake from Deep Idle [CDN] : due to NUB.SPMISw3IRQ nub-spmi0.0x02 rtc/ Using BATT (Charge:1%) 45 secs 2022-02-24 06:46:53 +0100 DarkWake DarkWake from Deep Idle [CDN] : due to NUB.SPMISw3IRQ nub-spmi0.0x02 rtc/ Using BATT (Charge:1%) 45 secs 2022-02-24 06:47:40 +0100 DarkWake DarkWake from Deep Idle [CDN] : due to NUB.SPMISw3IRQ nub-spmi0.0x02 rtc/ Using BATT (Charge:1%) 45 secs 2022-02-24 06:48:27 +0100 DarkWake DarkWake from Deep Idle [CDN] : due to NUB.SPMISw3IRQ nub-spmi0.0x02 rtc/ Using BATT (Charge:1%) 45 secs 2022-02-24 06:49:14 +0100 DarkWake DarkWake from Deep Idle [CDN] : due to NUB.SPMISw3IRQ nub-spmi0.0x02 rtc/ Using BATT (Charge:1%) 45 secs
I'm getting this exact same behavior. Please post if you find a durable solution.
 

Henio

macrumors newbie
Mar 6, 2011
2
0
Hard time believing it has anything to do with Unifi I have the same issue.
I had very similar problems on two MBA M1 on UniFi wireless.
After disabling "GTK rekeying" the problems disappeared.
Strange thing...
 

Starmina

macrumors member
Jul 7, 2020
44
13
Well, as an example, in OpenWrt it seems you can play with GTK Rekeying parameters in the Wireless Interface parameters

CleanShot 2022-03-10 at 13.42.56.png
 

aleksdj

macrumors newbie
May 23, 2020
7
2
My M1 MBP16 (and M1 Air and M1 MacMini before it) gets to a strange mode after a few days without reboot when it will wake every 45 seconds... none of the fixes from internet forums help, disabling wifi and BT does not help... what helps is only reboot it every now and then (when it starts doing this again)
Today morning my battery was drained to zero again...

2022-02-24 06:41:22 +0100 DarkWake DarkWake from Deep Idle [CDN] : due to NUB.SPMISw3IRQ nub-spmi0.0x02 rtc/ Using BATT (Charge:2%) 45 secs 2022-02-24 06:42:09 +0100 DarkWake DarkWake from Deep Idle [CDN] : due to NUB.SPMISw3IRQ nub-spmi0.0x02 rtc/ Using BATT (Charge:2%) 46 secs 2022-02-24 06:42:57 +0100 DarkWake DarkWake from Deep Idle [CDN] : due to NUB.SPMISw3IRQ nub-spmi0.0x02 rtc/ Using BATT (Charge:2%) 45 secs 2022-02-24 06:43:44 +0100 DarkWake DarkWake from Deep Idle [CDN] : due to NUB.SPMISw3IRQ nub-spmi0.0x02 rtc/ Using BATT (Charge:1%) 45 secs 2022-02-24 06:44:31 +0100 DarkWake DarkWake from Deep Idle [CDN] : due to NUB.SPMISw3IRQ nub-spmi0.0x02 rtc/ Using BATT (Charge:1%) 45 secs 2022-02-24 06:45:18 +0100 DarkWake DarkWake from Deep Idle [CDN] : due to NUB.SPMISw3IRQ nub-spmi0.0x02 rtc/ Using BATT (Charge:1%) 45 secs 2022-02-24 06:46:05 +0100 DarkWake DarkWake from Deep Idle [CDN] : due to NUB.SPMISw3IRQ nub-spmi0.0x02 rtc/ Using BATT (Charge:1%) 45 secs 2022-02-24 06:46:53 +0100 DarkWake DarkWake from Deep Idle [CDN] : due to NUB.SPMISw3IRQ nub-spmi0.0x02 rtc/ Using BATT (Charge:1%) 45 secs 2022-02-24 06:47:40 +0100 DarkWake DarkWake from Deep Idle [CDN] : due to NUB.SPMISw3IRQ nub-spmi0.0x02 rtc/ Using BATT (Charge:1%) 45 secs 2022-02-24 06:48:27 +0100 DarkWake DarkWake from Deep Idle [CDN] : due to NUB.SPMISw3IRQ nub-spmi0.0x02 rtc/ Using BATT (Charge:1%) 45 secs 2022-02-24 06:49:14 +0100 DarkWake DarkWake from Deep Idle [CDN] : due to NUB.SPMISw3IRQ nub-spmi0.0x02 rtc/ Using BATT (Charge:1%) 45 secs
Exactly the same here in my Macbook Pro M1....

Code:
2022-03-12 17:10:12 +0100 Sleep                   Entering Sleep state due to 'Maintenance Sleep':TCPKeepAlive=disabled Using Batt (Charge:23%) 2 secs
2022-03-12 17:10:14 +0100 DarkWake                DarkWake from Deep Idle [CDN] : due to NUB.SPMISw3IRQ nub-spmi0.0x02 rtc/ Using BATT (Charge:23%) 10 secs
2022-03-12 17:10:24 +0100 Sleep                   Entering Sleep state due to 'Maintenance Sleep':TCPKeepAlive=disabled Using Batt (Charge:23%) 2 secs
2022-03-12 17:10:26 +0100 DarkWake                DarkWake from Deep Idle [CDN] : due to NUB.SPMISw3IRQ nub-spmi0.0x02 rtc/ Using BATT (Charge:23%) 26 secs
2022-03-12 17:10:52 +0100 Sleep                   Entering Sleep state due to 'Maintenance Sleep':TCPKeepAlive=disabled Using Batt (Charge:23%) 3 secs
2022-03-12 17:10:55 +0100 DarkWake                DarkWake from Deep Idle [CDN] : due to NUB.SPMISw3IRQ nub-spmi0.0x02 rtc/ Using BATT (Charge:23%) 18 secs
2022-03-12 17:11:13 +0100 Sleep                   Entering Sleep state due to 'Maintenance Sleep':TCPKeepAlive=disabled Using Batt (Charge:23%) 2 secs
2022-03-12 17:11:15 +0100 DarkWake                DarkWake from Deep Idle [CDN] : due to NUB.SPMISw3IRQ nub-spmi0.0x02 rtc/ Using BATT (Charge:23%) 8 secs
2022-03-12 17:11:23 +0100 Sleep                   Entering Sleep state due to 'Maintenance Sleep':TCPKeepAlive=disabled Using Batt (Charge:23%) 2 secs
2022-03-12 17:11:25 +0100 DarkWake                DarkWake from Deep Idle [CDN] : due to NUB.SPMISw3IRQ nub-spmi0.0x02 rtc/ Using BATT (Charge:23%) 45 secs
2022-03-12 17:12:10 +0100 Sleep                   Entering Sleep state due to 'Maintenance Sleep':TCPKeepAlive=disabled Using Batt (Charge:22%) 2 secs
2022-03-12 17:12:12 +0100 DarkWake                DarkWake from Deep Idle [CDN] : due to NUB.SPMISw3IRQ nub-spmi0.0x02 rtc/ Using BATT (Charge:22%) 12 secs
2022-03-12 17:12:24 +0100 Sleep                   Entering Sleep state due to 'Maintenance Sleep':TCPKeepAlive=disabled Using Batt (Charge:22%) 2 secs
2022-03-12 17:12:26 +0100 DarkWake                DarkWake from Deep Idle [CDN] : due to NUB.SPMISw3IRQ nub-spmi0.0x02 rtc/ Using BATT (Charge:22%) 45 secs
2022-03-12 17:13:11 +0100 Sleep                   Entering Sleep state due to 'Maintenance Sleep':TCPKeepAlive=disabled Using Batt (Charge:22%) 2 secs
2022-03-12 17:13:13 +0100 DarkWake                DarkWake from Deep Idle [CDN] : due to NUB.SPMISw3IRQ nub-spmi0.0x02 rtc/ Using BATT (Charge:22%) 45 secs
2022-03-12 17:13:58 +0100 Sleep                   Entering Sleep state due to 'Maintenance Sleep':TCPKeepAlive=disabled Using Batt (Charge:22%) 2 secs
2022-03-12 17:14:00 +0100 DarkWake                DarkWake from Deep Idle [CDN] : due to NUB.SPMISw3IRQ nub-spmi0.0x02 rtc/ Using BATT (Charge:22%) 20 secs
2022-03-12 17:14:20 +0100 Sleep                   Entering Sleep state due to 'Maintenance Sleep':TCPKeepAlive=disabled Using Batt (Charge:22%) 2 secs
2022-03-12 17:14:22 +0100 DarkWake                DarkWake from Deep Idle [CDN] : due to NUB.SPMISw3IRQ nub-spmi0.0x02 rtc/ Using BATT (Charge:22%) 27 secs
2022-03-12 17:14:49 +0100 Sleep                   Entering Sleep state due to 'Maintenance Sleep':TCPKeepAlive=disabled Using Batt (Charge:22%) 3 secs
2022-03-12 17:14:52 +0100 DarkWake                DarkWake from Deep Idle [CDN] : due to NUB.SPMISw3IRQ nub-spmi0.0x02 rtc/ Using BATT (Charge:22%) 29 secs
2022-03-12 17:15:21 +0100 Sleep                   Entering Sleep state due to 'Maintenance Sleep':TCPKeepAlive=disabled Using Batt (Charge:22%) 2 secs
2022-03-12 17:15:23 +0100 DarkWake                DarkWake from Deep Idle [CDN] : due to NUB.SPMISw3IRQ nub-spmi0.0x02 rtc/ Using BATT (Charge:22%) 45 secs
2022-03-12 17:16:08 +0100 Sleep                   Entering Sleep state due to 'Maintenance Sleep':TCPKeepAlive=disabled Using Batt (Charge:22%) 2 secs
2022-03-12 17:16:10 +0100 DarkWake                DarkWake from Deep Idle [CDN] : due to NUB.SPMISw3IRQ nub-spmi0.0x02 rtc/ Using BATT (Charge:22%) 45 secs
2022-03-12 17:16:55 +0100 Sleep                   Entering Sleep state due to 'Maintenance Sleep':TCPKeepAlive=disabled Using Batt (Charge:22%) 2 secs
2022-03-12 17:16:57 +0100 DarkWake                DarkWake from Deep Idle [CDN] : due to NUB.SPMISw3IRQ nub-spmi0.0x02 rtc/ Using BATT (Charge:22%) 23 secs
2022-03-12 17:17:20 +0100 Sleep                   Entering Sleep state due to 'Maintenance Sleep':TCPKeepAlive=disabled Using Batt (Charge:22%) 2 secs
2022-03-12 17:17:22 +0100 DarkWake                DarkWake from Deep Idle [CDN] : due to NUB.SPMISw3IRQ nub-spmi0.0x02 rtc/ Using BATT (Charge:22%) 30 secs
2022-03-12 17:17:52 +0100 Sleep                   Entering Sleep state due to 'Maintenance Sleep':TCPKeepAlive=disabled Using Batt (Charge:22%) 2 secs
 

verdi1987

macrumors 6502a
Jun 19, 2010
619
340
For many years I’ve had issues with my Macs staying asleep. I chocked it up to having a lot of connected accessories that may be causing the Mac to wake up. I always had womp, Power Nap, Handoff, Bluetooth, Wi-Fi, and Media Sharing disabled. I got a new Mac Studio last week. I set it up new, not from backup, and it was no different than my past Macs. It was waking up every ten minutes or less.

I had enough and found this thread. After disabling tcpkeepalive, my Mac now sleeps! I had thought my monitor was intermittently waking my Mac because my display would wake from standby repeatedly. It turns out that it was the other way around: My Mac was repeatedly waking my monitor. My monitor no longer intermittently wakes from standby.

Update:

For the most part, my Mac has remained asleep with tcpkeepalive=0. However, my Mac awoke at exactly 2 PM today and continued it's unending cycle of darkwakes and sleep. I had nothing scheduled for 2 PM that should have caused the wake—no backups or scripts. After I put it back to sleep, it stayed asleep. My pmset settings have not changed, either.
 
Last edited:

diegoveloper

macrumors newbie
Jan 9, 2022
20
3
I'm using macOS 12.3.1 and still getting the same errors:
Screen Shot 2022-04-03 at 3.41.23 PM.png


Notice how the DarkWake is triggered every 1 hour + ~4 minutes.
 

noktulo

macrumors newbie
Mar 18, 2013
9
29
I'm having my battery drain overnight every night, and getting DarkWake messages every ~10 seconds:

Bash:
2022-04-08 23:55:24 -0500 DarkWake                DarkWake from Deep Idle [CDN] : due to SMC.OutboxNotEmpty smc.70070000 wifibt wlan/ Using BATT (Charge:81%) 6 secs   
2022-04-08 23:55:34 -0500 DarkWake                DarkWake from Deep Idle [CDN] : due to SMC.OutboxNotEmpty smc.70070000 wifibt wlan/ Using BATT (Charge:81%) 6 secs   
2022-04-08 23:55:44 -0500 DarkWake                DarkWake from Deep Idle [CDN] : due to SMC.OutboxNotEmpty smc.70070000 wifibt wlan/ Using BATT (Charge:81%) 6 secs   
2022-04-08 23:55:55 -0500 DarkWake                DarkWake from Deep Idle [CDN] : due to SMC.OutboxNotEmpty smc.70070000 wifibt wlan/ Using BATT (Charge:81%) 6 secs   
2022-04-08 23:56:06 -0500 DarkWake                DarkWake from Deep Idle [CDN] : due to SMC.OutboxNotEmpty smc.70070000 wifibt wlan/ Using BATT (Charge:81%) 6 secs   
2022-04-08 23:56:17 -0500 DarkWake                DarkWake from Deep Idle [CDN] : due to SMC.OutboxNotEmpty smc.70070000 wifibt wlan/ Using BATT (Charge:81%) 4 secs
 

verdi1987

macrumors 6502a
Jun 19, 2010
619
340
I'm having my battery drain overnight every night, and getting DarkWake messages every ~10 seconds:

Bash:
2022-04-08 23:55:24 -0500 DarkWake                DarkWake from Deep Idle [CDN] : due to SMC.OutboxNotEmpty smc.70070000 wifibt wlan/ Using BATT (Charge:81%) 6 secs 
2022-04-08 23:55:34 -0500 DarkWake                DarkWake from Deep Idle [CDN] : due to SMC.OutboxNotEmpty smc.70070000 wifibt wlan/ Using BATT (Charge:81%) 6 secs 
2022-04-08 23:55:44 -0500 DarkWake                DarkWake from Deep Idle [CDN] : due to SMC.OutboxNotEmpty smc.70070000 wifibt wlan/ Using BATT (Charge:81%) 6 secs 
2022-04-08 23:55:55 -0500 DarkWake                DarkWake from Deep Idle [CDN] : due to SMC.OutboxNotEmpty smc.70070000 wifibt wlan/ Using BATT (Charge:81%) 6 secs 
2022-04-08 23:56:06 -0500 DarkWake                DarkWake from Deep Idle [CDN] : due to SMC.OutboxNotEmpty smc.70070000 wifibt wlan/ Using BATT (Charge:81%) 6 secs 
2022-04-08 23:56:17 -0500 DarkWake                DarkWake from Deep Idle [CDN] : due to SMC.OutboxNotEmpty smc.70070000 wifibt wlan/ Using BATT (Charge:81%) 4 secs
Disable Power Nap, tcpkeepalive, and WoL; then reboot:

sudo pmset -a powernap 0 tcpkeepalive 0 womp 0

It could also be Bluetooth. There was an issue in 12.3 causing repeated wakes. It’s supposedly fixed, but I have Bluetooth disabled now, so I cannot confirm it’s fixed.
 

Starmina

macrumors member
Jul 7, 2020
44
13
tcpkeepalive is definitely the thing spamming my logs the most. Turning it off drastiaclly reduce the OutboxNotEmpty things.
 

ceevee

macrumors member
Dec 28, 2012
39
4
I've found out a solution to sovle this issue:

1.Run command in terminal: sudo pmset -a tcpkeepalive 0

2.Run command in terminal: sudo pmset -a powernap 0

3.Make sure these options is not checked: "System Preferences->Battery->Optimized battery charging" and "System Preferences->Battery->Power Adapter->Wake for network access"
Thanks.

I tested this with macbook air m1 on 12.4. After an hour of the lid closed the battery usage chart did not show any usage. In fact, upon first opening it, there was no battery data in the hour the lid was closed.

This is different than before the terminal commands, where I saw battery usage every hour, even upon first opening the battery usage chart.

I will test further, but I think this solution works. The only thing I changed was using -b (battery), instead of -a (all) because I don't mind power usage when AC charger is connected.

EDIT:

Tested overnight: Battery usage graph shows no battery usage while the macbook M1 was sleeping:

1654094321696.png


I also use FluTooth to automatically turn off bluetooth and wifi when macbook sleeps. You can modify the shortcut to include wifi.

EDIT2: I redid the commands with -a, instead of -b. Though pmset correctly sets the commands for -b, as soon as I charge the MacBook and disconnect from power, the wake issues reappear, even though I'm on battery.
 
Last edited:
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.