Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 674 Bytes

foregroundenergydiagnostics_resettotalenergyusage_1916149566.md

File metadata and controls

23 lines (16 loc) · 674 Bytes
-api-id -api-type
M:Windows.System.Power.Diagnostics.ForegroundEnergyDiagnostics.ResetTotalEnergyUsage
winrt method

Windows.System.Power.Diagnostics.ForegroundEnergyDiagnostics.ResetTotalEnergyUsage

-description

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.

-remarks

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

-examples

-see-also