Maintenance
UPS init scripts are the following:
/etc/init.d/upsdrv (initialize the driver infraestructure)
/etc/init.d/upsd (ups daemon)
/etc/init.d/upsmon (ups monitoring utility – programmed to shut down the system when battery is critically low and power is unplugged)
Retrieving UPS info (all):
upsc myups@localhost
This command can also be executed in user mode (does not need admin privileges)
Fixing communication issues:
- Disconnect usb (either physically or through kernel interface)
- Restart init scripts:
/etc/init.d/upsdrv restart /etc/init.d/upsd restart /etc/init.d/upsmon restart