Home
last modified time | relevance | path

Searched refs:mHealthdConfig (Results 1 – 2 of 2) sorted by relevance

/system/core/healthd/
DBatteryMonitor.cpp91 : mHealthdConfig(nullptr), in BatteryMonitor()
250 if (!mHealthdConfig->batteryPresentPath.isEmpty()) in updateValues()
251 props.batteryPresent = getBooleanField(mHealthdConfig->batteryPresentPath); in updateValues()
257 getIntField(mHealthdConfig->batteryCapacityPath); in updateValues()
258 props.batteryVoltage = getIntField(mHealthdConfig->batteryVoltagePath) / 1000; in updateValues()
260 if (!mHealthdConfig->batteryCurrentNowPath.isEmpty()) in updateValues()
261 props.batteryCurrent = getIntField(mHealthdConfig->batteryCurrentNowPath); in updateValues()
263 if (!mHealthdConfig->batteryFullChargePath.isEmpty()) in updateValues()
264 props.batteryFullCharge = getIntField(mHealthdConfig->batteryFullChargePath); in updateValues()
266 if (!mHealthdConfig->batteryCycleCountPath.isEmpty()) in updateValues()
[all …]
/system/core/healthd/include/healthd/
DBatteryMonitor.h70 struct healthd_config *mHealthdConfig; variable