diff options
author | Jorge Ruesga <jorge@ruesga.com> | 2015-06-28 00:55:25 +0200 |
---|---|---|
committer | Shareef Ali <shareefalis@gmail.com> | 2015-10-19 00:51:16 -0400 |
commit | 31c2a740d5554e9c0d5dd5e7a4a3f8d7d93911ea (patch) | |
tree | d2ed9e6b5e568f0cb9c48cda1afce5ea2d24a2ee /healthd/BatteryPropertiesRegistrar.h | |
parent | 72d52954af098600818d9afdc15ccdad289ba473 (diff) | |
download | system_core-31c2a740d5554e9c0d5dd5e7a4a3f8d7d93911ea.zip system_core-31c2a740d5554e9c0d5dd5e7a4a3f8d7d93911ea.tar.gz system_core-31c2a740d5554e9c0d5dd5e7a4a3f8d7d93911ea.tar.bz2 |
healthd: dock battery
Change-Id: I2ad09e5e87d55c47af4d1efc14cc585cc08e2dce
Require: topic:dock_battery
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
Diffstat (limited to 'healthd/BatteryPropertiesRegistrar.h')
-rw-r--r-- | healthd/BatteryPropertiesRegistrar.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/healthd/BatteryPropertiesRegistrar.h b/healthd/BatteryPropertiesRegistrar.h index 8853874..5ca4fc1 100644 --- a/healthd/BatteryPropertiesRegistrar.h +++ b/healthd/BatteryPropertiesRegistrar.h @@ -1,5 +1,6 @@ /* * Copyright (C) 2013 The Android Open Source Project + * Copyright (C) 2015 The CyanogenMod Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -40,6 +41,7 @@ private: void registerListener(const sp<IBatteryPropertiesListener>& listener); void unregisterListener(const sp<IBatteryPropertiesListener>& listener); status_t getProperty(int id, struct BatteryProperty *val); + status_t getDockProperty(int id, struct BatteryProperty *val); status_t dump(int fd, const Vector<String16>& args); void binderDied(const wp<IBinder>& who); }; |