EFFECTIVE_POWER_MODE enumeration (powersetting.h)

Indicates the effective power mode the system is running.

Syntax

typedef enum EFFECTIVE_POWER_MODE {
  EffectivePowerModeBatterySaver,
  EffectivePowerModeEnergySaverHighSavings,
  EffectivePowerModeBetterBattery,
  EffectivePowerModeEnergySaverStandard,
  EffectivePowerModeBalanced,
  EffectivePowerModeHighPerformance,
  EffectivePowerModeMaxPerformance,
  EffectivePowerModeGameMode,
  EffectivePowerModeMixedReality
} ;

Constants

 
EffectivePowerModeBatterySaver
The system is in battery saver mode.
EffectivePowerModeBetterBattery
The system is in the better battery effective power mode.

Note  For systems using the legacy high performance overlay, this effective power mode will never be used.

 
EffectivePowerModeBalanced
The system is in the balanced effective power mode.
EffectivePowerModeHighPerformance
The system is in the high performance effective power mode.

Note  This effective power mode is only used for systems using the legacy high performance overlay.

 
EffectivePowerModeMaxPerformance
The system is in the maximum performance effective power mode.
EffectivePowerModeGameMode
The system is in game mode power mode.

Note This mode is only available with the EFFECTIVE_POWER_MODE_V2 version of the API

 
EffectivePowerModeMixedReality
The system is in the windows mixed reality power mode.

Note This mode is only available with the EFFECTIVE_POWER_MODE_V2 version of the API

 

Requirements

Requirement Value
Minimum supported client Windows 10, version 1809 [desktop apps only]
Minimum supported server None supported
Header powersetting.h