Want to highlight a helpful answer? Upvote!

Did someone help you, or did an answer or User Tip resolve your issue? Upvote by selecting the upvote arrow. Your feedback helps others! Learn more about when to upvote >

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Auto-Shutdown with APC UPS Does Not Work on M1 Mac Mini (Monterey 12.2.1)

Energy Saver Auto-Shutdown options with an UPS are not working on my M1 Mac Mini running Monterey 12.2.1 with APC Back-UPS BE860HG2.


We need the M1 Mac Mini to shutdown after 60 seconds when UPS loses power. I have set this option in the energy saver settings under UPS, but the Mac Mini never shuts down. No matter what I set, it never shuts down or gives any indication of shutting down.


This M1 mac mini has had its data migrated from a Time Machine

backup of an Intel Mac Mini running OS X El Capitan 10.11.6.


The only thing that does work is a warning when the Mac Mini is drawing from the UPS.


Does anyone have any suggestions? Nothing in the previous threads have worked.


Here are the relevant settings:


pmset -g

System-wide power settings:
Currently in use:
 disksleep            10
 powernap             1
 womp                 1
 networkoversleep     0
 sleep                0 (sleep prevented by coreaudiod, bluetoothd, powerd)
 Sleep On Power Button 1
 ttyskeepawake        1
 tcpkeepalive         1
 autorestart          1
 standby              0


pmset -g ups

UPS settings:
  haltlevel on  100
  haltafter on  1
  haltremain    on  15


When UPS plugged in:

Now drawing from 'AC Power'
 -Back-UPS ES 850G2 FW:931.a10.D USB FW:a10 (id=25296896)   74%; charging present: true


When UPS unplugged:

Now drawing from 'UPS Power'
 -Back-UPS ES 850G2 FW:931.a10.D USB FW:a10 (id=25296896)   74%; discharging; 4:14 remaining present: true



This is so frustrating to have a machine that does not do what it is clearly set to do.


Does anyone have any suggestions? I can find zero information on anything that might be causing this.

Mac mini 2018 or later

Posted on Feb 22, 2022 9:29 AM

Reply
Question marked as Best reply

Posted on Feb 22, 2022 4:59 PM

This is a Mac Mini, which does not have battery options. (It is not a portable).


I have attached images of the Energy Saver menu at the end of the post. Also, 100% this issue is not with the energy saver preferences. It is guaranteed something deeper with the Monterey.


I dug deeper with Monterey in the activity logs and found these few items:


When the UPS disconnects from AC power I get this dispatch event:


dispatchEvent: {
    "Current Capacity" = 97;
    "Delayed Remove Power" = "-1";
    "Enable Audible Alarm" = 2;
    "Is Charging" = 0;
    "Max Capacity" = 100;
    "Power Source State" = "Battery Power";
    "Set Required Voltage" = 120;
    "Time to Empty" = 333;
    Voltage = 0;
}

Followed by this series of console logs that show the machine detects power has been turned off, and appears to have started a timer. Apologies for the image, its not clear how I can copy all these logs out easily. If you right click "open in new tab" you can see the full res log image for diagnostics.






Similar questions

23 replies

Auto-Shutdown with APC UPS Does Not Work on M1 Mac Mini (Monterey 12.2.1)

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.