condition power remaining

condition power remaining Structure: Conditional on the power remaining.

condition power remaining structure
current capacity power source capacity: optional
seconds remaining integer: optional

Description

Where both a current capacity and seconds remaining value are provided, both must be true for the condition to be evaluated as true.

Where neither current capacity or seconds remaining are provided, no power sources will be matched, and the condition will always evaulate to false.

Only one power source needs to match this condition in order to return true.

Fields

current capacity

Current percentage capacity.

seconds remaining

Estimated time remaining until fully charged or empty.

Combine seconds remaining with a filter containing a charging value. A positive charging value indicates the power source's seconds remaining are expected to increase. A negative charging value indicates the power source's seconds remaining are expected to decline.

comparison

Method to compare the current capacity and seconds remaining with.