yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] reddvilzz:
I turn off the display data profiles. And of course when my screen of there are no data activated it is obvious because i turn it off. And i felt difference.

1. When the display data is on my phone's temperature is often rise up until around warm - hot condition. Even though the screen is off and i use my phone for about a few minutes. Usually when i just use it a while never got that hot. Maybe that is because the data that is turn on while the screen is off and when i turn the screen on the wifi turn on and take place of the data. But the data is still active maybe that cause it to be hotter. I'm not sure though.

2. So i Turn the data display profile off. My phone's temperature is normal now. When used long time it will turn to warm - hot as usual.

But 1 thing happens. First of all before the screen is off i turn off the auto sync in the toggler. After screen is off you said that the tasker will sync every 10 minutes right? It is working alright but when i turn the screen the auto sync is turn on by itself and not turning off again. Is it normal right. But can it just turn off again by itself if the screen is on? To save more battery i guess?

Hope you understand my explanation :)
[Android Apps and Games] noycesauce:
Thanks for the profiles!

I do have a small request. Is there anyway to add display on as a context for the cell standby project? I'd like to have it so that I'm able to walk around and search for better signal while the phone display is on. I can't add more than three states for the context. :(
[Android Apps and Games] zakiancel:
thank you

Useful
[Android Apps and Games] vlag24:
To tell the truth I've deleted this action but I've made other changes and my bad, I didn't note them, I don't remeber what I've really changed but it's really working now...

So : I will delete the entire project and install it back, I will check and note all the changes I'll make.

The only one sure thing is that only removing is not enough
[Android Apps and Games] vlag24:
Well, concerning the Data Mobile issue which was connecting when you don't want to, here are my changes, working on my phone ;) ...

Once you've imported the all project:

* in "Display data" Task : 10. Mobile data -> On to Off

* in "AutoSync" Task : 3. Mobile data -> On to Off

I didn't even need to delete the condition "Variable value %CONNECTION, doesn't match 1" from Display (Data).

need to be tested by others having the same sort of issue ( @reddvilzz )
[Android Apps and Games] reddvilzz:
Yeah have you tested it?
[Android Apps and Games] vlag24:
Yes, working on my phone : not mobile datas anymore :D
[Android Apps and Games] parthipanramesh:
Sorry I dont't know why your device is becoming hot with the profiles. I don't have problems. :o

Yes you just need an the action "Auto Sync = off" to the Screen off (Data) and Screen off (Wifi) task. Add it in the if statement. This should turn off auto sync by itself. :)

Create a new profile with the condition screen on. Task: 1.Set a new variable for example %DATA_SCREEN and set it to 1.

2.Clear the variable %SIGSTATE. Now add a new condition "%DATA_SCREEN", doesn't match 1 to InitVars. This should help you. :)

But now it won't turn data on. Was this your goal? Sorry I think I didn't understand you and reddvilzz. Sorry!
[Android Apps and Games] vlag24:
nevermind, I solve my problem ! :good: Your script working very fine now! my phone and my battery are joining me to say thank you ! :laugh:
[Android Apps and Games] parthipanramesh:
Ok :) You're welcome!
[Android Apps and Games] Audioboxer:
Thank you for these profiles! As a new buyer to tasker, it is quite daunting, especially when trying to setup battery saving scripts. I've done a few basic things myself, but will need many more hours studying to fully grasp Tasker!!!

Would I be correct to say during the hours of the night time profile incoming calls would go to answer machine? Texts do not bother me as much, but if I were to receive an emergency call that may be an issue.

Could a workaround simply be a new night time profile that only turns off sync instead of airplane mode and/or increasing the sync time to an hour or so instead of 10 minutes?
[Android Apps and Games] parthipanramesh:
Edit the beginning night task. Delete the airplane mode off commands and add two new actions. On to turn off mobile data and another to turn off auto sync. ;)

You're welcome my friend :)
[Android Apps and Games] Audioboxer:
Is that the 2 secure settings entries related to airplane mode? Thanks
[Android Apps and Games] parthipanramesh:
Yes. Remove both.
[Android Apps and Games] Audioboxer:
Done :)

I changed the cell standby to 2 minutes as well simply because in my home I have spotty signal and it drops fairly often. Usually when it drops naturally it's back connected within 15-30 seconds.

