Battery Life Saving Tricks With Tasker - Tasker Tips & Tricks

Great

Best Battery Saving Profiles For Tasker
Best Battery Saving Profiles For Tasker
Battery saving mode when battery is low on your Android
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Steps:
Go to Profile, then State and select “Power“. Choose “Battery Level” and set the desired range (let’s say from 0-20).
Create new Task and tap the “+” icon. Select “Net” and turn Bluetooth off, auto sync off, Wi-Fi off and Mobile data off (if its available on your device).
Dim Brightness at specific times
Steps:
Create new profile. Go to “Time” and select the time range in which you want to lower (or increase) the brightness.
Create a new task and tap the “+” icon. Go to “Display” and then “Display Brightness“. Select your preferred value.
Night mode or Quiet time
Steps:
Create a new profile and select time. Choose the desired time range (for example, from 00:00 – 06:30).
Create a new task and tap the “+” icon.
Go to “Audio” then set Silent mode ON or vibrate.
Go to “Net” and turn auto sync OFF and Wi-Fi OFF.

Battery saver
If you run lollipop and above you can toggle the battery saver without purchasing any app or even without rooting you phone.

ADPL said:
If you run lollipop and above you can toggle the battery saver without purchasing any app or even without rooting you phone.
Click to expand...
Click to collapse
Is it possible to toggle the battery saver from within Tasker without root?

D0rd said:
Is it possible to toggle the battery saver from within Tasker without root?
Click to expand...
Click to collapse
Yes it is possible but only above lollipop and works for marshmallow too

ADPL said:
Yes it is possible but only above lollipop and it is not tested for marshmallow.
Click to expand...
Click to collapse
I'm on Lollipop at the moment. Do you have any further information or links on this? I've been looking but can't see any that work without root.

D0rd said:
I'm on Lollipop at the moment. Do you have any further information or links on this? I've been looking but can't see any that work without root.
Click to expand...
Click to collapse
It doesn't look like this is possible unless you have root.

D0rd said:
I'm on Lollipop at the moment. Do you have any further information or links on this? I've been looking but can't see any that work without root.
Click to expand...
Click to collapse
It's a small task but very long to explain. If possible could you send me your email id. I will email you the procedure with some screenshots

I an looking to use tasker or automatic to create the following rule, incoming call=turn on BT, connect to headset, answer call; end call, turn off BT after 30 seconds. Is this wishful thinking or can it b done with one of these apps. The BT wakelock is killing me. If it matters I'm running Pure Nexus 12/19 with latest ElementalX kernel. Thanks in advance.

worth on lollipop?

nero8762 said:
I an looking to use tasker or automatic to create the following rule, incoming call=turn on BT, connect to headset, answer call; end call, turn off BT after 30 seconds. Is this wishful thinking or can it b done with one of these apps. The BT wakelock is killing me. If it matters I'm running Pure Nexus 12/19 with latest ElementalX kernel. Thanks in advance.
Click to expand...
Click to collapse
Honestly, by the time the call is received, bluetooth turned on, made a connection to your headset, and answer the call it would probably just go to voice mail. It's doable for sure but probably wouldn't help out any.
As for battery saving, here's my addition,
Quiet Time -> toggle all sounds off and set brightness to low @ 2130 until the next morning (I could probably turn off data as well)
Sync modes -> Toggle auto sync to off > enable every 30 minutes for 5 minutes > Sync> turn off sync

Thanks. I actually got it to work with Automagic app. BT turns on with incoming call or when I make a call, then turns BT off after I hang up.

My favorite battery saving tip for AMOLED device (provided you have a kernel with KCAL enabled) mimics Samsung's Ultra Power Saving mode by turning your device grayscale.
Just run this shell command to turn it grayscale:
Code:
echo "0" > /sys/devices/platform/kcal_ctrl.0/kcal_enable
echo "255 255 255" > /sys/devices/platform/kcal_ctrl.0/kcal
echo "255" > /sys/devices/platform/kcal_ctrl.0/kcal_cont
echo "0" > /sys/devices/platform/kcal_ctrl.0/kcal_hue
echo "35" > /sys/devices/platform/kcal_ctrl.0/kcal_min
echo "128" > /sys/devices/platform/kcal_ctrl.0/kcal_sat
echo "255" > /sys/devices/platform/kcal_ctrl.0/kcal_val
echo "1" > /sys/devices/platform/kcal_ctrl.0/kcal_enable
You can combine this with any context to make it run whenever you want.

Here's another battery saving tip - automatically set tasker to turn on airplane mode at say ... 1am and turn it of at ..6am. GSM modules are notorious for eating a noticeable amount of battery. There you go:
Tasker Auto Airplane Mode On/Off - http://forum.xda-developers.com/u/tasker-tips-tricks/tasker-auto-airplane-mode-off-t3316767

