Hello, today I installed Tasker as I saw that you can do a plenty of things, as long as you have imagination. As you know, lollipop has a built-in battery saver and I wanted to have a toggle for this option without having to install extra applications or plug-ins.
For those who haven't Tasker, they can buy it from here.
For those who have it installed, let's create a task and a variable first (make sure you have unchecked the Beginner Mode in Preferences).
1) In tasks tap + button and name it as you want
2) Then tap + button again to create an action
3) Select Variables -> Variables Add -> %LPOWER with value 0 (you might have to press a button that looks like a shuffle button and then insert 0)
4) Tap + then Task -> If and enter %LPOWER Maths:equals 0
5) Tap + then Code -> Run Shell and enter "settings put global low_power 1
6) Tap + then Variables -> Variables Set -> %LPOWER with value 1
7) Tap + then Task -> Else
8) Tap + then Code -> Run Shell and enter "settings put global low_power 0
9) Tap + then Variables -> Variables Set -> %LPOWER with value 0
10) Tap + then Task -> End If
In the end, you can choose an icon for the task and add it as a widget on your homescreen
For those who haven't Tasker, they can buy it from here.
For those who have it installed, let's create a task and a variable first (make sure you have unchecked the Beginner Mode in Preferences).
1) In tasks tap + button and name it as you want
2) Then tap + button again to create an action
3) Select Variables -> Variables Add -> %LPOWER with value 0 (you might have to press a button that looks like a shuffle button and then insert 0)
4) Tap + then Task -> If and enter %LPOWER Maths:equals 0
5) Tap + then Code -> Run Shell and enter "settings put global low_power 1
6) Tap + then Variables -> Variables Set -> %LPOWER with value 1
7) Tap + then Task -> Else
8) Tap + then Code -> Run Shell and enter "settings put global low_power 0
9) Tap + then Variables -> Variables Set -> %LPOWER with value 0
10) Tap + then Task -> End If
In the end, you can choose an icon for the task and add it as a widget on your homescreen
Aucun commentaire:
Enregistrer un commentaire