diff options
Diffstat (limited to 'healthd/BatteryMonitor.h')
-rw-r--r-- | healthd/BatteryMonitor.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/healthd/BatteryMonitor.h b/healthd/BatteryMonitor.h index f0e645455..4866cc2b8 100644 --- a/healthd/BatteryMonitor.h +++ b/healthd/BatteryMonitor.h @@ -40,11 +40,13 @@ class BatteryMonitor { void init(struct healthd_config *hc); bool update(void); status_t getProperty(int id, struct BatteryProperty *val); + void dumpState(int fd); private: struct healthd_config *mHealthdConfig; Vector<String8> mChargerNames; bool mBatteryDevicePresent; + struct BatteryProperties props; int getBatteryStatus(const char* status); int getBatteryHealth(const char* status); |