I can recommend an plugin for Tasker, name is Autoinput. It is very simple and awesome plugin that let you automate commands that in other cases needs root. You can for example toggle Power saving mode, Mobile data, NFC... whatever your want.
I use it daily for all different tasks since im not rooted (yet).

Hello friendz
My spend most of time in reading on cell, so the screen is the biggest sucker of my batt juice because i set screen timeout @ max(30min).
I wish any way that will increase my screen dim time(the time taken b4 screen goes to completely black) . So that I can save some amount of juice without affected my reading (hobby)
Any help would be highly appreciated.
TIA
Sent from my Lenovo P1a42 using XDA-Developers mobile app

@MishaalRahman
Try:
echo X > /sys/devices/virtual/mdnie/mdnie/accessibility
X:
0 - normalne
1 - negative
2 - greyscale
3 - Screen off but not locked and touchscreen is still working

frrancuz. said:
@MishaalRahman
Try:
echo X > /sys/devices/virtual/mdnie/mdnie/accessibility
X:
0 - normalne
1 - negative
2 - greyscale
3 - Screen off but not locked and touchscreen is still working
Click to expand...
Click to collapse
I think that only works for Samsung devices, unfortunately.

I use following profiles/tasks for battery saving;
Auto-off Unpaired bluetooth (shuts off bluetooth after 2 min IF no BT device connected)
Autosync schedule Home (sync is off 20min, turns on for 3 min, then turns off. Repeat every 20 min)
Autosync schedule Work (sync is off 2 hours, turns on for 5 min, then turns off. Repeat every 2 hour)
Switch to 2G/3G when Wifi connected (no wifi = 4G/LTE)
NFC turns OFF if not connected to my home-Wifi (NFC battery drain is negligible though..)
Turn ON high accuracy GPS when opening Google Maps (back to balanced/power saving when Maps is closed)
Nightmode = Samsung power saving mode, Wifi OFF, Mobile data OFF, Sync OFF (since not Wifi connected). All these modes activated through tap of NFC tag (about 2% battery is drained on 8-9 hours)

Is auto sync for Google?
Sent from my SM-N920T using Tapatalk

Related

[APP|ROOT] Snotify - [R] - 2012-04-22 - [U] 2012-07-04 - Silences Notification Sounds

Snotify is an application that let you set up a schedule for when Notification sounds should be disabled. You can set multiple schedules for email, texts, toast notifications, master volume and vibrate. For each schedule you can set which days of the week it should apply to (much like the built-in alarm app).
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Download:
1.2: http://www.jmd-software.net/file.axd?file=2012/7/Snotify_1_2_0_1171.xap
1.1: http://www.jmd-software.net/file.axd?file=2012/4/Snotify_1_1_0_1155.xap
1.0: http://www.jmd-software.net/file.axd?file=2012/4/Snotify_1_0_0_1153.xap
Changelog:
http://www.jmd-software.net/page/Snotify.aspx
You'll also need WP7 Root Tools from http://www.wp7roottools.com/ . I've tested the app on a HTC HD2 with WP7 Root Tools 0.9.
This application relies on a background task to toggle the setting. Unless the "Resource Intensive Task" is allowed to run it may take up to 30 minutes for the application to react. If you do not connect your phone to an external power source you'll have to take this into consideration.
Thanks to Heathcliff74 for making this possible (WP7 Root Tools SDK)!
Cool app
Cool app really like it.Is it possible that you could just add in a full mute? Basiclly I want it to just mute everything during 8:00 to 5:30. Also I hope you add in a feature to allow days such as only running it on monday-friday.
And I have 1 question, what do you mean by this"Resource Intensive Task is allowed to run" is this a registry edit I have to make or something?
Rly neat!
But how about disable vibrate too?
And the ability to create "profiles", in wich you can choose what to mute/disable during given time and days?
That would be really awesome, as you could get a full night of sleep everyday and avoid the humiliation of everyone in class hearing your ridiculous ringtone during workdays
starsoccer9 said:
Cool app really like it.Is it possible that you could just add in a full mute? Basiclly I want it to just mute everything during 8:00 to 5:30. Also I hope you add in a feature to allow days such as only running it on monday-friday.
And I have 1 question, what do you mean by this"Resource Intensive Task is allowed to run" is this a registry edit I have to make or something?
Click to expand...
Click to collapse
A full mute would be possible, so I'll consider it. A more advanced schedule is possible as well, I just have to decide the way to implement it and find time to do so.
Windows Phone Apps can run either as Periodic or Resource Intensive Tasks/Agents. A Periodic agent runs once every thirty minute, unless the OS decides to delay the execution (most commonly caused by a low battery level). Resource Intensive Tasks can only run when the phone is connected to an external power source, is almost fully charged and got access to an internet connection other than the radio (WiFi or USB to computer). The app uses both but the OS decides whether any of them actually runs.
fredsky2 said:
Rly neat!
But how about disable vibrate too?
And the ability to create "profiles", in wich you can choose what to mute/disable during given time and days?
That would be really awesome, as you could get a full night of sleep everyday and avoid the humiliation of everyone in class hearing your ridiculous ringtone during workdays
Click to expand...
Click to collapse
The notification is disabled, so it applies to the vibration as well. I realize I haven't made this entirely clear.
Thanks for the ideas .
Regards
Johan
Ooije said:
A full mute would be possible, so I'll consider it. A more advanced schedule is possible as well, I just have to decide the way to implement it and find time to do so.
Windows Phone Apps can run either as Periodic or Resource Intensive Tasks/Agents. A Periodic agent runs once every thirty minute, unless the OS decides to delay the execution (most commonly caused by a low battery level). Resource Intensive Tasks can only run when the phone is connected to an external power source, is almost fully charged and got access to an internet connection other than the radio (WiFi or USB to computer). The app uses both but the OS decides whether any of them actually runs.
The notification is disabled, so it applies to the vibration as well. I realize I haven't made this entirely clear.
Thanks for the ideas .
Regards
Johan
Click to expand...
Click to collapse
K cool well thanks. I like the app but It doesnt really help me yet since it doesnt do a full mute. I will be waiting for a full mute. Also you should get your app onto Bazzar.
Suggest you to implement live tile which will allow anybody to turn off any of the notification instantly.
I would have loved control on the volume but turning of is what most of the people do.
Thanks for the App, Works on my Samsung Focus 8107.
if you can add call ring support
thanks ... testing
require setting the ringer volume
Thanks for all the suggestions. The next version will include two new settings, "Master Volume" and "Vibrate". Hopefully I'll be able to release it on Sunday.
Master Volume = Turn off the volume for all types of sounds and notifications, including ringtone. The phone will still vibrate for calls and notifications.
Vibrate = Turns off vibrations for ring and all notifications. Sounds will still be played.
Using Master Volume + Vibrate together will completely silence the phone.
Adding Secondary Tile support will only save one click and take a few hours to implement, so I'm not going to include it in this release.
Regards
Johan
Ooije said:
Thanks for all the suggestions. The next version will include two new settings, "Master Volume" and "Vibrate". Hopefully I'll be able to release it on Sunday.
Master Volume = Turn off the volume for all types of sounds and notifications, including ringtone. The phone will still vibrate for calls and notifications.
Vibrate = Turns off vibrations for ring and all notifications. Sounds will still be played.
Using Master Volume + Vibrate together will completely silence the phone.
Adding Secondary Tile support will only save one click and take a few hours to implement, so I'm not going to include it in this release.
Regards
Johan
Click to expand...
Click to collapse
in the future you can add flight mode control
and can you pls add option for twice a day?
Will this work on a lumia 900? I just came from android and I was hoping I can find an app for this same exact type of feature. Hopefully It works. Thanks dev.
Version 1.1 is now available with support to disable all sounds and/or vibrations.
duhhh: Sorry, flight mode is a bit out of the scope for this application. This would not work for most people anyway, since disabling flight mode requires you to re-enter your SIM PIN code.
idelgado782: The application should not be phone specific, but it requires that you unlock your phone and that it properly supports WP7 Root Tools. Unfortunatelly I don't think this is available for Lumia 900 yet.
Yea I started reading and that's what I figured so far. I have to keep an eye for the unlock so then I can use this app!!! Thanks for your reply.
Sent from my Lumia 900 using Board Express
Really Like version 1.1 but still waiting/hoping for a day by day mute schedule.
Also is it possible you could add a feature or something that does the following.
I need it to mute everything at 8:05 but right now it is 7:40. so when it checks again 30mins later it will be 8:10 and will be too late. So could it calculate or figure that out and mute its self at 7:40 because it would otherwise mute too late.
starsoccer9 said:
Really Like version 1.1 but still waiting/hoping for a day by day mute schedule.
Also is it possible you could add a feature or something that does the following.
I need it to mute everything at 8:05 but right now it is 7:40. so when it checks again 30mins later it will be 8:10 and will be too late. So could it calculate or figure that out and mute its self at 7:40 because it would otherwise mute too late.
Click to expand...
Click to collapse
I'm planning to add a schedule like the built in alarm app, but it didn't make it to 1.1. Your other idea is great as well, so i'll put it on the todo-list .
Regards
Johan
K cool well as soon as you add the schedule feature I will be using this app daily.
Thanks for the APP, can you add "airplane mode" control to it? It maybe very useful.
Would be nice if we have daily options like "disable only on Monday at 8AM-4PM"
You know...School is school
Ooije said:
Version 1.1 is now available with support to disable all sounds and/or vibrations.
duhhh: Sorry, flight mode is a bit out of the scope for this application. This would not work for most people anyway, since disabling flight mode requires you to re-enter your SIM PIN code.
idelgado782: The application should not be phone specific, but it requires that you unlock your phone and that it properly supports WP7 Root Tools. Unfortunatelly I don't think this is available for Lumia 900 yet.
Click to expand...
Click to collapse
what about option for twice a day?
one on 13:00-16:00
and 2 on 21:00-07:30

[Android 2.3+] Data Easy PRO (DATA SWITCH SAVE BATTERY EASY)

Stay in sync, save battery, data traffic and money.
WARNING for Android LOLLIPOP users: Mobile Connection Cycle Works only on Rooted Devices.
One of the functions that use a lot of battery is the data connection.
Using this app you can also save 30% of battery; this means that at the end of the day you can have 30% battery instead of a fully discharged battery.
This application is useful to save battery, data traffic and money, also limit the device radiation and stay in sync.
It allows you to cyclically connect to the Mobile Network or to the Wifi one to synchronize e-mail, appointments, contacts, program data, etc.
With the "Cycle when Screen Off, Connect on Screen On" option Checked you can have Automatic Connection when Screen is On and Cyclically Connection when Screen is Off; you can forget to switch the connections!
You can also delay the termination of the connections when you turn off the screen; this is useful for example when you are using a Chat App and you're waiting for a quick response.
Review on xda-developers Portal​
With the "Cyclically connect regardless screen state" option checked you can Cyclically Connect when you are using the device for example, while you're watching a movie.
If a Wifi connection is available it will take precedence over the Mobile one, to save data traffic and money in case of not-flat rates.
You can also enable sounds and vibration alerts, enable and disable notifications (PRO), set start at the boot, suspend the cycle and enable connections when the device is Plugged, set the type of connection you want when you turn on the screen or the device is Plugged or Unplugged and set the times at which the cycle is suspended.
The application installs some WIDGETS that allows you to activate the cyclic connection or turn on/off quickly the Mobile and Wifi Connections.
To be synchronized and save battery power, for example, set "Activate Data Connection" every 10 minutes and "Keep Data Connection Alive" for 45 seconds.
Advanced features will be developed in the future...
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
​
Market Link: Data Easy PRO
I've developed a free version with this limits:
. locked option to set how many minutes activate data connection
. locked option to set how many seconds keep data connection alive
. locked option to disable notifications
Free lite version: Data Switch Save Battery Easy
Free version 3d here: http://forum.xda-developers.com/showthread.php?p=33381869#post33381869
cb56
Data Easy release 2.5
Added message of connection time saved during the cycle.
Inserted message of cycle seconds elapsed (only for option "Always Cycles regardless Screen State").
Fixed bug that, if the option "Suspend the Cycle When Plugged" was checked, when the device starts (if connected), activated connections even if the option "start at boot" was not set.
Improved performance.
Various improvements.
Fixed some minor bugs.
Market Link: Data Easy
cb56
hey mate! I love your app, it's the best battery saver in my opinion. but recently I have had some issues with network connection. When I switch the screen back on and cycle stops there is no network connection available, even though I status bar shows all bars and internet icon like if it was working. As soon as I reboot its fine, but after some time it happens again((( I'm on CM10 HOX. Please do something)))
ekabon said:
hey mate! I love your app, it's the best battery saver in my opinion. but recently I have had some issues with network connection. When I switch the screen back on and cycle stops there is no network connection available, even though I status bar shows all bars and internet icon like if it was working. As soon as I reboot its fine, but after some time it happens again((( I'm on CM10 HOX. Please do something)))
Click to expand...
Click to collapse
Hi, first of all thank you, and since it is Christmas, I wish you happy holidays.
As for your problem, in my tests it never occurred.
My App has been tested by me on Samsung Galaxy S2 Gingerbread and Galaxy Note II Jelly Bean, both Samsung Stock firmware.
It could be a compatibility problem with CM10 or a problem with your device that might be in error turning on and off very frequently the connections.
If you do not use my program it never happens?
Try disabling my app and turning on and off very frequently the connections.
Try to use only the mobile connection (sometimes the wifi has problems) and set up a cycle long enough (at least every 10 minutes for 60 seconds of connection).
You can also try to ask to CM10 team.
As soon as possible I will install CM10 on Galaxy S2 and I will do the test.
Sincerely
cb56
Data Easy release 2.6
Fixed some minor bugs
Small interface changes
.
Market Link: Data Easy
cb56
Data Easy release 2.7
Added "Share App" menu
First Post Updated
Market Link: Data Easy
cb56
Data Easy release 2.8
Fixed a bug in "Share App" function: sometimes the picture can't be send
Increased to 10 seconds the timeout in the attempt to connect to Wifi
Market Link: Data Easy
cb56
Data Easy release 2.9
Performances Improved
Various improvements to the interface
Changed the behavior of Mobile and Wifi buttons, now do not interrupt the cycle but switch connections on/off
Changed the behavior of the Stop button, now stops the cycle but does not stops the connections
Improved the control of Wifi presence and increased to 15 seconds the timeout in the attempt to connect to Wifi
Many options are now editable even when the cycle is active
When you change the Screen On/Unplugged and Plugged options the connections are activated congruent with the new settings
Bug fixed: if option "Suspend the cycle When Plugged" selected when the screen was turned on the connection where not activated
First Post Updated
Market Link: Data Easy
cb56
Data Easy release 3.0
Improved the control of Wifi presence and increased to 20 seconds the timeout in the attempt to connect to Wifi
Fixed bug that interrupted the cycle when opening the application (when option "Cyclically connect regardless of screen state" selected)
Modified label color of the widget to highlight the type of selected cycle
Market Link: Data Easy
cb56
Data Easy release 3.1
The size of the widgets have been modified to take up less space in the Home Page
In the names of the widgets have been added size (some launcher does not show the dimensions in the choice of widgets)
Bug fixed: when the device starts (if "Start at boot" option is set), if you left the screen locked, connections remained active and cyclic connection is not activated.
Market Link: Data Easy
cb56
Data Easy PRO release 3.2
This is a Major Release.
changed the user interface and the icons
new configuration management
changed the menu
added the menu button on the toolbar of the Application
Market Link: Data Easy PRO
cb56
Data Easy PRO release 3.3
This is a Major Release.
News:
New Windget 1x1 (Thanks to dxduno suggestion)
Added the option to delay the disconnect when you turn off the screen (useful for example when you are using a Chat App and you're waiting for a quick response)
Changed the App title color
Added support for tablets
Improvements:
Improved performance
Improved updating Widgets
Graphical improvements
Changed the sound volume (less invasive)
Modified Widgets alignment
Fixed minor bugs
Market Link: Data Easy PRO
cb56
Data Easy PRO release 3.4
Improvements:
Fixed Android Lollipop mobile connection (for Rooted Devices only)
Fixed minor bugs
Market Link: Data Easy PRO
cb56

Tasker Profile - In Car Use

I recently picked up Tasker, and so am trying to figure my way around how to use it for my in-car install. However, I can't seem to figure out, what is probably the most important piece, getting the screen to switch off / airplane mode to switch on when I remove power. I have installed Secure Settings plug in, but everything I have tried so far to get the screen to switch off has failed. I am sure I am missing something simple here.
Also, is there a way to have Tasker kill all open apps, instead of having to individually list apps?
Thanks.
Edit: Should have put this in the apps section.
Edit Again: Figured out the screen switching off, System Lock did the trick. For some reason it is not killing open apps though when the power is removed.
New profile>name it whatever>State Context>Hardware>Usb Plugged>Invert
New task>name it whatever>hit the "+" button>app>kill app>specifiy app (you'll have to do this for every single app).
alternatively, you could do:
new task>name it whatever>hit the "+" button>script>run shell> type a command that kills all apps, and check "use root". i dont know what command can be used to kill all apps though, lol, so...
naiku said:
I recently picked up Tasker, and so am trying to figure my way around how to use it for my in-car install. However, I can't seem to figure out, what is probably the most important piece, getting the screen to switch off / airplane mode to switch on when I remove power. I have installed Secure Settings plug in, but everything I have tried so far to get the screen to switch off has failed. I am sure I am missing something simple here.
Click to expand...
Click to collapse
Exit task. And what you want is Display->Lock to switch off the screen. As for Airplane mode, I believe that does require Secure Settings to toggle, but that should be pretty easy. Assuming you're rooted and the Secure Settings Helper is installed (see its app) directly.
naiku said:
Also, is there a way to have Tasker kill all open apps, instead of having to individually list apps?
Click to expand...
Click to collapse
This is dumb. That's all I'm going to say about this subject.
Thanks for the replies, I am rooted and do have Secure Settings installed, I will have to look into Airplane mode some more as I don't see it listed under the Secure Settings addon.
Is there a good guide anywhere for Tasker? I tried via their site, but most of the links were dead. When I connect power to the Nexus, Bluetooth comes on, but I also want it to use my phone for internet access (Settings -> Bluetooth - Paired Devices - Use for internet access). It seems like everytime Bluetooth goes off, that box becomes unchecked, and currently I hvae to manually go in and check it again. I am guessing I need a script to do that, but I have no clue how to write a script to do so, and can't find much by the way of help / tutorials (I admit though, I am at work, and have not spent a huge amount of time searching).
naiku said:
Thanks for the replies, I am rooted and do have Secure Settings installed, I will have to look into Airplane mode some more as I don't see it listed under the Secure Settings addon.
Is there a good guide anywhere for Tasker? I tried via their site, but most of the links were dead. When I connect power to the Nexus, Bluetooth comes on, but I also want it to use my phone for internet access (Settings -> Bluetooth - Paired Devices - Use for internet access). It seems like everytime Bluetooth goes off, that box becomes unchecked, and currently I hvae to manually go in and check it again. I am guessing I need a script to do that, but I have no clue how to write a script to do so, and can't find much by the way of help / tutorials (I admit though, I am at work, and have not spent a huge amount of time searching).
Click to expand...
Click to collapse
Tasker google groups is the place to go.
Make 2 profiles, 1 for power on 1 for power off. Open secure setting,the option is there to install helper.Then when you set new task select plugins,then secure setting that will appear now that helper is installed.Airplane mode is there.As for screen on and off, set screen off 23 hours 59 mins under power on profile , set screen off 7secs(minimum) under power off.
The other 2 profiles are timed according to daylight so the brightness decreases at night increases in the day.I wouldnt use the kill app function it doesnt play nicely and causes some crashing issues at shutdown thats why mine are disabled.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
main profiles
power off proflie
power on profile
secure settings with helper installed
Sent from my SGH-I927 using xda app-developers app

[Q] Scheduled "Extended Battery Mode"

[Q] Scheduled "Extended Battery Mode"
I would like to ask you if anybody knows how to set up the schedule time for turning on/off "Extended Battery Mode".
I tried SmartConnect from SONY but this app can only open the system settings shortcut in the specific time, but it cannot actually turn on/off Extended Battery Mode.
I have my Xperia V rooted.
Any answers appreciated.
Thanks.
But Smartconnect can disable/enable any connections (bluetooth,wifi,data,sound etc.) at a specific time, isnt it the same, but a different way?
I'm using it as some sort of automatic profiles service for specific times.
Yes, you are right - but I like the way how STAMINA and Ext. Battery Mode handles the battery.
(I would love to have real STAMINA mode on my Xperia V, but it is not possible.)
I would like to have:
- when battery lower than 20%, turn on Ext. Battery Mode
- when time from 23:00 to 6:00, turn on Ext. Battery Mode.
(I tried many Battery Saver app, however it actually does not work.)
Can you share with me some of your profiles in SmartConnect?
How did you set it up?
Thanks.
one setting i use mostly every day:
when time: 23:50-5:30 (Every Day)
startaction: disable bluetooth, disable mobile data, disable wifi, brigthness 7%
endaction: enable mobile data, brightness 40%
another thing i use:
when 22:00-7:00 (Monday-Friday)
startaction: Soundmode silent
endaction: Soundmode normal
something like this, i think its a good start, if you wanne keep open your smartphone at night. i had 3% battery usage last night (8hours)
(i also use greenify donate version, stock sony fw)
but the battery usage will vary from user to user, its up to the personal usage and what apps you use (in background and so on)
if my battery under 20% then i can manually turn down brightness, disable 3g (enable only 2g) i dont need my smartphone for that.i understand people like to have automatic functions like that, but i personal not think its necessary to have everything automatic.
Thanks.
1. Do you have any other Battery Saver installed?
2. We have almost the same settings. However, I found out that if you have Location-based WIFI enabled, it has higher priority than SmartConnect.
startaction: disable bluetooth, disable mobile data, disable wifi, brigthness 7% => WIFI will automatically turn on after few minutes.
I like this feature that saves battery while there is no known WIFI, but I would have it turned off during the night.
JaroslavHruska said:
Thanks.
1. Do you have any other Battery Saver installed?
2. We have almost the same settings. However, I found out that if you have Location-based WIFI enabled, it has higher priority than SmartConnect.
startaction: disable bluetooth, disable mobile data, disable wifi, brigthness 7% => WIFI will automatically turn on after few minutes.
I like this feature that saves battery while there is no known WIFI, but I would have it turned off during the night.
Click to expand...
Click to collapse
i use only greenify.
not using Location-based WIFI...i deleted that apk.
Ok, what did you GREENIFIED?
Any tips for smoother running?
if you use an app like sd maid, then maybe you noticed that apps like walkman are running in background, also DLNA/TV App-Starter and other stuff.
with donate version i can greenify system apps like walkman (experimental feature)
and i noticed that Xperia Home wakes up sony apps like walkman. (in greenify it said it) so i greenify stuff like walkman. but will it help for better battery life? no idea...i just think why it should run alltime in background the walkman or DLNA or whatever...for a faster first start i guess, but whatever.
but i never had a bad batterylife with stock fw. (also without greenify it was ok)
Thanks.
I used Wakelock Detector and I found out that many so called Batter Savers are not savers.
Why? They woke up my device so many times that it would have definitely affected my battery.
E. g. JuiceDefender - it woke up my device from DeepSleep app. 200x during 8 hrs.
immerblind said:
But Smartconnect can disable/enable any connections (bluetooth,wifi,data,sound etc.) at a specific time, isnt it the same, but a different way?
I'm using it as some sort of automatic profiles service for specific times.
Click to expand...
Click to collapse
Extended Battery Mode does a little more than just shutting off Bluetooth and Wifi. It also stops a number of backgrounds processes to be active.
The request for a scheduled Extended Battery Mode is a reasonable one, IMO. For example because enabling it kills functioning notification and reminders. To my personal opinion a selector what should be muted down would also be a good thing. Or the entire stamina thing should be integrated with Greenify, which in the end has exactly the purpose saving on system resources (and therefore battery power).
The basic thought of just letting things run is a comparable wrong idea as letting TV's, Surround Receiver and other household items in stand-bye. We all now now that this has been a real silly idea.
Thank you for supporting my idea.
Can you tell me what kind of app you have greenified?
Thanks.
P.S. I tried e.g. Tapatalk 4 - and it "Failed to put to hibernation".
JaroslavHruska said:
... snip
Can you tell me what kind of app you have greenified?
Thanks.
.
Click to expand...
Click to collapse
Basically everything that does not require a widget to run, or alerts / alarms to be active. First I did not think so much of it, but Greenify has become my favourite app drawer, so to say. I think it's time for me changing to the donate version.
I got used to it but of course it's not a real app drawer. The idea shoot into my head, what if there was a launcher with a build in App Drawer that has the capability to greenify?
Sorry for the diversion from the subject.
I thought Sony including Superstamina in Smart Connect would be useful. It has already some system profiler functionality, and could be made even more being one.
I must say that Greenify is awesome. This guy should definitely work for Google.
He should show them how to handle the battery consumption.
However, I have still the problems. I did the test during the night:
- turned off WIFI + mobile data
- all apps available were greenified (Google Maps + Google Search as well)
... but still, my battery went down for 6% - check it.
Any suggestions?
I really do not understand why the phone needs to do wakelock almost every 30 seconds.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
JaroslavHruska said:
Any suggestions?
I really do not understand why the phone needs to do wakelock almost every 30 seconds.
Click to expand...
Click to collapse
Same XV on stock ROM. Over night 1 % drop, sometimes nothing. Airplane mode, Extended Battery on.
No solution just a suggestion. Uninstall everything you don't need. Greenify Talk.
1. What do you use for auto Airplane Mode?
2. If I Greenify Hangouts, I will not receive push info - we use it in my company.
JaroslavHruska said:
1. What do you use for auto Airplane Mode?
2. If I Greenify Hangouts, I will not receive push info - we use it in my company.
Click to expand...
Click to collapse
I am using airplane mode manually. I just accept to switch off /disable a couple of things when not needed. I used a number of profilers /schedulers in the past. In short, most cause more work than they save. If you believe you may need one, try Profile Widget, it's one of the most simple, hassle free.
My feeling about Hangouts is uninstalling it, and using the previous Talk.It is not as a fat pig. You likely still would not get notifications if it's greenified. I greenify it before I sleep.
peter-k said:
Same XV on stock ROM. Over night 1 % drop, sometimes nothing. Airplane mode, Extended Battery on.
No solution just a suggestion. Uninstall everything you don't need. Greenify Talk.
Click to expand...
Click to collapse
So here we go for you to see that I'm not talking nonsense.
Thanks.
I saw that the problem of Wakelock is NLPWakelock + NLPWakelockCollector = from 14 hrs it ran about 7 hrs. according to WL Detector.
(It is Google Now - but the worst is that I disabled all the stuff related to location in Google Now.)

Question Is there a way to get the 'Protect Battery' option in the quick setting panel?

Title says it all really, its a pain to go deep into the settings menu every time I want to turn it on/off. Is it possible to add it to the quick panel or a button on the home screen?
Additionally being able to add it to a Bixby routine would be great, but think that might need to be left to Samsung!
I'm interested as well. This is built into a12, but since I rolled back I miss the option.
Why would you want to turn it off? I will turn it off once every few months and run the battery down to completely flat then a full charge just to keep it on it's toes. Why would you do it regularly?
Personally, I'm looking for the phone to cease charging at 85% automatically. I think this may be what the OP is after - pls correct me if I'm wrong.
So it is very much a case of first world problems but as follows;
The phone has the option to protect the battery settings > device care > battery > more battery settings > 'protect battery' which stops charging at 85%.
I usually have it switched on as I work from home, as well as fast charging turned off.
However sometimes when I'm going out for the day I want to quickly be able to toggle off the protect battery option without having to dive into the menus.
For example with Bixby routines I can make a button on the home screen to toggle fast charging on/off if needed, but it's not possible with the 'protect battery' option
I use an app called 'Shortcutter' and you can get any setting as a tile on your quick panel
mtm1401 said:
So it is very much a case of first world problems but as follows;
The phone has the option to protect the battery settings > device care > battery > more battery settings > 'protect battery' which stops charging at 85%.
Click to expand...
Click to collapse
This is not available in a11. I had it in 12 before I downgraded. The battery is vastly superior in my experiences on 11 so I'm sticking with it. I'm on the hunt to keep a11 and get this option back - and without having to use Bixby in any capacity.
I can recommend Tasker. It allows you to add a QS tile with a custom script. The toggle to switch is a global variable called "protect_battery" and can be 0 or 1 (off or on). You can toggle it in Tasker with =:=toggle=:= you only need to give it adb permission once
EDIT: Here is the Tasker task: https://taskernet.com/shares/?user=...=&id=Task:Toggle+Battery+Protection+(Samsung)
To add it to the QS tile go to Tasker > Settings > Action > Quick Settings Tasks and add it there. Then add Tasker's QS tile. You could even give it an icon. That's just how I'd do it
Macusercom said:
I can recommend Tasker. It allows you to add a QS tile with a custom script. The toggle to switch is a global variable called "protect_battery" and can be 0 or 1 (off or on). You can toggle it in Tasker with =:=toggle=:= you only need to give it adb permission once
EDIT: Here is the Tasker task: https://taskernet.com/shares/?user=AS35m8nnz/wXCbcN77RjT8kx5AZyZULgm6lBC5jXCPwzrCtC5M0Bz/swjWf7TNP39EHP/b4Ri9acVw==&id=Task:Toggle+Battery+Protection+(Samsung)
To add it to the QS tile go to Tasker > Settings > Action > Quick Settings Tasks and add it there. Then add Tasker's QS tile. You could even give it an icon. That's just how I'd do it
Click to expand...
Click to collapse
Thank you, testing this now & I will report back.
Macusercom said:
I can recommend Tasker. It allows you to add a QS tile with a custom script. The toggle to switch is a global variable called "protect_battery" and can be 0 or 1 (off or on). You can toggle it in Tasker with =:=toggle=:= you only need to give it adb permission once
EDIT: Here is the Tasker task: https://taskernet.com/shares/?user=AS35m8nnz/wXCbcN77RjT8kx5AZyZULgm6lBC5jXCPwzrCtC5M0Bz/swjWf7TNP39EHP/b4Ri9acVw==&id=Task:Toggle+Battery+Protection+(Samsung)
To add it to the QS tile go to Tasker > Settings > Action > Quick Settings Tasks and add it there. Then add Tasker's QS tile. You could even give it an icon. That's just how I'd do it
Click to expand...
Click to collapse
Thanks will give it a go
Got the button working, so many thanks for that. I don't suppose you have a method for also toggling super fast charging at the same time? I've been able to incorporate a Bixby routine to turn it on via a notification, but that doesn't work turning it back off. Obviously this one I could toggle separately but in the same button would be perfect
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
mtm1401 said:
Got the button working, so many thanks for that. I don't suppose you have a method for also toggling super fast charging at the same time? I've been able to incorporate a Bixby routine to turn it on via a notification, but that doesn't work turning it back off. Obviously this one I could toggle separately but in the same button would be perfect
View attachment 5556045 View attachment 5556047
Click to expand...
Click to collapse
Yes, I do. It's a global variable called "super_fast_charging" which is also toggleable. Just a hint: if you go into tasks and add a "custom setting" there is a magnifying glass. Tap on that and hit "Find" or "Search" (not sure what it is called in English). Now toggle the things you want to have in the Settings app once. Tap on the magnifying glass again and it will show which variables have changed.
Keep in mind that some variables are global, others are system or secure. But most variables from the Settings app are in global
mtm1401 said:
Got the button working, so many thanks for that.
Click to expand...
Click to collapse
Can you confirm what version of Android you're on? I can't seem to get this to work on 11 but it may be user error in Tasker on my part.
What part isn't working? You have to actually add the button to the quick panel before it shows up if that's the issue?
Macusercom said:
Yes, I do. It's a global variable called "super_fast_charging" which is also toggleable. Just a hint: if you go into tasks and add a "custom setting" there is a magnifying glass. Tap on that and hit "Find" or "Search" (not sure what it is called in English). Now toggle the things you want to have in the Settings app once. Tap on the magnifying glass again and it will show which variables have changed.
Keep in mind that some variables are global, others are system or secure. But most variables from the Settings app are in global
Click to expand...
Click to collapse
That was much more simple than what I was trying, thanks for your help!
Looks like this feature is coming to Bixby routines in one UI 4.1
Yes.
New actions for Bixby Routines
You can now create routines that change your watch face or turn on advanced settings like Protect battery.

Categories

Resources