Skip to content

Commit 13d5407

Browse files
RDKEMW-3229: Power and DeepSleep HAL migration to PowerManager plugin (#365)
Co-authored-by: kgnanagurusamy <[email protected]> Co-authored-by: KaleeswaranGnanagurusamy <[email protected]>
1 parent abdb51d commit 13d5407

File tree

1 file changed

+13
-12
lines changed

1 file changed

+13
-12
lines changed

apis/PowerManager/IPowerManager.h

100644100755
Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -45,18 +45,19 @@ namespace WPEFramework
4545
THERMAL_TEMPERATURE_CRITICAL = 4 /* @text Critial Thermal Temperature */
4646
};
4747

48-
enum WakeupSrcType : uint8_t {
49-
WAKEUP_SRC_UNKNOWN = 0 /* @text UNKNOWN */,
50-
WAKEUP_SRC_VOICE = 1 /* @text VOICE */,
51-
WAKEUP_SRC_PRESENCEDETECTED = 2 /* @text PRESENCEDETECTED */,
52-
WAKEUP_SRC_BLUETOOTH = 3 /* @text BLUETOOTH */,
53-
WAKEUP_SRC_WIFI = 4 /* @text WIFI */,
54-
WAKEUP_SRC_IR = 5 /* @text IR */,
55-
WAKEUP_SRC_POWERKEY = 6 /* @text POWERKEY */,
56-
WAKEUP_SRC_TIMER = 7 /* @text TIMER */,
57-
WAKEUP_SRC_CEC = 8 /* @text CEC */,
58-
WAKEUP_SRC_LAN = 9 /* @text LAN */,
59-
WAKEUP_SRC_RF4CE = 10 /* @text RF4CE */
48+
enum WakeupSrcType : uint16_t {
49+
WAKEUP_SRC_UNKNOWN = 0 /* @text UNKNOWN */,
50+
WAKEUP_SRC_VOICE = 1 /* @text VOICE */,
51+
WAKEUP_SRC_PRESENCEDETECTED = 1 << 1 /* @text PRESENCEDETECTED */,
52+
WAKEUP_SRC_BLUETOOTH = 1 << 2 /* @text BLUETOOTH */,
53+
WAKEUP_SRC_WIFI = 1 << 3 /* @text WIFI */,
54+
WAKEUP_SRC_IR = 1 << 4 /* @text IR */,
55+
WAKEUP_SRC_POWERKEY = 1 << 5 /* @text POWERKEY */,
56+
WAKEUP_SRC_TIMER = 1 << 6 /* @text TIMER */,
57+
WAKEUP_SRC_CEC = 1 << 7 /* @text CEC */,
58+
WAKEUP_SRC_LAN = 1 << 8 /* @text LAN */,
59+
WAKEUP_SRC_RF4CE = 1 << 9 /* @text RF4CE */,
60+
WAKEUP_SRC_MAX = 1 << 10
6061
};
6162

6263
enum WakeupReason : uint8_t {

0 commit comments

Comments
 (0)