Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b6ab8553 authored by jessicatseng's avatar jessicatseng Committed by jessicatseng(45616)
Browse files

Enable step-charging for Kayo battery

1.Add step-charging parameters in battery profile (case:156287)
2.Set hysteresis of voltage to "0"

Change-Id: I1e3eeab77cc5cb5c25ca037ad8d332bcee21f660
parent d786a80e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -788,7 +788,7 @@ int qcom_step_chg_init(struct device *dev,

	chip->step_chg_config->psy_prop = POWER_SUPPLY_PROP_VOLTAGE_NOW;
	chip->step_chg_config->prop_name = "VBATT";
	chip->step_chg_config->hysteresis = 100000;
	chip->step_chg_config->hysteresis = 0;//100000; //<2020/05/11-JessicaTseng, Enable step-charging for Kayo battery

	chip->jeita_fcc_config = devm_kzalloc(dev,
			sizeof(struct jeita_fcc_cfg), GFP_KERNEL);