Skip to content

Commit

Permalink
healthd: Add support for HVDCP_3P5 chargers
Browse files Browse the repository at this point in the history
Change-Id: I810e2e051329edeec54fc24255d785993066eece
  • Loading branch information
Dyneteve authored and xSylla committed Dec 1, 2021
1 parent 85c7681 commit 039f8f1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions healthd/BatteryMonitor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@ BatteryMonitor::PowerSupplyType BatteryMonitor::readPowerSupplyType(const String
{"USB_DCP", ANDROID_POWER_SUPPLY_TYPE_AC},
{"USB_HVDCP", ANDROID_POWER_SUPPLY_TYPE_AC},
{"USB_HVDCP_3", ANDROID_POWER_SUPPLY_TYPE_AC},
{"USB_HVDCP_3P5", 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},
Expand Down

0 comments on commit 039f8f1

Please sign in to comment.