Nachádzate sa tu

NUT - Network UPS Tools

Ubuntu/Mint
sudo apt install nut

lsusb

Bus 001 Device 003: ID 051d:0002 American Power Conversion Uninterruptible Power Supply

sudo nut-scanner

[nutdev1]
    driver = "usbhid-ups"
    port = "auto"
    vendorid = "051D"
    productid = "0002"
    product = "Back-UPS ES 550G FW:870.O2 .I USB FW:O2"
    serial = "5B1148T20136"
    vendor = "APC"
    bus = "001"

/etc/nut/nut.conf
MODE=standalone

/etc/nut/ups.conf
[ups]
    driver = "usbhid-ups"
    port = "auto"
    vendorid = "051D"
    productid = "0002"
    product = "Back-UPS ES 550G FW:870.O2 .I USB FW:O2"
    serial = "5B1148T20136"
    vendor = "APC"
    bus = "001"

upsc ups

sudo service nut-server status

Debian !!!! config without quotes !!!!
[ups]
    driver = usbhid-ups
    port = auto
    vendorid = 051D
    productid = 0002

Disable beeper

/etc/nut/upsd.users
[ups]
password = "ups"
actions = SET
instcmds = ALL

sudo upscmd -l ups
sudo upscmd ups beeper.disable
sudo upscmd ups beeper.off