Battery.ChargeLevel 属性

定义

获取设备从 0.0 到 1.0 的当前充电级别。

public static double ChargeLevel { get; }

属性值

System.Double

费用级别。 如果没有电池,则返回 -1。

适用于