Slow sleep when closing lid

the evangelion

macrumors newbie
Original poster
Jun 22, 2015
3
0
Hi all!

I am in possession of a macbook pro 15 Inch late 2012 i7 model with superdrive running OSX yosemite 10.10.3. And I am having the problem of a slow sleeping macbook when I close the lid. It differs of course, some times 5 seconds, some times 10 seconds. But the idea of me waiting before its sleeping (you know, when the lid-light is flashing) is just not what I'm used to (when I had a macbook some years ago).

I have been trying alot, like disabling hibernation and such. Nog nothing really worked. I hope any of you have a solution? Here are my logs:

-----------------------
Code:
Time stamp  Domain  Message  Duration  Delay

==========  ======  =======  ========  =====

UUID: 4FFFE3D4-5802-4733-8126-20737E25630D

2015-06-20 19:02:35 +0200 Sleep  Entering Sleep state due to 'Clamshell Sleep': Using AC (Charge:99%)  67 secs

2015-06-20 19:02:41 +0200 PM Client Acks  Delays to Sleep notifications: [discoveryd is slow(3126 ms)] [com.apple.apsd is slow(6039 ms)]

2015-06-20 19:03:41 +0200 Kernel Client Acks  Delays to Sleep notifications: [ATIFramebufferNI driver is slow(msg: SetState to 1)(313 ms)] [powerd is slow(6048 ms)] [AppleThunderboltNHIType1 driver is slow(msg: WillChangeState to 2)(2038 ms)]

2015-06-20 19:03:41 +0200 Notification  Display is turned on

2015-06-20 19:03:42 +0200 Wake  Wake [CDNVA] due to EC.LidOpen/Lid Open: Using AC (Charge:99%)

2015-06-20 19:03:42 +0200 Kernel Client Acks  Delays to Wake notifications: [AppleHDADriver driver is slow(msg: SetState to 1)(400 ms)] [AppleHDADriver driver is slow(msg: SetState to 1)(499 ms)] [en0 driver is slow(msg: DidChangeState to 2)(1949 ms)]

Total Sleep/Wakes since boot at 2015-06-20 18:30:22 +0200 :6

2015-06-20 19:03:55 +0200 :Showing all currently held IOKit power assertions

Assertion status system-wide:

  BackgroundTask  1

  ApplePushServiceTask  0

  UserIsActive  1

  PreventUserIdleDisplaySleep  0

  PreventSystemSleep  0

  ExternalMedia  0

  PreventUserIdleSystemSleep  1

  NetworkClientActive  0

Listed by owning process:

  pid 741(AddressBookSour): [0x0000077e000102ee] 00:00:14 PreventUserIdleSystemSleep named: "Address Book Source Sync"

  Timeout will fire in 1785 secs Action=TimeoutActionTurnOff

  pid 91(hidd): [0x000000380009019e] 00:32:39 UserIsActive named: "com.apple.iohideventsystem.queue.tickle"

  pid 627(UserEventAgent): [0x0000077e000b02ef] 00:00:14 BackgroundTask named: "com.apple.AddressBook.ScheduledSync"

  Created for PID: 741.

No kernel assertions.


Active Profiles:

Battery Power -1

AC Power -1*

Currently in use:

standbydelay  1200

standby  0

womp  1

halfdim  1

hibernatefile  /var/vm/sleepimage

gpuswitch  2

sms  1

networkoversleep  0

disksleep  10

sleep  0 (sleep prevented by Google Chrome)

hibernatemode  0

ttyskeepawake  1

displaysleep  0

acwake  0

lidwake  1

-
Regards and thanks in advance

PS. I'm also running windows in bootcamp. And when I close the lid in windows, it kinda sleeps instantly. ---------
 
Last edited by a moderator:

maflynn

Moderator
Staff member
May 3, 2009
63,851
30,367
Boston
Doesnt explain why its almost instant in windows tho. It should be able to go faster
Different operating system handles sleep/hibernation differently then OS X does. Windows does some things better then OS X and OS X does some (a lot) things better then Windows.

I'd say the performance of OS X going into sleep is not out of the ordinary. Try unplugging all USB products and remove any apps that might be running in the background (such as istat menus or other similar apps) that could be delaying the sleep request.

Putting on my moderation hat, I edited your OP, there was too much whit space that impacted reading the post.
 

Samuelsan2001

macrumors 604
Oct 24, 2013
7,682
2,103
Does it really matter?? 10 secs is hardly going to be a problem, it is probably just shutting down a few background programs sorting out TRIM etc.

As for windows shutting down instantly, everytime I boot out of bootcamp into osx I have to wait 10 minutes for it to download a slew of updates, now that is annoying.....
 

bmclaurin

macrumors member
Nov 10, 2011
96
14
Las Vegas, NV
Just a shot in the dark here, but sometimes slow sleep and/or shutdown issues can be solved simply by rebooting in safe mode and then restarting normally. I had a similar problem recently and that did the trick for me.