andre451

Q: MacBook Pro keeps waking up from sleep

Hi everyone, I need help with these:

 

My MacBook Pro (13-inch, Mid 2012) with OS X El Capitan version 10.11.2 (15C50) keeps waking from sleep.

Every day it wakes up at 2 am, does some things, goes back to sleep then wakes up again 1 minute 50 later and keeps doing that until 4.30 am.

I reset the SMC and the NVRAM and changed the hibernatemode from 0 to 25 but it keeps waking.

If it sleeps powered from the battery it doesn't wake up.

 

pmset -g

Active Profiles:

Battery Power -1

AC Power -1*

Currently in use:

standbydelay         4200

standby              0

womp                 0

halfdim              1

hibernatefile        /var/vm/sleepimage

sms                  1

networkoversleep     0

disksleep            0

sleep                0

autopoweroffdelay    60

hibernatemode        0

autopoweroff         0

ttyskeepawake        0

displaysleep         1

acwake               0

lidwake              1


syslog |grep -i "Wake reason"

Feb  9 00:38:57 MacBook-Pro kernel[0] <Notice>: Wake reason: RTC (Alarm)

Feb  9 02:00:53 MacBook-Pro kernel[0] <Notice>: Wake reason: RTC (Alarm)

Feb  9 02:02:43 MacBook-Pro kernel[0] <Notice>: Wake reason: RTC (Alarm)

Feb  9 02:04:32 MacBook-Pro kernel[0] <Notice>: Wake reason: RTC (Alarm)

Feb  9 02:06:22 MacBook-Pro kernel[0] <Notice>: Wake reason: RTC (Alarm)

Feb  9 02:08:11 MacBook-Pro kernel[0] <Notice>: Wake reason: RTC (Alarm)

...

Feb  9 04:23:33 MacBook-Pro kernel[0] <Notice>: Wake reason: RTC (Alarm)

Feb  9 04:25:23 MacBook-Pro kernel[0] <Notice>: Wake reason: RTC (Alarm)

Feb  9 04:27:13 MacBook-Pro kernel[0] <Notice>: Wake reason: RTC (Alarm)

Feb  9 04:29:03 MacBook-Pro kernel[0] <Notice>: Wake reason: RTC (Alarm)

Feb  9 04:30:53 MacBook-Pro kernel[0] <Notice>: Wake reason: EC.LidOpen (User)


syslog |grep -i "" https://goo.gl/JQ5Nts

pmset -g log https://goo.gl/cgJXea

MacBook Pro (13-inch Mid 2012), OS X El Capitan (10.11.2)

Posted on Feb 11, 2016 5:35 AM

Close

Q: MacBook Pro keeps waking up from sleep

  • All replies
  • Helpful answers

