System.Devices.BatteryPlusCharging
Remaining battery life of the device and its charging state.
Windows 10, version 1703, Windows 10, version 1607, Windows 10, version 1511, Windows 10, version 1507, Windows 8.1, Windows 8, Windows 7
propertyDescription
name = System.Devices.BatteryPlusCharging
shellPKey = PKEY_Devices_BatteryPlusCharging
formatID = 49CD1F76-5626-4B17-A4E8-18B4AA1A2213
propID = 22
SearchInfo
InInvertedIndex = false
IsColumn = false
typeInfo
type = Byte
IsInnate = true
EnumeratedList
UseValueForDefault = True
enumRange
name = CriticallyLow
minValue = 0
setValue = 5
text = Critically low battery
defineToken = BATTERYPLUSCHARGING_CRITICALLY_LOW
enumRange
name = Low
minValue = 11
setValue = 18
text = Low battery
defineToken = BATTERYPLUSCHARGING_LOW
enumRange
name = Average
minValue = 26
setValue = 60
text = Average battery
defineToken = BATTERYPLUSCHARGING_AVERAGE
enumRange
name = Full
minValue = 90
setValue = 95
text = Full battery
defineToken = BATTERYPLUSCHARGING_FULL
enumRange
name = CriticallyLow
minValue = 101
setValue = 5
text = Critically low battery (charging)
defineToken = BATTERYPLUSCHARGING_CHARGING_CRITICALLY_LOW
enumRange
name = Low
minValue = 111
setValue = 18
text = Low battery (charging)
defineToken = BATTERYPLUSCHARGING_CHARGING_LOW
enumRange
name = Average
minValue = 126
setValue = 60
text = Average battery (charging)
defineToken = BATTERYPLUSCHARGING_CHARGING_AVERAGE
enumRange
name = Full
minValue = 190
setValue = 95
text = Full battery (charging)
defineToken = BATTERYPLUSCHARGING_CHARGING_FULL
enumRange
name = UnknownStatus
minValue = 201
setValue = 201
text = Unknown battery and charging status
defineToken = BATTERYPLUSCHARGING_UNKNOWN_STATUS
Remarks
PKEY values are defined in Propkey.h.
Related topics