语言

PowerStatus.BatteryLifeRemaining 属性

定义

获取剩余电池时间的大致秒数。

public:
 property int BatteryLifeRemaining { int get(); };
public int BatteryLifeRemaining { get; }
member this.BatteryLifeRemaining : int
Public ReadOnly Property BatteryLifeRemaining As Integer

属性值

剩余电池时间的大致秒数,或 -1 大约剩余的电池使用时间未知。

适用于

另请参阅