trigger battery health

trigger battery health Structure: Trigger when a power source's battery health changes.

trigger battery health structure

Description

The trigger will fire when a power source's battery health changes. This change will occur when one of the power source's detects that its battery health has changed. Typically the health of a battery will decline in quality over time. As the health declines, so the live span of the battery is reduced.

There may be multiple power sources. The trigger can filter which power source's can trigger using the name field as a filter. By providing a previous and now state, the trigger can further filter the power source changes that initiate the trigger.

A trigger without either a before or now state, will trigger whenever the power source state changes. A trigger with one or both the before and now state, will trigger only when those values are matched by the changing power source's state.