Sleep Mode in iMac

iMac OS 14.3 Sonoma does NOT stay asleep through the night. It is waking up 2-3 times a night for some reason or another (I do not know why). I suspect there is a parameter or toggle which is NOT allowing the iMac from staying asleep until 7:00AM as it is supposed to.

The only way I can sleep thru the night is by SHUTTING DOWN the iMac. That cannot be right?

Can someone help me out her, please.

iMac 24″, macOS 14.3

Posted on Jan 31, 2024 12:30 PM

Reply
9 replies

Feb 1, 2024 1:26 PM in response to rbfrank

I have my Mac auto shut down at night and auto start up in the morning using terminal commands. Here is an example:


Using Terminal to set start up and shut down each day

 

Separately:


Shut down each day at 9:30 pm:


Sudo pmset repeat shutdown MTWRFSU 21:30:00  and hit return


Enter PW if required



Startup every day at 6:00AM:


Sudo pmset repeat wake MTWRFSU 6:00:00 and hit return


To have both startup and shutdown:


Sudo pmset repeat poweron MTWRFSU 6:00:00 shutdown MTWRFSU 21:30:00


To check if these were set:


Pmset -g sched




To cancel all settings:


Sudo pmset repeat cancel and hit return




Monday=M

Tuesday=T

Wednesday=W

Thursday=R

Friday=F

Saturday=S

Sunday=U

Jan 31, 2024 2:52 PM in response to rbfrank

From the Mac OS User Guide: Set sleep and wake settings for your Mac - Apple Support


Set your Mac to go to sleep after inactivity

  1. On your Mac, choose Apple menu  > System Settings, then click Lock Screen  in the sidebar. (You may need to scroll down.)
  2. Do any of the following:
    • Click the pop-up menu next to “Turn display off on battery when inactive” on the right, then choose an option.
    • Click the pop-up menu next to “Turn display off on power adapter when inactive” on the right, then choose an option.



Jan 31, 2024 4:08 PM in response to rbfrank

Since the newer Macs are all solid state it's beneficial (IMO) to turn them off at night as that will clear out temporary system and application cache and swap files. This can help improve overall system/application performance.


If you're set on not turning off at night make sure this feature is turned ON and then use the screensaver to turn off the display after a fixed time.



Feb 1, 2024 6:25 AM in response to rkaufmann87

  1. I don't think my iMac has this feature. I cannot find it..........

.Do any of the following:

    • Click the pop-up menu next to “Turn display off on battery when inactive” on the right, then choose an option.
    • Click the pop-up menu next to “Turn display off on power adapter when inactive” on the right, then choose an option.

Please let me know where exactly that pop-up is. Thanks


Feb 1, 2024 6:30 AM in response to Old Toad

Am I correct in understanding this is when the command is ON, it will NOT allow automatic sleeping when the display is OFF, and therefore the display will stay in OFF until the following day at the set schedule, where it will turn ON again. Is this correct? I will try it to see if it works. [Sounds confusing to me, but I will set it and see what happens tonight]. Thanks

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Sleep Mode in iMac

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