Yep even mid range ones did so way back in the early 90s. It was a common fairly cheap feature that used rs232 mostly. In those days non unix systems did not care as much if powered down without warning. So us early (me 1996) Linux users really found it useful to have the ups initiate shutdown before it died. Windows users of the time only tended to worry if they had the PC running when not sat their. Few had internet at home in the early 90s and those that did were dil up. So for many it was not worth the cost when you could just turn off the PC if a power cut was long term.
Now with most people using laptops for casual use. I really cant imagin anyone buying one without the feature.
My cyberpower UPS works well. There's a service you can run to shut your computer down or whatever when it goes to battery power (check arch wiki) but it also works with GNOME (its displayed how a laptop battery would be displayed, but its labeled as a UPS) and it works well with NUT too.
I was happy with my cyber powers for years, but then the batteries died (official replacement batteries, after 3 years - the originals lasted 5) and the ups just stopped even passing power through. This is someone's old blog about this https://blog.networkprofile.org/cyberpower-ups-avoid/
Agreed; I have two Cyberpowers that NUTS works well with. That said, I hate configuring NUTS. It's like the sendmail of power supply management systems. I'm not aware of any others, though, so it's what there is.
Oh, and Home Assistant plays really well with NUTS!
I agree, configuration is text files like good old sendmail, what a nightmare memory, IIRC there was even books about configuring sendmail...
Anyway NUTS works well, at one time I even installed it on my ASUS router and set it as a IP server, and from a windows PC using winNUT I was able to see it.