[kpowermanager] allow to use deprecated upower API