1description: >
2    Implement to set/get ACPI power status
3
4properties:
5    - name: SysACPIStatus
6      type: enum[self.ACPI]
7      default: Unknown
8      description: >
9          The ACPI system power status.
10
11    - name: DevACPIStatus
12      type: enum[self.ACPI]
13      default: Unknown
14      description: >
15          The ACPI device power status.
16
17enumerations:
18    - name: ACPI
19      description: >
20          Possible ACPI status.
21      values:
22          - 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.
65