Sleep settings - Sleep after “X” amount of time?

Benz63amg

macrumors 68030
Original poster
Oct 17, 2010
2,952
448
I just got a new 2019 iMac with macOS Mojave, I’m used to using El Capitan on my previous 2011 iMac and I had it set to tel the iMac to sleep after 3 hours automatically if there’s no activity,

How do I configure Mac OS Mojave to go to slee after 3 hours of inactivity? I have the turn off display after 5 minutes of inactivity but I can’t find where the setting is to tell the IMac to go to sleep after 3 hours?

Thank you in advance!
 

TimothyR734

macrumors 68000
Apr 10, 2018
1,892
1,604
Logsden Oregon
Under system Preferences -Energy Saver you can also set it to start up and go to sleep or shutdown as specified time under schedule at the bottom
 

niji

Contributor
Feb 9, 2003
1,496
1,214
tokyo
hi

System Preferences / Energy Saver settings may be what you are looking for.

it may be an understanding of just what Sleep vs. Inactivity settings accomplish.
you may be able to accomplish whatever it is you want to do by adjusting the Power nap setting and the Put hard disk to sleep when possible.
 

Benz63amg

macrumors 68030
Original poster
Oct 17, 2010
2,952
448
hi

System Preferences / Energy Saver settings may be what you are looking for.

it may be an understanding of just what Sleep vs. Inactivity settings accomplish.
you may be able to accomplish whatever it is you want to do by adjusting the Power nap setting and the Put hard disk to sleep when possible.
Under system Preferences -Energy Saver you can also set it to start up and go to sleep or shutdown as specified time under schedule at the bottom
So does the iMac just randomly go to sleep now? im really confused, Why did apple remove the Sleep after “X” amount of time setting? How do i tell the iMac to go to sleep only when im away from the computer for about an hour or so? i see the setting for the display to turn off and i set it to turn off after 5 minutes of inactivity but i dont understand how to configure when the iMac is going to go to sleep
 

DeltaMac

macrumors G3
Jul 30, 2003
9,605
2,352
Delaware
I seem to recall some conversation 2 or 3 years ago, when the chipset/CPU determined the sleep timing, and that setting was removed for some models. Something to do with a different method for deciding when to sleep/hibernate, with a fixed setting (maybe changeable from a pmset command -- I don't remember?)
Anyway, it's been probably 15 years since I even used the automatic sleep setting, unless I couldn't avoid it...
I always have set that so the Mac doesn't go to sleep on its own ---
But, when I know I am leaving the Mac, even for a few minutes, I almost always use a last step of choosing sleep.
It becomes muscle memory after you do it a few times. (It's a workflow change, maybe that will work for you, too :cool: )
 

gwang73

macrumors 65816
Jun 14, 2009
1,085
450
San Francisco Area
Use pmset in Terminal. It has more finite power management controls.

Type 'man pmset' for the user manual on how to use pmset settings.
 

niji

Contributor
Feb 9, 2003
1,496
1,214
tokyo
So does the iMac just randomly go to sleep now? im really confused, Why did apple remove the Sleep after “X” amount of time setting? How do i tell the iMac to go to sleep only when im away from the computer for about an hour or so? i see the setting for the display to turn off and i set it to turn off after 5 minutes of inactivity but i dont understand how to configure when the iMac is going to go to sleep
hi

as i mentioned, its really dependent on what you want your machine to do by go to "sleep".

- to get a screen saver on yr display, and, simultaneously lock the machine so no one can use it*, in Screen Saver preferences set the Screen Saver to turn on in x minutes.

- to conserve electricity/battery, then in Energy Saver you can do 3 things that accomplish that:
1 un-checking "Prevent computer from sleeping automatically when the display is off"
2 un-checking "Enable Power Nap"
3 checking "Put hard disks to sleep when possible"

to do what you wrote: "How do i tell the iMac to go to sleep only when im away from the computer for about an hour or so?"
go to System Preferences / Screen Saver and in the bottom left you see the box to set the time after inactivity when the screen saver comes on. this will also lock the machine when the screen saver is on.*
this by itself doesn't power down the machine.

*if you have your machine set to need a password to unlock it.