edit: I noticed there is some german text in the battery/sync tasks, I'm sure this doesn't affect anything though, think it's simply a name.
[Android Apps and Games] parthipanramesh:
Ok and yes it's up to you. In my location we have poor signal and it takes a few minutes until it connects back. :)

What's the text?

I'm using my phone in german and that's probably the reason why it has some german text.
[Android Apps and Games] reddvilzz:
That is why i was wondering what make it so hot. Hmm.. Okay then that not what i meant though but thanks. One more Sir the airplane mode show some error when there are no signal. It is supposed to turn to airplane mode by itself if there are no signal right? But is sgows some error on secure settings how to fix it?
[Android Apps and Games] Audioboxer:
Tasks, screen off data & WiFi, command number 2. When I click it it says a plugin of the same name needs to be installed?

"In den ruhezustand versetzen"

I have one more question, what setting is it that needs to be changed to wait a little longer with the 15kb/s check? Sometimes in my car Google Music stops working, data seems to be turning off.

Alternatively is there a way to force data to stay on when Google Music is playing music and/or Bluetooth is on? I use Bluetooth in the car. Play music solution would be cleaner though as data staying on every time Bluetooth is enabled isn't efficient.
[Android Apps and Games] parthipanramesh:
Did you install Secure Settings? What are the errors? More information please :)

Oh that's from greenify. It's the command to hibernate the apps.

Try adding a new condition (App - Google music - invert) on the Data (Display) profile and AutoSync profile. Then the profiles will only work when Google Music is off. :)
[Android Apps and Games] Audioboxer:
Thanks, I will try that.

Yeah its greenify, when you accept to install the "missing" plugin it takes you to greenifys play store link. It doesn't seem to be recognizing greenify in English it seems? As I have it installed yet Tasked seems to think I do not.
[Android Apps and Games] reddvilzz:
I don't remember what problem but it was some kind of secure settings error or some kind. Yes i have install secure settings
[Android Apps and Games] parthipanramesh:
Try removing the greenify actions and add them again. :)

Does everything work fine or do you have problems with Night profiles?

Secure Settings turns airplane mode on and off.
[Android Apps and Games] Audioboxer:
Sorry for noob question but how do I add greenify?
[Android Apps and Games] reddvilzz:
The night modes works very fine i guess. The problem is when there are no signal. In the no signal task said that if there are no signal airplane mode will be activated. But it is not. And i got that secure settings error when there are no signal
[Android Apps and Games] parthipanramesh:
New action - plugins - you should see something with hibernation.

Ok so secure settings work. Try to reproduce the error and post it here. ;)
[Android Apps and Games] Audioboxer:
Thanks :good:

If you make any more refinements/improvements keep us up to date! :highfive:
[Android Apps and Games] parthipanramesh:
You're welcome!!

I will! :highfive back:
[Android Apps and Games] reddvilzz:
I will after i change my rom. And the log file from the tasker right?
[Android Apps and Games] Eddiemc:
How do I set up this system so it doesn't touch wifi at all, and doesn't turn data on if wifi is connected?

Should it not be enough just to turn off the "display (Wifi)" task?

I basically turned off the "display (Wifi)" task, but when connected to home network my wifi still gets turned off in deep sleep.

I still need the "wifi connected" task to run to turn "display (data)" off when I'm connected to wifi, but it must need some modifications, because if I wake my phone after a deep sleep, wifi is turned off.

Can somebody help me out?
[Android Apps and Games] parthipanramesh:
Yeah. Log file and the error.

Disable the AutoSync profile or delete the wifi actions in its task ;)
[Android Apps and Games] davy917:
Where do you change the cell standby to 2 minutes? I also have this issue especially at work. Sorry for the noob question it's my first time using Tasker!
[Android Apps and Games] chrissurra:
Great scripts I have been using them for about a week and I see a huge bump in battery life. Thanks!
[Android Apps and Games] :
superb!

This has to be one of the best tasker profiles I've running and it works amazingly with other home/night mode profiles I've.

Excellent work :good:
[Android Apps and Games] vlag24:
Hello,

the task "greenify plugin" is not working for me... create error

I think because it's im deutsch "In den ruhezustand versetzen"

