Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

System.Devices.BatteryPlusCharging

Remaining battery life of the device and its charging state.

propertyDescription
   name = System.Devices.BatteryPlusCharging
   shellPKey = PKEY_Devices_BatteryPlusCharging
   formatID = 49CD1F76-5626-4B17-A4E8-18B4AA1A2213
   propID = 22
   searchInfo
      inInvertedIndex = false
      isColumn = false
      isColumnSparse = true
      columnIndexType = NotIndexed
      maxSize = 128
   labelInfo
      label = Battery plus charging
      sortDescription
      invitationText
      hideLabel = false
   typeInfo
      type = Byte
      groupingRange = Discrete
      isInnate = true
      canBePurged
      multipleValues = false
      isGroup = false
      aggregationType = Default
      isTreeProperty = false
      isViewable = true
      isQueryable = false
      includeInFullTextQuery = false
      conditionType = String
      defaultOperation = Equal
   aliasInfo
      sortByAlias = None
      additionalSortByAliases = None
   displayInfo
      defaultColumnWidth = 20
      displayType = Enumerated
      alignment = Left
      relativeDescriptionType = General
      defaultSortDirection = Ascending
      stringFormat
         formatAs = General
      booleanFormat
         formatAs = YesNo
      numberFormat
         formatAs = General
         formatDurationAs = hh:mm:ss
      dateTimeFormat
         formatAs = General
         formatTimeAs = ShortTime
         formatDateAs = ShortDate
      enumeratedList
         defaultText
         useValueForDefault = False
         enum
            value
            text
         BATTERYPLUSCHARGING_CRITICALLY_LOW
            minValue = 0
            setValue = 5
            text = Critically low battery
         BATTERYPLUSCHARGING_LOW
            minValue = 11
            setValue = 18
            text = Low battery
         BATTERYPLUSCHARGING_AVERAGE
            minValue = 26
            setValue = 60
            text = Average battery
         BATTERYPLUSCHARGING_FULL
            minValue = 90
            setValue = 95
            text = Full battery
         BATTERYPLUSCHARGING_CHARGING_CRITICALLY_LOW
            minValue = 101
            setValue = 5
            text = Critically low battery (charging)
         BATTERYPLUSCHARGING_CHARGING_LOW
            minValue = 111
            setValue = 18
            text = Low battery (charging)
         BATTERYPLUSCHARGING_CHARGING_AVERAGE
            minValue = 126
            setValue = 60
            text = Average battery (charging)
         BATTERYPLUSCHARGING_CHARGING_FULL
            minValue = 190
            setValue = 95
            text = Full battery (charging)
         BATTERYPLUSCHARGING_UNKNOWN_STATUS
            minValue = 201
            setValue = 201
            text = Unknown battery and charging status
      drawControl
         control = Default
      editControl
         control = Default
      filterControl
         control = Default
   relatedPropertyInfo
      Windows 7 only
      relatedProperty
         relationshipName = System.RelatedProperty.Text
         propertyName = System.Computer.BatteryPlusChargingText

Remarks

PKEY values are defined in Propkey.h.

Related topics

propertyDescription
searchInfo
labelInfo
typeInfo
displayInfo
stringFormat
booleanFormat
numberFormat
dateTimeFormat
enumeratedList
drawControl
editControl
filterControl
queryControl

 

 

Community Additions

ADD
Show:
© 2015 Microsoft