HomeSort by relevance Sort by last modified time
    Searched refs:mHealthdConfig (Results 1 - 2 of 2) sorted by null

  /system/core/healthd/
BatteryMonitor.cpp 184 if (!mHealthdConfig->batteryPresentPath.isEmpty())
185 props.batteryPresent = getBooleanField(mHealthdConfig->batteryPresentPath);
189 props.batteryLevel = getIntField(mHealthdConfig->batteryCapacityPath);
190 props.batteryVoltage = getIntField(mHealthdConfig->batteryVoltagePath) / 1000;
192 if (!mHealthdConfig->batteryCurrentNowPath.isEmpty())
193 props.batteryCurrentNow = getIntField(mHealthdConfig->batteryCurrentNowPath);
195 if (!mHealthdConfig->batteryChargeCounterPath.isEmpty())
196 props.batteryChargeCounter = getIntField(mHealthdConfig->batteryChargeCounterPath);
198 props.batteryTemperature = getIntField(mHealthdConfig->batteryTemperaturePath);
204 if (readFromFile(mHealthdConfig->batteryStatusPath, buf, SIZE) > 0
    [all...]
BatteryMonitor.h 46 struct healthd_config *mHealthdConfig;

Completed in 810 milliseconds