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

Commit 83033633 authored by Xiaozhe Shi's avatar Xiaozhe Shi Committed by Nicholas Troast
Browse files

power: qpnp-fg: load the same batt temp after a restart



Currently, when the software rbias feature is enabled, the battery
temperature remains at 25 degrees C for a long time after a fuel gauge
restart. This is because until the next software temperature update
occurs, the default battery temperature in the fuel gauge will be
25 degrees C.

Fix this by writing in the old battery temperature after a restart if
the software rbias control is enabled.

CRs-Fixed: 867716
Change-Id: I6f5f2b125ae53c3ca89b5d4a67890b689e4d74ab
Signed-off-by: default avatarXiaozhe Shi <xiaozhes@codeaurora.org>
parent 6dba09ce
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