Loading drivers/power/qpnp-fg.c +2 −1 Original line number Diff line number Diff line Loading @@ -3265,7 +3265,8 @@ static void status_change_work(struct work_struct *work) int cc_soc, rc, capacity = get_prop_capacity(chip); if (chip->status == POWER_SUPPLY_STATUS_FULL) { if (capacity >= 99 && chip->hold_soc_while_full) { if (capacity >= 99 && chip->hold_soc_while_full && chip->health == POWER_SUPPLY_HEALTH_GOOD) { if (fg_debug_mask & FG_STATUS) pr_info("holding soc at 100\n"); chip->charge_full = true; Loading Loading
drivers/power/qpnp-fg.c +2 −1 Original line number Diff line number Diff line Loading @@ -3265,7 +3265,8 @@ static void status_change_work(struct work_struct *work) int cc_soc, rc, capacity = get_prop_capacity(chip); if (chip->status == POWER_SUPPLY_STATUS_FULL) { if (capacity >= 99 && chip->hold_soc_while_full) { if (capacity >= 99 && chip->hold_soc_while_full && chip->health == POWER_SUPPLY_HEALTH_GOOD) { if (fg_debug_mask & FG_STATUS) pr_info("holding soc at 100\n"); chip->charge_full = true; Loading