diff options
| author | Subbaraman Narayanamurthy <subbaram@codeaurora.org> | 2016-10-21 17:30:46 -0700 |
|---|---|---|
| committer | Subbaraman Narayanamurthy <subbaram@codeaurora.org> | 2016-10-24 10:35:08 -0700 |
| commit | f410c9200446e502e55456b0beda774a602bb3cf (patch) | |
| tree | 0a975e2354fb0a89afff6870e8b2289c226ff391 /fs/jbd2/commit.c | |
| parent | b9c370a5829b97b2f5d3a163fa9e28108188ed3d (diff) | |
smb-lib: update displaying battery overvoltage in health property
Currently, smb2 charger is configured to not end the charging
cycle when battery overvoltage occurs. However, when the battery
overvoltage status is read, it will be displayed through health
property. Improve this by reading the battery voltage and check
whether it is within 40mV headroom above float voltage. If it is
above that threshold then continue with displaying overvoltage
status.
CRs-Fixed: 1079363
Change-Id: I45847f446c91c80a5110d80b59a0ae4b8e2c40e5
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions
