[kpowersave] added support for upower 0.99 and logind