Merge "healthd: Correct the scaling factor for maxVoltage and maxCurrent." into nyc-dev
am: 1d043484d4
* commit '1d043484d409d4d18eaf13aa1086f51fcee73587':
healthd: Correct the scaling factor for maxVoltage and maxCurrent.
diff --git a/healthd/BatteryMonitor.cpp b/healthd/BatteryMonitor.cpp
index 9194314..8fb58dc 100644
--- a/healthd/BatteryMonitor.cpp
+++ b/healthd/BatteryMonitor.cpp
@@ -40,7 +40,7 @@
#define FAKE_BATTERY_CAPACITY 42
#define FAKE_BATTERY_TEMPERATURE 424
#define ALWAYS_PLUGGED_CAPACITY 100
-#define MILLION 10000000.0
+#define MILLION 1.0e6
#define DEFAULT_VBUS_VOLTAGE 5000000
namespace android {