Macbook Air M1 - How to fix preventing Mac from sleep (windowserver and powerd)

Hello. I have two problems, my main problem is that my brand new Macbook Air M1, I have used it for 2 weeks and my question is, how do I resolve the MacBook from being prevented to sleep from powerd and window server? I have tried to restart, entered safe mode, I have tried all settings.. Not working! It is still being prevented from sleep. What should I do?


My smaller problem is that my battery is not that great? It is 100% battery health in settings, I do not understand why I am losing from 100 to 84% in maybe less than 2-3 hours? Isn't the battery supposed to be great? I have to charge it from 20-30% to 100%?

MacBook Air (M1, 2020)

Posted on Jun 18, 2023 7:09 AM

Reply

Similar questions

4 replies

Jun 18, 2023 7:33 AM in response to qendrimmacbook

When you close the lid, it sleeps- you do have choices though to tweak what sleeps. Click the battery icon at the upper right, near the clock- it should show you if there are any 'offenders' that are using 'Significant Energy'. You may have a running app that is not sleeping. Now click "Battery Settings" from that drop-down. You can see the battery level relative to 'Screen On' usage. Click OPTIONS at the bottom of that screen and you can choose to 'Wake for network access' on AC only if the issue is heavy network usage while sleeping. I have it set AC Only because for me, network usage is not important for me when I am not interactively using it.


I am learning the ins and outs of MAC myself, haven't found more detailed info on battery use, what processes are eating what resources... (Sorry but I think Windows does a better job showing running processes and what is hogging what).


Not sure what the reference to 'windows server' above means- are you running something that is using data stored on a Windows server? If so, and you wish that to stop while it is sleeping, to save power, then I would think that stopping network activity while sleeping would handle that, but whatever it is doing on/with the Windows server would also stop so you have to decide what is more important...

Jun 18, 2023 8:50 AM in response to TzviaLS

Thank you for answering. Yes I know, but the thing is that powerd, bluetoothd and windowserver (meaning that something is open.. which is not, I have force quitted all applications?) and bluetooth is off... when I want to put my Mac to sleep.. but it says in activity monitor YES on those three objects that are preventing it from sleep... I do not understand this?

Jun 18, 2023 4:46 PM in response to qendrimmacbook

AAAH not 'Windows Server', for example, but the process windowserver that I see in Activity Monitor, along with the other processes you mentioned. It seems that something is running that doesn't want to sleep. Being a WINDOWS person at heart, I would reboot the computer, confirming that no apps have restarted on logon, and then check how well it sleeps, say overnight. Not every piece of software plays nice all the time, but the baseline is just the OS.

Jun 18, 2023 7:13 PM in response to qendrimmacbook

windowserverd, bluetoothd, and powerd are normal macOS background server processes. Under ordinary circumstances, you should not be doing kill -9 ("Force Quit") on any of them.


The trailing 'd' is a Unix/Linux naming convention. The 'd' stands for 'daemon' (as in a background server).


From the names, I would guess that windowserverd helps to manage GUI windows, that bluetoothd helps to manage Bluetooth devices, and that powerd helps to manage power-related things.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Macbook Air M1 - How to fix preventing Mac from sleep (windowserver and powerd)

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.