Revert "(CR): MMI: Init batt health to GOOD"

This reverts commit 2740a7002d46061d719b3efd26c5b8dcaf649676.

Change-Id: Ib2e6bc528cbb99c3a505d5749bb718dca3c2c228
Reviewed-on: https://gerrit.mot.com/1460282
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Haijian Ma <mahj8@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
This commit is contained in:
Andrew Abbott 2019-11-22 11:49:29 -06:00
commit ccbefc824e

View file

@ -3907,7 +3907,6 @@ static int smb_mmi_probe(struct platform_device *pdev)
chip->soc_cycles_start = EMPTY_CYCLES;
chip->last_reported_soc = -1;
chip->last_reported_status = -1;
chip->sm_param[BASE_BATT].batt_health = POWER_SUPPLY_HEALTH_GOOD;
chip->qcom_psy = power_supply_get_by_name("qcom_battery");
if (chip->qcom_psy) {
chip->batt_psy = devm_power_supply_register(chip->dev,