Can OSx be set to shut down on low battery?

elf69

macrumors 68020
Original poster
Jun 2, 2016
2,316
482
Cornwall UK
This may well have been asked before.

I have a friend who recently swapped to mac.

A windows machine at set battery will power off.

Can a mac do this?

They want the machine to power off at low power but mac just goes to sleep.
When put charger in it wakes up.

Can the setting be changed?

I'm fine how it is but he a fussy person.
Other than that and few very minor issues he loves his move to mac

Edit:

Running mavericks
 

ApfelKuchen

macrumors 68040
Aug 28, 2012
3,142
1,804
Between the coasts
The fact that Windows machines shut down altogether doesn't mean it's necessarily the best thing to do. A full shut-down may require manually saving documents or force-quitting hung/non-responding apps, while sleep simply preserves the current state of the machine. Wake from sleep can also be much faster than a full reboot. So, just how much of an interruption should one put up with if it's just a matter of, "Whoops, gotta plug in the charger?"

Further, since Apple is in full control of both hardware and OS, they're able to tailor sleep/wake behavior in ways that relatively generic Windows can't.
 

whooleytoo

macrumors 604
Aug 2, 2002
6,559
628
Cork, Ireland.
I could be wrong... but I thought it actually did power-off eventually, but with a saved-state (so when you eventually charge it back up it restores back to where it was). If correct, that would seem to be the best approach generally.
 

smallcoffee

macrumors 68000
Oct 15, 2014
1,575
1,963
North America
I could be wrong... but I thought it actually did power-off eventually, but with a saved-state (so when you eventually charge it back up it restores back to where it was). If correct, that would seem to be the best approach generally.
Nah you're basically correct. So if you're just chugging along doing stuff and you forget to plug your Mac in and you run out of battery, it'll shut off and you will resume where you shut off.