From dbfa49e317102921f6fe41c8775f9aab5601ccba Mon Sep 17 00:00:00 2001 From: Youngjae Cho Date: Fri, 13 Oct 2023 18:09:49 +0900 Subject: [PATCH] plugin-api: deviced: Add attribute for controlling doze source Change-Id: I5f04d68e8435954a8bed5ba6aa4026f1c76981f3 Signed-off-by: Youngjae Cho --- .../deviced/include/system/syscommon-plugin-deviced-power-interface.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/plugin-api/deviced/include/system/syscommon-plugin-deviced-power-interface.h b/src/plugin-api/deviced/include/system/syscommon-plugin-deviced-power-interface.h index 9fc6ade..0f8356e 100644 --- a/src/plugin-api/deviced/include/system/syscommon-plugin-deviced-power-interface.h +++ b/src/plugin-api/deviced/include/system/syscommon-plugin-deviced-power-interface.h @@ -37,6 +37,8 @@ extern "C" { #define DEVICED_POWER_ATTR_TUPLE2_WAKELOCK (1ULL << 3) #define DEVICED_POWER_ATTR_INT_VITAL_MODE (1ULL << 4) #define DEVICED_POWER_ATTR_TUPLE2_HISTORY_LOG (1ULL << 5) +#define DEVICED_POWER_ATTR_INT_ADD_DOZE_SOURCE (1ULL << 6) +#define DEVICED_POWER_ATTR_INT_REMOVE_DOZE_SOURCE (1ULL << 7) enum { DEVICED_POWER_STATE_MIN_INDEX, -- 2.7.4