Home | History | Annotate | Download | only in healthd

Lines Matching refs:BatteryMonitor

20 #include "BatteryMonitor.h"
53 int BatteryMonitor::getBatteryStatus(const char* status) {
73 int BatteryMonitor::getBatteryHealth(const char* status) {
95 int BatteryMonitor::readFromFile(const String8& path, char* buf, size_t size) {
119 BatteryMonitor::PowerSupplyType BatteryMonitor::readPowerSupplyType(const String8& path) {
123 BatteryMonitor::PowerSupplyType ret;
140 ret = (BatteryMonitor::PowerSupplyType)mapSysfsString(buf, supplyTypeMap);
147 bool BatteryMonitor::getBooleanField(const String8& path) {
161 int BatteryMonitor::getIntField(const String8& path) {
172 bool BatteryMonitor::update(void) {
275 void BatteryMonitor::init(struct healthd_config *hc, bool nosvcmgr) {