Windows.System.Power.Diagnostics Windows.System.Power.Diagnostics Windows.System.Power.Diagnostics Windows.System.Power.Diagnostics Windows.System.Power.Diagnostics Namespace

Provides debugging APIs for computing your app’s total energy usage in real time. We recommend using these APIs only for debugging.

Important

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

Classes

BackgroundEnergyDiagnostics BackgroundEnergyDiagnostics BackgroundEnergyDiagnostics BackgroundEnergyDiagnostics BackgroundEnergyDiagnostics

Provides debugging APIs for calculating your app's background energy usage in real time. We recommend using these APIs only for debugging.

Important

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

ForegroundEnergyDiagnostics ForegroundEnergyDiagnostics ForegroundEnergyDiagnostics ForegroundEnergyDiagnostics ForegroundEnergyDiagnostics

Provides debugging APIs for calculating your app's foreground energy usage in real time. We recommend using these APIs only for debugging.

Important

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