Home
last modified time | relevance | path

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

/system/core/healthd/
DBatteryMonitor.cpp37 #define POWER_SUPPLY_SYSFS_PATH "/sys/class/" POWER_SUPPLY_SUBSYSTEM macro
216 path.appendFormat("%s/%s/online", POWER_SUPPLY_SYSFS_PATH, in update()
222 path.appendFormat("%s/%s/type", POWER_SUPPLY_SYSFS_PATH, in update()
380 DIR* dir = opendir(POWER_SUPPLY_SYSFS_PATH); in init()
382 KLOG_ERROR(LOG_TAG, "Could not open %s\n", POWER_SUPPLY_SYSFS_PATH); in init()
395 path.appendFormat("%s/%s/type", POWER_SUPPLY_SYSFS_PATH, name); in init()
401 path.appendFormat("%s/%s/online", POWER_SUPPLY_SYSFS_PATH, name); in init()
411 path.appendFormat("%s/%s/status", POWER_SUPPLY_SYSFS_PATH, in init()
419 path.appendFormat("%s/%s/health", POWER_SUPPLY_SYSFS_PATH, in init()
427 path.appendFormat("%s/%s/present", POWER_SUPPLY_SYSFS_PATH, in init()
[all …]