Skip to content
Commit f6866d4b authored by Jack Wu's avatar Jack Wu Committed by Your Name
Browse files

power: qpnp-fg-gen3: Fix soc not keeping full after charging overnight

The issue happened when the temperature was cool after charge_done.
(chip->health was not POWER_SUPPLY_HEALTH_GOOD). In this condition,
chip->charge_full was not set, and then battery level dropped.

Set chip->charge_full to true if chip->health is
POWER_SUPPLY_HEALTH_GOOD or POWER_SUPPLY_HEALTH_COOL
or POWER_SUPPLY_HEALTH_WARM to fix it.

Bug: 120606963
Change-Id: Ia762e08826487e626dff775f074205771b908658
parent 6308d2ee
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment