-api-id | -api-type |
---|---|
M:Windows.System.Power.Diagnostics.ForegroundEnergyDiagnostics.ResetTotalEnergyUsage |
winrt method |
Clears the value that represents the total cumulative energy usage of the foreground app since the last reset.
Important
These APIs consume significant CPU resources. We recommend using these APIs only for debugging purposes.
This method doesn't reduce energy consumption, it simply resets the counter used to track total energy usage.