diff options
author | Dirk Brandewie <[email protected]> | 2012-01-24 09:26:08 -0800 |
---|---|---|
committer | Anton Vorontsov <[email protected]> | 2012-03-26 20:40:47 +0400 |
commit | 13e0aa469e11f31a83f32f614c1331630851af28 (patch) | |
tree | 37322f1fbb77d4c4b5512ffad5904f795cf94e1f /net/lapb/lapb_subr.c | |
parent | e5f3872d20448706d3bb8083ee82a9226d3f8b5c (diff) |
max17042: Change capacity property to use reported SOC register
The SOC register (0dh) reports the state of charge before empty
compensation adjustments are applied. The max value reported by this
register will decrease as the battery ages.
Use the RepSOC register (06h) to report the capacity of the
battery. RepSOC contains a filtered version of the battery capacity
after empty compensation adjustments have been applied.
Reported-by: Gary Keyes <[email protected]>
Signed-off-by: Dirk Brandewie <[email protected]>
Signed-off-by: Anton Vorontsov <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions