commit | 205bbc0b6ba618d71d72d1e0d89fe63b53616321 | [log] [tgz] |
---|---|---|
author | Abhijeet Dharmapurikar <adharmap@codeaurora.org> | Fri Nov 04 14:47:36 2011 -0700 |
committer | Abhijeet Dharmapurikar <adharmap@codeaurora.org> | Mon Nov 14 10:17:15 2011 -0800 |
tree | 7f10ca504cd36b689f1908fb7a8b306964aa350a | |
parent | 2ce2cc1d40d8ca4e7a1bb2a4f69439dcffba2f07 [diff] |
power: pm8921-bms: handle null scaling factor tables The scaling factor tables are based on aging of the battery. Sometimes this data wont be available and these tables will be set to null. Return 100% scaling factor when scaling factor table is missing. Change-Id: I730813136d7c9fc10892a29f38449df19b5087a3 Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>