Share via


ForegroundEnergyManager.MaxAcceptableUsageLevel Property

Definition

Gets the maximum acceptable usage level, expressed as a percentage of normal energy consumption.

public:
 static property unsigned int MaxAcceptableUsageLevel { unsigned int get(); };
static uint32_t MaxAcceptableUsageLevel();
/// [get: Windows.Foundation.Metadata.Deprecated("Foreground Energy Manager has been deprecated. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 393216, "Windows.Foundation.UniversalApiContract")]
static uint32_t MaxAcceptableUsageLevel();
public static uint MaxAcceptableUsageLevel { get; }
public static uint MaxAcceptableUsageLevel { [Windows.Foundation.Metadata.Deprecated("Foreground Energy Manager has been deprecated. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 393216, "Windows.Foundation.UniversalApiContract")] get; }
var uInt32 = ForegroundEnergyManager.maxAcceptableUsageLevel;
Public Shared ReadOnly Property MaxAcceptableUsageLevel As UInteger

Property Value

UInt32

unsigned int

uint32_t

The maximum acceptable usage level, expressed as a percentage of normal energy consumption.

Attributes

Remarks

An app operating at or beyond the maximum acceptable level is at risk of being reported to the Battery Saver app as a high energy consumer.

Applies to