rcolonescu

Q: MBA mid-2013 wakes from sleep every minute on Mavericks

After upgrading to Mavericks my MBA mid-2013 constantly wakes up from sleep every minute during the night draining battery to 0%.I did syslog | grep -i "Wake reason" and the result is "?" for each logged wake event. There are few more reports on this all over the Internet with slight variations. This happens

while on battery and I did try SMC reset. Any tips? It's gettig quite frustrating. Screenshot 2013-10-30 13.58.55.png

MacBook Air, OS X Mavericks (10.9)

Posted on Oct 30, 2013 6:03 AM

Close

Q: MBA mid-2013 wakes from sleep every minute on Mavericks

  • All replies
  • Helpful answers

Page 1 of 9 last Next
  • by dr-grim,Helpful

    dr-grim dr-grim Oct 30, 2013 1:01 PM in response to rcolonescu
    Level 1 (10 points)
    Oct 30, 2013 1:01 PM in response to rcolonescu

    I'm suffering from the same thing - MBA 2013, wakes every 1 minute and drains the battery overnight. Very odd. Mountain Lion didn't do this!

     

    pmset -g log

    Also produced a repeated set of info, every ~1 minute, the following is repeated. Anyone any thoughts? I've reset PRAM and SMC...

     

    30/10/2013 10:51:24 GMT  DarkWake                      DarkWake [CDN]  : Using BATT (Charge:0%)                                             22 secs  

    30/10/2013 10:51:24 GMT  HibernateStats                hibmode=3 standbydelay=10800                                                                   rd=1548 ms

    30/10/2013 10:51:24 GMT  SlowResponse                  Kernel: Response from powerd is slow (powercaps:0x0)                                           28209 ms  

    30/10/2013 10:51:29 GMT  Assertions                    PID 16(powerd) Released InternalPreventSleep "PM configd - Wait for Device enumeration" 00:00:05  id:0xe00002767 [System: PushSrvc kCPU]                   

    30/10/2013 10:51:46 GMT  Sleep                         Maintenance Sleep: Using BATT (Charge:0%)                                            51 secs  

    30/10/2013 10:51:48 GMT  SlowResponse                  PMConnection: Response from com.apple.apsd is slow (powercaps:0x0)                             1992 ms   

    30/10/2013 10:52:14 GMT  Timedout                      PMConnection: Response from CMacPowerHelper timed out (powercaps:0x0)                          28150 ms  

    30/10/2013 10:52:14 GMT  Timedout                      PMConnection: Response from CMacPowerHelper timed out (powercaps:0x0)                          28151 ms  

    30/10/2013 10:52:14 GMT  WakeRequests                  Clients requested wake events: None                                                           

    30/10/2013 10:52:37 GMT  Assertions                    PID 16(powerd) Created InternalPreventSleep "PM configd - Wait for Device enumeration" 00:00:00  id:0xe00002779 [System: No Assertions]              

  • by dr-grim,Helpful

    dr-grim dr-grim Oct 30, 2013 1:03 PM in response to dr-grim
    Level 1 (10 points)
    Oct 30, 2013 1:03 PM in response to dr-grim

    P.S. - here's a link to a post similar to my (our!) problem, as an example of similar behaviour...

     

    http://apple.stackexchange.com/questions/106721/why-does-my-macbook-air-2013-wak e-from-sleep-every-minute-on-mavericks

  • by VAXMaster95,

    VAXMaster95 VAXMaster95 Oct 30, 2013 7:24 PM in response to rcolonescu
    Level 1 (0 points)
    Oct 30, 2013 7:24 PM in response to rcolonescu

    I am having the same issue with Macbook Air 2013 on Mavericks.

     

    While sleeping on battery, its tries to switch to DeepSleep at 3 hour mark and then constantly wakes up each minute thereafter until the battery is drained.

     

    I tried to disable Deep Sleep by chaing hibernatemode from "3" (default) to "0" (off).  But, same issue persists.

     

    I noticed that the 3-hour mark corresponded to the pmset standbydelay default setting (10800 seconds = 3 hours).  Tonight, I am trying a work around by setting the standbydelay to 7 days = 604800 seconds.  Instructions can be found in following link:

     

    http://osxdaily.com/2013/01/21/mac-slow-wake-from-sleep-fix/

     

    Interesting is my wife's 2012 Air does not have the issue.  It is unique issue to 2013 Air.

  • by VAXMaster95,

    VAXMaster95 VAXMaster95 Oct 31, 2013 4:57 AM in response to VAXMaster95
    Level 1 (0 points)
    Oct 31, 2013 4:57 AM in response to VAXMaster95

    After applying this band-aid [work around by setting the standbydelay to 7 days = 604800 seconds], my 2013 Air remained in sleep all night and battery was 100% in the morning (e.g., no decline in battery after >6 hours in sleep).

  • by dr-grim,

    dr-grim dr-grim Oct 31, 2013 10:59 AM in response to VAXMaster95
    Level 1 (10 points)
    Oct 31, 2013 10:59 AM in response to VAXMaster95

    Just tried this, let's see what happens. Mind you, it did highlight some inconsistency in the settings (see below) - any idea what's wrong? I've never manually set these, just used the Energy Saver settings via System Preferences...

     

    MacBook-Air:~ administrator$ sudo pmset -a standbydelay 604800

    Password:

    Warning: Idle sleep timings for "Battery Power" may not behave as expected.

    - Display sleep should have a lower timeout than system sleep.

    Warning: Idle sleep timings for "AC Power" may not behave as expected.

    - Display sleep should have a lower timeout than system sleep.

     

    MacBook-Air:~ administrator$ pmset -g

    Active Profiles:

    Battery Power                    -1*

    AC Power                    -1

    Currently in use:

    standbydelay         604800

    standby              1

    halfdim              1

    hibernatefile        /var/vm/sleepimage

    darkwakes            0

    disksleep            10

    sleep                1

    autopoweroffdelay    14400

    hibernatemode        3

    autopoweroff         1

    ttyskeepawake        1

    displaysleep         2

    acwake               0

    lidwake              1

     

    MacBook-Air:~ administrator$

  • by Swedish Frog,

    Swedish Frog Swedish Frog Nov 3, 2013 10:03 AM in response to rcolonescu
    Level 1 (0 points)
    Nov 3, 2013 10:03 AM in response to rcolonescu

    I was having the same problem, and I seem to have found a fix, although I still couldn't tell you what the problem is exactly.

     

    • Launch Terminal
    • sudo rm /Library/Preferences/SystemConfiguration/com.apple.PowerManagement.plist
    • Restart the machine so OS X can rebuild the plist file.

     

    Comparing the plist before and after, I see that the "hibernatemode" setting is no longer present in the rebuilt file. I'm not sure if this means the laptop no longer hibernates, but I'm fairly certain it's related to the issue. I left the laptop closed and unplugged overnight after doing this, and it only lost 3% of battery.

  • by Swedish Frog,

    Swedish Frog Swedish Frog Nov 4, 2013 6:04 AM in response to Swedish Frog
    Level 1 (0 points)
    Nov 4, 2013 6:04 AM in response to Swedish Frog

    Never mind.  The fix I described above does NOT work...

  • by dr-grim,

    dr-grim dr-grim Nov 5, 2013 12:55 PM in response to rcolonescu
    Level 1 (10 points)
    Nov 5, 2013 12:55 PM in response to rcolonescu

    Just found another trail on the web with the same issue...

     

    http://qandasys.info/why-does-my-macbook-air-2013-wake-from-sleep-every-minute-o n-mavericks/

     

    Seems, basically, a recent MBA with Mavericks = continuous 1 minute wake as soon as hibernate tries to launch...

  • by rcolonescu,

    rcolonescu rcolonescu Nov 7, 2013 12:44 AM in response to dr-grim
    Level 1 (0 points)
    Nov 7, 2013 12:44 AM in response to dr-grim

    Nothing seems to work!

     

    On top of this, I noticed the battery reports wrong charge level after "waking" up. A restart fixes this but it just gets more annoying.

     

    Is there any other Apple discussion about this?

  • by dr-grim,

    dr-grim dr-grim Nov 9, 2013 4:21 AM in response to rcolonescu
    Level 1 (10 points)
    Nov 9, 2013 4:21 AM in response to rcolonescu

    AHA! This may/may not fix it for you, but here's what I've recently carried out...

     

    I have carried out a full disc verify/repair (probably not related, but just in case - found a few stray blocks)

    I then set hibernate mode to 25 (out of the choices 0, 3, 25 recommended by Apple).

    I also set displaysleep and disksleep to be non-0 and less than sleep to remove warnings from pmset (before, disksleep and displaysleep were longer than sleep or set to 0 - warning pointed out this would have no effect...)

     

    I believe the change to hibernatemode was the change that fixed it... try:

     

    sudo pmset -a hibernatemode 25

     

    Originally it was set to 3... given the speed of the SSD I don't mind it aggressively paging; the change from 3 to 25 means it has switched off:

     

       0000 0010 (bit 1), in conjunction with bit 0, causes OS X to maintain system state in memory and leave system power on until battery level drops below a

         near empty threshold (This enables quicker wakeup from memory while battery power is available). Upon nearly emptying the battery, OS X shuts off all

         system power and hibernates; on wake the system will resume from hibernation image, not from memory.

     

    Sounds suspiciously familiar. Dark Wake kept waking up until battery level hit near 0%...

     

    My pmset is below for reference...

     

    MacBook-Air:~ ian$ pmset -g

    Active Profiles:

    Battery Power                    -1

    AC Power                    -1*

    Currently in use:

    standbydelay         4200

    standby              1

    womp                 0

    halfdim              1

    hibernatefile        /var/vm/sleepimage

    darkwakes            0

    networkoversleep     0

    disksleep            2

    sleep                10 (sleep prevented by mds, mds_stores, backupd, backupd, UserEventAgent, UserEventAgent)

    autopoweroffdelay    14400

    hibernatemode        25

    autopoweroff         1

    ttyskeepawake        1

    displaysleep         5

    acwake               0

    lidwake              1

    MacBook-Air:~ ian$

     

    Good luck!

  • by dr-grim,

    dr-grim dr-grim Nov 10, 2013 2:03 AM in response to dr-grim
    Level 1 (10 points)
    Nov 10, 2013 2:03 AM in response to dr-grim

    ...aaarrrgghhh...

     

    Woke up MBA this morning. Back to its old tricks of waking up every 1 minute...

     

    Very odd. I had one 24 hour cycle where the problem went away - can't figure out what brought it back?!?

     

    Sounds like the hibernatemode wasn't the fix I'm afraid...

  • by Hans Kohlmeyer,

    Hans Kohlmeyer Hans Kohlmeyer Nov 10, 2013 7:03 AM in response to dr-grim
    Level 1 (0 points)
    Nov 10, 2013 7:03 AM in response to dr-grim

    Thanks anyway for the hope.

    Do all that have the problem also have an MBA 2013, i7, 8G?

    Any feedback from Apple support yet on this from anyone? They conveniently closed my case...

  • by VAXMaster95,

    VAXMaster95 VAXMaster95 Nov 10, 2013 8:21 AM in response to Hans Kohlmeyer
    Level 1 (0 points)
    Nov 10, 2013 8:21 AM in response to Hans Kohlmeyer

    >>Do all that have the problem also have an MBA 2013, i7, 8G?<<

     

    Yes.

     

    From my logs, each time it wakes itself from sleep it shows in the log "EC.SleepTimer" as the Wake Reason.  Then, it cannot fall back asleep and contineus to show "Wake Reason ?" every minute until the battery dies.

     

    Problem only appeared after upgrading to Mavericks.  I have tried installing/deinstalling/turning off/etc all other applications but result is same ...... "self waking".

  • by dr-grim,

    dr-grim dr-grim Nov 10, 2013 8:25 AM in response to VAXMaster95
    Level 1 (10 points)
    Nov 10, 2013 8:25 AM in response to VAXMaster95

    Interesting... yep, I've also got an i7 8Gb...

     

    I've got a 256Gb SSD, same as anyone else with the problem?

Page 1 of 9 last Next