Is this an endless loop that runs until /etc/killpower exists, executing upsdrvctl shutdown every second?
Is this the alternate shutdown command in the ups config?
Should I be able to simulate /lib/nut/usbhid-ups -a ups -k via command line? That doesn’t seem to work, coming back with the Can't claim USB device [051d:0002]@0/0: Entity not found error.