語言

PowerStatus.BatteryLifePercent 屬性

定義

這樣可以得到大約的電池剩餘電量。

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

屬性值

大約剩餘的電量,從 0.0 到 1.0。

適用於

另請參閱