Re: [PATCH 1/2] HID: logitech-hidpp: add battery support for HID++ 2.0 devices

From: Jiri Kosina
Date: Thu Jul 07 2016 - 05:35:11 EST


On Wed, 29 Jun 2016, Peter Hutterer wrote:

> If the 0x1000 Unified Battery Level Status feature exists, expose the battery
> level.
>
> The main drawback is that while a device is plugged in its battery level is 0.
> To avoid exposing that as 0% charge we make up a number based on the charging
> status.
>
> Signed-off-by: Peter Hutterer <peter.hutterer@xxxxxxxxx>
> Signed-off-by: Benjamin Tissoires <benjamin.tissoires@xxxxxxxxxx>

Merged both patches to hid.git#for-4.8/logitech-hidpp-battery. Thanks,

--
Jiri Kosina
SUSE Labs