Please help: What's stopping my MBP from sleeping?

Discussion in 'macOS' started by Cassady, Jun 4, 2015.

  1. Cassady macrumors 6502a

    Cassady

    Joined:
    Jul 7, 2012
    Location:
    Sqornshellous
    #1
    Hello all,

    Would really appreciate some advice from someone who understands these things...
    Popped up a query over at the Apple Support forums, but answers are generally a bit slower/rarer that side.

    Something is stopping my MBP from going to sleep.

    The pmset Terminal command, yields the following information:

    Code:
    2015-06-04 20:33:01 +0200
    Assertion status system-wide:
       BackgroundTask                 0
       ApplePushServiceTask           0
       UserIsActive                   1
       PreventUserIdleDisplaySleep    0
       PreventSystemSleep             0
       ExternalMedia                  0
       PreventUserIdleSystemSleep     1
       NetworkClientActive            0
    Listed by owning process:
       pid 282(coreaudiod): [0x0000df0b000104ae] 00:00:00 PreventUserIdleSystemSleep named: "com.apple.audio.context596.preventuseridlesleep"
        Created for PID: 6438.
       pid 103(hidd): [0x0000ddff000913fe] 00:04:29 UserIsActive named: "com.apple.iohideventsystem.queue.tickle"
        Timeout will fire in 570 secs Action=TimeoutActionRelease
    Kernel Assertions: 0xc=USB,BT-HID
       id=501  level=255 0x4=USB mod=Th.04/06/2015, 20:31 description=EHC2 owner=AppleUSBEHCI
       id=502  level=255 0x4=USB mod=Th.04/06/2015, 08:38 description=EHC1 owner=AppleUSBEHCI
       id=512  level=255 0x8=BT-HID mod=Th.01/01/1970, 02:00 description=com.apple.driver.IOBluetoothHIDDriver owner=BNBTrackpadDevice
    Goldfish-MacBook-Pro:~ owner$
    
    Any ideas on what might be triggering the "com.apple.audio" bit?

    At first, I thought it might be Boom. I've quit it, and whereas that appeared to do the trick yesterday, no such luck today. No other bluetooth devices connected, no external media, with the exception of an external monitor, and my Apple BT trackpad.

    Mid 2012 MBP, SSD in the main bay, HDD where the optibay used to be.
    Yosemite (latest).

    Would really appreciate some suggestions. It's taken me forever to put two and two together – but I'm beginning to think this explains the dismal state of my battery...
     
  2. Cassady thread starter macrumors 6502a

    Cassady

    Joined:
    Jul 7, 2012
    Location:
    Sqornshellous
  3. rocknblogger macrumors 68020

    rocknblogger

    Joined:
    Apr 2, 2011
    Location:
    New Jersey
  4. Cassady thread starter macrumors 6502a

    Cassady

    Joined:
    Jul 7, 2012
    Location:
    Sqornshellous
    #4
    Nope. Will do – and see what happens. I assumed it would be something to do with audio though?
     
  5. Cassady thread starter macrumors 6502a

    Cassady

    Joined:
    Jul 7, 2012
    Location:
    Sqornshellous
  6. rocknblogger macrumors 68020

    rocknblogger

    Joined:
    Apr 2, 2011
    Location:
    New Jersey
    #6
    It was a shot in the dark. My Dell has audio out and USB.

    Does it sleep if you disconnect the MagSafe? In other words when running on battery power?
    And even though you say you have no external drives connected, do you have a powered USB hub connected?
     
  7. Cassady thread starter macrumors 6502a

    Cassady

    Joined:
    Jul 7, 2012
    Location:
    Sqornshellous
    #7
    Ah – that makes sense. No speakers on mine. No powered hub either.

    My battery is pretty borked. 407 cycles, and 76% – and I'm thinking this might be to blame.

    It doesn't appear to sleep properly when disconnected - the battery drain has often been substantial, despite my selecting Sleep from the Apple menu. This had me start looking for answers, and led me to the pmset Terminal check.
     
  8. rocknblogger macrumors 68020

    rocknblogger

    Joined:
    Apr 2, 2011
    Location:
    New Jersey
    #8
    If the battery is borked it's going to drain regardless of whether the MacBook is sleeping or not. So let me ask you, how do you know it's not sleeping?

    Also I'm guessing that in preferences it is set to sleep after xx hours/minutes?
     
  9. Cassady thread starter macrumors 6502a

    Cassady

    Joined:
    Jul 7, 2012
    Location:
    Sqornshellous
    #9
    Apologies – but out of town.

    I know it's not sleeping, purely from monitoring the battery drain, and having a listen!

    There will be days when I put it to sleep for several hours, and the drain will be 10%. Others, will see it "sleeping" for less than half of that, but with a 25–35% hit to the battery. There is no consistency, and by my reckoning, surely there should be – asleep is asleep?

    Occasionally, if I'm writing near it, with the lid closed/it being 'asleep', I can hear it – those subtle noises from the machine, that tells you something is going on.

    That all being said – how else would one know whether or not it is asleep, apart from noticing the above?

    Yes – in Preferences, under Energy?? – Computer sleep is set to 10 minutes, and Display sleep is set to 1.5/3 minutes, with "Put hard disks to sleep when possible" selected.

    Furthermore, I presume that when Sleep is selected from the Apple menu, that the above are overridden?
     
  10. Naio macrumors member

    Naio

    Joined:
    Apr 2, 2015
    #10
    If you open Activity Monitor and switch to the Energy tab. You should have a 'Preventing Sleep' column. Take a look and see if you can find any process that is preventing sleep.
     
  11. Cassady thread starter macrumors 6502a

    Cassady

    Joined:
    Jul 7, 2012
    Location:
    Sqornshellous
    #11
    Good grief – I didn't know about that feature in Activity Monitor. This will probably be easier to use, in order to work out what might(??) be keeping things awake – thanks!
     

Share This Page