BackgroundEnergyManager.RecentEnergyUsageLevel 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 nearest predefined energy level of the app's background task for the current 30 minute period, equal to LowUsageLevel, NearMaxAcceptableUsageLevel, MaxAcceptableUsageLevel, ExcessiveUsageLevel, NearTerminationUsageLevel, or TerminationUsageLevel.
public:
static property unsigned int RecentEnergyUsageLevel { unsigned int get(); };
static uint32_t RecentEnergyUsageLevel();
/// [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 RecentEnergyUsageLevel();
public static uint RecentEnergyUsageLevel { get; }
public static uint RecentEnergyUsageLevel { [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.recentEnergyUsageLevel;
Public Shared ReadOnly Property RecentEnergyUsageLevel As UInteger
Property Value
The nearest predefined energy level of the app's background task for the current 30 minute period.
- Attributes