Page 1 Next
  • by Linc Davis,

    Linc Davis Linc Davis Feb 11, 2016 7:19 AM in response to andre451
    Level 10 (207,925 points)
    Applications
    Feb 11, 2016 7:19 AM in response to andre451

    Wake reason: RTC (Alarm)

    Indicates either a wake for network access or a scheduled power event.

    Wake reason: EC.LidOpen (User)

    If you didn't open the lid at that time, the lid sensor is faulty.

  • by andre451,

    andre451 andre451 Feb 11, 2016 7:50 AM in response to Linc Davis
    Level 1 (7 points)
    Feb 11, 2016 7:50 AM in response to Linc Davis

    Thanks for the quick reply Linc.

     

    Wake for network access is disabled...

    And pmset -g sched doesn't show anything...

     

    At 4:30 I didn't touch it... it had the lid closed...

    I did a quick test, the time of the messages "Wake reason: EC.LidOpen (User)" is the time at which I close the lid... is that normal?

  • by Linc Davis,

    Linc Davis Linc Davis Feb 11, 2016 8:24 AM in response to andre451
    Level 10 (207,925 points)
    Applications
    Feb 11, 2016 8:24 AM in response to andre451

    "Wake reason: EC.LidOpen (User)" is the time at which I close the lid... is that normal?

    No, you would normally see that when you open the lid, not when you close it.

  • by andre451,

    andre451 andre451 Feb 11, 2016 8:40 AM in response to Linc Davis
    Level 1 (7 points)
    Feb 11, 2016 8:40 AM in response to Linc Davis

    The lid sensor seems to work properly, at least when I open it wakes up and when I close it sleeps...

    Also that couldn't be the reason for the systematic wakes between 2 am and 4:30 am... right?

  • by Linc Davis,Apple recommended

    Linc Davis Linc Davis Feb 11, 2016 9:58 AM in response to andre451
    Level 10 (207,925 points)
    Applications
    Feb 11, 2016 9:58 AM in response to andre451

    Please test after taking each of the following steps that you haven’t already tried:

    Step 1

    Take all the applicable steps suggested in this support article, including the ones under the heading "If the previous steps don't work." That's the starting point for any further effort to solve the problem.

    Note that, as stated in the article, the computer will not sleep if some sharing services are enabled. From the menu bar, select

               ▹ System Preferences... ▹ Sharing

    Turn off all sharing services.

    Also note that the "external devices" referred to in the article could include Bluetooth devices, other than those made by Apple. If you're using a MacBook, MacBook Air, or MacBook Pro, or if you're using a desktop Mac with a wired keyboard and mouse, turn Bluetooth off to test.

    Step 2

    If iTunes Music Sharing or Home Sharing is enabled, disable it or quit iTunes. Do the same with any third-party applications that have a similar feature.

    Step 3

    Select

               ▹ System Preferences... ▹ Accessibility ▹ Speakable Items: Off

    Step 4

    Select

               ▹ System Preferences... ▹ Bluetooth ▹ Advanced...

    and uncheck both boxes marked

              Open Bluetooth Setup Assistant at startup if...

    Step 5

    Reset the printing system.

    Step 6

    Back up all data.

    Triple-click the line below on this page to select it, then copy the text to the Clipboard by pressing the key combination  command-C:

    /var/vm

    In the Finder, select

              Go Go to Folder...

    from the menu bar and paste into the box that opens by pressing command-V. You may not see what you pasted because a line break is included. Press return.

    A folder named "vm" should open. Inside it, there may be a file named "sleepimage". Move that file, and only that one, to the Trash, but don't empty yet. You'll be prompted for your password. Close the folder window.

    Restart the computer and empty the Trash.

  • by andre451,

    andre451 andre451 Feb 12, 2016 3:48 AM in response to Linc Davis
    Level 1 (7 points)
    Feb 12, 2016 3:48 AM in response to Linc Davis

    Ok so I did all of those steps yesterday.

    I then put it in safe mode before putting it to sleep and it didn't wake up during the night.

    Will see tomorrow if the problem is solved.

  • by andre451,

    andre451 andre451 Feb 13, 2016 2:51 AM in response to Linc Davis
    Level 1 (7 points)
    Feb 13, 2016 2:51 AM in response to Linc Davis

    It seems that the problem is solved, at least it didn't wake up last night.

    Of all the steps above only steps 4, 5 and 6 were not already disabled or done.

    I also did some additional steps like changing my anti-virus from Avast to Avira and disabling all the unnecessary startup processes.

    So I don't know what did the trick but I'm glad it's solved.

    Thank you for the help Linc

  • by Cunnla,

    Cunnla Cunnla Feb 13, 2016 3:09 AM in response to andre451
    Level 4 (1,963 points)
    Mac OS X
    Feb 13, 2016 3:09 AM in response to andre451

    I also did some additional steps like changing my anti-virus from Avast to Avira

    You could have gone one better and just have no antivirus software on your Mac at all. You just switched from one bad horse to another. Just type in Avast or Avira in the search box at the top of any forum page to get an idea of how useful or useless these are.

  • by andre451,

    andre451 andre451 Feb 13, 2016 3:41 AM in response to Cunnla
    Level 1 (7 points)
    Feb 13, 2016 3:41 AM in response to Cunnla

    I will check that out. Thanks

  • by andre451,

    andre451 andre451 Feb 14, 2016 5:18 AM in response to Linc Davis
    Level 1 (7 points)
    Feb 14, 2016 5:18 AM in response to Linc Davis

    Still woke up at 2 am and kept waking every 1 min 50 or so until 4:30 am.

     

    I see these in the log:

    BGTask:com.apple.suggestions.harvest

    MaintenanceWake "mDNSResponder:maintenance"

    DarkWake [CDN] due to RTC/Maintenance

     

    pmset -g log goo.gl/sEUmDO

  • by Linc Davis,

    Linc Davis Linc Davis Feb 15, 2016 6:50 AM in response to andre451
    Level 10 (207,925 points)
    Applications
    Feb 15, 2016 6:50 AM in response to andre451
  • by andre451,

    andre451 andre451 Feb 15, 2016 7:00 AM in response to Linc Davis
    Level 1 (7 points)
    Feb 15, 2016 7:00 AM in response to Linc Davis

    Mine doesn't has power nap...

  • by Linc Davis,

    Linc Davis Linc Davis Feb 15, 2016 9:45 AM in response to andre451
    Level 10 (207,925 points)
    Applications
    Feb 15, 2016 9:45 AM in response to andre451

    Please remove "Avira" by following the instructions on this page. If you have a different version of the product, the procedure may be different.

    Back up all data before making any changes. Never install any "anti-virus" or "anti-malware" product again.

  • by andre451,

    andre451 andre451 Feb 16, 2016 12:37 AM in response to Linc Davis
    Level 1 (7 points)
    Feb 16, 2016 12:37 AM in response to Linc Davis

    I uninstalled Avira but it didn't solved the wake up problem.

Page 1 Next