Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 3c9b70a4 authored by Archana Sathyakumar's avatar Archana Sathyakumar Committed by Stephen Boyd
Browse files

msm: bcl: Calculate current available using vbat and rbat



Remove the code that reads battery current and current now.
Read battery resistance from bms module. Use the equation
below to calculate the available current:
iavailable = vbatt - 3400 / rbatt

CRs-fixed: 488647
Change-Id: I7d7688cddad672155f9a3068583a47dd1bc5dff9
Signed-off-by: default avatarArchana Sathyakumar <asathyak@codeaurora.org>
parent 1a0c76da
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment