healthd: Add DASH charger type

Change-Id: Ie1ca5018c465f6b2c15cbc00bdf3bb866d98ddef
This commit is contained in:
Steve Kondik 2016-07-28 12:17:40 -07:00 committed by zlewchan
parent b8eaf5ae42
commit 576ecefc9e

View file

@ -313,6 +313,7 @@ static BatteryMonitor::PowerSupplyType readPowerSupplyType(const String8& path)
{"USB_PD_DRP", BatteryMonitor::ANDROID_POWER_SUPPLY_TYPE_USB},
{"Wireless", BatteryMonitor::ANDROID_POWER_SUPPLY_TYPE_WIRELESS},
{"Dock", BatteryMonitor::ANDROID_POWER_SUPPLY_TYPE_DOCK},
{"DASH", BatteryMonitor::ANDROID_POWER_SUPPLY_TYPE_AC},
{NULL, 0},
};
std::string buf;