I delete it and change to : plugin > "hiberner maintenant" (I'm french) and all is working great ! :)
[Android Apps and Games] parthipanramesh:
Edit the wait action in the SigReturn task. ;)

Thanks for that information. I'll add it later to the Op :)
[Android Apps and Games] davy917:
The first wait action?
[Android Apps and Games] parthipanramesh:
Yes :)
[Android Apps and Games] pinkwoolsun:
Hi,

I just found out about Tasker and i am experimenting with it.

I used your profile to learn how to check the data flow and tried making a power saving profile to my liking.

its turns off 3G on/off on certain conditions (power/WiFi/Roaming/Dataflow and 3G must have been on in at the first place) and than back on every 30 min for 1 min.

Stop doing this if WiFi / AC / or screen on happens.

With some delays to prevent it to turn off / on too much when just checking the screen.

The questions is i saw in your profile to cycle a time event every 10 min.

Is there a benefit to opposed just making a loop in a task that waits every 10 min in terms to turn data on/off in mind of wake-locks ??

And I set my profile in steps to check if conditions are met. And when the conditions are met go to step 2.

Tasker doesn't have to check the first conditions anymore. Would it benefit in terms of power to let Tasker stop checking this conditions until

I need it to check again. (3g has been turned on again by screen on/wifi/ac)

I also tried to make a white list for certain apps. But i can only figure out how to stop turning it off when the app is in the foreground.

Is there a way to let Tasker know to stop when the app is also in the background?

I attach the profile for people that are interested and maybe can help me out.

thanks
[Android Apps and Games] followthewhiterabbit:
Mobile Data

Hey parthipanramesh, first off - a big thanks for this! I've been looking around for a while for a battery profile that can do all this! :good:

One thing I dont understand is I'm having a little trouble with the mobile data not switching off when the screen is off, it works sometimes but could this be because there is an app using more than 15kb of my data at the time the profile checks? (And if so - i have no idea what is using it!)

Attached is my battery usage which I think shows the offs and ons of the wifi & mobile data.

EDIT: also - there's no other tasks running that would conflict with the battery profile.

EDIT 2: I've also tried loading profiles 1.3 in without any changes and 1.2 without any changes. And also resigned the greenify task to see if that would help.

Can't think of what else I've done wrong?

On a International Galaxy S3 with Supernexus 2.0 Build 3

EDIT 3: Working now! Don't know why?? - 1.2
[Android Apps and Games] twe90kid:
Could you shed some light on the actual settings?

I want to use the main settings to reduce cell standby when i'm in my office location only. This means that I rather have the phone run my normal phone settings, but switch to your settings to reduce cell standby when i get into the office. My office is located in a basement with no connection whatsoever. I would need to keep my wifi enabled in the office becuase I use voip on my cellphone.

A little help, maybe I can set my own settings. thanks
[Android Apps and Games] chlor3:
parthipanramesh,

First off thanks for the awesome scripts. I have been using/modifying them for a while now and have the following observation:

The Mobile Data rate check command is not valid for my phone (tmobile, galaxy blaze) I added an item to run a modified command if the result of the first one was 0 or not set:

cat sys/class/net/rmnet_sdio0/statistics/rx_bytes

I left in the old entry without the _sdio0 since maybe this is valid only when I am connected to one of the higher speed networks. so If i get a 0 or unset result I just go and check the other file's contents. The rate check for WiFi appears to work fine.

Also I noticed you have all tasks, projects, and context folders in the download zip. I think all that information is contained within the project.prj.xml file itself (when looking at the raw xml) and I have had success in transferring entire projects by exporting and subsequently importing the single *.xml.prj file from the projects folder to my other android phone.

My mods:

settable parameters context/task to run on monitor start ( cutoff data rate, auto sync period, etc... )

WiFiZone flag that is set by a near cell tower context to incorporate into your scripts so I can have my wifi automatically connect/disconnect when I am near known wifi hotspots since GPS=battery drain.

modification of sleep mode to low power mode to make the phone a just a 2G phone so I still receive all calls\texts instead of completely cutoff from the world ( I get < 1%/hr drain rate at night in 2G + no data mode!)
[Android Apps and Games] Eddiemc:
Care to share your mods?

Perhaps your whole project file?

This mod is working very well, but any improvements can only make a good thing better:)

