You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Bluetooth drivers prevent system from sleeping in Mavericks - what's going on!?

Just installed Mavericks. My iMac 27" no longer engages the screensaver or puts the monitor to sleep as specified in preferences as a result. When I enter pmset -g assertions in Terminal, I get the following:



10/22/13, 11:03:40 PM PD

Assertion status system-wide:

BackgroundTask 0

PreventDiskIdle 0

ApplePushServiceTask 0

UserIsActive 1

PreventUserIdleDisplaySleep 0

InteractivePushServiceTask 0

PreventSystemSleep 0

ExternalMedia 1

PreventUserIdleSystemSleep 0

NetworkClientActive 0

Listed by owning process:

pid 16(powerd): [0x0000000900000131] 00:19:12 ExternalMedia named: "com.apple.powermanagement.externalmediamounted"

pid 49(hidd): [0x0000000a00000194] 00:15:51 UserIsActive named: "com.apple.iohideventsystem.queue.tickle"

Timeout will fire in 1170 secs Action=TimeoutActionRelease

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

id=500 level=255 0x4=USB mod=10/22/13, 10:53 PM description=EHC2 owner=AppleUSBEHCI

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

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

id=505 level=255 0x100=MAGICWAKE mod=12/31/69, 4:00 PM description=en1 owner=en1



I'm not terribly concerned with "ExternalMedia" as that always appeared in Mountain Lion as well but never actually prevented my system from putting the monitor to sleep. My concern is with the "UserIsActive" item as it appears to refer to "MAGICWAKE" (a google search only shows an app that I do not have installed and sheds no light on what it means in this context) and points directly to my keyboard and trackpad. Oddly, turning "Allow Bluetooth devices to wake this computer" in the Bluetooth advanced preferences does not change this, nor does rebooting. The countdown that appears here is always in the 1160 to 1195 range. I'm completly stumped...

iMac (27-inch Mid 2011), OS X Mavericks (10.9)

Posted on Oct 22, 2013 11:10 PM

Reply
Question marked as Top-ranking reply

Posted on Aug 6, 2017 8:27 PM

Nothing here. I tried of everything that all people here said.


MAC SIERRA 10.12.6


Doing "pmset -g pslog" I know this


pmset -g pslog  18:27  06.08.17

Logging IORegisterForSystemPower sleep/wake messages

pmset is in logging mode now. Hit ctrl-c to exit.

2017-08-06 18:31:14 -0300

IOPSNotificationCreateRunLoopSource

Now drawing from 'AC Power'



2017-08-06 18:31:27 -0300

IORegisterForSystemPower: ...Sleeping...



2017-08-06 19:41:01 -0300

IORegisterForSystemPower: ...HasPoweredOn...

Wake Reason = UHC1 USB3 USB5 UHC7 . //I did this on purpose to test



2017-08-06 22:58:29 -0300

IORegisterForSystemPower: ...Sleeping...



2017-08-06 22:59:07 -0300

IORegisterForSystemPower: ...HasPoweredOn...

Wake Reason = pci1106,3483


Here is the result. I first do the tests according to the tips from you guys. I restart the MAC and then I'll send it to sleep. And he sleeps beautiful. But then I hit the mouse (test only with keyboard, no keyboard, only power button and nothing) to connect again. I use the Mac for a few minutes - I analyze if it has something in "prevented by" and I send a "sudo pmset sleepnow" - It takes a while to turn off completely, then it turns on very quickly.


It is in the second "revive" that mine loses the quality of sleep.

Something on PCI is calling back my mac from sleep instantaneously.



Nothing is attached, no USB, no Bluetooth, no internet sharing, no Chrome o other "sleep prevented by". Nothing. Could Apple be nice and solve this? Creating a simple option to override according to the user's need? They made the "Caffeine" to satisfy users that they did not want to "sleep" right? Why not this demand for sleep?



This problem is getting on my nerves, consuming my patience. Every single reboot I need to rearrange my work desktops because not even that, the Sierra knows how to do it alone sometimes.


Best Regards

150 replies

Dec 3, 2013 5:02 AM in response to targus

I wish it was was Google Chrome causing the issue for me - I've never used or installed Google Chrome, so it's definately something else for me!


On a side note - I used the power button to send my MBP to sleep a few days ago with Wi-Fi connected (usually I always turn off Wi-Fi) and a couple of Safari windows open, and I noticed the sleep indicator light staying on for even longer than before. I hit spacebar to see if it would wake up and it didn't, the sleep indicator light just stayed on constant. Then the computer just crashed and restarted itself. When it came back on there was an error message along the lines of:


'There was a problem with the sleep / wake function...' blahblahblah - yea you don't say!


And it asked me to submit the error report to Apple, which I did. It's only happened once, but there is blatantly some sort of bug with sleep mode!

Dec 3, 2013 9:30 AM in response to BRU7US

How did you "kill" Chrome? Just quit it or something more? Because for me it's ~40 seconds regardless of Chrome's running or not.

Dec 6, 2013 11:35 AM in response to targus

Hi everybody,


I can confirm I have the same problem with sleepmode.


UserIsActive 1

pid 78(hidd): [0x0000000a0000016b] 00:15:48 UserIsActive named: "com.apple.iohideventsystem.queue.tickle"

Timeout will fire in 876 secs Action=TimeoutActionRelease


My System is Mavericks 10.9, MacbookPro Retina 15.4, 16GB RAM, 512 GB SSD, Model Early 2013.


I just found something out:

Could it be that it has something to do with the screensaver?

When I killed the process 78 with "sudo kill 78" my Screensaver started loading pictures again. Before that the screensaver hang with the message "Loading Fotos". At least it loaded the ones from National Geographic but not the ones from my Aperture Library.


So at least one problem (Screensaver) solved half...


By the way: After killing the process it does take only second before a new hidd process pops up again and "UserIsActive 1" status reappears.



I appreciate all the efforts of the community and I am looking forward to a solution.


Regards

Dec 7, 2013 10:56 PM in response to targus

Same problem here 😟

Sleep worked perfectly fine in 10.8 and 10.7. Even works in Windows 8 Bootcamp right now. I hope Apple fixes this in 10.9.1


Assertion status system-wide:

BackgroundTask 0

PreventDiskIdle 0

ApplePushServiceTask 1

UserIsActive 1

PreventUserIdleDisplaySleep 0

InteractivePushServiceTask 0

PreventSystemSleep 0

ExternalMedia 0

PreventUserIdleSystemSleep 0

NetworkClientActive 0

Listed by owning process:

pid 48(hidd): [0x0000000a00000312] 08:11:09 UserIsActive named: "com.apple.iohideventsystem.queue.tickle"

Timeout will fire in 3583 secs Action=TimeoutActionRelease

pid 61(apsd): [0x0000000b00000446] 00:00:23 InteractivePushServiceTask named: "com.apple.apsd-connectionestablish-push.apple.com"

pid 183(ubd): [0x0000000c00000185] 09:06:42 ApplePushServiceTask named: "com.apple.ubiquity.push"

Kernel Assertions: 0x8=BT-HID

id=504 level=255 0x8=BT-HID mod=01/01/1970 5:00 am description=com.apple.driver.IOBluetoothHIDDriver owner=BNBMouseDevice

Dec 17, 2013 3:09 AM in response to targus

Maybe it's the normal behavior... A friend of mine with a MacBook Air has the same log with "pmset -g assertions", but the sleep is very quick for him.


With Mavericks, the RAM management seems very different, all the memory is allocated by default, even if not needed by the apps. So when the computer goes to sleep mode and all the memory is copied to the hard drive, it takes much more time than before. If you have not much memory, or a very quick drive like SSD, you don't notice.


I am not sure of that, just wondering...

Dec 17, 2013 3:20 AM in response to Keumar

@Keumar

That can't be correct, as safe sleep / hibernation is off on my macbook pro, as stated before.


@Dan850

Interesting, I haven't seen that "InternalPreventSleep" line before.

Dec 20, 2013 3:32 PM in response to targus

I'm having this same problem, late 2011 MBP 8gigs ram, 500 gig HDD etc. etc. etc...



Appears to have something to do with the amount of Data Mavericks is now stoing in the Ram, if i change my hibernate "mode" through the terminal from the standard "safe sleep" that MBP's have, to the setting where it writes nothing to the HD, it goes to sleep in about 4 seconds.


If i leave the MBP in the hibernation mode that MBP's normally use (Safe sleep: takes time to write all the data from the ram to the HD) it takes upwards of 45 to 60 seconds.


I have no idea how the time it takes to write the information changed so drasticly from ML to Mavericks, but it did somehow. I never had an issue with SL or ML and now all of a sudden (on the exact same harddrive, with the same amount of RAM, mind you) it takes forever to write the info..


It might have something to do with how mavericks uses RAM, which coul be effected by the Energy saver properties Mavericks has.


All i know for sure is that I'm super close to putting ML back on this thing, Cause i move around to much to sit and wait for my computer to hopefully sleep. and i need information too fast to wait for it to start up all the time.

Dec 21, 2013 1:19 AM in response to AJ Soares

@AJ Soares

How exactly did you change your hibernate "mode" through the terminal to the setting where it writes nothing to the HD?


AFAIK my safe sleep is off, yet going to sleep still takes ~40s. (8 GB RAM, SSD)

Dec 22, 2013 2:32 AM in response to targus

Why is this issue marked as solved? What is the solution?


I have this problem since october and it driving me crazy.

User uploaded file


Has anyone filled out a bug report? If so could you please post your bug report as a template so that everyone can fill it out easily and fast. Maybe with many bug reports Apple will finally take this bug seriously.

Bluetooth drivers prevent system from sleeping in Mavericks - what's going on!?

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