| commit | b3494693e10489ae04b84e25b1c06ddee10f0973 | [log] [tgz] |
|---|---|---|
| author | Krishna Vanka <kvanka@codeaurora.org> | Tue Jun 12 15:06:43 2012 +0530 |
| committer | Shirish Kumar Agarwal <shirisha@codeaurora.org> | Mon Jun 18 09:45:22 2012 +0530 |
| tree | 46f151723115590d5624f18cc24140d3b34d49e3 | |
| parent | e163a1994ed325200c37226298e8eca41225ef6a [diff] |
board: msm7x27a: Fix the battery capacity calculation logic. Battery capacity calculation is missing boundary checks. This is causing capacity to be more than 100%, when battery voltage goes below minimum operating voltage. This inturn is causing failure to trigger graceful shutdown at low voltages. Fix is to have the boundary checks in capacity calculation. CRs-Fixed: 369687 Change-Id: I25e9a09d4d9d0cb03ee38f589d20e5f807e801c9 Signed-off-by: Krishna Vanka <kvanka@codeaurora.org>