Re: [PATCH v3 1/2] HID: input: do not query XP-PEN Deco LW battery

From: José Expósito
Date: Sat Oct 29 2022 - 14:13:55 EST


Hi!

On Sat, Oct 29, 2022 at 08:34:46PM +0300, Mia Kanashi wrote:
> On 29 October 2022 19:12:39 EEST, "José Expósito" <jose.exposito89@xxxxxxxxx> wrote:
> >The XP-PEN Deco LW drawing tablet can be connected by USB cable or using
> >a USB Bluetooth dongle. When it is connected using the dongle, there
> >might be a small delay until the tablet is paired with the dongle.
> >
> >Fetching the device battery during this delay results in random battery
> >percentage values.
> >
> >Add a quirk to avoid actively querying the battery percentage and wait
> >for the device to report it on its own.
> >
> >Reported-by: Mia Kanashi <chad@xxxxxxxxxxxxx>
> >Signed-off-by: José Expósito <jose.exposito89@xxxxxxxxx>
> >
> > [...]
>
> I've tested this patch and now power supply status is correctly set to Unknown and capacity is set to 0 initially.
>
> Just a note that that issue occured not only with the dongle, but a cable also.
> It seems that tablet just doesn't respond to the query.
>
> Thank you for the work!

Thanks a lot for testing it, I'm glad it's working :D

Jose