Share via


ForegroundEnergyManager.ExcessiveUsageLevel Property

Definition

Gets the excessive usage level, expressed as a percentage of normal energy usage.

public:
 static property unsigned int ExcessiveUsageLevel { unsigned int get(); };
static uint32_t ExcessiveUsageLevel();
/// [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 ExcessiveUsageLevel();
public static uint ExcessiveUsageLevel { get; }
public static uint ExcessiveUsageLevel { [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.excessiveUsageLevel;
Public Shared ReadOnly Property ExcessiveUsageLevel As UInteger

Property Value

UInt32

unsigned int

uint32_t

The excessive usage level, expressed as a percentage of normal energy usage.

Attributes

Remarks

An app operating at the excessive usage level is at risk of being reported to the Battery Saver app as a high energy consumer.

Applies to