MickTheBelgian
Programmer
I program for a standalone Dell with UPS. The UPS software can shut down the PC but then it will not come up again by itself after the current comes back on. It is one of these "soft-power" things, I can set it to start after a power loss, but if it shuts down properly before the UPS is dead it will never feel the outage! So I need to detect when the UPS kicks in, shut down all strategic processes, and then allow the PC to crash when the UPS dies.
Any good suggestions for detecting when the UPS goes on batteries?
Any good suggestions for detecting when the UPS goes on batteries?