diff options
author | Benjamin Tissoires <benjamin.tissoires@redhat.com> | 2017-03-27 16:59:36 +0200 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2017-04-06 14:36:39 +0200 |
commit | 5b036ea18e13e006e99cb197e9aceb09d897d20a (patch) | |
tree | 0bc7406942824db5f2c05e45dcdcbc15f393328d /lib/reciprocal_div.c | |
parent | 14f437a1d7b49a2e873f63436526f9aed3a781c3 (diff) | |
download | linux-5b036ea18e13e006e99cb197e9aceb09d897d20a.tar.bz2 |
HID: logitech-hidpp: battery: provide CAPACITY_LEVEL
CAPACITY LEVEL allows to forward rough information on the battery mileage.
HID++ 2.0 devices will either report percentage or levels, so better
forwarding this information to the user space.
The M325 supports only 2 levels: 'Full' and 'Critical'. With mileage,
it will report either 90% or 5%, which might confuse users. With this
change the battery will either report "Full" or "Critical".
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Tested-by: Bastien Nocera <hadess@hadess.net>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'lib/reciprocal_div.c')
0 files changed, 0 insertions, 0 deletions