mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-05 19:31:57 -04:00
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@lenovo.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@lenovo.com> Submit-Approved: Jira Key
This commit is contained in:
parent
6370ef29a9
commit
249161c415
1 changed files with 0 additions and 1 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue