On Auto startup time delay to enter credentials

I have the scheduled power settings on my iMac to everyday power off at 16:30 and to restart at 06:00. If I catch it close after 06:00 I find the machine is on waiting for login. If i am too late, say 10 or so minutes after 06:00 I find the machine is powered off, presumably because I did not log in. I have never timed how long the allowed login delay is but seems about 10 min.

I would like to find the setting somewhere that I tell the Max to be a bit more lenient and give me at least say 30-60 minutes grace time to log in before giving up and powering down.

Anyone might know the setting? Google searches havenā€™t helped so far.

My thought is this is part of Apple Siliconā€™s aggressive power saving. Which takes its cues from your iPhone and iPad which shut down or quit apps every chance they get. On the flip side, they do start up again quickly. Which reminds me, sleeping vs powering off might eliminate the issue at the cost of a small amount of battery usage.

1 Like

It is an Intel iMac. No batteries for power involved.

Oh, Iā€™m so sorry ā€¦ may God have mercy on your soul! :slightly_smiling_face:

Yea. just waiting till i can join the cool kids.

1 Like

What version of macOS are you using? What model iMac?

macOS 12.5 but same issue before this upgrade. 2017 version of iMac.

Why donā€™t you just put him into sleep mode?

One reason is that sometimes sleep mode does not stick and I arrive in the am with it on. of course I have tried the various settings to stop that.

The bigger reason is that electricity costs are now extortionate and are said to go up by another 80% this winter. I am looking to save the power cost which is now no longer trivial.

This article might be interesting for you

1 Like

yea i get that and know that and it is cool. a point of view that I respect. It is valuable to repost it here.

i am not sure I believe their analysis and value the same things. but I still want to power down.

The article I shared was the first one I found in English, but I know this information from a couple different articles in Germany, some Informations that I read a couple of years ago on an Apple Help website (I currently donā€™t find again) and informations from an other forum about that, that was going along with some measurement I did for myself with one of the power outlets of my smart home, who could measure that.

Would you mind to explain, why you did not believe in the analysis in general?

Thanks for asking ā€¦ I have no basis to dispute the power consumption numbers, but you have tested so thatā€™s good info. Thanks.

But they list a lot of bullet points about the ā€˜greatā€™ things that will happen during PowerNap, and frankly I donā€™t really care about any of those things happening at night when PowerNap likely to be on. All those things will happen when I re-sit at the computer. And I trust (but donā€™t know how to verify) all the ā€œmaintenanceā€ things to the OS can also ā€œcatch upā€ and if catchup is not built in to Appleā€™s design, Iā€™d be really disappointed.

Further, for me (and I have data by monitoring the sleep log with:

pmset -g log|grep -e " Sleep " -e " Wake "

that if I put my machine to sleep end of day, for significant periods of time before the next day it actually is ā€œwokenā€ and stays that way. Cantā€™ find whatā€™s causing that or how to keep it in sleep. Simple as that.

All that aside ā€¦ Iā€™ll probably change to putting to sleep at end of day instead of powering off. Iā€™ll pay for electricity (but boy is it getting expensive).

My Intel Mac Mini is putting itself into sleep mode; apart from that I use scheduled power settings as you have described in your first post in this topic.

The Mac Mini is being connected to an Eve Energy plug. When the Mac is sleeping (Jump Desktop is showing if it is online), I will eventually shut off the power using the Eve Energy, when I do not need it. If I need the Mac Mini, I turn the Eve Energy back on. My Mac Mini will boot and present me with the Login Screen. This is the only reliable way I have found to connect to my headless Mac mini remotely without having it running 24/7 without sleep.

Yeah, I know. I am not supposed to do that. But I never had any issues, it works for me. Quick and dirty, but reliable. Again, yes, I know that it is kind of ā€œharshā€ to ā€œpull the plugā€ when the Mac is sleepingā€¦ :wink:

Thanks. Yes, I find scheduled power off, and then scheduled power back on works as we instruct the machineā€¦ For me, the machine doesnā€™t give me enough grace period to login after power on before it powers off.

The machine does not understand that my other machine (coffee maker in the morning) takes more than a few minutes to finish.

Thanks for letting me know what OS youā€™re running. Iā€™ve looked everywhere I can think of and canā€™t find out how long the Mac is supposed to wait for a login before shutting down after restarting. Personally, I always thought it would stay on indefinitely, but thatā€™s not what youā€™re seeing. (Unless, of course, what youā€™re seeing is not shutting itself off but is instead crashingā€¦.)

Either they shortened the period of time you have to log in or something has gone wrong with your settings. You could try resetting those settings. The article below might be out of date, but itā€™s a place to start:

http://www.thexlab.com/faqs/resetenergysaverprefs.html

Or a SMC reset might give it a kick.

I set my Mac Studio to start up a 6 am this morning. When I arrived at my desk at 6:30 the system was shut down. So I do not think it is an issue with the OPā€™s system.

Iā€™m running macOS 12.5.1.

Yes. Thatā€™s what I see, and hoping some setting would change the ā€œgraceā€ period.

For the time being, Iā€™m going to put the machine to ā€œsleepā€. But I have learned it wonā€™t stay sleeping overnight. Hereā€™s the costs Iā€™m trying to anticipate and get around.

Looking at yesterdayā€™s sleep/wake data, I estimate (by eye) for the 24 hour period. I turn on sleep at 17:00 and wake manually at 06:00 (13 hrs, but data shows it does not stay sleeping overnight), using Apples power consumption specs

  • Working: 20%, which is 4.8 hrs @ 100 Watts = 480 Watt-Hr
  • Idle: 50%, which is 12 hours @ 40.5 Watts = 486 Watt-Hr
  • Sleep 30%, which is 7.2 hrs @ 1.19 Watts = 8.6 Watt-Hr

Total Consumption for day ~ 480+486+9=975 Watt-Hr which is .975 kWh

Costs per year using published forecast prices in this country:

  • Now at $.33/kWH ā€¦ 0.975 kWh/d x $0.33/kWh x 365d/yr = $117/yr
  • Forecast 1 Jan 2023 ā€¦ 0.975 kWh/d x $0.98/kWh x 365d/yr = $349/yr
  • Forecast 1 Apr 2023 ā€¦ 0.975 kWh/d x $1.21/kWh x 365d/yr = $430/yr

That just for the computer.

It is what it is and maybe will be. Maybe it doesnā€™t matter.

(For kicks Iā€™m going to look more closely at the sleep/wake data that the Mac logs to get better computed of above guesses. Oh what we do when we have time on our hands!)

@margaretamartin Thanks for your time! Appreciate it.

I can confirm the machine is not crashing. Just shutting down if I donā€™t login. I havenā€™t SMCā€™d in a while, but I have done that in the past with no noticeable effect. I should have mentioned that already. And Yes, Iā€™ve reset the settings more than once.

Iā€™ve concluded that if there is a secret settings somewhere for ā€œgraceā€ period, itā€™s still ā€œsecretā€ and unknown.

Thanks again.

1 Like