commit | 0622a43fff9f75fb49fea1616dbf00f26a375310 | [log] [tgz] |
---|---|---|
author | Abhijeet Dharmapurikar <adharmap@codeaurora.org> | Tue Aug 28 16:34:18 2012 -0700 |
committer | Abhijeet Dharmapurikar <adharmap@codeaurora.org> | Tue Aug 28 19:47:27 2012 -0700 |
tree | cf93f613f9015d3b30995ca061f0978ff99b8f94 | |
parent | 9e94898c6064304d421d0f17211f25f07927a9f1 [diff] |
power: pm8921-bms: update power supply class if soc changes There is a hearbeat loop that queries the state of charge (soc) every few seconds. If the soc changes multiple times in that period, we miss updating the userspace of those changes. The userspace will notice a big step in soc, which is undesirable. Update the userspace when the calculated SOC changes. Change-Id: I2c149e6edd7c194e7f31ece95e2003ffde935806 Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>