After upgrading macOS Monterey, the device wakes up frequently in the middle of the night after sleeping

Recently updated to macOS Monterey, Waking up by the screen in the middle of the nightclub,It feels weird,Have been before,But the screen will only light up when there is a notification,Now I light it up without any reason,The hardware is still that hardware,Then it should be the software's pot。

Checked it online,First I found Apple's official tutorial:https://support.apple.com/zh-cn/guide/mac-help/mchlp2995/mac

Very detailed,But obviously it is of no use...

So continue to dig,Really found the reason,Use the command pmset -g log | grep DarkWake You can see,During your sleep,Your Mac is not resting...

Look at the output,These are more typical,Mostly like this,A DarkWake, A wake, Two are just connected,Then the problem arises, DarkWake wakes up the computer in the background to update data,But somehow,Peripheral is triggered,Which led to a global wakeup。

One of my laptop loses power by 10% overnight。

 

In short,I don't want this feature, Just that PowerNap,to me,I hope it can save me more power,So there are probably so many solutions:Turn off network access to wake up,Turn off PowerNap... but here comes the problem,On m1 device,In fact, there is no PowerNap option... (obviously,Apple is confident in its battery life,But they ignore the power of bugs)

On m1 chip,Even if the interface is connected to the power supply, there is no PowerNap option
On m1 chip,Even if the interface is connected to the power supply, there is no PowerNap option

So for the function of PowerNap,We can only start from the command line,First use pmset -g Command to view current status,turn up powernap Value,if not 0 ,Description is enabled,Use the command sudo pmset -a powernap 0 Turn it off。

The same time,There is another one tcpkeepalive ,This should not be the default 0 ,Also turn off,It determines whether your rmbp should keep tcp connection during sleep-obviously,If you keep it, you need to wake up regularly to connect to the Internet... sudo pmset -a tcpkeepalive 0 ,Executing this command will cause the terminal to prompt:

Probably it means that some functions will be restricted if it is turned off,In fact, the system function cannot be connected to the Internet when it sleeps.,I believe someone stole your Mac,It doesn't even connect to the internet。

In short,Two commands down,The problem should be solved,But in the information I'm looking for,Another one is "Turn off optimized power charging",Just the "Optimized battery charging",But I’m not sure if this will also cause awakening,And the old one before me 15 The inch is indeed bulging with two batteries,I decided to try driving it first,If it still wakes up,Turn it off again。

In short,that's it,If you read this article I didn’t come to update,That shows that the above scheme is effective :)


References:
  • https://discussions.apple.com/thread/252061187
  • https://apple.stackexchange.com/questions/253776/macbook-pro-13-with-retina-display-consumes-10-battery-overnight-with-the-lid-c
  • https://discussions.apple.com/thread/252276065

Original article written by Gerber drop-off:R0uter's Blog » After upgrading macOS Monterey, the device wakes up frequently in the middle of the night after sleeping

Reproduced Please keep the source and description link:https://www.logcg.com/archives/3528.html

Published
Categorized as Mac OS Tagged

By R0uter's Blog

The non-declaration,I have written articles are original,Reproduced, please indicate the link on this page and my name。

Leave a comment

Your email address will not be published. Required fields are marked *