[CentOS] 2 questions re UPS management

Tue Mar 19 16:14:57 UTC 2013
Markku Kolkka <markku.kolkka at saunalahti.fi>

19.3.2013 16:55, Fred Smith kirjoitti:
> Hi, trying to figure out how the system manages UPS connections. On both
> Centos 5.9 and 6.4, merely plugging in a USB UPS device causes an icon
> to appear in the top panel, and (at least on 5.9, haven't yet tested
> this in 6.4) when the UPS suffers a power failure the system notices
> and after a bit does a clean shutdown.

If you are using the default GNOME desktop, then that's the GNOME Power
Manager: http://projects.gnome.org/gnome-power-manager/

> The question here is: how does this magic all work?

It uses DBus and the UPower service. See: http://upower.freedesktop.org/

-- 
    Markku Kolkka
    markku.kolkka at iki.fi