Power management for my miniPC

TheEngineer

Recruit
I'm running m920q as a homelab server for my selfhosting needs. Other than main power, I have genset and APC back-UPS 1100 (apc bx1100c-in). I have genset backup most of the time, the switchover is uninterrupted due to UPS.

The UPS capable for 30mins powering the Server.

What would be my power management solution if mains power failure more than 30 mins?

Should I add additional circuitary for my ups to detect power failure, battery level monitoring and signalling? Is any such options available?

(OR)

Should I go with simple timer and power failure detection?

(OR)

Any other recommendations?
 
Do you want to increase backup time or just want to safely shutdown the machine on power failure which lasts more than say 20-25 minutes?

Regarding the latter, I think it would be easier with a UPS which offers a communication port so that you can interact with the UPS to detect power failure and estimate run time. Or you might need a DC communication interface like this, would require a DIY mod to the UPS though.