OK I’ll give it a try. I guess I can always set pmset -a autopoweroff 1 if it fails?
Technically the -a flag is affecting all power profiles - if you want a lighter touch you might want -c (wall power) or -u (ups) - maybe your two machines are on different profiles because one knows a UPS is connected? The other profile -b (battery) i think is for when the UPS is supplying current rather than wall.
Actually, this is interesting - my cMP at home shows this, suggesting that -1 might be when the computer things its running off the battery...? My work machine with no ups just shows AC Power 2*
Is it possible you swapped the settings for your two machines? If the machine things its running off the ups battery, that might explain why its shutting down...
(home cMP off UPS)
dhdesktophome:~ dhartman$ pmset -a -g
Active Profiles:
UPS Power -1
AC Power 2*
Currently in use:
hibernatemode 0
womp 1
networkoversleep 0
sleep 10 (sleep prevented by screensharingd)
Sleep On Power Button 1
ttyskeepawake 1
hibernatefile /var/vm/sleepimage
autorestart 0
disksleep 10
displaysleep 10
Work imac w/o UPS
Dans-iMac:~ dhartman$ pmset -a -g
Active Profiles:
AC Power 2*
Currently in use:
hibernatemode 0
halfdim 1
womp 1
networkoversleep 0
sleep 10 (sleep prevented by iTunes, coreaudiod)
Sleep On Power Button 1
ttyskeepawake 1
hibernatefile /var/vm/sleepimage
autorestart 0
disksleep 10
displaysleep 10