PowerStatus

Class Description

Contains the status of the device's power sources

Attributes

NameTypeDescription
batteryStatusUInt8Battery system status 0 = unknown 1 = normal (more than LowChargeThreshold remaining) 2 = low (less than LowChargeThreshold remaining) 3 = depleted (0% charge remaining) 4 = not applicable (mains powered only)
currentPowerSourcePowerSourceTypeThis 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.).
estimatedChargeRemainingPerCentEstimate of remaining battery charge as a percent of full charge.
estimatedTimeRemainingUInt32Estimated time (in seconds) to total battery charge depletion (under current load)
sessionTimeOnBatteryUInt32If 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.
totalTimeOnBatteryUInt32If 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.
changedTimeTimeTypeThe time at which the reported values were recorded.
pollRateUInt32The default polling rate for this function set (this resource and all resources below), in seconds. If not specified, a default of 900 seconds (15 minutes) is used. It is RECOMMENDED a client poll the resources of this function set every pollRate seconds.

Relationships

Inherits from

Descendant classes

  • No descendant classes

Associations

Source ClassCardinality SourceTarget ClassCardinality Target
PowerStatusPEVInfo0..1