summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlokilee73 <changjoo.lee@samsung.com>2021-01-13 20:25:45 +0900
committerlokilee73 <changjoo.lee@samsung.com>2021-01-13 20:25:48 +0900
commit68493f8789ed091fbb9c58ec00a3890b3c20671a (patch)
tree7b96af218f277a1cb2d0b087500b0e75978fdc6f
parent8d1283b7d93c343c676b3d232f0188c2ea82663d (diff)
downloaddevice-68493f8789ed091fbb9c58ec00a3890b3c20671a.tar.gz
device-68493f8789ed091fbb9c58ec00a3890b3c20671a.tar.bz2
device-68493f8789ed091fbb9c58ec00a3890b3c20671a.zip
Add BATTERY_HARDWARE_DEVICE_ID
Change-Id: I704853c7e2910b70c3dabb4bb46da5e31f9e8962 Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
-rw-r--r--include/backend/hal-battery-interface.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/backend/hal-battery-interface.h b/include/backend/hal-battery-interface.h
index 969eee3..f9302bd 100644
--- a/include/backend/hal-battery-interface.h
+++ b/include/backend/hal-battery-interface.h
@@ -22,6 +22,11 @@
extern "C" {
#endif
+/**
+ * The id of this device
+ */
+#define BATTERY_HARDWARE_DEVICE_ID "battery"
+
#define POWER_SOURCE_NONE "none"
#define POWER_SOURCE_AC "ac"
#define POWER_SOURCE_USB "usb"