If it has USB connection to the PC you could program it to stop mining immediately when on battery, then wait a while for power to come back and either resume when AC comes back, or shutdown. Might make for an interesting project.
Personally I never worried about putting my miners on an UPS; I just set everything to auto start the system after power loss and configure everything to start mining as soon as booting is complete. Of course for workstation/ZFS use in addition to mining I'd definitely do what you're doing.
How would I achieve starting/stopping xmrstak using the UPS software? I don't see any options manipulating software through the Cyberpower software.
Last edited: