[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Wed, 4 Apr 2018 10:33:16 +0200 (CEST)
From: Jiri Kosina <jikos@...nel.org>
To: Martin van Es <martin@...anes.com>
cc: Dmitry Torokhov <dmitry.torokhov@...il.com>,
Martin <bugs@...anes.com>,
Benjamin Tissoires <benjamin.tissoires@...hat.com>,
linux-input@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] HID: input: fix battery level reporting on BT mice
On Tue, 3 Apr 2018, Martin van Es wrote:
> Hi Dimitry,
>
> I reapplied the 3 commits I had to revert earlier and applied your patch. Have
> correct battery level reading on my BT mouse back!
>
> /sys/class/power_supply/hid-00:1f:20:fd:cb:be-battery# grep "" *
> capacity:53
> grep: device: Is a directory
> model_name:Bluetooth Mouse M336/M337/M535
> online:1
> grep: power: Is a directory
> grep: powers: Is a directory
> present:1
> scope:Device
> status:Discharging
> grep: subsystem: Is a directory
> type:Battery
> uevent:POWER_SUPPLY_NAME=hid-00:1f:20:fd:cb:be-battery
> uevent:POWER_SUPPLY_PRESENT=1
> uevent:POWER_SUPPLY_ONLINE=1
> uevent:POWER_SUPPLY_CAPACITY=53
> uevent:POWER_SUPPLY_MODEL_NAME=Bluetooth Mouse M336/M337/M535
> uevent:POWER_SUPPLY_STATUS=Discharging
> uevent:POWER_SUPPLY_SCOPE=Device
>
> rdesc file is attached
>
> Thx for the effort!
Can I add your Tested-by: while applying the commit?
Thanks,
--
Jiri Kosina
SUSE Labs
Powered by blists - more mailing lists