Share via


BackgroundEnergyManager.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("Background 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("Background Energy Manager has been deprecated. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 393216, "Windows.Foundation.UniversalApiContract")] get; }
var uInt32 = BackgroundEnergyManager.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

A background task operating at this level has reached the maximum acceptable level and is at risk of being reported to the Battery Saver app as a high energy consumer.

Applies to