diff options
author | Daniel Mack <[email protected]> | 2009-07-15 18:20:41 +0200 |
---|---|---|
committer | Anton Vorontsov <[email protected]> | 2009-07-30 17:37:06 +0400 |
commit | 25f2bfa62ae77820a8185734c4a2ab7f3971a2fc (patch) | |
tree | 2809f7c45ed0e379cf11d3c2a6aa98d5d7996156 /tools/perf/scripts/python/check-perf-trace.py | |
parent | c1e72193ea3fa02e96bf3aa66006e18d107d0266 (diff) |
ds2760_battery: handle full_active_uAh == 0 case correctly
In systems where the battery monitor is not part of the battery pack and
is hence not bootstrapped with sane values, the full_active_uAh is
likely to be zero.
Handle that case by defaulting to the rated_capacity information which
can be passed to the driver using the new module parameter.
Signed-off-by: Daniel Mack <[email protected]>
Cc: Szabolcs Gyurko <[email protected]>
Acked-by: Matt Reimer <[email protected]>
Signed-off-by: Anton Vorontsov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions