blob: d7ae8086ad64512a900474e50bd158a45a050c68 [file] [log] [blame]
Yong Lif7e94d72018-08-03 16:00:15 +08001description: >
2 Implement to set/get ACPI power status
3
4properties:
5 - name: SysACPIStatus
6 type: enum[self.ACPI]
Patrick Williamsf3e6ff12022-10-24 07:35:26 -05007 default: Unknown
Yong Lif7e94d72018-08-03 16:00:15 +08008 description: >
9 The ACPI system power status.
10
11 - name: DevACPIStatus
12 type: enum[self.ACPI]
Patrick Williamsf3e6ff12022-10-24 07:35:26 -050013 default: Unknown
Yong Lif7e94d72018-08-03 16:00:15 +080014 description: >
15 The ACPI device power status.
16
17enumerations:
18 - name: ACPI
19 description: >
Patrick Williams8da396c2022-03-14 14:21:02 -050020 Possible ACPI status.
Yong Lif7e94d72018-08-03 16:00:15 +080021 values:
Patrick Williams8da396c2022-03-14 14:21:02 -050022 - name: S0_G0_D0
23 description: >
24 Working, the system is running
25 - name: S1_D1
26 description: >
27 Hardware context maintained, typically equates to proc/chip
28 set clocks stopped.
29 - name: S2_D2
30 description: >
31 Typically equates to stopped clocks with proc/cache context lost.
32 - name: S3_D3
33 description: >
34 Typically equates to "suspend-to-RAM".
35 - name: S4
36 description: >
37 Typically equates to "suspend-to-disk".
38 - name: S5_G2
39 description: >
40 Soft off.
41 - name: S4_S5
42 description: >
43 Sent when message source cannot differentiate between S4 and S5.
44 - name: G3
45 description: >
46 Mechanical off.
47 - name: SLEEP
48 description: >
49 Sleeping - cannot differentiate between S1-S3.
50 - name: G1_SLEEP
51 description: >
52 Sleeping - cannot differentiate between S1-S4.
53 - name: OVERRIDE
54 description: >
55 S5 entered by override.
56 - name: LEGACY_ON
57 description: >
58 Legacy On - used when ACPI mode is disabled.
59 - name: LEGACY_OFF
60 description: >
61 Legacy Off - used when ACPI mode is disabled.
62 - name: Unknown
63 description: >
64 System power state has not been initialized.