Re: [PATCH] HID: magicmouse: Report battery level over USB

From: Jiri Kosina
Date: Fri Nov 19 2021 - 10:02:12 EST


On Thu, 18 Nov 2021, José Expósito wrote:

> When connected over USB, the Apple Magic Mouse 2 and the Apple Magic
> Trackpad 2 register multiple interfaces, one of them is used to report
> the battery level.
>
> However, unlike when connected over Bluetooth, the battery level is not
> reported automatically and it is required to fetch it manually.
>
> Fix the battery report descriptor and add a timer to fetch the battery
> level.
>
> Signed-off-by: José Expósito <jose.exposito89@xxxxxxxxx>

Applied, thanks José.

--
Jiri Kosina
SUSE Labs