Since upgrading to OS X Mavericks, sleep mode is unreliable.

I have to keep resetting the System Management Controller (SMC) to correct the problem. If I reset the SMC (i.e., shut the machine down and remove the plug from all power sources for about a minute), the machine will operate correctly, but only for a while. The issue will return when I launch iTunes. Even though I may quit iTunes, the fact that I used it seems to corrupt something and prevents the computer from sleeping automatically, when expected. I've tried the pmset -g command to determine what's preventing sleep (usually AddressBookSour) and I've disabled iCloud, but that doesn't resolve my problem.

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

Posted on Jan 29, 2014 7:09 AM

Reply
34 replies

Feb 3, 2014 6:07 PM in response to Linc Davis

Last login: Mon Feb 3 20:56:29 on console

Family-iMac:~ peter$ pmset -g assertions

2/3/14, 9:03:28 PM EST

Assertion status system-wide:

BackgroundTask 1

PreventDiskIdle 0

ApplePushServiceTask 0

UserIsActive 1

PreventUserIdleDisplaySleep 0

InteractivePushServiceTask 0

PreventSystemSleep 0

ExternalMedia 0

PreventUserIdleSystemSleep 1

NetworkClientActive 0

Listed by owning process:

pid 46(hidd): [0x0000000a000023e0] 00:00:11 UserIsActive named: "com.apple.iohideventsystem.queue.tickle"

Timeout will fire in 109 secs Action=TimeoutActionRelease

pid 31684(AddressBookSour): [0x00000001000023df] 00:00:13 PreventUserIdleSystemSleep named: "Address Book Source Sync"

Timeout will fire in 1786 secs Action=TimeoutActionTurnOff

pid 11(UserEventAgent): [0x0000000c000012ae] 26:51:18 BackgroundTask named: "com.apple.metadata.mds_stores.maintenance"

Kernel Assertions: 0xc=USB,BT-HID

id=500 level=255 0x4=USB mod=1/28/14, 12:44 PM description=EHC2 owner=AppleUSBEHCI

id=502 level=255 0x4=USB mod=1/28/14, 12:42 PM description=EHC1 owner=AppleUSBEHCI

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

Family-iMac:~ peter$

Feb 9, 2014 9:25 AM in response to Linc Davis

The system had been idle for the set time period, but I could have been premature.

Posted below is another set of output. At this time, no one had been logged into the system for at least an hour. I heard it running and tapped the keyboard to login as adminstrator and execute the pmset -g asserttons command.


pmset -Last login: Sun Feb 9 12:16:35 on console

g Family-iMac:~ TheBoss$ pmset -g assertions

2/9/14, 12:17:32 PM EST

Assertion status system-wide:

BackgroundTask 1

PreventDiskIdle 0

ApplePushServiceTask 0

UserIsActive 1

PreventUserIdleDisplaySleep 0

InteractivePushServiceTask 0

PreventSystemSleep 0

ExternalMedia 0

PreventUserIdleSystemSleep 1

NetworkClientActive 0

Listed by owning process:

pid 161(mds_stores): [0x0000000c00001c84] 00:00:57 BackgroundTask named: "com.apple.metadata.mds_stores.power"

pid 11(UserEventAgent): [0x0000000c00001c9c] 00:00:09 BackgroundTask named: "com.apple.metadata.mds_stores.power"

pid 11(UserEventAgent): [0x0000000c00000347] 70:36:03 BackgroundTask named: "com.apple.metadata.mds_stores.maintenance"

pid 29549(AddressBookSour): [0x0000000100001c90] 00:00:42 PreventUserIdleSystemSleep named: "Address Book Source Sync"

Timeout will fire in 1757 secs Action=TimeoutActionTurnOff

pid 61(hidd): [0x0000000a00001c83] 00:01:09 UserIsActive named: "com.apple.iohideventsystem.queue.tickle"

Timeout will fire in 94 secs Action=TimeoutActionRelease

pid 29544(apsd): [0x0000000c00001c98] 00:00:15 ApplePushServiceTask named: "com.apple.apsd-waitingformessages-push.apple.com"

Kernel Assertions: 0xc=USB,BT-HID

id=500 level=255 0x4=USB mod=2/6/14, 7:54 AM description=EHC1 owner=AppleUSBEHCI

id=501 level=255 0x4=USB mod=2/6/14, 7:53 AM description=EHC2 owner=AppleUSBEHCI


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

Feb 9, 2014 1:11 PM in response to peterfromwestminster

Please test after taking each of the following steps.

Step 1

Back up all data.

Triple-click anywhere in the line of text below on this page to select it:

~/Library/Caches/com.apple.AddressBookSourceSync


Right-click or control-click the highlighted line and select

Services Reveal

from the contextual menu.* A folder should open with an item selected. Move the selected item to the Trash.

Log out, log back in, and test. If there's no change, go to the next step.

*If you don't see the contextual menu item, copy the selected text to the Clipboard by pressing the key combination command-C. In the Finder, select

Go Go to Folder...

from the menu bar, paste into the box that opens (command-V). You won't see what you pasted because a line break is included. Press return.

Step 2

If you use iCloud, uncheck the box marked Contacts in the iCloud preference pane. Press return to confirm, or click Keep on Mac in the dialog that opens.

Step 3

From the list of groups on the left side of the Contacts window, select All On My Mac. If that group doesn't exist or is empty, skip this step. Otherwise, from the menu bar, select

File Export Export vCard

Save the exported contacts to the Desktop.

Step 4

Quit Contacts. Reveal the following item in the Finder as you did in Step 1:

~/Library/Application Support/AddressBook

Move the selected folder to the Desktop, leaving the window open for now.

Step 5

Launch Contacts. Your contacts will be gone. If you took Step 3, then double-click the file you created in that step and confirm that you want to import from it. Your contacts will reappear.

Step 6

If you took Step 2, reverse it. Test. If the issue is resolved, delete the AddressBook folder and the vCard file on the Desktop and close the open folder window.

Otherwise, quit Contacts again and put the AddressBook folder back where it was, overwriting the newer one that will have been created in its place. Post your results.

Feb 10, 2014 6:04 AM in response to Linc Davis

I saw the article that these steps came from about a month ago. This procedure did not resolve my problem, although it did prompt me to disable my iCloud account. The only thing that seems to work is shutting the machine down and disconnecting all power sources to reset the SMC. Then the machine behaves as expected, but only for a short period of time.

Feb 11, 2014 5:42 PM in response to Linc Davis

I had already disabled Google contacts synchronization, but my wife's account was synchronizing contacts with Facebook. I disabled Facebook synchronization and tested -- no change. So I restarted the iMac and retested with the disabled contacts - problem was solved. However, I'm hoping you're not going to tell me that I need to disable these services for the sleep feature to work properly.

Feb 11, 2014 5:59 PM in response to peterfromwestminster

I don't use either of those services myself. I haven't seen another report like yours, so I think it's safe to say that most people who do use them don't have the same problem. If the steps I suggested earlier didn't help, then I'm not sure what else to tell you. Either there's some corrupt data in those accounts, or you're triggering an obscure bug that I haven't heard of before. If it's the latter, only Apple would be able to solve the problem.

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.

Since upgrading to OS X Mavericks, sleep mode is unreliable.

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