语言

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)。

适用于

另请参阅