Keeps an eye on UPS state. If UPS is on battery, and falls below a certain percentage, run some code and suspend/hibernate the system