For the past several weeks, my MacBook Pro had been occasionally waking up during periods where it was expected to be in sleep mode. Even with the lid closed, it would briefly wake up, illuminate the screen and Apple logo, then fall back asleep moments later. Seemingly random, it would sometimes happen only once every other day, and other times it would happen sequentially with only seconds in between cycles. I had no idea if the issue was hardware or software, but it didn’t seem major enough to warrant an AppleCare call.
A quick trip to the Console application in the Applications > Utilities folder reported dozens of instances of “USB caused wake event (EHCI)”, which gave me some initial Google hits. The obvious answer is that a USB device was waking up the computer, however I rarely had USB hardware plugged in when the random awakenings were occurring.
As it turns out, others have had this problem before. As indicated in the previous links, Mac OS X keeps its power schedule inside /Library/Preferences/SystemConfiguration/com.apple.AutoWake.plist, but this file didn’t exist for me, apparently “confusing” Mac OS X. Without it, it would exhibit the symptoms I was encountering.
Following suggestions, I opened System Preferences > Energy Saver > Schedule, where you can schedule system sleeps and wakes. By toggling on a scheduled wake, clicking OK, then disabling it, the com.apple.AutoWake.plist was re-created, and left with no scheduled sleeps or wakes. So far, this has cured my MacBook Pro’s insomnia!
w00t finally someone thought of a good solution to this issue. I actually had called Apple and got no help.
Thanks Colin!
LikeLike
Woah!
I’ve had this issue with my iBook G4 for over a year now, NO one had any help for me… Thanks!
LikeLike
Thanks for this solution.
Although I don’t think it is a problem to me, I will implement it.
LikeLike
Brilliant. Thank you. Insomnia had troubled my machine for ages; now it sleeps like – well, like a dead lummp of metal. Cheers, Ol.
LikeLike
Correction. It worked once; the thing had a good kip, so good in fact, that it’s reverted to its evil ways.
I’ve tried disconnecting things, resetting things, etc. No difference. Then I set up another account – that sleeps beautifully. So it looks like a software problem.
Anybody got a brilliant idea?
LikeLike