BatteryChargeStatus BatteryChargeStatus BatteryChargeStatus BatteryChargeStatus Enum

定义

定义指示当前电池能量级别或充电状态信息的标识符。Defines identifiers that indicate the current battery charge level or charging state information.

此枚举有一个 FlagsAttribute 属性,允许按位组合成员值。

public enum class BatteryChargeStatus
[System.Flags]
public enum BatteryChargeStatus
type BatteryChargeStatus = 
Public Enum BatteryChargeStatus
继承
BatteryChargeStatusBatteryChargeStatusBatteryChargeStatusBatteryChargeStatus
属性

字段

Charging Charging Charging Charging 8

指示电池正在充电。Indicates a battery is charging.

Critical Critical Critical Critical 4

指示电池能量严重不足。Indicates a critically low level of battery charge.

High High High High 1

指示电池能量级别较高。Indicates a high level of battery charge.

Low Low Low Low 2

指示电池能量级别较低。Indicates a low level of battery charge.

NoSystemBattery NoSystemBattery NoSystemBattery NoSystemBattery 128

指示没有电池存在。Indicates that no battery is present.

Unknown Unknown Unknown Unknown 255

指示未知电池状态。Indicates an unknown battery condition.

注解

此枚举由BatteryChargeStatus属性的PowerStatus类。This enumeration is used by the BatteryChargeStatus property of the PowerStatus class.

适用于

另请参阅