ForegroundEnergyDiagnostics.DeviceSpecificConversionFactor Property
Definition
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.
Gets the device-specific conversion factor used to convert energy usage (mW) to a normalized percentage.
Important
These APIs consume significant CPU resources. We recommend using these APIs only for debugging purposes.
public:
static property double DeviceSpecificConversionFactor { double get(); };
static double DeviceSpecificConversionFactor();
/// [get: Windows.Foundation.Metadata.Deprecated("Background Energy Diagnostics has been deprecated. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 393216, "Windows.Foundation.UniversalApiContract")]
static double DeviceSpecificConversionFactor();
public static double DeviceSpecificConversionFactor { get; }
public static double DeviceSpecificConversionFactor { [Windows.Foundation.Metadata.Deprecated("Background Energy Diagnostics has been deprecated. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 393216, "Windows.Foundation.UniversalApiContract")] get; }
var double = ForegroundEnergyDiagnostics.deviceSpecificConversionFactor;
Public Shared ReadOnly Property DeviceSpecificConversionFactor As Double
Property Value
double
The device-specific conversion factor used to convert energy usage (mW) to a normalized percentage
- Attributes
Remarks
To determine the estimated energy usage for the device in units of milliwatts (mW), divide the computed total energy usage by the DeviceSpecificConversionFactor.