Become a MacRumors Supporter for $25/year with no ads, private forums, and more!

Zappermaster

macrumors newbie
Original poster
Jan 14, 2021
6
0
Hi!

It seems like my Mac Mini M1 is not really sleeping. Display is turned off but it is still possible to ping the device.
It draws at least 5-6W when in this mode but should be uner 1 W during deep sleep.
Deactivating Screen Sharing reduces "sleep prevented by" to powerd.
Changes in the energy saving options don't help to solve the issue.
Any thoughts why powerd is preventing the system from deep sleep?

Thanks!


pmset -g


System-wide power settings:


Currently in use:


disksleep 10


powernap 1


womp 1


networkoversleep 0


sleep 8 (sleep prevented by sharingd, powerd)


Sleep On Power Button 1


ttyskeepawake 1


tcpkeepalive 1


autorestart 1


standby 0


displaysleep 8
 

jdb8167

macrumors 68030
Nov 17, 2008
2,700
2,059
Hi!

It seems like my Mac Mini M1 is not really sleeping. Display is turned off but it is still possible to ping the device.
It draws at least 5-6W when in this mode but should be uner 1 W during deep sleep.
Deactivating Screen Sharing reduces "sleep prevented by" to powerd.
Changes in the energy saving options don't help to solve the issue.
Any thoughts why powerd is preventing the system from deep sleep?

Thanks!


pmset -g


System-wide power settings:


Currently in use:


disksleep 10


powernap 1


womp 1


networkoversleep 0


sleep 8 (sleep prevented by sharingd, powerd)


Sleep On Power Button 1


ttyskeepawake 1


tcpkeepalive 1


autorestart 1


standby 0


displaysleep 8
Eventually the "sleep prevented by powerd" assertion will time out and then your mini will go to sleep. If you have an assertion by sharingd, then I'm not sure it will.

Edit: I have Screen Sharing enabled on my MBA and it sleeps so there are probably different sharingd assertions. You can examine them with a command line: pmset -g assertions

Edit 2: There are probably differences between a notebook and a desktop too. I'd imagine that MacBook Air will sleep with sharing on where a mini might not.
 
Last edited:

Zappermaster

macrumors newbie
Original poster
Jan 14, 2021
6
0
It is still using 2-3 W when i disable the Screen Sharing option. But it seems like Handoff ist whats keeping sharingd alive... Thanks!




pmset -g assertions


2021-01-14 16:37:30 +0100


Assertion status system-wide:


BackgroundTask 0


ApplePushServiceTask 0


UserIsActive 1


PreventUserIdleDisplaySleep 0


PreventSystemSleep 0


ExternalMedia 0


PreventUserIdleSystemSleep 1


NetworkClientActive 0


Listed by owning process:


pid 423(sharingd): [0x0000074d00018910] 00:05:24 PreventUserIdleSystemSleep named: "Handoff"


pid 79(powerd): [0x0000068e000188a7] 00:09:51 PreventUserIdleSystemSleep named: "Powerd - Prevent sleep while display is on"


pid 138(WindowServer): [0x000006470009884d] 00:00:00 UserIsActive named: "com.apple.iohideventsystem.queue.tickle serviceID:100000a08 name:AppleHIDKeyboardEve product:Magic Keyboard eventType:3"


Timeout will fire in 480 secs Action=TimeoutActionRelease


Kernel Assertions: 0x10c=USB,BT-HID,MAGICWAKE


id=515 level=255 0x8=BT-HID creat=14.01.21, 15:53 description=com.apple.driver.IOBluetoothHIDDriver owner=AppleHSBluetoothDevice


id=516 level=255 0x100=MAGICWAKE creat=14.01.21, 16:02 mod=14.01.21, 16:31 description=en0 owner=en0


id=523 level=255 0x4=USB creat=14.01.21, 16:13 description=com.apple.usb.externaldevice.00100000 owner=USB2.0 Hub


id=525 level=255 0x4=USB creat=14.01.21, 16:16 description=com.apple.usb.externaldevice.00200000 owner=USB3.1 Hub


id=527 level=255 0x4=USB creat=14.01.21, 16:18 description=com.apple.usb.externaldevice.00110000 owner=IOUSBHostDevice


id=532 level=255 0x4=USB creat=14.01.21, 16:45 description=com.apple.usb.externaldevice.02500000 owner=USB3.0 Hub


id=534 level=255 0x4=USB creat=14.01.21, 16:47 description=com.apple.usb.externaldevice.02100000 owner=USB2.0 Hub


id=536 level=255 0x4=USB creat=14.01.21, 16:42 description=com.apple.usb.externaldevice.02120000 owner=USB Receiver


id=537 level=255 0x4=USB creat=14.01.21, 16:47 description=com.apple.usb.externaldevice.02140000 owner=Jabra EVOLVE 20 MS
 

jdb8167

macrumors 68030
Nov 17, 2008
2,700
2,059
It is still using 2-3 W when i disable the Screen Sharing option. But it seems like Handoff ist whats keeping sharingd alive... Thanks!




pmset -g assertions


2021-01-14 16:37:30 +0100


Assertion status system-wide:


BackgroundTask 0


ApplePushServiceTask 0


UserIsActive 1


PreventUserIdleDisplaySleep 0


PreventSystemSleep 0


ExternalMedia 0


PreventUserIdleSystemSleep 1


NetworkClientActive 0


Listed by owning process:


pid 423(sharingd): [0x0000074d00018910] 00:05:24 PreventUserIdleSystemSleep named: "Handoff"


pid 79(powerd): [0x0000068e000188a7] 00:09:51 PreventUserIdleSystemSleep named: "Powerd - Prevent sleep while display is on"


pid 138(WindowServer): [0x000006470009884d] 00:00:00 UserIsActive named: "com.apple.iohideventsystem.queue.tickle serviceID:100000a08 name:AppleHIDKeyboardEve product:Magic Keyboard eventType:3"


Timeout will fire in 480 secs Action=TimeoutActionRelease


Kernel Assertions: 0x10c=USB,BT-HID,MAGICWAKE


id=515 level=255 0x8=BT-HID creat=14.01.21, 15:53 description=com.apple.driver.IOBluetoothHIDDriver owner=AppleHSBluetoothDevice


id=516 level=255 0x100=MAGICWAKE creat=14.01.21, 16:02 mod=14.01.21, 16:31 description=en0 owner=en0


id=523 level=255 0x4=USB creat=14.01.21, 16:13 description=com.apple.usb.externaldevice.00100000 owner=USB2.0 Hub


id=525 level=255 0x4=USB creat=14.01.21, 16:16 description=com.apple.usb.externaldevice.00200000 owner=USB3.1 Hub


id=527 level=255 0x4=USB creat=14.01.21, 16:18 description=com.apple.usb.externaldevice.00110000 owner=IOUSBHostDevice


id=532 level=255 0x4=USB creat=14.01.21, 16:45 description=com.apple.usb.externaldevice.02500000 owner=USB3.0 Hub


id=534 level=255 0x4=USB creat=14.01.21, 16:47 description=com.apple.usb.externaldevice.02100000 owner=USB2.0 Hub


id=536 level=255 0x4=USB creat=14.01.21, 16:42 description=com.apple.usb.externaldevice.02120000 owner=USB Receiver


id=537 level=255 0x4=USB creat=14.01.21, 16:47 description=com.apple.usb.externaldevice.02140000 owner=Jabra EVOLVE 20 MS
I would expect the Handoff assertion to time out though too. You can also look at the assertion logs which might give more info. pmset -g assertionslog
 

Zappermaster

macrumors newbie
Original poster
Jan 14, 2021
6
0
After measuring sleep power consumption over 12h I am at approx. 3W average which is ok. The typical sleep power consumption of my 10 year old windows pc is 3.9W. Is there anybody out there who can confirm the advertised sleep power consumption of under 1W(0.62-0.68W) or who is not able to ping the Mac Mini M1 attached via ethernet in sleep mode?
 

malcky77

macrumors regular
Oct 12, 2019
220
98
I must be one of the few who does not care if a Mac was only drawing 5-6w of power at idle.....to me that is still a minuscule amount and will cost peanuts in electricity in the grand scheme of things.
Heck we have a bunch of wax warmers dotted about the house and these things are drawing about 11w each.....just to make the house smell nice. lol
 
  • Like
Reactions: Never mind

malcky77

macrumors regular
Oct 12, 2019
220
98
I am of course talking about the Mac mini as a computer not drawing much power at idle even it was at 5-6w...which is amazing...that is what I was meaning about in the grand scheme of things.....and why I compared it to a simple wax warmer using twice as much just to melt a blob of wax.......it is a whole bunch of other electrical items in the world that needs to reduce power draw.
 
Last edited:

Zappermaster

macrumors newbie
Original poster
Jan 14, 2021
6
0
The thing is... it should draw under 1W in sleep and it seems to be not at sleep at all (still able to ping the device) for absolutely no purpose. Even malcky77's wax warmers are drawing the energy to make him happy with a nice smell and therefore fulfill at least some kind of purpose.
1605424387012.jpeg
 

malcky77

macrumors regular
Oct 12, 2019
220
98
I wonder if wherever that info table cable from if there an * somewhere, and then saying power draw figures based on xyz conditions.....like turning off WiFi, Bluetooth, screen sharing or whatever else can be turned off etc.

