From 8d17bc6a7a9fd0c3b64a70248cfffa4d7e635d8d Mon Sep 17 00:00:00 2001 From: Yueyao Zhu Date: Mon, 6 Mar 2017 21:42:35 +0000 Subject: [PATCH] Revert "Add BMS as a Battery type" This reverts commit f13c6ff50ad55d1bdfbd065c96a1fc965193c262. Bug: 34166515 Change-Id: I102d3ee071f214deba1a72738af62b6f6b7c52f4 --- healthd/BatteryMonitor.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/healthd/BatteryMonitor.cpp b/healthd/BatteryMonitor.cpp index 369a022c9..0c90a5456 100644 --- a/healthd/BatteryMonitor.cpp +++ b/healthd/BatteryMonitor.cpp @@ -141,7 +141,6 @@ BatteryMonitor::PowerSupplyType BatteryMonitor::readPowerSupplyType(const String struct sysfsStringEnumMap supplyTypeMap[] = { { "Unknown", ANDROID_POWER_SUPPLY_TYPE_UNKNOWN }, { "Battery", ANDROID_POWER_SUPPLY_TYPE_BATTERY }, - { "BMS", ANDROID_POWER_SUPPLY_TYPE_BATTERY }, { "UPS", ANDROID_POWER_SUPPLY_TYPE_AC }, { "Mains", ANDROID_POWER_SUPPLY_TYPE_AC }, { "USB", ANDROID_POWER_SUPPLY_TYPE_USB },