Table of Contents

Class GroupPolicyPowerPlan

Namespace
CENTREL.XIA.Configuration.Types
Assembly
CENTREL.XIA.Configuration.Types.dll

Represents an Active Directory Group Policy power plan.

public class GroupPolicyPowerPlan : GroupPolicyPowerPlanBase, IComparable<GroupPolicyPreferenceBase>
Inheritance
GroupPolicyPowerPlan
Implements
Inherited Members

Constructors

GroupPolicyPowerPlan()

Initializes a new instance of the CENTREL.XIA.Configuration.Types.GroupPolicyPowerPlan class.

public GroupPolicyPowerPlan()

Properties

AdaptiveDisplayBattery

Gets or sets whether to enable adaptive display when running on batteries.

public BooleanOption AdaptiveDisplayBattery { get; set; }

Property Value

BooleanOption

AdaptiveDisplayMains

Gets or sets whether to enable adaptive display when plugged in.

public BooleanOption AdaptiveDisplayMains { get; set; }

Property Value

BooleanOption

AllowHybridSleepBattery

Gets or sets whether to allow hybrid sleep when running on batteries.

public BooleanOption AllowHybridSleepBattery { get; set; }

Property Value

BooleanOption

AllowHybridSleepMains

Gets or sets whether to allow hybrid sleep when plugged in.

public BooleanOption AllowHybridSleepMains { get; set; }

Property Value

BooleanOption

CriticalBatteryActionBattery

Gets or sets the action to take when the battery is critical when running on batteries.

public GroupPolicyPowerPlanAction CriticalBatteryActionBattery { get; set; }

Property Value

GroupPolicyPowerPlanAction

CriticalBatteryActionMains

Gets or sets the action to take when the battery is critical when plugged in.

public GroupPolicyPowerPlanAction CriticalBatteryActionMains { get; set; }

Property Value

GroupPolicyPowerPlanAction

CriticalBatteryLevelBattery

Gets or sets the critical battery threshold when running on batteries.

public int CriticalBatteryLevelBattery { get; set; }

Property Value

int

CriticalBatteryLevelMains

Gets or sets the critical battery threshold when plugged in.

public int CriticalBatteryLevelMains { get; set; }

Property Value

int

HibernateBattery

Gets or sets the number of minutes before hibernating when running on batteries.

public int HibernateBattery { get; set; }

Property Value

int

HibernateMains

Gets or sets the number of minutes before hibernating when plugged in.

public int HibernateMains { get; set; }

Property Value

int

IsClassic

Gets whether the power plan is a classic power scheme or global power options.

public override bool IsClassic { get; set; }

Property Value

bool

LidCloseActionBattery

Gets or sets the action to take when the lid is closed when running on batteries.

public GroupPolicyPowerPlanAction LidCloseActionBattery { get; set; }

Property Value

GroupPolicyPowerPlanAction

LidCloseActionMains

Gets or sets the action to take when the lid is closed when plugged in.

public GroupPolicyPowerPlanAction LidCloseActionMains { get; set; }

Property Value

GroupPolicyPowerPlanAction

LinkStatePowerManagementBattery

Gets or sets the link state power management when running on batteries.

public GroupPolicyPowerPlanLinkStatePowerManagement LinkStatePowerManagementBattery { get; set; }

Property Value

GroupPolicyPowerPlanLinkStatePowerManagement

LinkStatePowerManagementMains

Gets or sets the link state power management when plugged in.

public GroupPolicyPowerPlanLinkStatePowerManagement LinkStatePowerManagementMains { get; set; }

Property Value

GroupPolicyPowerPlanLinkStatePowerManagement

LowBatteryActionBattery

Gets or sets the action to take when the battery is low when running on batteries.

public GroupPolicyPowerPlanAction LowBatteryActionBattery { get; set; }

Property Value

GroupPolicyPowerPlanAction

LowBatteryActionMains

Gets or sets the action to take when the battery is low when plugged in.

public GroupPolicyPowerPlanAction LowBatteryActionMains { get; set; }

