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

Commit cfd02f13 authored by Ashish Chavan's avatar Ashish Chavan Committed by Gerrit - the friendly Code Review server
Browse files

power: step-chg-jeita: Remove hysteresis for OCV based step-chg



Remove hysteresis for OCV based step charging as battery OCV is
a stable parameter of battery and doesn't fluctuate with
variation in current.

Change-Id: I23d92b05c3e34fa7d9d3a1d0abaac7863213e71a
Signed-off-by: default avatarAshish Chavan <ashichav@codeaurora.org>
parent e375eb21
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -306,7 +306,7 @@ static int get_step_chg_jeita_setting_from_profile(struct step_chg_info *chip)
		chip->step_chg_config->param.psy_prop =
				POWER_SUPPLY_PROP_VOLTAGE_OCV;
		chip->step_chg_config->param.prop_name = "OCV";
		chip->step_chg_config->param.hysteresis = 10000;
		chip->step_chg_config->param.hysteresis = 0;
		chip->step_chg_config->param.use_bms = true;
	}