Add ACPI system/device power states properties

Add ACPI system/device power states interface to support
IPMI get/set ACPI state commands.

It is different from existed dbus interface 'PowerState'.

Based on the IPMI spec, this is an independent setting that may not
necessarily match the actual power state of the system.

system power state enumeration:
S0/G0           0x00
S1              0x01
S2              0x02
S3              0x03
S4              0x04
S5/G2           0x05
S4/S5           0x06
G3              0x07
Sleeping        0x08
G1 sleeping     0x09
Override        0x0A
Legacy on       0x20
Unknown         0x2A

Device power state enumeration:
D0              0x00
D1              0x01
D2              0x02
D3              0x03
Unknown         0x2A

Change-Id: I39b393b67dc79ebb90054fcbe408e61e6b76fe36
Signed-off-by: Yong Li <yong.b.li@linux.intel.com>
1 file changed