Question how to shut down gracefully on UPS?

luv2liv

Diamond Member
Dec 27, 2001
3,500
94
91
my desktop is plugged into an APC UPS, nothing fancy. i would love to have this desktop shuts down gracefully if it detects UPS is no longer being fed 120v ac from the house. how?
which UPS or what features should i look for?
 

WilliamM2

Platinum Member
Jun 14, 2012
2,829
799
136
my desktop is plugged into an APC UPS, nothing fancy. i would love to have this desktop shuts down gracefully if it detects UPS is no longer being fed 120v ac from the house. how?
which UPS or what features should i look for?
If running windows, plug a USB cable between the UPS and the computer. Windows will detect it automatically. Then click on the battery icon in the system tray, and you will find all the shutdown options there.
 

gdansk

Diamond Member
Feb 8, 2011
4,064
6,720
136
In windows do something like this:
1688153767987.png
(assuming it has USB cable to report battery status to your PC)

Or if it's a server running linux or some BSD install nut and set up the configuration. Other machines can also connect to the master to get UPS status updates.
 
Last edited:

aigomorla

CPU, Cases&Cooling Mod PC Gaming Mod Elite Member
Super Moderator
Sep 28, 2005
21,019
3,489
126
APC has software that will do what you want.


^ this is the only way.
It also requires you to connect the USB on the UPS to your PC directly.
The software will shutdown your system right away in the event of a power loss.

But most don't use it.
The point in the UPS primary is to stay on during power loss, in hopes that it gets restored before your battery is used up.
The second point is so you have enough time to save whatever data requires saving before you perform a physical shutdown.

If your after the second one, i don't think you would want software to shutdown your PC at UPS activation, and should always be done manually with you in front of the PC.
 

Fallen Kell

Diamond Member
Oct 9, 1999
6,143
501
126
Yeah, PowerChute is the way to go with an APC UPS. I have it on about 5 different personal systems (windows, linux, and solaris based). I have used it on about 30 more work systems (including multiple systems connected to the same APC unit, with just the single USB, in which case you had to have the other systems point to the main one to receive shutdown information, and the network based APC UPS systems wherein you tell all the systems the IP of the UPS). It works really well once you play around with it and get to understand it's capabilities.

I have most of mine setup such that they stagger shutdowns (on systems that share a single UPS) such that it would focus on keeping systems that I had file storage located as opposed to compute systems (so my fileserver VM stays on, but I shutdown all the other VMs on my main server, and I turn off the fileserver when there is just 5 minutes battery remaining in order to give it enough time to cleanly power off).
 
Last edited: