Charge: report battery power supply change

Other modules monitor battery power supply change
So report battery power supply change.

Change-Id: I15f37e30c83d5acfa79bf4d942f3cce7e7077805
Signed-off-by: chailu1 <chailu1@lenovo.com>
Reviewed-on: https://gerrit.mot.com/1834361
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Reviewed-by: Haijian Ma <mahj8@motorola.com>
Submit-Approved: Jira Key
This commit is contained in:
chailu1 2020-12-22 16:59:37 +08:00 • committed by Lu Chai
commit 37f9ca5379

View file

@ -3132,6 +3132,7 @@ static void smb_mmi_power_supply_changed(struct power_supply *psy,
}
kobject_uevent_env(&psy->dev.kobj, KOBJ_CHANGE, envp_ext);
power_supply_changed(psy);
}
static int factory_kill_disable;