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

Selsk

macrumors member
Original poster
Mar 18, 2017
98
39
Walked into my office this morning to the sounds of a gentle fan. Felt the trashcan, very warm. What is going on? I'm on the latest version of Mojave. It's weird because when I am in windows 10 via bootcamp, it actually goes to "cold" sleep no probs.

Anyone have similar problem? Thanks!
 
Was it only just once? Try a restart and see if the sleep command from the apple menu works. If the display shuts off but the Mac remains on try to reset your SMC:

Power down
Unplug the power for 10 seconds
Plug it back
Wait 5 seconds
Turn on the Mac

You can also try resetting the PRAM:

With the Mac powered off press and how the command, option, p and r keys at the same time on your keyboard. Keep them pressed down as you turn the Mac on and wait until you hear the boot chime 3 times before release.

I've oftentimes combined these and unplug, replug, key press and then power on. It's been effective for me for sleep and TB monitor issues on the 6,1.
 
  • Like
Reactions: Selsk
Walked into my office this morning to the sounds of a gentle fan. Felt the trashcan, very warm. What is going on? I'm on the latest version of Mojave. It's weird because when I am in windows 10 via bootcamp, it actually goes to "cold" sleep no probs.

Anyone have similar problem? Thanks!
I had a logitech mouse that caused problems. Look to any 3rd party devices, especially if they add kernel extentions, kexts.
 
  • Like
Reactions: Selsk
If it happens again, open up Terminal and issue the command 'pmset -g assertions'. It'll list the processes that keep it from going to sleep.
 
  • Like
Reactions: Selsk
2019-06-18 10:27:03 -0700

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 162(nsurlsessiond): [0x0002c4c300018a8c] 00:00:00 PreventUserIdleSystemSleep named: "NSURLSessionTask 4A068B18-44FD-4DD3-B963-9C0CC7F34180"

Timeout will fire in 10799 secs Action=TimeoutActionTurnOff

pid 304(sharingd): [0x0002c49400018a35] 00:00:49 PreventUserIdleSystemSleep named: "Handoff"

pid 96(hidd): [0x0002c49300098a34] 00:00:00 UserIsActive named: "com.apple.iohideventsystem.queue.tickle.4294972270.3"

Timeout will fire in 600 secs Action=TimeoutActionRelease

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

id=507 level=255 0x4=USB mod=12/31/69, 4:00 PM description=com.apple.usb.externaldevice.00700000 owner=USB3.0 Hub

id=510 level=255 0x4=USB mod=12/31/69, 4:00 PM description=com.apple.usb.externaldevice.00300000 owner=USB2.0 Hub

id=512 level=255 0x4=USB mod=12/31/69, 4:00 PM description=com.apple.usb.externaldevice.00400000 owner=IOUSBHostDevice

id=517 level=255 0x4=USB mod=12/31/69, 4:00 PM description=com.apple.usb.externaldevice.00410000 owner=Gaming Mouse G502

id=518 level=255 0x4=USB mod=12/31/69, 4:00 PM description=com.apple.usb.externaldevice.00440000 owner=EIZO USB HID Monitor

id=520 level=255 0x100=MAGICWAKE mod=6/17/19, 9:50 AM description=en2 owner=en2

id=521 level=255 0x100=MAGICWAKE mod=6/18/19, 10:26 AM description=en1 owner=en1

id=522 level=255 0x8=BT-HID mod=12/31/69, 4:00 PM description=com.apple.driver.IOBluetoothHIDDriver owner=AppleHSBluetoothDevice

id=541 level=255 0x8=BT-HID mod=12/31/69, 4:00 PM description=com.apple.driver.IOBluetoothHIDDriver owner=AppleBluetoothHIDKeyboard

Idle sleep preventers: IODisplayWrangler

Mikes-Mac-Pro:~ mike$
[doublepost=1560878929][/doublepost]I do have a logitech gaming mouse. I wonder if that is the culprit. Thanks for all the quick responses guys!
 
The two entries with associated PID's under the caption 'Listed by owning process' are the culprits.

No idea what handoff is - and I believe nsurlsessiond is some sort of generic download daemon provided by macOS for app developers to use?

At any rate: killing those processes one at a time and trying to sleep the system will reveal which one is to blame (or perhaps even both, really).

edit: the third process, pid 96(hidd) is the active user (you).

I found on my nMP 6,1 and another Mac I have here that network daemons - especially smbd - sometimes keep the computers alive evne when all shares are disconnected, might be some interference from my Windows based PC.

Anyway, I kill the daemons to resove that, all good. ;) I also have Little Snitch running and block the hell out of nsurlsessiond (and all sorts of other daemons and services that come preinstalled). As far as I'm concerned they have no business on the 'net behind my back. Haven't had any issues because of that in a decade of using Macs.
 
Last edited:
Handoff is a feature where you can move tasks from your iOS device to your macOS device and vice versa.

https://support.apple.com/en-us/HT209455

The knowledge base article tells you how to disable handoff, might be worth a try.

Oh right, where I can copy something on my iPhone and then paste it on my Mac.... I kind of like this feature, but not if it is preventing sleep I guess. :(
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.