From 68493f8789ed091fbb9c58ec00a3890b3c20671a Mon Sep 17 00:00:00 2001 From: lokilee73 Date: Wed, 13 Jan 2021 20:25:45 +0900 Subject: Add BATTERY_HARDWARE_DEVICE_ID Change-Id: I704853c7e2910b70c3dabb4bb46da5e31f9e8962 Signed-off-by: lokilee73 --- include/backend/hal-battery-interface.h | 5 +++++ 1 file changed, 5 insertions(+) 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" -- cgit v1.2.3