@Zappermaster Does it really bother you that much that it’s drawing 3w (according to your latest figures in post number 5) instead of less than 1w over a 12 hour period????
If it does then just power down the thing and boot up again when you need it.
This thread can’t possibly be about the cost of electricity used for it in idle conditions....for example if I have my calculations correct to work this out:
Watts divided by 1000, multiplied by number of hours, multiplied by cost of electricity per KWH = cost in pence....
So, (3/1000) x 12 (hours), x 15 (KWH cost) = 0.54 pence (I’m in the UK)....compared to the quoted spec of 1w being: (1/1000) x 12 x 15 = 0.18 pence. Obviously it’s gonna work out 3 times less. Lol.

Do people give all their household electrical items the same kind of inspection...what’s your TV draw at idle? Set top TV boxes at idle? Microwave when just displaying the time? Just some random things for example.

I would say a lot of energy has been used (scuse the pun) just discussing this thread. Lol.

As I mentioned earlier....it’s a tonne of other electrical things that need to work on making things more energy efficient....like my wax warmers, that’s nuts that they draw 11w for what it is.
 

malcky77

macrumors regular
Oct 12, 2019
220
98
@Zappermaster So from the link you've given.....and directly above the table you posted it only has the following conditions:

  • Off: Lowest power mode of the system when Mac mini is shut down. Also referred to as Standby.
  • Sleep: Low power state that is entered automatically after 10 minutes of inactivity (default), or by selecting Sleep from the Apple menu. Wake for network access enabled. Connected to Ethernet.
  • Idle—Display on: System is on and has completed loading macOS. Connected to Ethernet.
  • Power supply efficiency: Average of the power supply’s measured efficiency when tested at 100 percent, 50 percent, and 20 percent of the power supply’s rated output power.

So for sleep......its supposed to do it automatically after 10 minutes of "inactivity" and having wake for network access enabled and be connected via ethernet.

The sceptic in me will say the "inactivity" is the gotcha in this thread......I don't know the in's and outs of it all...but I would hazard a guess that things like emails, apps installed, notifications and stuff are all doing stuff in the background that means the quoted power draw is a bit off....but that's just me.

I bet the quoted power draw figures will be on a machine that has ZERO additional apps/programmes installed, no user details configured to sync with other devices the user has.

As I say, I'm a sceptic and don't fully believe everything written in spec documents of a product, some of it just marketing fluff and other stuff is performed in laboratory conditions that are totally different from an end user.

Edit: Also @Zappermaster I hope you don't think I am making a dig at your for this thread, I do find it interesting.
 

Zappermaster

macrumors newbie
Original poster
Jan 14, 2021
6
0
@malcky77 Thanks for the detailed explanation.
I think for the under 1 W it would need a deeper sleep state. Maybe something that will be realized with future updates like @DeltaMac said. For now I am satisfied with the 3W average over 12h... it is not much.... but still this is accumulating with all the the Mac Mini M1 out there. It would be nice if apple could bring it down to the promised <0.7W.

Maybe deep sleep with under 1W is already working for someone out there? It could be all the software which I have installed on my mini keeping it awake. Btw. I have wake for network access enabled and and my mini is connected over ethernet with wifi disabled.
 

Fomalhaut

macrumors 65816
Oct 6, 2020
1,494
1,216
[re-animating this thread rather than creating a new one...]

Did anyone find a solution to their inability to sleep their M1 Mini?

"pmset -g" told me that sharingd and coreaudiod were preventing sleep, so I disabled sharing and closed any audio apps that I could find...still appears to stay awake. I can just feel the slightest breeze of cold(!) air from the fan outlet, and it seems to be on 24x7.

"pmset -g logs" provides way too much information to understand what is happening.

I'll try "pmset -g assertions" to see if I get a better summary.

Would disabling the network ensure that I was definitely not sharing or getting woken by network traffic?
 

MtCat

macrumors newbie
Dec 14, 2020
5
1
Having found discussion about it elsewhere, I tried using pmset to set powernap to 0 on my M1 MacMini. The lack of sleep was driving me nuts because of an external RAID array that would run all night. I also used TimeMachineEditor to turn off backups at night. The combo has worked wonders. My mac now sleeps as it should, and the drives power down and stop the racket. The computer is getting a good night's rest.

The command is:
sudo pmset -a powernap 0

BTW the "sleep prevented by" items are a non-issue. They come and go as needed, cycling in and out, but the system still goes to sleep.
 
  • Like
Reactions: Mistercharlie

Mistercharlie

macrumors regular
Nov 27, 2020
129
49
The combo has worked wonders. My mac now sleeps as it should, and the drives power down and stop the racket. The computer is getting a good night's rest.

The command is:
sudo pmset -a powernap 0
Seems to be working for me so far, too! And finally, my Caldigit hub is sleeping too.
 

pshufd

macrumors 604
Oct 24, 2013
6,701
12,451
New Hampshire
My M1 mini sleeps just fine but my Windows desktop won't sleep. It won't even turn the monitor displays off. I have been diagnosing it over time - my guess is attached monitor hubs and USB devices hanging onto those is preventing sleep.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.