PowerStatus
Class Description
Contains the status of the device's power sources
Attributes
| Name | Type | Description |
|---|---|---|
| batteryStatus | UInt8 | Battery 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) |
| currentPowerSource | PowerSourceType | 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.). |
| estimatedChargeRemaining | PerCent | Estimate of remaining battery charge as a percent of full charge. |
| estimatedTimeRemaining | UInt32 | Estimated time (in seconds) to total battery charge depletion (under current load) |
| sessionTimeOnBattery | UInt32 | 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. |
| totalTimeOnBattery | UInt32 | 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. |
| changedTime | TimeType | The time at which the reported values were recorded. |
| pollRate | UInt32 | The 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 Class | Cardinality Source | Target Class | Cardinality Target |
|---|---|---|---|
| PowerStatus | PEVInfo | 0..1 |