- Hack
powerd.c
to monitor the line indicating that the batteries
are low. When the batteries get low, do an immediate shutdown.
- Modify shutdown procedure so that if it's shutting down in a
powerfail situation, then it turns off the UPS after doing
everything necessary.