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!
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.
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?
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.
Last night I slept my iMac from the drop down menu at 10:14:34 PM
6/4/11 10:14:34 PM kernel System Sleep
then I woke my iMac at 5:10:22 AM today by clicking my USB mouse
6/5/11 5:10:22 AM kernel Wake reason = USB1
You are looking for is the Wake reason = ? in your Console logs.
After the last System Sleep, there are the following messages:
04/06/2011 21:47:10 airportd process_dlil_event: Set power failed err = -3903 (Operation not supported)
04/06/2011 21:47:10 kernel Wake reason =
04/06/2011 21:47:10 kernel System Wake
04/06/2011 21:47:10 kernel /drv/ MacModule.cpp:261 powerStateWillChangeTo: flags=82 stateNumber=4
04/06/2011 21:47:10 kernel /drv/ MacModule.cpp:262 powerStateWillChangeTo: found flag=kIOPMPowerOn (2)
04/06/2011 21:47:10 kernel /drv/ MacModule.cpp:267 powerStateWillChangeTo: found flag=kIOPMRestartCapability (80)
04/06/2011 21:47:10 kernel /drv/ MacModule.cpp:261 powerStateDidChangeTo: flags=82 stateNumber=4
04/06/2011 21:47:10 kernel /drv/ MacModule.cpp:262 powerStateDidChangeTo: found flag=kIOPMPowerOn (2)
04/06/2011 21:47:10 kernel /drv/ MacModule.cpp:267 powerStateDidChangeTo: found flag=kIOPMRestartCapability (80)
04/06/2011 21:47:10 kernel Previous Sleep Cause: 5
amongst many others obviously!
Is there a clue there?
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
2. Then go to: System Preferences > Energy Saver and uncheck the box "Start up automatically after a power failure"
Then if you find it off after a period of sleep, it probably lost power during that time.