BackgroundEnergyDiagnostics.ResetTotalEnergyUsage BackgroundEnergyDiagnostics.ResetTotalEnergyUsage BackgroundEnergyDiagnostics.ResetTotalEnergyUsage BackgroundEnergyDiagnostics.ResetTotalEnergyUsage BackgroundEnergyDiagnostics.ResetTotalEnergyUsage Method

Definition

Clears the value that represents the total cumulative energy usage of the background task since the last reset.

Important

These APIs consume significant CPU resources. We recommend using these APIs only for debugging purposes.

public : static void ResetTotalEnergyUsage()
static void ResetTotalEnergyUsage() const;
public static void ResetTotalEnergyUsage()
Public Shared Sub ResetTotalEnergyUsage()
Windows.System.Power.Diagnostics.BackgroundEnergyDiagnostics.resetTotalEnergyUsage();

Remarks

This method doesn't reduce energy consumption, it simply resets the counter used to track total energy usage.