Not sleeping/battery issues?

Discussion in 'macOS Sierra (10.12)' started by Galacticos, Nov 2, 2016.

  1. Galacticos macrumors 6502a

    Galacticos

    Joined:
    Apr 5, 2016
    #1
    I've noticed my MacBook Pro has a lot less battery when I come back to it after periods when it is supposed to be sleeping.

    Has anyone noticed this or needed to play with power saving settings since upgrading to macOS Sierra?
     
  2. joedec macrumors 6502

    joedec

    Joined:
    Jul 25, 2014
    Location:
    Cupertino
  3. dimzen macrumors member

    dimzen

    Joined:
    Nov 11, 2011
    Location:
    Denmark
  4. Galacticos thread starter macrumors 6502a

    Galacticos

    Joined:
    Apr 5, 2016
    #4
    Yeah it's just not sleeping when I leave it (solid white light, screen off)
    Nvram as opposed to smc? Or both? Want to reset as little as possible
    --- Post Merged, Nov 3, 2016 ---
    I just did nvram and it appears to have fixed it.. I thought my battery was cooked. Thanks for your responses!
     
  5. Galacticos thread starter macrumors 6502a

    Galacticos

    Joined:
    Apr 5, 2016
    #5
    Having doubts it's fixed. Smc reset is next..
     
  6. Galacticos thread starter macrumors 6502a

    Galacticos

    Joined:
    Apr 5, 2016
    #6
    Nope it's still not sleeping properly after both those resets. Any other suggestions?
     
  7. joedec macrumors 6502

    joedec

    Joined:
    Jul 25, 2014
    Location:
    Cupertino
    #7
    Is this when you close the lid or just waiting for the timer? Have you tried adjusting the power preferences?
     
  8. Galacticos thread starter macrumors 6502a

    Galacticos

    Joined:
    Apr 5, 2016
    #8
    Waiting for the timer.
    Yeah I've tried adjusting the settings. The screen dims but it just doesn't go to sleep after the ten minutes it's set to
     
  9. joedec, Nov 4, 2016
    Last edited: Nov 4, 2016

    joedec macrumors 6502

    joedec

    Joined:
    Jul 25, 2014
    Location:
    Cupertino
    #9
    I am starting to think the sleep code is really buggy. I was fooling around with my machine and noticed sometimes it still doesn't sleep. I closed the lid earlier today and it didn't sleep, so I closed all the applications, still wouldn't sleep. So finally I rebooted it, now sleep works as I would expect.

    Maybe we'll find a solution in a patch release.
    --- Post Merged, Nov 4, 2016 ---
    In the meantime, if you want to look for an application that's causing the issue. The tool I use to see if something is preventing sleep (run from the Terminal)...

    $ pmset -g assertions | grep Prevent
    PreventUserIdleDisplaySleep 0
    PreventSystemSleep 0
    PreventUserIdleSystemSleep 0

    The output above shows nothing is stopping sleep. The next example I start `caffeinate` in another window and we see that process preventing sleep.

    $ pmset -g assertions | grep Prevent
    PreventUserIdleDisplaySleep 0
    PreventSystemSleep 0
    PreventUserIdleSystemSleep 1
    pid 1046(caffeinate): [0x00001004000183e5] 00:00:02 PreventUserIdleSystemSleep named: "caffeinate command-line tool"
     
  10. Galacticos thread starter macrumors 6502a

    Galacticos

    Joined:
    Apr 5, 2016
    #10
    I think it's a bug too. I shouldn't be surprised.

    I began to notice this after the macOS Sierra update and it has been around since then. Seems to sleep now that I did those resets when I shut the lid but not if the lid is open. Thanks for that, I really doubt it's an app causing it
     

Share This Page