summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Kondik <steve@cyngn.com>2016-07-28 12:17:40 -0700
committeralk3pInjection <webmaster@raspii.tech>2022-01-11 21:20:40 +0800
commit3e0067d91aa2d4068eee708339e407d5fadd4cd8 (patch)
treeb49db10328ee65a568553fcddb6d3c4f1bf79d9c
parent76d7f37a6441b171b63cfd07cc56d0ddfcaa2130 (diff)
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 377acb75e..98dffc3b8 100644
--- a/healthd/BatteryMonitor.cpp
+++ b/healthd/BatteryMonitor.cpp
@@ -196,6 +196,7 @@ BatteryMonitor::PowerSupplyType BatteryMonitor::readPowerSupplyType(const String
{"USB_PD", ANDROID_POWER_SUPPLY_TYPE_AC},
{"USB_PD_DRP", ANDROID_POWER_SUPPLY_TYPE_USB},
{"Wireless", ANDROID_POWER_SUPPLY_TYPE_WIRELESS},
+ {"DASH", ANDROID_POWER_SUPPLY_TYPE_AC},
{NULL, 0},
};
std::string buf;