Merge "healthd: Support new PD and USB Type C types"
am: ab75edb4ad
* commit 'ab75edb4ad01b518cb5c96a5a3d4ad344bc4ce26':
healthd: Support new PD and USB Type C types
This commit is contained in:
commit
741df1263e
1 changed files with 3 additions and 0 deletions
|
|
@ -137,6 +137,9 @@ BatteryMonitor::PowerSupplyType BatteryMonitor::readPowerSupplyType(const String
|
|||
{ "USB_DCP", ANDROID_POWER_SUPPLY_TYPE_AC },
|
||||
{ "USB_CDP", ANDROID_POWER_SUPPLY_TYPE_AC },
|
||||
{ "USB_ACA", ANDROID_POWER_SUPPLY_TYPE_AC },
|
||||
{ "USB_C", ANDROID_POWER_SUPPLY_TYPE_AC },
|
||||
{ "USB_PD", ANDROID_POWER_SUPPLY_TYPE_AC },
|
||||
{ "USB_PD_DRP", ANDROID_POWER_SUPPLY_TYPE_USB },
|
||||
{ "Wireless", ANDROID_POWER_SUPPLY_TYPE_WIRELESS },
|
||||
{ NULL, 0 },
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue