Windows.System.Power.Diagnostics Namespace
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.
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 |
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 |
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. |