# {{ ansible_managed }} [{{ ups_name }}] driver = usbhid-ups port = auto vendorid = {{ ups_vendorid }} productid = {{ ups_productid }} desc = "{{ ups_desc }}" # CyberPower asserts its own low-battery flag around 20-35%, far too # early for us. Ignore it and derive LB from our own threshold so # upsmon fires SHUTDOWNCMD at exactly {{ ups_low_charge_pct }}%. ignorelb override.battery.charge.low = {{ ups_low_charge_pct }} # Unlock driver.killpower. Without this the driver refuses to cut UPS # output at shutdown, and the R415's always-on power restore policy # would never see AC drop and return - i.e. nothing comes back after a # deep outage. See README.md. allow_killpower