Share via


ForegroundEnergyDiagnostics.DeviceSpecificConversionFactor Property

Definition

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

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.

Applies to