This article explains that turning off a Windows PC with a power button short press is OK, because Windows goes through the same process as it does when the “Shut down” is initiated through the Windows interface. A long press, however, should be reserved for a frozen computer, because it causes power to the computer to be cut without an orderly shutdown.
But what about a Mac? I’ve done a fair amount of googling and haven’t found this issue directly addressed. Evidently, a long press should be reserved for the frozen computer, but is there a short press power button function that shuts down a Mac properly?
If you have one of those Macbooks where the power button is also Touch ID, pressing it locks the computer. Just FYI, it’s kind of cool if you didn’t know about it before.
I have multiple user accounts on my MacBook, but pressing the Touch ID button doesn’t switch user accounts. Is there a possibility that something might be configured differently on your MacBook?
I wonder if there’s a way to change it…
I always use Alfred to quickly turn on my screensaver. It saves me so much time!
Probably. After buying an M1 MacBook Air, this time I set up my normal user account with administrator privileges. In the past I had not operated as an administrator. But I also kept my old separate Admin account around as I was afraid to delete it and possibly cause ownership and privilege problems.
So after pressing the Touch ID button to lock the system from my normal user account, the login dialog that appeared was for the old separate Admin account. Not at all what I would want.
EDIT TO ADD: while typing this message I missed the answer given above …
The reason that I posted this question regarding the Mac power button function is that I am currently using an M1 Mac Mini. There is a mess of wires around the Mini and an attached Thunderbolt hub. When engaging with the Mini, wires, hub, it is really easy to inadvertently turn off the Mac. The power button is there is the middle of everything, and it doesn’t take much pressure to activate. So I guess I get a bad shutdown. It seems that the only safe thing to do, is to shut down before I try to handle the iMac or associated items. Clunky. I feel that Windows has it right on this issue. Maybe I should make a feature request to Apple.
As tomalmy indicated, using OnyX with the Power button box checked, a short press of the power button brought up the shutdown dialog. So this should prevent shutdown caused by accidentally pressing the power button.
Continuing with a long press while the shutdown dialog is still up, however, shut down the computer - a bad shutdown, so I won’t try that again.
The power plug is in there pretty good, but I can’t totally discount this possibility.