## Physical Device Driver Reference

[prev][next][parent][TOC]

### POWER_GETPOWERSTATUS (60h) - PowerFlags

PowerFlags A bit mask with the following bit definition:

Bit # Meaning
0 Power Management Enabled

If set (value=1), then APM BIOS is enabled to perform power management. If not set (value=0), then APM BIOS is not performing power management.
1 Power Management Engaged

If set, then OS/2 is cooperating with APM BIOS to perform power management. If not set, APM BIOS may be performing power management without OS/2's interaction, depending on whether or not power management is enabled (see Bit 0).
2 Power Management Connected

If set, then the OS/2 Power Management subsystem has successfuly connected to APM BIOS. If not set, then either the machine does not support APM BIOS , or OS/2 could not connect to APM BIOS for some reason.

All other bits are reserved and must be 0.

Note: The Power Management subsystem interfaces remain available even when the support has been disabled (by way of the Send Power Event IOCtl). However, the status data returned in the other Parameter Packet fields for this request might not contain meaningful data values.