summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteve Kondik <steve@cyngn.com>2016-07-28 12:17:40 -0700
committerSteve Kondik <steve@cyngn.com>2016-07-28 12:17:40 -0700
commit4123d86b8059d13c888702e58351469c5d176ecf (patch)
treeabc9029c9fb948da42a3b21eb3c2944b98648205
parent1576854573b0ee5525f4a3476d0f58d2f45eeae1 (diff)
downloadsystem_core-4123d86b8059d13c888702e58351469c5d176ecf.zip
system_core-4123d86b8059d13c888702e58351469c5d176ecf.tar.gz
system_core-4123d86b8059d13c888702e58351469c5d176ecf.tar.bz2
healthd: Add DASH charger type
Change-Id: Ie1ca5018c465f6b2c15cbc00bdf3bb866d98ddef
-rw-r--r--healthd/BatteryMonitor.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/healthd/BatteryMonitor.cpp b/healthd/BatteryMonitor.cpp
index a59c779..86a4fc6 100644
--- a/healthd/BatteryMonitor.cpp
+++ b/healthd/BatteryMonitor.cpp
@@ -147,6 +147,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 },
+ { "DASH", ANDROID_POWER_SUPPLY_TYPE_AC },
{ NULL, 0 },
};