|
35 | 35 | "type": "string",
|
36 | 36 | "example": "SystemPlugin"
|
37 | 37 | },
|
38 |
| - "wakeupSources": { |
39 |
| - "summary": "Array of Key value pair with wake up sources and its configurations", |
40 |
| - "type": "array", |
41 |
| - "items": { |
42 |
| - "type": "object", |
43 |
| - "properties": { |
44 |
| - "WAKEUPSRC_VOICE": { |
45 |
| - "description": "Voice Wake up", |
46 |
| - "type":"boolean", |
47 |
| - "example": true |
48 |
| - }, |
49 |
| - "WAKEUPSRC_PRESENCE_DETECTION": { |
50 |
| - "description": "Presense detection wake up", |
51 |
| - "type":"boolean", |
52 |
| - "example": true |
53 |
| - }, |
54 |
| - "WAKEUPSRC_BLUETOOTH": { |
55 |
| - "description": "Bluetooth Wakeup", |
56 |
| - "type":"boolean", |
57 |
| - "example": true |
58 |
| - }, |
59 |
| - "WAKEUPSRC_WIFI": { |
60 |
| - "description": "WiFi Wake up", |
61 |
| - "type":"boolean", |
62 |
| - "example": true |
63 |
| - }, |
64 |
| - "WAKEUPSRC_IR": { |
65 |
| - "description": "IR Remote Wake up", |
66 |
| - "type":"boolean", |
67 |
| - "example": true |
68 |
| - }, |
69 |
| - "WAKEUPSRC_POWER_KEY": { |
70 |
| - "description": "Power Button Wake up - GPIO", |
71 |
| - "type":"boolean", |
72 |
| - "example": true |
73 |
| - }, |
74 |
| - "WAKEUPSRC_CEC": { |
75 |
| - "description": "HDMI CEC commadn Wake up", |
76 |
| - "type":"boolean", |
77 |
| - "example": true |
78 |
| - }, |
79 |
| - "WAKEUPSRC_LAN": { |
80 |
| - "description": "LAN wake up", |
81 |
| - "type":"boolean", |
82 |
| - "example": true |
83 |
| - }, |
84 |
| - "WAKEUPSRC_TIMER": { |
85 |
| - "description": "TImer Wake up", |
86 |
| - "type":"boolean", |
87 |
| - "example": true |
88 |
| - } |
89 |
| - } |
90 |
| - } |
91 |
| - }, |
92 | 38 | "powerState": {
|
93 | 39 | "summary": "The power state",
|
94 | 40 | "enum": [
|
|
136 | 82 | },
|
137 | 83 | "methods": {
|
138 | 84 | "addPowerModePreChangeClient": {
|
139 |
| - "summary": "Register a client to engage in power mode state changes.\nAdded client should call either\n - `PowerModePreChangeComplete` API to inform power manager that this client has completed its pre-change operation.\n - Or `DelayPowerModeChangeBy` API to delay the power mode change.\nIf the client does not call `PowerModePreChangeComplete` API, the power mode change will complete\nafter the maximum delay `stateChangeAfter` seconds (as received in `OnPowerModePreChange` event).\n\nIMPORTANT: ** IT'S A BUG IF CLIENT `Unregister` FROM `IModePreChangeNotification` BEFORE DISENGAGING ITSELF **\n always make sure to call `RemovePowerModePreChangeClient` before calling `Unregister` from `IModePreChangeNotification`.", |
| 85 | + "summary": "Register a client to engage in power mode pre-change operations.\nAdded client should call either\n - `PowerModePreChangeComplete` API to inform power manager that this client has completed its pre-change operation.\n - Or `DelayPowerModeChangeBy` API to delay the power mode change.\nIf the client does not call `PowerModePreChangeComplete` API, the power mode change will complete\nafter the maximum delay `stateChangeAfter` seconds (as received in `OnPowerModePreChange` event).\n\nIMPORTANT: ** IT'S A BUG IF CLIENT `Unregister` FROM `IModePreChangeNotification` BEFORE DISENGAGING ITSELF **\n always make sure to call `RemovePowerModePreChangeClient` before calling `Unregister` from `IModePreChangeNotification`.", |
140 | 86 | "params": {
|
141 | 87 | "type": "object",
|
142 | 88 | "properties": {
|
|
161 | 107 | }
|
162 | 108 | },
|
163 | 109 | "removePowerModePreChangeClient": {
|
164 |
| - "summary": "Removes a registered client from participating in power mode pre-change operations.\nNOTE client will still continue to receive pre-change notifications.", |
| 110 | + "summary": "Removes a registered client from participating in power mode pre-change operations.\nNOTE client will still continue to receive pre-change notifications. Always `Unregister` from `IModePreChangeNotification` after invoking `removePowerModePreChangeClient`.", |
165 | 111 | "params": {
|
166 | 112 | "type": "object",
|
167 | 113 | "properties": {
|
|
0 commit comments