diff options
| author | Subbaraman Narayanamurthy <subbaram@codeaurora.org> | 2016-10-24 14:05:44 -0700 |
|---|---|---|
| committer | Subbaraman Narayanamurthy <subbaram@codeaurora.org> | 2016-10-24 14:05:44 -0700 |
| commit | 01109ac391bf63514a537eab825d7ac2d7dafb1a (patch) | |
| tree | ecfcd9ba5f1ac77d289e8804726ad55e03fcf10e /lib/mpi/mpi-cmp.c | |
| parent | f410c9200446e502e55456b0beda774a602bb3cf (diff) | |
qpnp-fg-gen3: Fix storing nominal capacity to actual capacity
Currently, nominal capacity is stored back to the actual capacity
only when the actual capacity is non-zero. However, that can be
true when the battery is inserted for the first time. This makes
the actual capacity to be stored only when a capacity learning
cycle completes. Other algorithms like to use actual capacity
before that. Fix it.
Change-Id: I346085ec722f491f96181ef1beb383710b441f4b
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions
