My laptop had finally been cured of it's insomnia. So, with baited breath I closed the lid and waited a couple seconds.pure silence. Command Prompt now displays a list of programs that prevent your PC from going into sleep mode. from not having the groceries in time or waking up late, a minimal amount of stress can accumulate into something. On the Command Prompt window, type the following command and press Enter: powercfg /requests. Select Yes in the User Account Control prompt. You can run a macbook with the lid closed by connecting the power adapter, closing the lid, wait for it to go to sleep, and then connect a usb device. No more processes or assertion statuses indicating the system was preventing itself from sleeping. Launch the Start menu, search for Command Prompt, and select Run as administrator. After quickly killing this unruly guest and checking pmset again: I opened up my print queue from the preferences pane and voila, a stalled job was sitting there mocking me. So, more than likely there was a stalled print job that was keeping the process open, waiting to complete, before allowing the system to go to sleep (which makes logical sense to prevent a print job from being interrupted). Who, what and why? CUPS allows macs to act as print servers essentially allowing the computer to queue up print jobs. A cupsd process was preventing my laptop from taking a much deserved nap. The last line in the output is the smoking gun. Why I didn't just do this from the beginning I don't know aside from maybe I am a masochist. If something is keeping your mac awake, BAM! you know what it is. First things first, pmset is a godsend for this exact issue. So, digging into my techie war chest it was time to hit the old Terminal and get under the hood. Now, I could have just restarted my computer to see if that resolved the issue.
I checked the software I installed (nope), the updates I applied (nope), the accessories I had plugged in (nope), the second monitor (nope), on and on but nothing seemed to be the thorn in his side.
So, like any good techie, I backtracked everything I had done over the last two weeks to see what could be the pea in my laptop's mattress.
While I do love when my pets are excited to see me, this seemed to be a bit of a waste. Well, two weeks later and my poor little guy hadn't slept a wink.Įveryday I'd close the lid and go about my business only to find it still purring along waiting for my return. While peculiar, I didn't worry about it since I had just installed some software recently and figured that might be the reason for my laptop's new found bout of insomnia.
Sometime over the last couple weeks my MacBook Pro running OS X Lion (10.7.3) decided it no longer needed to sleep.