Difference between revisions of "Constraint: Battery Level"

 
Line 11: Line 11:
 
   <pre class="trigger-style">Triggers
 
   <pre class="trigger-style">Triggers
  
Power Disconnected
+
Power Disconnected</pre>
 
   <pre class="action-style">Actions
 
   <pre class="action-style">Actions
  

Latest 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
Actions

Autosync On/Off (Disable)
Constraints

Battery Level - At or below 50%

See Also