Changes

no edit summary
Line 1: Line 1: −
<span style="color: #0E9549; font-size: 24px;">'''About this constraint '''</span>
+
<pre class="header-style">This constraint allows or prevents a macro/feature from running based on whether Battery Saver is enabled.</pre>
   −
This constraint can be used to allow/prevent something running based on the battery saver state of the device.
+
''' Options '''
 +
 
 +
* '''Enabled''': Constraint passes only when Battery Saver is on
 +
* '''Disabled''': Constraint passes only when Battery Saver is off
 +
 
 +
''' Example '''
 +
 
 +
''Example 1: Dim the screen only when Battery Saver is active''
 +
  <pre class="trigger-style">Triggers
 +
 
 +
Screen On/Off - Screen On</pre>
 +
  <pre class="action-style">Actions
 +
 
 +
Brightness (40%)</pre>
 +
  <pre class="constraint-style">Constraints
 +
 
 +
Battery Saver State - Enabled</pre>
 +
 
 +
''' See Also '''
 +
 
 +
* [[Trigger: Battery Saver State|Battery Saver State Trigger]]
 +
* [[Action: Battery Saver|Battery Saver Action]]