Edit

SYSTEM_POWER_STATUS2 structure (winbase.h)

Important

Some information relates to a prerelease product which may be substantially modified before it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Syntax

typedef struct SYSTEM_POWER_STATUS2 {
  BYTE                       ACLineStatus;
  BYTE                       BatteryFlag;
  BYTE                       BatteryLifePercent;
  SYSTEM_ENERGY_SAVER_STATUS EnergySaverStatus;
  DWORD                      BatteryLifeTime;
  DWORD                      BatteryFullLifeTime;
} SYSTEM_POWER_STATUS2;

Members

ACLineStatus

BatteryFlag

BatteryLifePercent

EnergySaverStatus

BatteryLifeTime

BatteryFullLifeTime

Requirements

Requirement Value
Header winbase.h