commit | 35b82e43a1a1b7c90a6c534decefb2a57ba68718 | [log] [tgz] |
---|---|---|
author | Xiaozhe Shi <xiaozhes@codeaurora.org> | Tue Feb 12 23:17:54 2013 -0800 |
committer | Xiaozhe Shi <xiaozhes@codeaurora.org> | Fri Feb 15 16:04:36 2013 -0800 |
tree | e9c6cab0cdcb68d60ad2f0659965a1fcf56abc74 | |
parent | e8bfc805d59d6ce80d7dcc79be1c39304ce931d4 [diff] |
power: pm8921-bms: Fix CC conversion precision In a previous patch, the precision of the coulomb counter conversion was reduced. Fix this by converting the CC value to picovolt-hours before dividing by r_sense uohm to convert back to microvolt-hours. Change-Id: I2cb4f99ea3636159dfefd2747b24e6ac3bbb7a04 Signed-off-by: Xiaozhe Shi <xiaozhes@codeaurora.org>