Signed-off-by: huangji731 <huangji731@huawei.com>
This commit is contained in:
huangji731 2024-01-25 22:35:57 +08:00
parent da223c0f7c
commit f07c87378b
2 changed files with 6 additions and 0 deletions

View File

@ -61,6 +61,7 @@ enum class PowerStateChangeReason : uint32_t {
STATE_CHANGE_REASON_MOUSE = 22,
STATE_CHANGE_REASON_DOUBLE_CLICK = 23,
STATE_CHANGE_REASON_COLLABORATION = 24,
STATE_CHANGE_REASON_SWITCH = 25,
STATE_CHANGE_REASON_REMOTE = 100,
STATE_CHANGE_REASON_UNKNOWN = 1000,
};
@ -171,6 +172,8 @@ enum class DisplayPowerEvent : uint32_t {
DISPLAY_ON,
DISPLAY_OFF,
DESKTOP_READY,
DOZE,
DOZE_SUSPEND,
};
/**

View File

@ -66,6 +66,7 @@ enum class PowerStateChangeReason : uint32_t {
STATE_CHANGE_REASON_KEYBOARD = 21,
STATE_CHANGE_REASON_MOUSE = 22,
STATE_CHANGE_REASON_DOUBLE_CLICK = 23,
STATE_CHANGE_REASON_SWITCH = 25,
STATE_CHANGE_REASON_REMOTE = 100,
STATE_CHANGE_REASON_UNKNOWN = 1000,
};
@ -172,6 +173,8 @@ enum class DisplayPowerEvent : uint32_t {
DISPLAY_ON,
DISPLAY_OFF,
DESKTOP_READY,
DOZE,
DOZE_SUSPEND,
};
/**