SYSTEM_POWER_LEVEL structure (winnt.h)

Contains information used to set the system power state.

Syntax

typedef struct {
  BOOLEAN             Enable;
  BYTE                Spare[3];
  DWORD               BatteryLevel;
  POWER_ACTION_POLICY PowerPolicy;
  SYSTEM_POWER_STATE  MinSystemState;
} SYSTEM_POWER_LEVEL, *PSYSTEM_POWER_LEVEL;

Members

Enable

Spare[3]

BatteryLevel

PowerPolicy

MinSystemState

Requirements

   
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Header winnt.h (include Windows.h)

See also

GLOBAL_USER_POWER_POLICY

MACHINE_POWER_POLICY

USER_POWER_POLICY

WM_POWERBROADCAST