PowerStatus.BatteryLifePercent 属性

定义

获取电池剩余电量的近似量。

public:
 property float BatteryLifePercent { float get(); };
public float BatteryLifePercent { get; }
member this.BatteryLifePercent : single
Public ReadOnly Property BatteryLifePercent As Single

属性值

Single

电池剩余电量的近似量(从 0.0 到 1.0)。

适用于

另请参阅