upower-1.0 changes

This commit is based on

https://git.gnome.org/browse/gnome-session/commit/?id=3b518cadecf07f3885b2207152fff92e4f4aaff1