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

Skip to content
Commit a237b63f authored by Xiaozhe Shi's avatar Xiaozhe Shi Committed by Stephen Boyd
Browse files

power: qpnp-bms: use battery backed data registers to store soc



Switch from using data_reg_2 to using data_reg_1 for storing shutdown
soc in order to leverage data_reg_0 being battery backed. This way when
a battery is inserted, the BMS will not remember the shutdown soc and
force a wrong value.

Change-Id: I1b79e28d7da133cf78064028ba2786979b37f198
Signed-off-by: default avatarXiaozhe Shi <xiaozhes@codeaurora.org>
parent 5af07fa8
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