PowerSource
Represents a power source (e.g., a battery) in the system, including details like the remaining capacity, power usage, voltage, and charging status.
Author
N7ghtm4r3
Inheritors
Properties
capacityUnits
The units for capacity (e.g., mAh, Ah)
currentCapacity
The current capacity of the power source (in mAh or Ah, depending on capacityUnits
)
cycleCount
The number of charge cycles the power source has gone through
designCapacity
The designed capacity of the power source (in mAh or Ah, depending on capacityUnits
)
deviceName
The name of the device associated with the power source
isCharging
Whether the power source is currently charging
isDischarging
Whether the power source is currently discharging
isPowerOnLine
Whether the power source is connected to an external power line
manufacturer
The manufacturer of the power source
maxCapacity
The maximum capacity of the power source (in mAh or Ah, depending on capacityUnits
)
powerUsageRate
The rate of power usage by the power source (in watts)
remainingCapacityPercent
The remaining capacity of the power source as a percentage of the total capacity
serialNumber
The serial number of the power source
temperature
The temperature of the power source (in Celsius)
timeRemainingEstimated
The estimated time remaining on the power source (in hours)
timeRemainingInstant
The instantaneous time remaining on the power source (in hours)
updateAttributes
Whether the attributes of the power source should be updated