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