Difference between revisions of "Constraint: Power Connected"
| Line 1: | Line 1: | ||
| − | < | + | <pre class="header-style">This constraint allows or prevents a macro/feature from running based on whether external power is connected.</pre> |
| − | + | ''' Options ''' | |
| + | |||
| + | * '''Connected''': Constraint passes only when power is connected | ||
| + | * '''Disconnected''': Constraint passes only when power is disconnected | ||
| + | |||
| + | ''' Example ''' | ||
| + | |||
| + | ''Example 1: Run a backup only while charging'' | ||
| + | <pre class="trigger-style">Triggers | ||
| + | |||
| + | Day/Time Trigger - 02:00</pre> | ||
| + | <pre class="action-style">Actions | ||
| + | |||
| + | Run Macro: System Backup</pre> | ||
| + | <pre class="constraint-style">Constraints | ||
| + | |||
| + | Power Connected - Connected</pre> | ||
| + | |||
| + | ''' See Also ''' | ||
| + | |||
| + | * [[Trigger: Power Connected/Disconnected|Power Connected/Disconnected Trigger]] | ||
Latest revision as of 13:40, 9 January 2026
This constraint allows or prevents a macro/feature from running based on whether external power is connected.
Options
- Connected: Constraint passes only when power is connected
- Disconnected: Constraint passes only when power is disconnected
Example
Example 1: Run a backup only while charging
Triggers Day/Time Trigger - 02:00
Actions Run Macro: System Backup
Constraints Power Connected - Connected
See Also