condition battery health
condition battery health Structure: Conditional on the battery health.
Description
The health of a battery backed power source can diminish over time. As the health declines, many power sources can provide a guide as to the battery's current state. This condition allows you to create events that conditionally perform only if the battery's health matches a given comparison.
Consider using this condition to check the battery's health when a user logs in, or before beginning a long running critical task.
Not every battery will have corresponding health information. This information is provided by the battery itself and thus the existence of the health information is dependent on the manufacturer.
Only one power source needs to match this condition in order to return true.
Fields
health
Current health of at least one power source.
comparison
Method to compare the battery health with.
The health values are ordered from good (high) to failure (low). The unknown state always returns false.