Skip to content

UPowerBackend: better check for availability

Méven Car requested to merge meven/powerdevil:try-fix-422111 into master

While activating, any service could get registered.

Replace convulated code by using org.freedesktop.DBus.Peer.Ping dbus method to check for UPower availability while implicitly starting it at the same time.

The previous code dated back from 2010-2013 like 27754717

CCBUG: 422111

cc @davidedmundson

Edited by Méven Car

Merge request reports