.NET Framework 4.6 and 4.5
Defines identifiers that indicate the current battery charge level or charging state information.
This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.
public enum BatteryChargeStatus
|Charging||Indicates a battery is charging.|
|Critical||Indicates a critically low level of battery charge.|
|High||Indicates a high level of battery charge.|
|Low||Indicates a low level of battery charge.|
|NoSystemBattery||Indicates that no battery is present.|
|Unknown||Indicates an unknown battery condition.|
Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
.NET Framework Client Profile
Supported in: 4, 3.5 SP1