Hi Sonny, On Wed, May 6, 2020 at 9:35 AM Luiz Augusto von Dentz <luiz.dentz@xxxxxxxxx> wrote: > > Hi Marcel, Bastien, > > On Wed, May 6, 2020 at 7:14 AM Bastien Nocera <hadess@xxxxxxxxxx> wrote: > > > > On Wed, 2020-05-06 at 13:24 +0200, Marcel Holtmann wrote: > > > I have a little bit concern splitting this since battery service and > > > HoG are kinda connected. Wouldn’t it be better we have a cleaner > > > interface. Maybe we should actually integrate cleanly with > > > /dev/upower or similar. > > > > Wat? > > I guess Marcel was refering to something like uhid though Im not sure > that exists, or does it? That said one alternative would make uhid > integrate the battery status, but I guess devices can also expose this > over hid directly so I wonder if we can translate the Battery Service > status to hid power strength that way we don't need any communication > over D-Bus. Btw, Im fine with the option to disable building the battery plugin since platforms may not have a use for it, so except if there are some strong reason against it I will apply the patch. -- Luiz Augusto von Dentz