aboutsummaryrefslogtreecommitdiff
path: root/scripts/build-all.py
diff options
context:
space:
mode:
authorXiaozhe Shi <xiaozhes@codeaurora.org>2013-09-23 14:52:00 -0700
committerXiaozhe Shi <xiaozhes@codeaurora.org>2013-09-30 14:50:27 -0700
commit546d84cd539f241f5b79ada3652851fb40238cc3 (patch)
tree03fb9322856e877d663bb996beb8600a7c09a2f8 /scripts/build-all.py
parentcb167feccf6e4ada7c7d9516974bf8193bbe1062 (diff)
power: qpnp-bms: improve the range of shutdown iavg
In previous revisions of the BMS peripheral, there were only 4 bits to store the average current at shutdown. However, in the new BMS, there are dedicated registers to store this information. Make use of it by increasing the range and resolution of the shutdown IAVG to 250mA + 10mA * X where X is the stored value. This will allow for more accurate unusable charge calculations at boot time. Change-Id: Ied413899cd05a33754c63cdc46010c941d6f083f Signed-off-by: Xiaozhe Shi <xiaozhes@codeaurora.org>
Diffstat (limited to 'scripts/build-all.py')
0 files changed, 0 insertions, 0 deletions