These notes from http://tedfelix.com/software/nut-network-ups-tools.html and https://zackreed.me/installing-nut-on-ubuntu/
- Install NUT
$ sudo apt-get install nut
- Identify UPS
$ lsusb
You may see something likeBus 006 Device 005: ID 0764:0501 Cyber Power System, Inc. CP1500 AVR UPS
- Update ups.conf
$ nano /etc/nut/ups.conf
Add to end of file for a USB connected UPS (e.g. CyberPower 1285 AVR)