diff options
author | 2023-11-11 23:17:04 +0100 | |
---|---|---|
committer | 2023-11-16 01:34:12 +0100 | |
commit | f37669119423ca852ca855b24732f25c0737aa57 (patch) | |
tree | a017e7647707fec7ff52b3e2c54b70765b56c018 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | Linux 6.7-rc1 (diff) | |
download | wireguard-linux-f37669119423ca852ca855b24732f25c0737aa57.tar.xz wireguard-linux-f37669119423ca852ca855b24732f25c0737aa57.zip |
power: supply: cw2015: correct time_to_empty units in sysfs
RRT_ALRT register holds remaining battery time in minutes therefore it
needs to be scaled accordingly when exposing TIME_TO_EMPTY via sysfs
expressed in seconds
Fixes: b4c7715c10c1 ("power: supply: add CellWise cw2015 fuel gauge driver")
Signed-off-by: Jan Palus <jpalus@fastmail.com>
Link: https://lore.kernel.org/r/20231111221704.5579-1-jpalus@fastmail.com
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions