diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2016-06-29 19:28:01 +1000 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2016-07-07 11:25:50 +0200 |
commit | 5a2b190cddb9aa69b9037f5b1fd1c2cc8a1d68b9 (patch) | |
tree | b032a0cfcfc1a2de9460213dfbf4612296ce9d33 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 595d9e34eedc4b8d0631260ce93bbeb08e5b3bd7 (diff) |
HID: logitech-hidpp: add battery support for HID++ 2.0 devices
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@who-t.net>
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions