We get a lot of power failures. I use laptops, but for other non-battery powered equipment, I have a BN1500M2-CA with a raspberry pi running debian plugged into one of the USB charging ports and the USB Data Port cable connected from the UPS to the raspberry pi. It keeps my ISP's 185 watt router going for longer than the ISP's switches will stay up when the power is out. I get more than 3 hours with the router and a 4K monitor plugged into the UPS. I remember seeing NUL characters in the text of an old log, but otherwise apcupsd works well:
2024-01-30 08:15:13 -0800 Power failure.
2024-01-30 08:15:19 -0800 Running on UPS batteries.
2024-01-30 08:20:06 -0800 Mains returned. No longer on UPS batteries.
2024-01-30 08:20:06 -0800 Power is back. UPS running on mains.
2024-02-04 12:52:58 -0800 Power failure.
2024-02-04 12:53:04 -0800 Running on UPS batteries.
2024-02-04 12:54:04 -0800 Mains returned. No longer on UPS batteries.
2024-02-04 12:54:04 -0800 Power is back. UPS running on mains.
2024-02-18 12:10:13 -0800 UPS Self Test switch to battery.
2024-02-18 12:10:21 -0800 UPS Self Test completed: Battery OK