Loading drivers/power/supply/qcom/qg-soc.c +1 −1 Original line number Diff line number Diff line Loading @@ -178,7 +178,7 @@ int qg_adjust_sys_soc(struct qpnp_qg *chip) chip->sys_soc = CAP(QG_MIN_SOC, QG_MAX_SOC, chip->sys_soc); if (chip->sys_soc == QG_MIN_SOC) { if (chip->sys_soc <= 50) { /* 0.5% */ /* Hold SOC to 1% of VBAT has not dropped below cutoff */ rc = qg_get_battery_voltage(chip, &vbat_uv); if (!rc && vbat_uv >= (vcutoff_uv + VBAT_LOW_HYST_UV)) Loading Loading
drivers/power/supply/qcom/qg-soc.c +1 −1 Original line number Diff line number Diff line Loading @@ -178,7 +178,7 @@ int qg_adjust_sys_soc(struct qpnp_qg *chip) chip->sys_soc = CAP(QG_MIN_SOC, QG_MAX_SOC, chip->sys_soc); if (chip->sys_soc == QG_MIN_SOC) { if (chip->sys_soc <= 50) { /* 0.5% */ /* Hold SOC to 1% of VBAT has not dropped below cutoff */ rc = qg_get_battery_voltage(chip, &vbat_uv); if (!rc && vbat_uv >= (vcutoff_uv + VBAT_LOW_HYST_UV)) Loading