Line 4: |
Line 4: |
| Don't forget that a trigger fires once at the exact time the event occurs. So, in the above 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> | | Don't forget that a trigger fires once at the exact time the event occurs. So, in the above 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> | | <br> |
− | '''Example Usage:'''<br/> | + | '''Example Usage #1:'''<br/> |
| If the battery level decreases to 20% enable battery saving mode (this action requires adb hack or root) | | If the battery level decreases to 20% enable battery saving mode (this action requires adb hack or root) |
− | </pre>
| + | <pre style="background-color: #FF5959; color: white; border-radius: 10px; padding: 10px;"> |
− | <pre style="background-color: #AC2424; color: white; border-radius: 10px; padding: 10px;"> | |
| Triggers | | Triggers |
| | | |
− | Battery (<=20%) | + | Battery (<=20%)</pre> |
− | </pre><br> | |
| <pre style="background-color: #1665B0; color: white; border-radius: 10px; padding: 10px;"> | | <pre style="background-color: #1665B0; color: white; border-radius: 10px; padding: 10px;"> |
| Actions | | Actions |
| | | |
| Battery saver ON | | Battery saver ON |
− | </pre><br> | + | </pre> |
| <pre style="background-color: green; color: white; border-radius: 10px; padding: 10px;"> | | <pre style="background-color: green; color: white; border-radius: 10px; padding: 10px;"> |
| Constraints | | Constraints |
| | | |
| | | |
− | </pre><br> | + | </pre> |
− | '''Example Usage:''' If the battery level increases to 30% disable battery saving mode (this action requires adb hack or root)<br/> | + | <br> |
− | <pre style="background-color: red; color: white; border-radius: 10px; padding: 10px;"> | + | '''Example Usage #2:'''<br/> |
| + | If the battery level increases to 30% disable battery saving mode (this action requires adb hack or root) |
| + | <pre style="background-color: #FF5959; color: white; border-radius: 10px; padding: 10px;"> |
| Triggers | | Triggers |
| | | |
| Battery (>=30%) | | Battery (>=30%) |
− | </pre><br> | + | </pre> |
| <pre style="background-color: #1665B0; color: white; border-radius: 10px; padding: 10px;"> | | <pre style="background-color: #1665B0; color: white; border-radius: 10px; padding: 10px;"> |
| Actions | | Actions |
| | | |
| Battery saver OFF | | Battery saver OFF |
− | </pre><br> | + | </pre> |
| <pre style="background-color: green; color: white; border-radius: 10px; padding: 10px;"> | | <pre style="background-color: green; color: white; border-radius: 10px; padding: 10px;"> |
| Constraints | | Constraints |