Property Value

GroupPolicyPowerPlanAction

LowBatteryLevelBattery

Gets or sets the low battery threshold when running on batteries.

public int LowBatteryLevelBattery { get; set; }

Property Value

int

LowBatteryLevelMains

Gets or sets the low battery threshold when plugged in.

public int LowBatteryLevelMains { get; set; }

Property Value

int

LowBatteryNotificationBattery

Gets or sets whether to show a low battery notification when running on batteries.

public BooleanOption LowBatteryNotificationBattery { get; set; }

Property Value

BooleanOption

LowBatteryNotificationMains

Gets or sets whether to show a low battery notification when plugged in.

public BooleanOption LowBatteryNotificationMains { get; set; }

Property Value

BooleanOption

MakeActive

Gets or sets whether to make the power plan the active power plan.

public BooleanOption MakeActive { get; set; }

Property Value

BooleanOption

MaximumProcessorStateBattery

Gets or sets the maximum processor state % when running on batteries.

public int MaximumProcessorStateBattery { get; set; }

Property Value

int

MaximumProcessorStateMains

Gets or sets the maximum processor state % when plugged in.

public int MaximumProcessorStateMains { get; set; }

Property Value

int

MinimumProcessorStateBattery

Gets or sets the minimum processor state % when running on batteries.

public int MinimumProcessorStateBattery { get; set; }

Property Value

int

MinimumProcessorStateMains

Gets or sets the minimum processor state % when plugged in.

public int MinimumProcessorStateMains { get; set; }

Property Value

int

PlanName

Gets or sets the plan name.

public string PlanName { get; set; }

Property Value

string

PowerButtonPressActionBattery

Gets or sets the action to take when the power button is pressed when running on batteries.

public GroupPolicyPowerPlanAction PowerButtonPressActionBattery { get; set; }

Property Value

GroupPolicyPowerPlanAction

PowerButtonPressActionMains

Gets or sets the action to take when the power button is pressed when plugged in.

public GroupPolicyPowerPlanAction PowerButtonPressActionMains { get; set; }

Property Value

GroupPolicyPowerPlanAction

RequireWakePasswordBattery

Gets or sets whether to require a password on wake when running on batteries.

public BooleanOption RequireWakePasswordBattery { get; set; }

Property Value

BooleanOption

RequireWakePasswordMains

Gets or sets whether to require a password on wake when plugged in.

public BooleanOption RequireWakePasswordMains { get; set; }

Property Value

BooleanOption

SleepBattery

Gets or sets the number of minutes before putting the machine into sleep mode when running on batteries.

public int SleepBattery { get; set; }

Property Value

int

SleepMains

Gets or sets the number of minutes before putting the machine into sleep mode when plugged in.

public int SleepMains { get; set; }

Property Value

int

StartMenuPowerButtonActionBattery

Gets or sets the action to take when the start menu power button is clicked when running on batteries.

public GroupPolicyPowerPlanAction StartMenuPowerButtonActionBattery { get; set; }

Property Value

GroupPolicyPowerPlanAction

StartMenuPowerButtonActionMains

Gets or sets the action to take when the start menu power button is clicked when plugged in.

public GroupPolicyPowerPlanAction StartMenuPowerButtonActionMains { get; set; }

Property Value

GroupPolicyPowerPlanAction

TurnOffDisplayBattery

Gets or sets the number of minutes before turning off the display when running on batteries.

public int TurnOffDisplayBattery { get; set; }

Property Value

int

TurnOffDisplayMains

Gets or sets the number of minutes before turning off the display when plugged in.

public int TurnOffDisplayMains { get; set; }

Property Value

int

TurnOffHardDiskBattery

Gets or sets the number of minutes before turning off hard disks when running on batteries.

public int TurnOffHardDiskBattery { get; set; }

Property Value

int

TurnOffHardDiskMains

Gets or sets the number of minutes before turning off hard disks when plugged in.

public int TurnOffHardDiskMains { get; set; }

Property Value

int