Message ID | 20200315151206.30909-9-spinal.by@gmail.com |
---|---|
State | New |
Headers | show |
Series | None | expand |
diff --git a/drivers/power/supply/cpcap-battery.c b/drivers/power/supply/cpcap-battery.c index 2f4c6669c37d..da6138df2117 100644 --- a/drivers/power/supply/cpcap-battery.c +++ b/drivers/power/supply/cpcap-battery.c @@ -422,7 +422,7 @@ static bool cpcap_battery_low(struct cpcap_battery_ddata *ddata) struct cpcap_battery_state_data *state = cpcap_battery_latest(ddata); static bool is_low; - if (state->current_ua > 0 && (state->voltage <= 3300000 || is_low)) + if (state->current_ua > 0 && (state->voltage <= 3350000 || is_low)) is_low = true; else is_low = false;
Thus, the user will have more time to start charging when calibrating the charge_full value. Signed-off-by: Arthur Demchenkov <spinal.by@gmail.com> --- drivers/power/supply/cpcap-battery.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)