power: qpnp-bms: improve coulomb counter shadow performance

Improve the shadow coulomb counter performance by keeping a software
shadow of it and periodically adding error compensated readings.

Change-Id: Ie549b7d0eef362f7473621de78f536173dcff09d
Signed-off-by: Xiaozhe Shi <xiaozhes@codeaurora.org>
1 file changed