Skip to content

Commit 5c7d28c

Browse files
Linus Walleijsre
authored andcommitted
power: supply: samsung-sdi-battery: Add missing charge restart voltages
Two of the batteries were missing charging restart voltages, meaning they can drain if the algorithm relies on restarting charging at this voltage. Fix it up. Fixes: c8aee3f ("power: supply: Static data for Samsung batteries") Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
1 parent 3123109 commit 5c7d28c

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

drivers/power/supply/samsung-sdi-battery.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -824,6 +824,7 @@ static struct samsung_sdi_battery samsung_sdi_batteries[] = {
824824
.constant_charge_current_max_ua = 900000,
825825
.constant_charge_voltage_max_uv = 4200000,
826826
.charge_term_current_ua = 200000,
827+
.charge_restart_voltage_uv = 4170000,
827828
.maintenance_charge = samsung_maint_charge_table,
828829
.maintenance_charge_size = ARRAY_SIZE(samsung_maint_charge_table),
829830
.alert_low_temp_charge_current_ua = 300000,
@@ -867,6 +868,7 @@ static struct samsung_sdi_battery samsung_sdi_batteries[] = {
867868
.constant_charge_current_max_ua = 1500000,
868869
.constant_charge_voltage_max_uv = 4350000,
869870
.charge_term_current_ua = 120000,
871+
.charge_restart_voltage_uv = 4300000,
870872
.maintenance_charge = samsung_maint_charge_table,
871873
.maintenance_charge_size = ARRAY_SIZE(samsung_maint_charge_table),
872874
.alert_low_temp_charge_current_ua = 300000,

0 commit comments

Comments
 (0)