/UPS_watcher

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

Primary LanguageShellGNU General Public License v2.0GPL-2.0

UPS_watcher

http://ubuntuforums.org/showthread.php?t=2186751

Keeps an eye on UPS state. If UPS is on battery, and falls below a certain percentage, the script runs whatever code you want, and suspends/hibernates/powers off the system.

See the ubuntu forums link above for a full description.