Difference between revisions of "Constraint: Battery Level"
| Line 1: | Line 1: | ||
| − | < | + | <pre class="header-style">This constraint allows or prevents a macro/feature from running based on the current battery level.</pre> |
| − | + | ''' Options ''' | |
| − | + | * '''Above/Below''' - Check if the battery is above or below a selected percentage | |
| + | * '''Battery Level''' - Set the percentage threshold or use a variable | ||
| + | |||
| + | ''' Example ''' | ||
| + | |||
| + | ''Example 1: Turn auto sync off when the power is disconnected and battery is low'' | ||
| + | <pre class="trigger-style">Triggers | ||
| + | |||
| + | Power Disconnected | ||
| + | <pre class="action-style">Actions | ||
| + | |||
| + | Autosync On/Off (Disable)</pre> | ||
| + | <pre class="constraint-style">Constraints | ||
| + | |||
| + | Battery Level - At or below 50%</pre> | ||
| + | |||
| + | ''' See Also ''' | ||
| + | |||
| + | * [[Trigger: Battery Level|Battery Level Trigger]] | ||
| + | * [[Action: Battery Saver|Battery Saver Action]] | ||
Revision as of 11:03, 9 January 2026
This constraint allows or prevents a macro/feature from running based on the current battery level.
Options
- Above/Below - Check if the battery is above or below a selected percentage
- Battery Level - Set the percentage threshold or use a variable
Example
Example 1: Turn auto sync off when the power is disconnected and battery is low
Triggers Power Disconnected <pre class="action-style">Actions Autosync On/Off (Disable)
Constraints Battery Level - At or below 50%
See Also