On Sat, Feb 16, 2013 at 9:53 AM, Sanket Shah <88.sanket(a)gmail.com> wrote:
The USB will work for sure to detect power failure but how will you
communicate to "dumb" ups from the computer? Curious.
Make take on this question - the UPS is dumb we cannot communicate
with it at all. I guess, the idea here is to initiate a proper system
shutdown (file system integrity etc.) when the power goes down. The
"dumb" UPS is *not* giving any info at present.
With a solution like this, the OS would detect that mains power has
gone and that it is running on battery back up. It could take proper
action per the configuration - e.g. wait X mins. poll again and if
still down then do a poweroff etc.
-- Arun Khan