power source
power source Structure: A power source.
power source structure
type
power source typename
stringstate
power state: optionalpresent
boolean: optionalhealth
power health: optionalconfidence
power confidence: optionalcurrent capacity
power source capacity: optionalcharging
boolean: optionalseconds remaining
integer: optionalDescription
A power source is typically an internal or external battery or specialised power supply. Specialised power supplies include uninterruptible power supply (UPS) devices.
Fields
type
Connection type of power source.
name
Name of the power source.
state
Is the power source available and in use.
present
Is the power source present.
health
Is the power source is good health.
Power sources such as batteries degrade with age and use. Some power sources are able to detect this process and provide a guide as to the health of the battery.
confidence
Is the health field accurate.
current capacity
Current percentage capacity.
charging
Is the power source being charged.
seconds remaining
Estimated seconds remaining until fully charged or empty.
If the power source is being charged, the seconds remaining refer to the time remaining until fully charged.
If the power source is being used, the seconds remaining refer to the time remaining until the power source is empty.
This value may not be present for all power sources.