Regards
[Android Apps and Games] chlor3:
Here is the project file. It is heavily modified from the original ( I changed a lot of the variable names to be more descriptive for me ) I did add a bunch of comments as well as a logging system and wifi zone system. ( I used a text editor on the project xml to do bulk string replaces for the variables).

Notes:

The logging system does not lend itself to proper battery management so I would leave it turned off unless debugging.

The wifi off with screen modification is still a work in progress, I have it turned off since the wifiZone function i am still debugging ( it still gives awesome battery with it turned off...)

The 'screen off' cutoff rate is in actual bytes per second (unlike the original script which had a cutoff of was in 15 kilobytes per 30 seconds or 0.5 Kbps ).

current data rate is calculated using the time span defined in the Battery Init Variables

Sleep mode is now LowPowerMode where the phone shuts down everything but 2G calls and texting (I don't care what time it is I still need to receive calls/texts, emails however I don't think so ).

the wifi zone system will need local configuration as I deleted all of 'my' cell towers (don't forget to get both the 3G and 2G towers, this will require switching between 2G and 3G modes manually to get all the possible towers).
[Android Apps and Games] r4x0r:
Task doesnt make go into sleep mode

Hi,

im new to tasker. I just applied v1.3 as it is but changed the step 2 under screen off to the english greenify hibernate now! However, I encountered some problems. Firstly, there are times when tasker states that it is ignoring new tasks due to max number of tasks queued. And due to that, the phone does not enter sleep mode at all. Just last night, my phone dropped about 22% of battery through the night. I checked my run logs and it appears that the phone was doing a lot of things almost every few seconds. I wonder why this is teh case? I did not modify the original content as posted by OP. Attached below are the logs. Please help!
[Android Apps and Games] hornetster:
Total Tasker illiterate here...

Am I right in understanding that this won't work with Jelly Bean (4.2.2)

Have tried to import, and get a few exclamation marks (eg Display (Data) )?

Thanks.

EDIT : Where do the sigreturn + siglost tasks come from?
[Android Apps and Games] Eddiemc:
1. Works fine on 4.2.2:)

2. Probably an issue with "secure settings" such as not installed.. Or not given root

3. Where they come from.. ? As in what they do? They come from a signal check and they do put the phone in flight mode if no signal (to save battery) check the first post for more info;)
[Android Apps and Games] hornetster:
Nexus4 up-to-date - Secure settngs is installed - phone is rooted

3... No, where do they come from... Have imported profiles/tasks, but phone is giving error (triangle/exclamation mark) for the 2 tasks (sigreturn/siglost), and I can't find them anywhere....

Thanks
[Android Apps and Games] Eddiemc:
Try starting over.

Delete everything and only import the two project files ("cell standby" and "traffic screen...")

If you imported profiles/tasks individually, this could be a reason for errors.

Project import will make sure that everything is included, and set up properly. Also make sure secure settings have been given root access and that secure settings helper is installed.

If this doesn't work, perhaps get some logs and pass this on to op or someone who fully knows Tasker. My knowledge is merely basic.. Best of luck.
[Android Apps and Games] hornetster:
Looks like this has worked.

Thanks.
[Android Apps and Games] vlag24:
working on jb 4.2.2 :D
[Android Apps and Games] Eddiemc:
The wifi zone system is very nice. Please keep sharing if you update this. :)

One thing, the "screen on (celldata)" task has a "if roaming off... Data On" function, instead of a simple subtext on the data on setting. Basically I'm almost always on roaming, so I'd love to have a switch/box to tick to get data on whilst roaming, but one that I can turn back off if I go overseas. Make sense?

As it is now, to get data to turn on whilst roaming I had to change a few things around, and I think it breaks the logging.

What's the best option to get this, still using your setup?

edit: I moved stuff around,which broke it, but didn't have to. , this is the end of the formentioned task, it should have the same functionality as yours, but now with a simple turn off function. Does it look right?
[Android Apps and Games] dadgore:
What can I do to remove all the moble data checks on this? I don't have a cell radio...

