Searched defs:POWER_SUPPLY_SYSFS_PATH (Results 1 - 1 of 1) sorted by relevance
/system/core/healthd/ |
H A D | BatteryMonitor.cpp | 38 #define POWER_SUPPLY_SYSFS_PATH "/sys/class/" POWER_SUPPLY_SUBSYSTEM macro 268 path.appendFormat("%s/%s/online", POWER_SUPPLY_SYSFS_PATH, 274 path.appendFormat("%s/%s/type", POWER_SUPPLY_SYSFS_PATH, 291 path.appendFormat("%s/%s/current_max", POWER_SUPPLY_SYSFS_PATH, 297 path.appendFormat("%s/%s/voltage_max", POWER_SUPPLY_SYSFS_PATH, 491 DIR* dir = opendir(POWER_SUPPLY_SYSFS_PATH); 493 KLOG_ERROR(LOG_TAG, "Could not open %s\n", POWER_SUPPLY_SYSFS_PATH); 505 path.appendFormat("%s/%s/type", POWER_SUPPLY_SYSFS_PATH, name); 511 path.appendFormat("%s/%s/online", POWER_SUPPLY_SYSFS_PATH, name); 521 path.appendFormat("%s/%s/status", POWER_SUPPLY_SYSFS_PATH, [all...] |
Completed in 68 milliseconds