On Tue, 2020-11-24 at 17:20 -0800, Sonny Sasaka wrote: > > If we move BatteryProviderManager1 to the device object, that means > we > can't use the object manager style and providers have to register > each > battery once rather than registering once in the beginning and expose > several objects afterwards, so this would lose your suggestion to use > object manager in the first place. I prefer we stick to using object > manager style, it is simple, easy to understand and implement for > providers (refer to my python test app in one of the patches in this > series). org.freedesktop.DBus.ObjectManager.InterfacesAdded would show the interface appearing. It's also what UPower expects bluez to do.