system/corennnnn
修訂 | a197183cfe4aa85d45a70873b2bcaa5c761c7232 (tree) |
---|---|
時間 | 2016-07-20 18:01:29 |
作者 | Pavan Kumar S <pavan.kumar.s@inte...> |
Commiter | Chih-Wei Huang |
healthd: Add USB_TYPEC to power-supply type list
A new power-supply type is added in power-supply framework to
support USB_TYPEC. healthd needs to be updated to accomodate this type.
Change-Id: Ib69d82c3460433161e2955d50765caf18538bed1
Tracked-On: https://jira01.devtools.intel.com/browse/OAM-6732
Signed-off-by: Pavan Kumar S <pavan.kumar.s@intel.com>
Reviewed-on: https://android.intel.com:443/374693
(cherry picked from commit 601a4014f44e581832cad2e8f49051c9a6b33e75)
Reviewed-on: https://android.intel.com:443/429348
@@ -137,6 +137,7 @@ BatteryMonitor::PowerSupplyType BatteryMonitor::readPowerSupplyType(const String | ||
137 | 137 | { "USB_DCP", ANDROID_POWER_SUPPLY_TYPE_AC }, |
138 | 138 | { "USB_CDP", ANDROID_POWER_SUPPLY_TYPE_AC }, |
139 | 139 | { "USB_ACA", ANDROID_POWER_SUPPLY_TYPE_AC }, |
140 | + { "USB_TYPEC", ANDROID_POWER_SUPPLY_TYPE_AC }, | |
140 | 141 | { "Wireless", ANDROID_POWER_SUPPLY_TYPE_WIRELESS }, |
141 | 142 | { NULL, 0 }, |
142 | 143 | }; |