Battery.ChargeLevel Property

Definition

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

public static double ChargeLevel { get; }

Property Value

System.Double

Level of charge. Returns -1 if no battery exists.

Applies to