Sent from my ASUS Transformer Pad TF700T
[Android Apps and Games] chlor3:
As you have it setup it should have the exact same functionality as my version. The MobileDataOn is a user defined tracking variable used to determine the state of the mobile data as it is set from within tasker only, (since I haven't found a good direct way to query the actual state of Mobile Data...).

One way to obtain the functionality you require is to create a pair of separate tasks one setting a new unique variable named RoamDataOn to on (1) and the other to off (0) then add a new line item at the end of the Screen ON ( CellData ) task that will set Mobile Data to On if the RoamDataOn=1. You can then create tasker widgets calling each Task respectively for home screen based control. You may want to add the default value to the initialization task to make sure the phone boots up in the desired state ( i.e. Set Variable: RoamDataOn=0 .)

-chlor3
[Android Apps and Games] vlag24:
hello,

I was having the same issue, see the solution in my post : http://xdaforums.com/showpost.php?p=40100351&postcount=101 :fingers-crossed:
[Android Apps and Games] dadgore:
Seems to work. I just cut the mobile data out...

Sent from my ASUS Transformer Pad TF700T - CROMi-Xenogenesis_RC2.
[Android Apps and Games] Azerty971:
Hi,

I tried your cell stand by profile, unfortunately when I switch on airplane mode and off the HTC One ask for the SIM pin code.

I don't know if all HTC device behave like that (I had a SGS III before the HTC One and no sim code was needed after airplane mode)

Cheers,
[Android Apps and Games] remidesroques:
Superb! Thank you!
[Android Apps and Games] BTT8:
Great work OP!

A couple of questions:

I need to have auto-sync with my email on all the time. You're profiles here won't mess with is that correct?

Your profiles don't mess with location-based services does it?

And instead of turning off mobile data completely, what can I change to still keep 2G on when the screen is off, but when the screen comes back on, turn 3G/HSPA+ on again?
[Android Apps and Games] parthipanramesh:
You're welcome! Ok it's a bit weird but it's working now :)

Try adding a location or time condition to the profiles ;)

Ask Google or have a look in sys/class/net! Yeah you're right. The project file is for the people who are new and the profile and tasks for the people who want to update to the latest version or they have to make all changes again. Yeah I think I need a better solution. :D Can I implement some of your mods in my mod? :)

Which profile/task is running the whole night?

Do you find in the system settings an option to disable it?

You can add a location context to the profiles. It's fully customizable ;) And you can edit the Screen off (Data) tasks to change between 2G and 3G. ;)
[Android Apps and Games] Audioboxer:
Thanks for posting this, seems really impressive!

On my Nexus 4 I do get one error, "mobile data 2G/3G is not available on this device". Should I just ignore that?

Also get airplane mode execution error from helper when plugging in/out charger cable.
[Android Apps and Games] Audioboxer:
Ignore my above post, I've gone back to the OPs profiles, they're simpler and easier for me to work with.

I have a new question, I'm trying to edit the beginning of the night task so that if the screen is on, WiFi turns on, and when the screen is off WiFi goes back off again.

I've currently got this setup attached below. The WiFi comes on okay when I have the screen on, but I'm not sure if its going back off okay.
[Android Apps and Games] parthipanramesh:
No it won't turn wifi off again. You need a wait action or something which waits until the screen is off. There a different ways to do that. ;)
[Android Apps and Games] Audioboxer:
Thanks I'll try my best to figure it out, tasker noob :p
[Android Apps and Games] parthipanramesh:
Look for wait until! ;)
[Android Apps and Games] Audioboxer:
Something like this, or am I getting colder?
[Android Apps and Games] parthipanramesh:
You have to delete A6 and A7. Then it should work. Does it work?
[Android Apps and Games] Audioboxer:
It does turn off WiFi if its on. The issue I have is I want WiFi to come on automatically on the night profile if I turn on the screen, then go off when I turn off the screen and repeat that behaviour until the night profile ends.
[Android Apps and Games] parthipanramesh:
Oh sorry I didn't understand you first. Then you don't need to change the Night profile. Just delete the %SLEEP=!1 condition in the Display (Wifi) profile. Then the profile will run the whole time. ;)
[Android Apps and Games] theskinny:
i get a %checkb_mobile error "doesnt exist", what exactly is the %checkb_mobile variable?
[Android Apps and Games] Fat_boy555:
Which is the latest version?
[Android Apps and Games] parthipanramesh:
It checks the traffic. This is needed for turning off mobile data when the traffic gets below 15kb/s. Look in the variable tab for %checkb_mobile. If you don't see it create it.

v1.3 ;)