Share via


IBattery.ChargeLevel Property

Definition

Gets the current charge level of the device from 0.0 to 1.0.

public:
 property double ChargeLevel { double get(); };
public double ChargeLevel { get; }
member this.ChargeLevel : double
Public ReadOnly Property ChargeLevel As Double

Property Value

Remarks

Returns -1 if no battery exists.

Applies to