BatteryStatus Enum
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The battery status
This enumeration supports a bitwise combination of its member values.
C#
[System.Flags]
public enum BatteryStatus
[<System.Flags>]
type BatteryStatus =
Public Enum BatteryStatus
- Inheritance
-
BatteryStatus
- Attributes
Name | Value | Description |
---|---|---|
ModeB | 2 | Mode B, when not present, the Mode A (sleep) is activated |
ChargingCurrentLessThanExpected | 4 | Charging CurrentLess Than Expected |
BatteryActivationMode | 8 | Battery Activation Mode |
BatteryConnected | 32 | Battery Connected |
Charging | 64 | Charging |
Overwinered | 64 | Overwinered |
Product | Versies |
---|---|
.NET IoT Libraries | 2.0.0, 2.1.0, 2.2.0 |