On 2026-10-21, Lucas de Sena <[email protected]> wrote: > Hi, > > I want to buy, for my home server, one of those "smart" UPS > (uninterruptible power supply, aka "no-break") that connects to the > computer via USB and asks the system to gracefully shut itself down > on a power outage when its battery gets low. > > Have you used any of those devices on OpenBSD? > Can you share your experience with it? > > My requirements are: > - Must (obviously) work on OpenBSD either on a base system or with > sysutils/apcupsd (or any other port). > - Must gracefully shut OpenBSD down on power outage. > - Small scale/low cost. I do not want to back up a racked server or > anything big... My home server is just a repurposed laptop with > broken screen and no battery that's connected on AC 24/7.
Just get a battery and shutdown based on hw.sensors.acpiac0.indicator0 (probably via sensorsd) or something... No point doing dc/ac/dc which is a bunch more equipment and inefficiency when you have hardware that can already do it. > - I do not care about battery capacity. Being able to shutdown the > system on a power outage is more important than keeping it powered > for a long time. > - Optionally, can be monitored via sensorsd. That's not actually > essential, tho. But is good to have. > > Thanks. > > -- Please keep replies on the mailing list.

