not notify current changes

Update variable but not notify current change
when changed which cost more power consumption.

Change-Id: Id7b20f4844a754e97e5c42dc1c1f68235de796bd
Signed-off-by: xuwei9 <xuwei9@mt.com>
Reviewed-on: https://gerrit.mot.com/2233377
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Wang Wang <wangwang1@mt.com>
Submit-Approved: Jira Key
This commit is contained in:
xuwei9 2022-04-04 18:10:29 +08:00 committed by chenyt17
parent 01534cdfc6
commit b762dc4fa4

View file

@ -1952,7 +1952,6 @@ static void mmi_update_battery_status(struct mmi_charger_chip *chip)
chip->combo_voltage_mv = voltage_mv;
}
if (chip->combo_current_ma != current_ma) {
mmi_changed = true;
chip->combo_current_ma = current_ma;
}
if (chip->max_charger_rate != max_charger_rate) {