: Public Class
Created: 1/21/2011 3:14:36 PM
Modified: 10/31/2012 4:03:47 PM
Project:
Advanced:
Contains the status of the device's power sources
Attribute
Public UInt8
  batteryStatus

Details:
Notes: Battery system status<br /></p><p><br /></p><p>0 = unknown<br /></p><p>1 = normal (more than LowChargeThreshold remaining)<br /></p><p>2 = low (less than LowChargeThreshold remaining) <br /></p><p>3 = depleted (0% charge remaining)<br /></p><p>4 = not applicable (mains powered only)<br /></p>
Public TimeType
  changedTime

Details:
Notes: The time at which the reported values were recorded.
Public PowerSourceType
  currentPowerSource

Details:
Notes: This value will be fixed for devices powered by a single source.  This value may change for devices able to transition between multiple power sources (mains to battery backup, etc.).
Public PerCent
  estimatedChargeRemaining

Details:
Notes: Estimate of remaining battery charge as a percent of full charge.
Public UInt32
  estimatedTimeRemaining

Details:
Notes: Estimated time (in seconds) to total battery charge depletion (under current load)
Public UInt32
  sessionTimeOnBattery

Details:
Notes: If the device has a battery, this is the time since the device last switched to battery power, or the time since the device was restarted, whichever is less, in seconds.
Public UInt32
  totalTimeOnBattery

Details:
Notes: If the device has a battery, this is the total time the device has been on battery power, in seconds. It may be reset when the battery is replaced.
Element Source Role Target Role
PEVInfo
Class  
Name:  
 
Name:  
 
Details:
 
Object Type Connection Notes
Resource Class Generalization