Re: [PATCH v3 00/19] Report power supply from hid-logitech-hidpp
From: Bastien Nocera
Date: Thu Jun 01 2017 - 15:35:49 EST
On Thu, 2017-06-01 at 11:06 -0700, Dave Hansen wrote:
> On 03/27/2017 07:59 AM, Benjamin Tissoires wrote:
> > this is finally a rework of the series that provides kernel
> > power_supply
> > for hidpp devices.
> >
> > This will allow upower to not handle those devices anymore and to
> > have more
> > immediate reportng of the device to the system.
>
> FWIW, I'm on Ubuntu 14.04, and upower *is* reporting my mouse battery
> as
> if it were a laptop battery. It's mostly garbage, and always reports
> 0%, which makes upower always tell me my laptop is 2/3 charged (I
> have 2
> real batteries).
>
> Is this expected?
You need to either disable the feature for the kernel, or upgrade to
the latest git master of UPower. Mixing both won't work. Use the devkit
mailing-list if you need a release of UPower.
Cheers