diff options
author | Youngjae Cho <y0.cho@samsung.com> | 2023-02-14 10:10:51 +0900 |
---|---|---|
committer | Youngjae Cho <y0.cho@samsung.com> | 2023-02-14 14:23:32 +0900 |
commit | 6b602b4791917f1a68946bfdc945484511029d5b (patch) | |
tree | 125ed2a9353a2075bd7e88425297300d9d1114ce | |
parent | 32cf3caa03c633134a22e672f836e9188d467a2b (diff) | |
download | device-6b602b4791917f1a68946bfdc945484511029d5b.tar.gz device-6b602b4791917f1a68946bfdc945484511029d5b.tar.bz2 device-6b602b4791917f1a68946bfdc945484511029d5b.zip |
power: add enum for transition by DISPLAY_OFF_TIMEOUTtizen_8.0_m2_releaseaccepted/tizen/unified/20230215.100727accepted/tizen/8.0/unified/20231005.094413
- 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.h | 1 |
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, |