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. |
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for