PD charger need display
turbo charger
Change-Id: I09b90c6614e3fc1f7634a2edbb18b4e77961111b
Signed-off-by: xuwei9 <xuwei9@mt.com>
Reviewed-on: https://gerrit.mot.com/
1314869
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
return;
}
- if(battery->cable_type == POWER_SUPPLY_TYPE_HV_MAINS)
+ if(battery->cable_type == POWER_SUPPLY_TYPE_HV_MAINS ||
+ battery->cable_type == POWER_SUPPLY_TYPE_USB_PD ||
+ battery->cable_type == POWER_SUPPLY_TYPE_PREPARE_TA )
battery->charger_rate = POWER_SUPPLY_CHARGE_RATE_TURBO;
else
battery->charger_rate = POWER_SUPPLY_CHARGE_RATE_NORMAL;