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

Nov 15, 2013 2:34 PM in response to zuzuthechief

Well, the people at Apple want me to do a clean install on a partition of my hard drive, and I don't want to do it, because I don't have a good way of backing up my hard drive right now, and I'm not about to go buy an external hard drive to fix a problem Apple created for me. Plus I don't really know how to do that and don't want to start messing with partitions.


Someone said that they have already done a clean install, and nothing changed, correct? I tried explaining to the guy at Apple that this problem was not unique to my computer and that they could get information faster by using a computer there, but no luck...he insisted on me either doing the clean install and sending more data or to wait for a possible update (he said he hadn't heard of one and that this problem actually infects a very small number of computers.)


Kind of ******, because it is a pain in the butt, but I really don't want to mess with my hard drive right befoe I have finals and papers to write...ETC. Any suggestions/anyone willing to take the case I have with apple (if that's even possible), to go through all of their redundant troubleshooting?


!!!!!!

Nov 15, 2013 2:40 PM in response to terriblewithcomputers

I have already tried all the troubleshooting steps apple provide and nothing fixed the issue. I also had a 12hr hardware test performed by apple and they said it was fine and the prolonged sleep/shutdown is normal (that's BS by the way). They are just burying their heads on the sand and are unwilling to help LOYAL customers who have a problem. I most definitely won't be upgrading to a new computer from as they clearly aren't interested. As soon as a warranty expires they aren't interested.

Nov 15, 2013 2:47 PM in response to itype89

>:(


I absolutely love this computer, but this is like having a really hot girlfriend that has a bum tooth or something...everything is great about her, then you notice the tooth again and get kind of bummed out.


Does ANYONE subscribed to this thread have some level of expertise with the HIDeventsystem/bluetooth? Does tickle mean that the bluetooth driver is looking for a connection, despite it being purportedly turned off?


http://www.youtube.com/watch?v=H2uHBhKTSe0

Nov 15, 2013 4:28 PM in response to targus

I just did a clean install of Mavericks on my MacBook Pro Early 2011 with 8 GB Ram. Wiped everything and formatted the HD. Sleep times are only slightly better. I am still waiting about 45 seconds to a minute before it enters sleep. This system should not take this long. With Mountain Lion, sleep was almost instant. Close the lid, count to 5 and it was sleeping.


Results of pmset -g assertions


Assertion status system-wide:

BackgroundTask 0

PreventDiskIdle 0

ApplePushServiceTask 0

UserIsActive 1

PreventUserIdleDisplaySleep 0

InteractivePushServiceTask 0

PreventSystemSleep 0

ExternalMedia 0

PreventUserIdleSystemSleep 0

NetworkClientActive 0

Listed by owning process:

pid 44(hidd): [0x0000000a00000502] 00:54:01 UserIsActive named: "com.apple.iohideventsystem.queue.tickle"

Timeout will fire in 877 secs Action=TimeoutActionRelease

No kernel assertions.

Nov 15, 2013 10:40 PM in response to targus

My mbp takes 15-20 seconds to go to sleep, on mountain lion it took 1-2 seconds. I instantly noticed this after (clean) installing Mavericks. Safesleep is disabled and has been under mountain lion. No usb devices or busy apps.

One very interesting thing i found is that it went to sleep quickly when there was no internet connection.


It is commonly stated that Apple doesn't read this forum, so please report the problem at http://www.apple.com/feedback/macosx.html


Terminal: pmset -g assertions:

Assertion status system-wide:

BackgroundTask 0

PreventDiskIdle 0

ApplePushServiceTask 0

UserIsActive 1

PreventUserIdleDisplaySleep 0

InteractivePushServiceTask 0

PreventSystemSleep 0

ExternalMedia 0

PreventUserIdleSystemSleep 1

NetworkClientActive 0

Listed by owning process:

pid 254(iTunes): [0x0000000100000803] 00:23:02 PreventUserIdleSystemSleep named: "com.apple.iTunes.playback"

pid 169(coreaudiod): [0x0000000100000802] 00:23:02 NoIdleSleepAssertion named: "com.apple.audio.'AppleHDAEngineOutput:1B,0,1,2:0'.noidlesleep"

pid 80(hidd): [0x0000000a00000571] 02:21:54 UserIsActive named: "com.apple.iohideventsystem.queue.tickle"

Timeout will fire in 292 secs Action=TimeoutActionRelease

Kernel Assertions: 0x8=BT-HID

id=502 level=255 0x8=BT-HID mod=1/1/70, 1:00 description=com.apple.driver.IOBluetoothHIDDriver owner=BNBMouseDevice


This issue might be related to the ambient light sensor being used to reset idle time.

http://www.theverge.com/2013/11/1/5054524/is-os-x-mavericks-isight-camera-always -on-no

https://twitter.com/paranoidroid/status/396067127511109632

https://twitter.com/boredzo/status/396279809703026688


Last couple of Console messages before going to sleep:

11/14/13 11:16:28.000 kernel[0]: AirPort_Brcm43xx::powerChange: System Sleep

11/14/13 11:16:29.000 kernel[0]: en1: BSSID changed to e0:69:95:f6:48:46

11/14/13 11:16:29.000 kernel[0]: wlEvent: en1 en1 Link DOWN virtIf = 0

11/14/13 11:16:29.000 kernel[0]: AirPort: Link Down on en1. Reason 8 (Disassociated because station leaving).

11/14/13 11:16:29.000 kernel[0]: **** [IOBluetoothHostControllerUSBTransport][SuspendDevice] -- Suspend -- suspendDeviceCallResult = 0x0000 (kIOReturnSuccess) -- 0x0400 ****

11/14/13 11:16:30.000 kernel[0]: Wake reason: EC LID0


It might help finding clues if more of us post the console messages from before going to sleep.

Nov 16, 2013 6:43 PM in response to zuzuthechief

I can't log in there. And isn't that site for developers only?


This is from the last sleep:

11/16/13 14:52:53.491 MagicPrefs[246]: --Stopped tracking device <MTDevice 0x7f97c2045400 [0x7fff79568eb0]>.

11/16/13 14:52:53.607 WindowServer[99]: device_generate_desktop_screenshot: authw 0x0(0), shield 0x7f98ea5214f0(2001)

11/16/13 14:52:53.642 WindowServer[99]: device_generate_lock_screen_screenshot: authw 0x0(0), shield 0x7f98ea5214f0(2001)

11/16/13 14:52:54.407 WindowServer[99]: _CGXHWCaptureWindowList: No capable active display found.

11/16/13 14:53:36.000 kernel[0]: AirPort_Brcm43xx::powerChange: System Sleep

11/16/13 14:53:36.000 kernel[0]: en1: BSSID changed to e0:69:95:f6:48:46

11/16/13 14:53:36.000 kernel[0]: wlEvent: en1 en1 Link DOWN virtIf = 0

11/16/13 14:53:36.000 kernel[0]: AirPort: Link Down on en1. Reason 8 (Disassociated because station leaving).

11/16/13 14:53:37.000 kernel[0]: [AppleMultitouchDevice::willTerminate] entered

11/16/13 14:53:37.000 kernel[0]: [AppleMultitouchDevice::stop] entered

11/16/13 14:53:37.000 kernel[0]: [0xffffff801b7d8200][free]()

11/16/13 14:53:37.000 kernel[0]: **** [IOBluetoothHostControllerUSBTransport][SuspendDevice] -- Suspend -- suspendDeviceCallResult = 0x0000 (kIOReturnSuccess) -- 0x7400 ****

Nov 17, 2013 1:12 AM in response to zuzuthechief

Well you could've told me it only works in Safari. In the omnibar (url bar) I saw it redirecting me to an authenticate address, then to a "access=deny" address, then back to the login page.

Nov 19, 2013 1:36 AM in response to JeroenJK

I reported this bug friday (last week) and got a responce today from an Apple Tehnician. In the meantime I managed to solve it with the following settings:

Active Profiles:

Battery Power -1

AC Power -1*

Currently in use:

standbydelay 720

standby 0

womp 1

halfdim 1

hibernatefile /var/vm/sleepimage

gpuswitch 2

sms 1

networkoversleep 0

disksleep 10

sleep 6

autopoweroffdelay 1080

hibernatemode 3

autopoweroff 1

ttyskeepawake 1

displaysleep 4

acwake 0

lidwake 1


I changed autopoweroffdelay to 1080 and standbydelay to 720.

My MacBook Pro is going to sleep without beeing prevented by an assertion and enters safe sleep (hibernation) normal.


I still have the bluetooth assertion but the technician sayed it shouldn't prevent sleep or hibernation.


I have bluetooth ON and a Magic Mouse connected.


19.11.2013, 11:31:20 GMT

Assertion status system-wide:

BackgroundTask 0

PreventDiskIdle 0

ApplePushServiceTask 0

UserIsActive 1

PreventUserIdleDisplaySleep 0

InteractivePushServiceTask 0

PreventSystemSleep 0

ExternalMedia 0

PreventUserIdleSystemSleep 0

NetworkClientActive 0

Listed by owning process:

pid 43(hidd): [0x0000000a00000bf8] 00:20:37 UserIsActive named: "com.apple.iohideventsystem.queue.tickle"

Timeout will fire in 205 secs Action=TimeoutActionRelease

Kernel Assertions: 0x8=BT-HID

id=507 level=255 0x8=BT-HID mod=01.01.1970, 02:00 description=com.apple.driver.IOBluetoothHIDDriver owner=BNBMouseDevice


Message was edited by: zuzuthechief

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.