diff options
author | Chao Chen <cchen@cyngn.com> | 2015-07-14 15:49:05 -0700 |
---|---|---|
committer | Steve Kondik <steve@cyngn.com> | 2015-11-01 04:29:12 -0800 |
commit | c2333e109087e1d50dcf6937bd67663cb195e020 (patch) | |
tree | 0cfc5de8fff348e56ed9f8ffeaf1ab6b4dc14e6f /healthd | |
parent | 742fc8693bed01be3a25a6c5a92f85ec31886ec2 (diff) | |
download | system_core-c2333e109087e1d50dcf6937bd67663cb195e020.zip system_core-c2333e109087e1d50dcf6937bd67663cb195e020.tar.gz system_core-c2333e109087e1d50dcf6937bd67663cb195e020.tar.bz2 |
healthd: Support QC2.0 type charger
Change-Id: I838ef54ac358ac9ce851a93c47e87030b4219c1c
Diffstat (limited to 'healthd')
-rw-r--r-- | healthd/BatteryMonitor.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/healthd/BatteryMonitor.cpp b/healthd/BatteryMonitor.cpp index 0665a46..d611add 100644 --- a/healthd/BatteryMonitor.cpp +++ b/healthd/BatteryMonitor.cpp @@ -141,6 +141,7 @@ BatteryMonitor::PowerSupplyType BatteryMonitor::readPowerSupplyType(const String { "Wipower", ANDROID_POWER_SUPPLY_TYPE_WIRELESS }, { "DockBattery", ANDROID_POWER_SUPPLY_TYPE_DOCK_BATTERY }, { "DockAC", ANDROID_POWER_SUPPLY_TYPE_DOCK_AC }, + { "USB_HVDCP", ANDROID_POWER_SUPPLY_TYPE_AC }, { NULL, 0 }, }; |