Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

MacBook Pro won't go to sleep when idle (OS X 10.7)

  • 07-04-2013 9:07pm
    #1
    Registered Users, Registered Users 2 Posts: 1,476 ✭✭✭


    I've been trying to sort this out all day. If I tell my (late 2011) MacBook Pro (on Lion) to sleep or put the lid down, it'll sleep as it should.

    But it's not going into sleep mode on its own (i.e. sound of fans moving, status light not pulsating).

    I've tried everything I know of (check pmset -g assertions, make sure printers aren't holding it up, restarted, reset SMC and PRAM, shut down all programs, entered Safe Mode to test).

    I'm outta ideas. It's really becoming a problem.


Comments

  • Moderators, Category Moderators, Arts Moderators, Entertainment Moderators, Technology & Internet Moderators Posts: 22,693 CMod ✭✭✭✭Sad Professor


    Is Internet Sharing turned on?


  • Registered Users, Registered Users 2 Posts: 1,476 ✭✭✭sarkozy


    Nope.


  • Registered Users, Registered Users 2 Posts: 1,476 ✭✭✭sarkozy


    No one else?

    Oh, and I reinstalled OS X. No change.


  • Banned (with Prison Access) Posts: 4,991 ✭✭✭mathepac


    What options / settings are selected in System Preferences>Energy Saver?

    What options / settings are selected in System Preferences>Sharing?


  • Registered Users, Registered Users 2 Posts: 1,476 ✭✭✭sarkozy


    All sharing sharing off. Bluetooth off. Energy saver all reset to Default settings but 'Wake for network access' off.

    As I said, I reset SMC and PRAM, and I reinstalled the OS. And I tried to let it go to sleep in Safe Mode.

    Nothing seems to be forcing the computer to stay awake. I run a 'pmset -g' and get:
    Active Profiles:
    Battery Power		-1
    AC Power		2*
    Currently in use:
     standbydelay	4200
     standby	0
     womp		1
     halfdim	1
     panicrestart	157680000
     gpuswitch	2
     hibernatefile	/var/vm/sleepimage
     sms		1
     networkoversleep	0
     disksleep	10
     sleep		10
     hibernatemode	3
     ttyskeepawake	1
     displaysleep	10
     acwake		0
     lidwake	1
    

    I run 'pmset -g assertions' and get:
    Assertion status system-wide:
       PreventUserIdleDisplaySleep             0
       CPUBoundAssertion                       0
       DisableInflow                           0
       ChargeInhibit                           0
       PreventSystemSleep                      0
       PreventUserIdleSystemSleep              0
       ExternalMedia                           0
       DisableLowPowerBatteryWarnings          0
       EnableIdleSleep                         1
       NoRealPowerSources_debug                0
       UserIsActive                            0
       ApplePushServiceTask                    0
    
    Kernel Assertions: None
    


  • Advertisement
  • Registered Users, Registered Users 2 Posts: 2,040 ✭✭✭Colonel Panic


    PreventUserIdleSystemSleep is 1 in your assertions list. That's 0 for me and my machine sleeps. Early 2011 MBP, 10.8.2

    It should however print out a list of other stuff so you can identify what's doing it. Maybe type man pmset and see if there are other commands you can try that will list processes are are setting that flag?

    Here's mine with iTunes playing a song, and Time Machine about to kick off:
    09/04/2013 22:28:12 IST  
    Assertion status system-wide:
       PreventUserIdleDisplaySleep    0
       PreventSystemSleep             0
       PreventUserIdleSystemSleep     1
       ExternalMedia                  0
       UserIsActive                   0
       ApplePushServiceTask           0
       BackgroundTask                 1
    
    Listed by owning process:
      pid 83790(iTunes): [0x00000001000011e2] 00:00:02 PreventUserIdleSystemSleep named: "Nameless (via IOPMAssertionCreate)" 
      pid 87146(backupd): [0x0000000c000011e3] 00:00:00 BackgroundTask named: "Time Machine backup" 
      pid 110(coreaudiod): [0x00000001000011e1] 00:00:03 NoIdleSleepAssertion named: "com.apple.audio.'AppleHDAEngineOutput:1B,0,1,2:0'.noidlesleep" 
      pid 87140(backupd-helper): [0x0000000c000011d6] 00:01:13 BackgroundTask named: "backupd-helper"
    

    For you, the pmset -g command says sleep is zero and that's being imposed by process 349. So what process has that process ID?


  • Registered Users, Registered Users 2 Posts: 1,476 ✭✭✭sarkozy


    Sorry, that's because VLC was open, I've corrected the above now that all programs are closed (except Chrome). The computer does not go to sleep on its own, even when all programs are closed.


  • Banned (with Prison Access) Posts: 4,991 ✭✭✭mathepac


    Here's mine - Mac mini 10.8.3

    Active Profiles:
    AC Power -1*
    Currently in use:
    standby 0
    powerbutton 1
    womp 1
    autorestart 1
    hibernatefile /var/vm/sleepimage
    networkoversleep 0
    disksleep 10
    sleep 10 (sleep prevented by 56026)
    autopoweroffdelay 14400
    hibernatemode 3
    autopoweroff 1
    ttyskeepawake 1
    displaysleep 5
    standbydelay 4200

    09/04/2013 22:30:30 IST
    Assertion status system-wide:
    PreventUserIdleDisplaySleep 0
    PreventSystemSleep 0
    PreventUserIdleSystemSleep 1
    ExternalMedia 1
    DisableLowPowerBatteryWarnings 0
    UserIsActive 0
    ApplePushServiceTask 0
    BackgroundTask 1


  • Registered Users, Registered Users 2 Posts: 2,040 ✭✭✭Colonel Panic


    sarkozy wrote: »
    Sorry, that's because VLC was open, I've corrected the above now that all programs are closed (except Chrome). The computer does not go to sleep on its own, even when all programs are closed.

    :eek:

    Well, I got nothing then.


  • Registered Users, Registered Users 2 Posts: 1,476 ✭✭✭sarkozy


    :(

    It's weird alright.

    I had this problem before on my last Mac, and that was solved by a printer driver having a schvitz. I deleted the print queue and that was grand. This method pointed towards that being the problem.

    With this, I'm stumped.


  • Advertisement
  • Registered Users, Registered Users 2 Posts: 1,476 ✭✭✭sarkozy


    Is it possible to run a log or something to find out what's preventing it from going into sleep mode? To see what process are active somewhere?

    OK: so I can see stuff in Console, but it means nothing. Perhaps Console can tell me something, but how?


  • Registered Users, Registered Users 2 Posts: 1,476 ✭✭✭sarkozy


    UPDATE: an expensive fix, though a fix nonetheless - I upgraded from Lion to Mountain Lion.

    Alternatively, for those experiencing a similar problem, there's a small app called Please Sleep that does something to put the computer to sleep as per your Control Panel settings.


Advertisement