Condition - Battery Level
The condition Battery Level checks whether the battery level is above or below a certain level.
Examples:
- Download a file only when the battery level is above 50%.
Settings
Battery Level
Defines the condition that must be met to continue the flow on the true branch:
lower than
true when the reported percentage by the system is below the defined level
higher than
true when the reported percentage by the system is above the defined level
exactly
true when the reported percentage by the system is exactly on the defined level
full
true when the reported battery status by the system is full
lower than
true when the reported percentage by the system is below the defined level
higher than
true when the reported percentage by the system is above the defined level
exactly
true when the reported percentage by the system is exactly on the defined level
full
true when the reported battery status by the system is full
Level Percentage
Defines the level percentage.
A variable is a container for a value that can be used in many actions and conditions to dynamically define a part of a text.
See action Script for a description.
See action Script for a description.
Supplied Variables
battery_levelthe charging level of the battery
battery_percentagethe charging percentage
battery_pluggedwhether the battery is plugged (1=AC adapter, 2=USB, 4=Wireless) or not (0=not plugged)
battery_presentwhether the battery is present or not
battery_scalethe maximum battery level
battery_statusthe status of the battery (1=unknown, 2=charging, 3=discharging, 4=not charging, 5=full)
battery_technologythe technology of the battery
battery_temperaturethe temperature of the battery (in tenths of degree Celsius)
battery_voltagethe current battery voltage
battery_healththe health of the battery (1=unknown, 2=good, 3=overheat, 4=dead, 5=over voltage, 6=unspecified failure, 7=cold)
battery_charge_counter (Android 5+)Battery capacity in microampere-hours. null when not available
battery_current_now (Android 5+)Instantaneous battery current in microamperes (positive values=charging, negative values=discharging). null when not available
battery_current_average (Android 5+)Average battery current in microamperes (positive values=charging, negative values=discharging). null when not available
battery_energy_counter (Android 5+)Battery remaining energy in nanowatt-hours. null when not available