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 set
28                clocks stopped.
29          - name: S2_D2
30            description: >
31                Typically equates to stopped clocks with proc/cache context
32                lost.
33          - name: S3_D3
34            description: >
35                Typically equates to "suspend-to-RAM".
36          - name: S4
37            description: >
38                Typically equates to "suspend-to-disk".
39          - name: S5_G2
40            description: >
41                Soft off.
42          - name: S4_S5
43            description: >
44                Sent when message source cannot differentiate between S4 and S5.
45          - name: G3
46            description: >
47                Mechanical off.
48          - name: SLEEP
49            description: >
50                Sleeping - cannot differentiate between S1-S3.
51          - name: G1_SLEEP
52            description: >
53                Sleeping - cannot differentiate between S1-S4.
54          - name: OVERRIDE
55            description: >
56                S5 entered by override.
57          - name: LEGACY_ON
58            description: >
59                Legacy On - used when ACPI mode is disabled.
60          - name: LEGACY_OFF
61            description: >
62                Legacy Off - used when ACPI mode is disabled.
63          - name: Unknown
64            description: >
65                System power state has not been initialized.
66