Line 1: |
Line 1: |
− | <span style="color: #B22A2A; font-size: 24px; display: inline-block; margin-top: 15px; margin-bottom: 0px;"><strong>About this trigger</strong></span> | + | <pre style="background-color: #EEEEEE; color: Black; border-radius: 10px; padding: 10px;"> |
| + | When the battery % increases or decreases, this trigger will fire. The trigger can be configured to trigger on any change or when the battery % increases or decreases to a certain level.</pre> |
| + | '''HINT:'''<pre style="background-color: #EEEEEE; color: Black; border-radius: 10px; padding: 10px;"> |
| + | Don't forget that a trigger fires once at the exact time the event occurs. So, in the below examples, it will only fire when battery level goes down from 16% to 15% or up from 14% to 15% (respectively from 31% to 30% or from 29% to 30%)</pre> |
| + | <br> |
| + | '''Example Usage #1:'''<br/> |
| + | If the battery level decreases to 20% enable battery saving mode (this action requires adb hack or root) |
| + | <pre class="trigger-style"> |
| + | Triggers |
| | | |
− | When the battery % increases or decreases, this trigger will fire. The trigger can be configured to trigger on any change or when the battery % increases or decreases to a certain level.
| + | Battery (<=20%)</pre> |
| + | <pre class="action-style"> |
| + | Actions |
| | | |
− | Don't forget that a trigger fires once at the exact time the event occurs. So, in the below examples, it will only fire when battery level goes down from 16% to 15% or up from 14% to 15% (respectively from 31% to 30% or from 29% to 30%)
| + | Battery saver ON |
| + | </pre> |
| + | <pre class="constraint-style"> |
| + | Constraints |
| + | |
| + | |
| + | </pre> |
| + | <br> |
| + | '''Example Usage #2:'''<br/> |
| + | If the battery level increases to 30% disable battery saving mode (this action requires adb hack or root) |
| + | <pre class"> |
| + | Triggers |
| + | |
| + | Battery (>=30%) |
| + | </pre> |
| + | <pre style="background-color: #1665B0; color: white; border-radius: 10px; padding: 10px;"> |
| + | Actions |
| + | |
| + | Battery saver OFF |
| + | </pre> |
| + | <pre style="background-color: green; color: white; border-radius: 10px; padding: 10px;"> |
| + | Constraints |
| + | |
| + | |
| + | </pre><br> |