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

first Previous Page 7 of 9 last Next
  • by Oscodosco,

    Oscodosco Oscodosco Feb 12, 2014 3:16 PM in response to spmudiraj
    Level 1 (0 points)
    Feb 12, 2014 3:16 PM in response to spmudiraj

    The issue occured for the very first time when I installed XQuartz too... I'd be regretful to uninstall it but here seems to be (at least for some of us) the problem.

  • by xes13,

    xes13 xes13 Feb 26, 2014 12:17 PM in response to rcolonescu
    Level 1 (0 points)
    Feb 26, 2014 12:17 PM in response to rcolonescu

    10.9.2 is out ...

     

    http://support.apple.com/kb/HT6114

     

    changelog does not mention any fixes to this issue ... please report if this update fixes this issue for you ... tnx.

     

    xes

  • by DMNK.,

    DMNK. DMNK. Feb 28, 2014 2:04 AM in response to xes13
    Level 1 (0 points)
    Feb 28, 2014 2:04 AM in response to xes13

    2013 MacBook Air here, i5/8/128

     

    10.9.2 didn't fix the issue for me. I had XQuartz installed (Inkscape) and have now removed it to see how things go.

  • by DMNK.,

    DMNK. DMNK. Feb 28, 2014 9:30 AM in response to DMNK.
    Level 1 (0 points)
    Feb 28, 2014 9:30 AM in response to DMNK.

    I would've edited my first post, but that option isn't there anymore. So sorry for the doublepost.

     

    After having removed XQuartz, everything seems to be back to normal (I had 2 clean sleep for 3hrs -> hibernate cycles now). But I didn't always have this problem before, so these two cycles might just be coincidence.

  • by xroox,

    xroox xroox Feb 28, 2014 10:22 AM in response to rcolonescu
    Level 1 (13 points)
    Mac OS X
    Feb 28, 2014 10:22 AM in response to rcolonescu

    Still happening for me after 10.9.2 update; worked once right after I installed and then went back to waking up again after ~1min

     

    Had the same result after resetting PRAM; worked for one reboot then started up again

  • by Loos Guccreen,

    Loos Guccreen Loos Guccreen Mar 5, 2014 6:33 AM in response to rcolonescu
    Level 1 (0 points)
    Mar 5, 2014 6:33 AM in response to rcolonescu

    Hi, I'm experiencing the same kind of problem (I don't know if it always goes like this for you but when my battery is drained, my MacBook Air 6.2 heats a lot, and it is a little bit lost when I wake him up. He's like "20%- no wait 40%- no wait again 25% battery remaining... I think").

     

    I tried to disable SafeSleep, we'll see if it fixes the problem.

    Oh and I use 10.9.2, so the latest update didn't change anything. But it's a good thing if Apple is working on it.

  • by Loos Guccreen,

    Loos Guccreen Loos Guccreen Mar 5, 2014 2:37 PM in response to rcolonescu
    Level 1 (0 points)
    Mar 5, 2014 2:37 PM in response to rcolonescu

    Hmm, okay, first more-than-3-hours sleep session went perfectly, with the apps I was suspicious about opened... That sounds awesome !

  • by Loos Guccreen,

    Loos Guccreen Loos Guccreen Mar 7, 2014 7:35 AM in response to rcolonescu
    Level 1 (0 points)
    Mar 7, 2014 7:35 AM in response to rcolonescu

    Okay just in case you where wondering (I don't know why, but older messages doesn't shows up. dafuq), it seems it really fixed the issue for me. I just disabled SafeSleep (stanby 0), and everything works fine (wow, I somehow rediscover my MAB now <3)

  • by frame_of_mind,

    frame_of_mind frame_of_mind Mar 8, 2014 5:23 PM in response to spmudiraj
    Level 1 (0 points)
    Mar 8, 2014 5:23 PM in response to spmudiraj

    Hi everyone. I think I have the wake problem resolved and I wanted to share what I did.

     

    Basically, spmudiraj's suggestion to change the sleep timer was spot on and solved the problem for me, at least for a couple days. I changed mine to 20 minutes (higher than my disksleep 10 minutes and displaysleep of 15 minutes):

    Currently in use:

    standbydelay         10800

    standby              1

    womp                 1

    halfdim              1

    hibernatefile        /var/vm/sleepimage

    darkwakes            1

    networkoversleep     0

    disksleep            10

    sleep                20

    autopoweroffdelay    14400

    hibernatemode        3

    autopoweroff         1

    ttyskeepawake        1

    displaysleep         15

    acwake               0

    lidwake              1

     

    However, the problem cropped up again when I visited my parents' house! Completely baffled me as I didn't think this issue was location dependent. Until I realized that they use the Bluetooth keyboard and trackpad with their iMac, and that those may be waking my MBA. I also own a PS3, and as you may already know, those controllers are wirelesss and also use Bluetooth.

     

    I went into the Bluetooth settings, and turned Bluetooth off. I also went into the Advanced settings and unchecked all three options, most notably "Allow Bluetooth devices to turn this computer on". This has resolved the problem fr me, for now.

     

    One odd thing I found later was that the Bluetooth turned itself back on a few minutes later. I have no idea what caused this, but now I'm checking the Bluetooth settings regularly to make sure it stays off.

     

    Both of these settings (the sleep timer and the Bluetooth) can be reset by OS X upgrades, such as the recent 10.9.2 update. This may explain why this has only been a recent problem for me.

     

    In any case, I will report back in about a week, hopefully with good news about this fix.

  • by falterego,

    falterego falterego Mar 14, 2014 8:45 AM in response to frame_of_mind
    Level 1 (0 points)
    Mar 14, 2014 8:45 AM in response to frame_of_mind

    Thank you frame_of_mind, I've just made your suggested changes. Both my wife and I have iPhones with Bluetooth on all the time, and Mac Minis with BT keyboards and mice, so from the desk to the car to the home-office it is always near another BT device.

     

    I've been going crazy with this because most days I'll sleep my computer before leaving work and won't need it until I get back the next morning, only to discover I have a dead battery and can't work for 10 minutes while it charges enough to boot.

     

    As a side note, I did the pmset -a standbydelay 600000 and pmset -b standbydelay 600000, but today while driving to work it was doing the 'wake every minute' crap again. I turned on my computer to discover it had still drained from 100% to 5% battery. So for me the standbydelay fix doesn't even take care of it as a temporary fix.

     

    Here's the last little test I did before going to work.

     

     

    Mar 14 06:31:02 localhost kernel[0] <Debug>: Wake reason: EC.ACAttach (Maintenance)

    Mar 14 06:42:14 localhost kernel[0] <Debug>: Wake reason: EC.ACDetach (Maintenance)

    Mar 14 07:02:45 localhost kernel[0] <Debug>: Wake reason: EC.SleepTimer (SleepTimer)

    Mar 14 07:03:30 localhost kernel[0] <Debug>: Wake reason: ?

     

     

    There are dozens of ? reasons before and after these changes. While it was on AC power for about 10 minutes it did not have a problem with the every minute wake. Then after AC power was removed for about 10 minutes the problem started again. Both AC power and battery power pmset configs have 600000 for the standbydelay attribute, so I'm not sure why it is having the dark wake problem on battery but not on AC power.

     

    $ pmset -g custom

    Battery Power:

    lidwake              1

    autopoweroff         1

    autopoweroffdelay    14400

    standbydelay         600000

    standby              1

    ttyskeepawake        1

    hibernatemode        3

    darkwakes            0

    hibernatefile        /var/vm/sleepimage

    displaysleep         2

    sleep                1

    acwake               0

    halfdim              1

    lessbright           1

    disksleep            10

    AC Power:

    lidwake              1

    autopoweroff         1

    autopoweroffdelay    14400

    standbydelay         600000

    standby              1

    ttyskeepawake        1

    hibernatemode        3

    darkwakes            1

    hibernatefile        /var/vm/sleepimage

    womp                 1

    displaysleep         10

    networkoversleep     0

    sleep                1

    acwake               0

    halfdim              1

    disksleep            10

     

    Edit: BTW, I'm running a late 2013 13" rMBP. Dropbox and Google drive were both disabled during this testing. Parallels Desktop 9 was completely shutdown as well.

     

    Message was edited by: falterego - computer specs

  • by frame_of_mind,

    frame_of_mind frame_of_mind Mar 15, 2014 1:25 AM in response to falterego
    Level 1 (0 points)
    Mar 15, 2014 1:25 AM in response to falterego

    Thought I was in the clear. Unfortunately, my MBA began waking every minute again last night.

     

    There doesn't seem to be a single root cause for this issue. I will continue to leave Bluetooth disabled for now, and hope that with enough tweaks I will eventually find a solution.

     

    My next move is Parallels 9. I closed it a few hours ago, and my MBA has been sleeping tight for 5+ hours now. I'm going to close Parallels before sleeping my computer from now on. I will report next week with hopefully better news.

     

    My MBA is also mid-2013, the ones with the new Haswell CPU.

  • by Loos Guccreen,

    Loos Guccreen Loos Guccreen Mar 15, 2014 9:37 AM in response to frame_of_mind
    Level 1 (0 points)
    Mar 15, 2014 9:37 AM in response to frame_of_mind

    Have you tried to simply set standby to 0 ? It worked like a charm for me, without the need of changing anything else.

  • by frame_of_mind,

    frame_of_mind frame_of_mind Mar 15, 2014 3:21 PM in response to Loos Guccreen
    Level 1 (0 points)
    Mar 15, 2014 3:21 PM in response to Loos Guccreen

    I haven't tried that yet. However, I actually want my computer to go into standby mode. It's supposed to be more power efficient, and it's one of the main reasons I bought the new Haswell MBA.

     

    Left my MBA sleeping overnight without Parallels. No waking every minute so far...

  • by falterego,

    falterego falterego Mar 15, 2014 3:44 PM in response to rcolonescu
    Level 1 (0 points)
    Mar 15, 2014 3:44 PM in response to rcolonescu

    Shutting down parallels desktop did the trick for me. I've sent off a support request to Parallels to fix this issue, so hopefully they have an answer soon.

  • by Limmor1,

    Limmor1 Limmor1 Mar 15, 2014 4:44 PM in response to rcolonescu
    Level 1 (1 points)
    Mar 15, 2014 4:44 PM in response to rcolonescu

    Same problem, new MBP 2013, i5, 256GB, wakes up with all peripherals disconnected, airport and bluetooth disabled, lid closed. Power nap on battery disabled. Mavericks 10.9.2. Posts:

     

    MacBook-Pro kernel[0]: Wake reason: EC.SleepTimer (SleepTimer)

    And then cycles in a set of messages with recurring "wake reason : ?"

     

    I will try to solve the issue step by step with removing Avast, resetting PRAM (or NVRAM?). Will update on further development.

first Previous Page 7 of 9 last Next