seetheforest

Q: My iMac won't sleep; I have a request for anyone who has an iMac that DOES sleep properly.

My iMac constantly defers sleeping and wakes the display every 15 minutes or so.  I ran the terminal command "pmset -g log" and am trying to interpret the results.

 

Can someone with a well-behaving Mac post the terminal results to "pmset -g log" so I can see what a normal output looks like?  It'll help me get a better idea of what's different in my results.

 

Also, if anyone does know how to interpret the log, please let me know if you see clear problems with my system.  Log snippet here:

 

2016-09-11 07:37:37 -0500 Sleep               Entering Sleep state due to 'Idle Sleep':TCPKeepAlive=active Using AC 331 secs 

2016-09-11 07:37:39 -0500 Wake Requests       [proc=mDNSResponder request=Maintenance inDelta=5885] [proc=UserEventAgent request=SleepService inDelta=27897 info="AppRefresh:com.apple.apsd.apprefresh,BGTask:com.apple.SoftwareUpdate.Acti vity,"] [proc=UserEventAgent request=TimerPlugin inDelta=31886 info="AppRefresh:com.apple.apsd.apprefresh,BGTask:com.apple.SoftwareUpdate.Acti vity,"] [proc=UserEventAgent request=SleepService inDelta=27897 info="AppRefresh:com.apple.mail.ApplicationRefresh,BGTask:com.apple.Safari.Safe Browsing.Update,"] [*proc=UserEventAgent request=TimerPlugin inDelta=3597 info="AppRefresh:com.apple.mail.ApplicationRefresh,BGTask:com.apple.Safari.Safe Browsing.Update,"] [proc=NotificationCenter request=Maintenance inDelta=48312 info="com.apple.notificationcenter.dnd"]          

2016-09-11 07:37:39 -0500 PM Client Acks      Delays to Sleep notifications: [com.apple.apsd is slow(2564 ms)]          

2016-09-11 07:43:05 -0500 Kernel Client Acks  Delays to Sleep notifications: [AppleThunderboltNHIType2 driver is slow(msg: WillChangeState to 2)(364 ms)] [BroadcomBluetoothHostControllerUSBTransport driver is slow(msg: SetState to 1)(4014 ms)]          

2016-09-11 07:43:05 -0500 Assertions          PID 91(mDNSResponder) Created MaintenanceWake "mDNSResponder:maintenance" 00:00:00  id:0x0xd00000d44 [System: SRPrevSleep kCPU]         

2016-09-11 07:43:06 -0500 Assertions          PID 91(mDNSResponder) Released MaintenanceWake "mDNSResponder:maintenance" 00:00:00  id:0x0xd00000d44 [System: No Assertions]         

2016-09-11 07:43:06 -0500 Assertions          Kernel Idle sleep preventers: IODisplayWrangler         

2016-09-11 07:43:06 -0500 Notification        Display is turned on                                                                

2016-09-11 07:43:08 -0500 Wake                Wake from Normal Sleep [CDNVA] due to XHC1/HID Activity: Using AC 646 secs 

2016-09-11 07:43:08 -0500 Kernel Client Acks  Delays to Wake notifications: [AirPort_Brcm4360 driver is slow(msg: SetState to 2)(345 ms)] [AppleIntelMEClientController driver is slow(msg: SetState to 1)(326 ms)] [PRT0 driver is slow(msg: SetState to 2)(1212 ms)] [AppleHDADriver driver is slow(msg: SetState to 1)(468 ms)] [AMDFramebufferVI driver is slow(msg: SetState to 2)(941 ms)] [en0 driver is slow(msg: DidChangeState to 2)(2015 ms)] [AMDFramebufferVI driver is slow(msg: SetState to 2)(599 ms)]          

2016-09-11 07:43:38 -0500 Notification        Display is turned off                                                               

2016-09-11 07:43:38 -0500 Assertions          Kernel Idle sleep preventers: -None-         

2016-09-11 07:53:39 -0500 Assertions          PID 55(powerd) Created InternalPreventSleep "com.apple.powermanagement.darkwakelinger" 00:00:00  id:0x0xd00000d65 [System: SRPrevSleep kCPU]         

2016-09-11 07:53:54 -0500 Assertions          PID 55(powerd) TimedOut InternalPreventSleep "com.apple.powermanagement.darkwakelinger" 00:00:15  id:0x0xd00000d65 [System: SRPrevSleep kCPU]         

Sleep/Wakes since boot at 2016-09-10 21:25:10 -0500 :0   Dark Wake Count in this sleep cycle:0

2016-09-11 07:53:54 -0500 Sleep               Entering Sleep state due to 'Idle Sleep':TCPKeepAlive=active Using AC 960 secs 

 

Thanks in advance. 

Posted on Sep 11, 2016 7:18 AM

Close

Q: My iMac won't sleep; I have a request for anyone who has an iMac that DOES sleep properly.

  • All replies
  • Helpful answers

  • by pokey b,

    pokey b pokey b Sep 11, 2016 9:13 AM in response to seetheforest
    Level 3 (571 points)
    Desktops
    Sep 11, 2016 9:13 AM in response to seetheforest

    My terminal result is below. I hope that helps. Sleep works fine for me on OS X 10.11.6. Let me know if oyu have questions about other settings.

     

    2016-09-11 11:09:02 -0500 :Showing all currently held IOKit power assertions

    Assertion status system-wide:

       BackgroundTask                 0

       ApplePushServiceTask           0

       UserIsActive                   1

       PreventUserIdleDisplaySleep    0

       PreventSystemSleep             0

       ExternalMedia                  1

       PreventUserIdleSystemSleep     0

       NetworkClientActive            0

    Listed by owning process:

       pid 99(hidd): [0x00004d1e000903c4] 00:09:47 UserIsActive named: "com.apple.iohideventsystem.queue.tickle"

        Timeout will fire in 75 secs Action=TimeoutActionRelease

       pid 56(powerd): [0x000000180008012c] 05:38:25 ExternalMedia named: "com.apple.powermanagement.externalmediamounted"

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

       id=500  level=255 0x4=USB mod=12/31/69, 6:00 PM description=com.apple.usb.externaldevice.fa140000 owner=Keyboard Hub

       id=501  level=255 0x4=USB mod=12/31/69, 6:00 PM description=com.apple.usb.externaldevice.fd140000 owner=Backup+  Desk M

       id=502  level=255 0x100=MAGICWAKE mod=12/31/69, 6:00 PM description=en0 owner=en0

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

    Idle sleep preventers: IODisplayWrangler