Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

iMac 2011 3.4GHz 27" won't sleep

My iMac won't go to sleep. If I leave it on, it only ever puts the display to sleep after the designated time, but the HDD never goes off.

If I select Sleep from the Apple menu in the top left, the display goes off, then the HDD powers down. Then after a second or two, it all comes back to life.

Any help appreciated.

 iPhone 4 32Gb,  AppleTV2-OTHER,  iPad 2 64Gb 3G,  iMac 27" 3.4GHz

Posted on Jun 4, 2011 12:05 PM

Reply
Question marked as Best reply

Posted on Jun 4, 2011 12:16 PM

Have a look at > Mac OS X: Why your Mac might not sleep or stay in sleep mode

34 replies

Jun 5, 2011 2:42 AM in response to igmackenzie

I'm not out of the woods yet.

Although when I select 'sleep' from the menu it works, when I came back to my Mac this morning, the HDD was clearly on.

Looking at TIme Machine, it would seem that it still runs during the night. Now I don't know if that relates to having Outlook constantly running, as it also seems to defy Sleep and accepts emails being received throughout the night.

Is there not a setting that can disable this activity without shutting down TM and Outlook?

I never had this problem when I was on Windows! 😉

Jun 5, 2011 7:09 AM in response to igmackenzie

Personally I don't use Outlook or any other MS Office products, however any open and running application (Outlook) that is accessing the Hard Drive will prevent computer sleep. Re-read the following sections that I have highlighted in red from that Sleep Article above, note that (downloading large files and listing to iTunes) are being used as examples.


Sounds like Time Machine is doing what it should do (backup every hour when the system is up), however the External HD or another USB device could also be waking the iMac.



Why doesn't the computer go to sleep at the expected time based on Energy Saver settings?

You can configure Energy Saver preferences to set your computer to automatically sleep after a specified period of time; an internal counter called a "sleep timer" monitors the amount of time your computer has been inactive. When the counter's time matches the amount of time you specified, the computer enters sleep mode and displays a pulsing power light. (pulsing light on the older iMac's)

Some things reset the sleep timers, preventing the computer from sleeping:


  • Hard drive access (even if you're not using the computer, a running application might be accessing your drive, such as when downloading a large file or listening to music in iTunes)
  • Moving the mouse or using a portable Mac's trackpad, pressing a mouse button, or pressing a key on the keyboard
  • Some System Preferences settings (see below)
  • Open applications (see below)
  • Input devices (see below)
  • Expansion cards (see below)
  • Additional drives, such as USB, FireWire, DVD, or CD drives (see below)


In order to figure out what is waking or keeping the iMac awake, your going to have to eliminate them one by one and test it over time.

Jun 5, 2011 8:01 AM in response to den.thed

Thanks again.

I'm afraid I'm confused. That list is a selection of events that prevents the computer from sleeping. My problem now, is that it is woken from sleep. Now, I can sort of accept that running apps may cause this - even then I would expect that the system should be able to detect a sleep state and not receive emails - but why on earth would TM kick in when the system is sleeping, and there is nothing to back up?

I wouldn't have expected to have to shut down every running process when putting the computer to sleep.

Surely every TM user or anyone running an email client must face this issue, or is this somehow unique to me and my configuration?

Jun 5, 2011 8:53 AM in response to igmackenzie

The trick is in trying to pin point what caused it to not sleep in the first place or as now in your case what re-awoke it. I think that your issue may now be related to ether a main power fluctuation or a connected USB devise like your printer, your TimeMachine drive, or something of that nature? To briefly explain, if the iMac is sleeping and there is even the slightest power fluctuation from your mains or anyone of the USB devices connected, then the iMac can and will wake from sleep.


1. Go to: Applications > Utilities > open the Console and select All Messages.

2. Now scroll back in the Logs until the time that you put the iMac to sleep.

3. Then look at the next entry to see what woke the iMac.


Example:

Last night I slept my iMac from the drop down menu at 10:14:34 PM

6/4/11 10:14:34 PMkernelSystem Sleep

then I woke my iMac at 5:10:22 AM today by clicking my USB mouse

6/5/11 5:10:22 AMkernelWake reason = USB1


You are looking for is the Wake reason = ? in your Console logs.

Jun 5, 2011 8:58 AM in response to den.thed

After the last System Sleep, there are the following messages:


04/06/2011 21:47:10airportd[359]process_dlil_event: Set power failed err = -3903 (Operation not supported)

04/06/2011 21:47:10kernelWake reason =

04/06/2011 21:47:10kernelSystem Wake

04/06/2011 21:47:10kernel/drv/ MacModule.cpp:261 powerStateWillChangeTo: flags=82 stateNumber=4

04/06/2011 21:47:10kernel/drv/ MacModule.cpp:262 powerStateWillChangeTo: found flag=kIOPMPowerOn (2)

04/06/2011 21:47:10kernel/drv/ MacModule.cpp:267 powerStateWillChangeTo: found flag=kIOPMRestartCapability (80)

04/06/2011 21:47:10kernel/drv/ MacModule.cpp:261 powerStateDidChangeTo: flags=82 stateNumber=4

04/06/2011 21:47:10kernel/drv/ MacModule.cpp:262 powerStateDidChangeTo: found flag=kIOPMPowerOn (2)

04/06/2011 21:47:10kernel/drv/ MacModule.cpp:267 powerStateDidChangeTo: found flag=kIOPMRestartCapability (80)

04/06/2011 21:47:10kernelPrevious Sleep Cause: 5

amongst many others obviously!

Is there a clue there?

Jun 5, 2011 9:23 AM in response to igmackenzie

I'm no expert at reading the logs, but actually it looks more like it restarted than woke up from sleep.


At this point I would:


1. Reset the SMC

Intel-based Macs: Resetting the System Management Controller (SMC)


2. Then go to: System Preferences > Energy Saver and uncheck the box "Start up automatically after a power failure"

User uploaded file

Then if you find it off after a period of sleep, it probably lost power during that time.

Jun 9, 2011 4:55 PM in response to igmackenzie

The display will sleep even if something is using the CPU or accessing the Hard Drive, however the Computer will not.


Revisit "Why your iMac might not sleep or stay in sleep mode" above and then go to Applications > Utilities and open your Activity Monitor, then select All Processes and check to see what processes are actively running?

iMac 2011 3.4GHz 27" won't sleep

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.