dbus would bring observation of the power to the Linux platform: http://upower.freedesktop.org/docs/UPower.html