summaryrefslogtreecommitdiffstats
path: root/healthd
diff options
context:
space:
mode:
authorChao Chen <cchen@cyngn.com>2015-07-14 15:49:05 -0700
committerSteve Kondik <steve@cyngn.com>2015-11-01 04:29:12 -0800
commitc2333e109087e1d50dcf6937bd67663cb195e020 (patch)
tree0cfc5de8fff348e56ed9f8ffeaf1ab6b4dc14e6f /healthd
parent742fc8693bed01be3a25a6c5a92f85ec31886ec2 (diff)
downloadsystem_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.cpp1
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 },
};