summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYoungjae Cho <y0.cho@samsung.com>2023-02-14 10:10:51 +0900
committerYoungjae Cho <y0.cho@samsung.com>2023-02-14 14:23:32 +0900
commit6b602b4791917f1a68946bfdc945484511029d5b (patch)
tree125ed2a9353a2075bd7e88425297300d9d1114ce
parent32cf3caa03c633134a22e672f836e9188d467a2b (diff)
downloaddevice-6b602b4791917f1a68946bfdc945484511029d5b.tar.gz
device-6b602b4791917f1a68946bfdc945484511029d5b.tar.bz2
device-6b602b4791917f1a68946bfdc945484511029d5b.zip
- DEVICE_POWER_TRANSITION_REASON_DISPLAY_OFF (existing one) Reason for display off itself. - DDEVICE_POWER_TRANSITION_REASON_DISPLAY_OFF_TIMEOUT (added one) Reason for expiration of timer triggered by display off. Commonly, it is used for system suspend reason. Change-Id: Icf18aa0c0da83cdbf2f63cf1c2fdad375f2f5aab Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
-rw-r--r--include/backend/hal-device-power-interface.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/backend/hal-device-power-interface.h b/include/backend/hal-device-power-interface.h
index fd3dd5f..275869b 100644
--- a/include/backend/hal-device-power-interface.h
+++ b/include/backend/hal-device-power-interface.h
@@ -31,6 +31,7 @@ enum hal_device_power_transition_reason {
HAL_DEVICE_POWER_TRANSITION_REASON_BATTERY_CRITICAL_LEVEL,
HAL_DEVICE_POWER_TRANSITION_REASON_BATTERY_POWEROFF_LEVEL,
HAL_DEVICE_POWER_TRANSITION_REASON_DISPLAY_OFF,
+ HAL_DEVICE_POWER_TRANSITION_REASON_DISPLAY_OFF_TIMEOUT,
HAL_DEVICE_POWER_TRANSITION_REASON_TOUCH_KEY,
HAL_DEVICE_POWER_TRANSITION_REASON_TOUCH_SCREEN,
HAL_DEVICE_POWER_TRANSITION_REASON_USB,