power: add enum for transition by DISPLAY_OFF_TIMEOUT 44/288244/1 accepted/tizen_7.0_unified tizen_7.0 accepted/tizen/7.0/unified/20230220.064527
authorYoungjae Cho <y0.cho@samsung.com>
Tue, 14 Feb 2023 01:10:51 +0000 (10:10 +0900)
committeryoungjae cho <y0.cho@samsung.com>
Tue, 14 Feb 2023 05:28:54 +0000 (05:28 +0000)
commitbbfc798d8e566de81b7c27183e3c04e46d73d50f
tree125ed2a9353a2075bd7e88425297300d9d1114ce
parent3563a11258c7d2e2f90ba5ec3cd2506eff6a69c3
power: add enum for transition by DISPLAY_OFF_TIMEOUT

- 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>
(cherry picked from commit 6b602b4791917f1a68946bfdc945484511029d5b)
include/backend/hal-device-power-interface.h