Mac waking up every 2 hours. Wake reason: EC.RTC (Alarm)
My 2020 iMac with macOS Catalina keeps waking up every ~2 hours after I put it to sleep.
When I type
log show | grep -i "wake reason"
in Terminal, I get a log, where I can see the trigger for the wake up "Wake reason: EC.RTC (Alarm)"
After searching the internet I found many old threads with the same issue, but could not find any solution that would work or any guidance at all.
I found out that for me it was caused by a possibly faulty or corrupt system file which is in charge of scheduled Start up/wake and sleep.
I removed this file, then created new wake schedule, and then I reverted back to previous settings.
The steps I did are as follows:
- Firstly, I would recommend to create a backup of your system
- In Finder, go to /Library/Preferences/SystemConfiguration
- Locate file com.apple.AutoWake.plist
- Rename this file to com.apple.AutoWake.plist.ORIGINAL so you have a backup copy, just in case.
- Navigate to System Preferences -> Energy Saver -> Schedule... -> Create new "Start up or wake" schedule
- Click OK. This will create new com.apple.AutoWake.plist file
- Go back to "Schedule..." and untick "Start up or wake"
- Click OK
- Done
This fixed the issue for me. I hope this will be helpful to other people with the same annoying problem!
iMac Line (2012 and Later)