lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Thu, 1 Jun 2017 11:06:11 -0700
From:   Dave Hansen <dave.hansen@...el.com>
To:     Benjamin Tissoires <benjamin.tissoires@...hat.com>,
        Jiri Kosina <jikos@...nel.org>,
        Bastien Nocera <hadess@...ess.net>
Cc:     linux-input@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v3 00/19] Report power supply from hid-logitech-hidpp

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?

> $ upower --dump
> Device: /org/freedesktop/UPower/devices/battery_hidpp_battery_0
>   native-path:          hidpp_battery_0
>   vendor:               Logitech
>   model:                Performance MX
>   serial:               101a-92-ca-86-1e
>   power supply:         no
>   updated:              Thu 01 Jun 2017 11:04:02 AM PDT (22 seconds ago)
>   has history:          yes
>   has statistics:       yes
>   battery
>     present:             yes
>     rechargeable:        yes
>     state:               discharging
>     energy:              0 Wh
>     energy-empty:        0 Wh
>     energy-full:         0 Wh
>     energy-full-design:  0 Wh
>     energy-rate:         0 W
>     percentage:          0%
>     capacity:            100%
>   History (charge):
>     1496340177	0.000	unknown
>   History (rate):
>     1496340177	0.000	unknown

$ upower --version
UPower client version 0.9.23
UPower daemon version 0.9.23


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