ForegroundEnergyManager.ExcessiveUsageLevel Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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.