commit | f1913b611b959e3014eb220649dc210516fd4101 | [log] [tgz] |
---|---|---|
author | Abhijeet Dharmapurikar <adharmap@codeaurora.org> | Wed Feb 13 16:47:14 2013 -0800 |
committer | Abhijeet Dharmapurikar <adharmap@codeaurora.org> | Tue Feb 19 23:35:32 2013 -0800 |
tree | 5d5681fa2bdc9e4ebbeefd6b3f5cb2c90c206698 | |
parent | a937bc40de6fe988f85b5708e123959f9d85320c [diff] |
power: pm8921-bms: optimize finding ocv The current code returns if the OCV is within 1% of the expected percent charge. This is suboptimal and instead it should try to be find an OCV that results exactly in the desired percent charge. Change-Id: If0918d0fb386719487c2e0dfa24c255b3c32c5dc Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>