From: Chanwoo Choi Date: Tue, 18 Jun 2024 07:58:22 +0000 (+0900) Subject: power-internal: Add missing DEVICE_POWER_TRANSITION_REASON_DISPLAY_OFF_TIMEOUT wakeup... X-Git-Tag: accepted/tizen/unified/20240620.050714^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F09%2F313009%2F1;p=platform%2Fcore%2Fapi%2Fdevice.git power-internal: Add missing DEVICE_POWER_TRANSITION_REASON_DISPLAY_OFF_TIMEOUT wakeup reason The power wakeup reason should be mapped with enum hal_device_power_transition_reason in hal-api-device. So that add missing DEVICE_POWER_TRANSITION_REASON_DISPLAY_OFF_TIMEOUT wakeup reason in order to map the wakeup reason between capi-system-device and hal-api-device. Change-Id: I9ae3b39e38c282cd4b888b099b185a0737fc8166 Signed-off-by: Chanwoo Choi --- diff --git a/include/power-internal.h b/include/power-internal.h index b769ed5..522ca5f 100644 --- a/include/power-internal.h +++ b/include/power-internal.h @@ -57,6 +57,7 @@ typedef enum { DEVICE_POWER_TRANSITION_REASON_BATTERY_CRITICAL_LEVEL, /**< Battery capacity reaches critical level */ DEVICE_POWER_TRANSITION_REASON_BATTERY_POWEROFF_LEVEL, /**< Battery capacity reaches poweroff level */ DEVICE_POWER_TRANSITION_REASON_DISPLAY_OFF, /**< Display off */ + DEVICE_POWER_TRANSITION_REASON_DISPLAY_OFF_TIMEOUT, /**< Display off after timeout */ DEVICE_POWER_TRANSITION_REASON_TOUCH_KEY, /**< Touch key pressed */ DEVICE_POWER_TRANSITION_REASON_TOUCH_SCREEN, /**< Touch screen pressed */ DEVICE_POWER_TRANSITION_REASON_USB, /**< USB attached or detached */