BackgroundEnergyManager.MaxAcceptableUsageLevel 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 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
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.