yashsingh1/xdaforums huggingface dataset:
[Android General] SkyboneNoya:
Should work on touchwiz just make sure you have the hibernate profile and the boot minimizer on as well as setting google play services and google (search i guess it is) to user apps.

Boot minimizer will kill it on boot then it should hibernate just fine. But you also need to have the kill app (super user access granted) I might have to add a few of these mentions. Tasker needs to have super user enabled in preferences as well. First boot after everythings installed should be watched for those super user requests.
[Android General] Prufta:
thanks, making reference to enable SU on tasker I downloaded the app from playstore and I dont see the option to enable on the preference section. Or I have to download other tasker app??
[Android General] matrixzone:
Thanks for the tip, now i am able to hibernate play services.. So what i have noticed, this breaks the push notifications.. Seems the gcm function of greenify breaks because of these changes.. So if i remove whatsapp/Gmail from greenify then push notification works..

So i have to now see the benefits, what to keep and what to remove..

Op your help will be appreciated

---------- Post added at 06:59 PM ---------- Previous post was at 06:06 PM ----------

Don't think tasker require su access, i was able to perform those steps by granting su access to the kill app
[Android General] SkyboneNoya:
Preferences Misc tab enable "Allow External Access" should do it.

Greenify gmail? I wouldn't greenify everything but what I list in the OP under what I hibernate. Whats app I'm not so sure of but Paid version of greenify should allow you to enable hibernated apps to wake up as well. try turn all the settings on in paid version.

Sorry just tuning in, class all day so I'm very limited. I will keep note of any problems and fix them soon thanks.

Cheers!
[Android General] hyewiz:
Help needed

Hello

I need your help I have followed every step on the OP and now my Data is always turned off I have to manually turn it on every time.

where did i do wrong please help.

thank you
[Android General] SkyboneNoya:
Sync every 3 hours profile turns off data and comes back on every three hours to sync data for 20 seconds. Data shouldn't come on if your in the vicinity of a selected WiFi access point.
[Android General] hyewiz:
So basically If I dont have access to WiFi and I'm away from selected WiFi access point this is not good for me? at work I don't have access to WiFi
[Android General] Griffiths_Anna:
Hmm what's wrong with the gps on action? I'm a beginner to this Tasker thing.. Thank you..

Sent from my lovely HTC One M7
[Android General] CrackerTeg:
Go into secure settings and install the 4.1 helper.
[Android General] Griffiths_Anna:
Owh thank you.. It's now working

Sent from my lovely HTC One M7
[Android General] SkyboneNoya:
Change the screen brightness in your work profile enter task above 0 and data will be used.

You can duplicate the "sound off" task rename it "sound off work" and change the brightness up past 0 for data sync instead. Tasker let's you do anything you want basically. Just look at these profiles like learning tools.

Change the sounds as well if you need them turned on in that new task. The exit task should then turn sound on or off depending on your work enter task.

You should duplicate the sound off task for an exit work task. That sound off original task is what's used for sound off at night. Lol sorry but that's tasker for you! Confusing.
[Android General] hyewiz:
lol yes big time... thank you very much
[Android General] SkyboneNoya:
I just noticed that my Google play services is not a user app. Either I didn't convert it or it switched as Google" Google search always does. But with the boot minimizer profile and hibernate profile I see it hibernates.

Also does anyone know of a new Google play services that's fixed battery? I read it somewhere but can't remember where now.. I'm still on data here, 4.90gb over.. Trying to keep it to max of five haha..
[Android General] Boomer1605:
I think this is what you are looking for.... http://xdaforums.com/showthread.php?t=2604851
[Android General] sdlopez83:
1. On Profile tab in Tasker Add a new Profile called Home through Location with the + button/Location. Click gps/net on.

Click image for larger version

Name:	PlusButtonAdd.png

Views:	147

Size:	101.3 KB

ID:	2503687

Did you mean add a new profile in "tasks"? When i add on profile tab and load xml files, mine does not look like it does in the picture.

When loading the xmls I load in the profile tab correct? or should i be loading them in the tasks tab?
[Android General] SkyboneNoya:
Sorry, I made the last update to this thread with little time, sleep and data. I have some time now, as well as a new Internet connection to upload my new location profiles and a few other updates, see the second post of this thread. Just wait for the next update for the new location profiles College and Home.

This new location process will keep gps from coming on in wiFi zones "hopefully won't need GPS for the exit task either! I have to test this method still with the college, expect an update tomorrow. I know this section is troublesome at the moment, so beer with me.
[Android General] kala123:
Thank you for all of this, but where can I download all the other profiles ? :/
[Android General] SkyboneNoya:
Sorry got busy yesterday. Just putting the profiles into zip format now and then uploading. The OP needs a minor update for screen on profile, I can't export it for upload but its easy to create!

Edit: Exported Screen On by changing the name of it Lol.. Can't export default named profiles?..

Hopefully the Home and College <---Or whatever you want to call it, profiles work :D

I'll post with update as soon as I'm done.
[Android General] SkyboneNoya:
New Profiles and updated OP/Update post #2

Home profile might not need

WiFi Near

to work. Couldn't hurt though right? ;)
[Android General] hyewiz:
Thank you for all your hard work, I need help please no matter what I try I cannot make "Tasker" to see the Profile files I see the folders ut when I open tasker wont see the inside XML file, please help

directory is as follow

Tasker\Profiles\Airplane_Mode
[Android General] SkyboneNoya:
Just realized it didn't work for me on N7 either. Here's how to import, click hold on Profiles tab in Tasker and you should find files to import. :victory:

Updated OP a lot today. Consider it finished until the next update.

Cheers.
[Android General] hyewiz:
Thanks a lot that worked but how come ONLY "HOME_v2.0" wont see the files. when I click Profile and then go to HOME folder tasker wont see the files.
[Android General] zspl:
Great update. I tried to follow your new profiles in tasker - especially home one. And i run into issue - my Home profile will not become active unless I will manually enable wifi - then boom. So now I'm wondering, how this will work? I mean, wifi is off so how come this profile will now that wif with my ssid is there in the area? Do you have any clues what might be wrong?
[Android General] SkyboneNoya:
Home needs a Profile made, only the Tasks are within that folder which need to be supported by Cell Near, and WiFi Near which can be imported by holding the Tasks tab

I added WiFi Near to Cell Near to try and ensure connection with a dual Home Profile. This might work better taking WiFi Near out.

Make sure you click scan on setting up the Cell Near and find all the towers in your WiFi area. I picked up 7 or so towers in my apartment by walking around room to room. Hopefully this process works, I've been working at it for awhile.. and GPS can't be the only option.

One thing to mention the Elsewhere Task might just have to be made into its own profile. Not sure if the Exit is working.
[Android General] ksd316:
I'm using just cell near with my home profile, it works great. But if you have multiple towers close by the Wi-Fi has disconnected and reconnected when switching towers. Not terrible but kind of a nuisance if you're downloading a big file. I added a 3 minute wait command in the exit task so that it will stay connected while switching towers. Hope this helps.
[Android General] SkyboneNoya:
Ah I didn't notice. Although, I think my wifi might be coming on with screen off from the Home Profile - WiFi enabled.

Hibernate Screen off profile is supposed to turn the WiFi off "If %HTTPD < 2" This might not work? maybe %HTTPDKB < 2 would work.

It also increases screen brightness every now and then as if to be switching to Elsewhere task and back to Home Enter task Home WiFi which would support your nuisance.

I didn't upload the chrome and tapatalk profiles yet which could also be worth while.

Chrome Profile would be as follows.

Launch app Chrome as Application Profile in Tasker.

Enter Task Data On used on Sync Every 2 Hours Profile.

Exit Task (make your own)

- Auto-Sync = Off

- Wait 25 seconds

- Mobile Data = Off If %HTTPD < 2

- Hibernate Now = Chrome

Degreenify chrome, this should keep it running until data runs out.

Thanks for the heads up!

PS. Make sure you check mark all the towers you have around you to add them to the list if you didn't already. Your phone might find more over the course of the day.
[Android General] zspl:
I got my thing sorted. I was missing screen on profile to eable wifi automatically if Im at home/work so that was the thing ;) Now Im wondering if it's better from battery perspective to enable wifi every time i turn on my screen and disable it when it goes off rather than keeping wifi on all the time while at home?

As for towers I have 5 so far and I guess it is good enough. At least it looks like that way.

Also what are those %HTTPD in screen off profile?
[Android General] ksd316:
I had to turn off the "screen off, Wi-Fi Off" profile because I get random reboots when Wi-Fi turns off.
[Android General] SkyboneNoya:
Another thing you might have Auto brightness enabled? I would assume this would bug the whole operation as you need it to be set to 0 for WiFi to stay connected. I'm working on updating the Home Profile tasks... Again. I have the sync every 2 hours profile updated just to allow WiFi if Bright = 0

You could swap the Bright = 0 For something else if you like. You just have to change that instance with all tasks and in home profile.

0 = Home

65 = Elsewhere (on the move out of WiFi range/work/school/home)

Maybe WiFi Near might work just fine?

I feel like Elswhere should have a profile with Cell Near for exit to turn on Home or College. hmm
[Android General] SkyboneNoya:
%HTTPD should keep (i.e. Data) on or turn it off off depending on If data is greater than or less than 2. Totally depending on the situation and Task at hand.

That's unfortunate. You can cut the WiFi off part out and see if that works. The screen off profile is what hibernates your apps with greenify. A big battery saver.

EDIT: I realized by testing WiFi = Off with If %HTTPD

KB

and on Screen Off the WiFi stays on!.. This fix will now have to be updated across every Task.

This is good but it means we're on v4 for most profiles. :D all in the quest for learning! Expect Updates and Chrome and Tapatalk profiles soon!
[Android General] zspl:
What's this %HTTPDKB ?

Also, personally I don't like thats its so heavy related now on brightness, so I will definitely change to some other variable once new profiles will be out. I just want to keep auto brightness on in my phone.
[Android General] SkyboneNoya:
I'm just working on these profiles.. I'll swap bright = 0 out, I have clip board say home, read home from clipboard = wifi on But this is nothing major to get around with another task.

The problem at hand is on screen off, keeping data flow. WiFi/Data on If HTTPDKB greater than 2 is what I'm trying to enable so downloads or streaming music etc will function normally until data drops below 2, 5, 10, 15kb whatever you want. There's a profile out there created by parthipanramesh that has this feature, a little heavy on the process side and not sure if it works with 4.4.. At least not for me.

Ps. For fun in tasker. go into a Task push + button add from Misc, Say to File, Type in something and change the voice engine to google/english then change the pitch. back out push the play button beside + button. It's hilarious!
[Android General] ngcarson:
Might have to give this a go later this week!
[Android General] SkyboneNoya:
Oops.

Thanks [MENTION=335322]MikeChannon[/MENTION] [MENTION=4853127]KorGuy123[/MENTION]
[Android General] SkyboneNoya:
Just been busy with school. I'm still thinking of profiles people would want and with some critique I made the new Airplane mode alternative.

Besides that its pretty well all been said. If anyone wants to add to this let me know.

Cheers
[Android General] kala123:
Thank you, love thows profiles.

maybe add disable patern lock if in home wifi/cell and enable if not in home.
[Android General] ksd316:
I've been using the chrome and Facebook profiles and for whatever reason those apps will hibernate in the middle of me using them. I'll be at home on Wi-Fi and boom they close. I can't figure out why.
[Android General] SkyboneNoya:
Yeah I took them out recently before the last round of updates. Although, if you still have them. Try out parthipanramesh profiles

Wifi connected and Display (Wifi) Profiles http://xdaforums.com/showthread.php?t=2127481

They have a huge set of tasks that might help. Chrome and Facebook have been a problem for me otherwise for over a year... Not really looking into it enough.

I'll try work on something.

cheers
[Android General] SkyboneNoya:
Thanks for the reminder! I wanted to make this profile for awhile. :D Its up now!

Just remember to have #Home, #Elsewhere and #College Profiles set up. If its not clear enough, I can maybe write it up a little better on how to make these profiles.. Scanning Cell towers to add into those location profiles is key.

Do NOT forget the home.txt, college.txt and elsewhere.txt files need to be in Tasker folder on your sd.
[Android General] kala123:
Thanks, but the archive is corrupted :/. Can you re-upload please =)
[Android General] SkyboneNoya:
Sorry about that, I changed a few things and re-zipped/overwritten the last one. Had a uneasy feeling about that while doing so with Root Explorer :o

It's fixed now I hope!
[Android General] kala123:
Thank you.

To others if you get:

"An error occurred while executing action: Pattern Lock!"

You need to go

Secure Settings > Preferences > Pattern Unlock Method, and check "Lock Settings (Experimental)"
[Android General] SkyboneNoya:
Ah sorry yeah. You need to enable pattern lock and select a pattern.
[Android General] m7ixalis:
Thank you for the useful guides .

Can you make one that explains generally how to make a nadroid backup specific date and time ?
[Android General] charlypaez:
Good night friends, is possible create a profile with Tasker for (turn off screen > Hibernate now)??? Thanks :)

Sent from my N900W8 CM 11 Unofficial Temasek+LK for XDA Mobile Premium!

Edit: Answer for myself.. Event-screen off... New Task-pluggin-hibernate now (zzz)...
[Android General] SkyboneNoya:
Last download in the list does this.

I think the lock has to be configured a bit though. Maybe lock IF #College enabled, and lock If #Elsewhere instead of elsewhere, college in one task.

PS. For the Quantum GS3 users on this forum (possibly any Cyanogenmod users as well) battery life has hit the sweetspot with recent 24/25th release.

http://dl.xda-developers.com/attach...cfa8ea1/52e82fa0/2/5/4/5/3/7/0/GS3Battery.jpg
[Android General] jasonv31:
+5 :)
[Android General] JoshuaOrphir:
I dont know how to set up the home location and the home.txt. Can someone help me please?
[Android General] SkyboneNoya:
Home location needs cell near or WiFi near if that works better for you. The how to is in the op.

Put home.txt in your Tasker folder found on your SD among music and Downloads folders.

Let me know if this helps. I might just upload a video but most can decipher my instructions, I hope.
[Android General] xuxuzao:
guys,

google backup transpot is not greenifying direct unless i click o zzzz at the app!

the rest is hibernating correctly

any tips?

tks!!!
[Android General] SkyboneNoya:
I unclick that option on rom installation and it does not bother me after. You might try change it into a system app using titanium backup to hibernate it but make a backup of your rom before you do so. It can possibly bug your install.
[Android General] elba:
Hi SkyboneNoya

thanks for this very useful thread, I'm interested in Airplane mode activation in particular, but I'm not able to let it work.

I have a Galaxy SIII with stock 4.3 FW, rooted

I already installed Exposed framework, 4.x Airplane mode helper, Tasker and I'm trying to let your Airplane mode profiles work

When I try to run your Airplane Night mode task, it run correctly, it shows the notification Airplane mode enable, but nothing change, my radios are still alive, what I'm doing wrong?

thanks for your help
[Android General] SkyboneNoya:
Hey thanks.

- You might be able to set airplane mode with Tasker itself and omit the 4.x Airplane mode helper all together. I'm not 100% sure as its been awhile since I was on 4.3.

- There might also be a older version of 4.x Airplane mode helper better suited to 4.3 android.

- Check to be sure you have granted super user access to Tasker, and click "Allow External Access" option box in Tasker/ Preferences/ Misc tab.

- Make sure your modules are updated and enabled in Xposed and that Xposed has root access enabled in super user.

- If nothing above works, 4.x Airplane mode helper might need root access itself, I don't think it would but try uninstall Xposed and 4.x Airplane and re-install to see if that helps it anyway.

Cheers
[Android General] Shallwhat:
Sometimes Google Play Services gets opened by random things like "Unknown Sources" and other apps. I have Auto Sync 2 Hours, Screen Off Hibernate Lock, and Boot Minimizer installed along with Greenify Premium & TasKill working. Any reason why?

I think it might be because in the "Hibernate" task, under the If and Else If sections it has things for %HOME ~ elsewhere, college. I don't really need it to be set to only Hibernate if I'm home or at work or at college, I want them all to hibernate everytime I turn my phone off. Also under the "Hibernate" task, #3, 4 and 6 all have red lines next to them. 3 is for Secure Settings, 4 is Vibrate and 6 is Secure Settings again.
[Android General] sanzoghenzo:
Hi SkyboneNoya, thank you very much for this great article.

I'm starting to use Tasker to automate things, and these battery saving automations are wonderful.

I modified a little bit your profiles to make them work for me, and I used only one application profiles for all the internet enabled applications, no need to make duplicate profiles if they share the same task.

I had a problem of data off when switching between 2 internet enabled apps (i.e. launching MX player from browser). I solved disabling "Enforce task order" on my applications profile and killing the exit task as first thing on my enter task. Here's what I came up with:

new application profile -> select all the applications that need internet access; i named the profile "App Data On"

Enter Task: Data On

Task -> Stop "End Sync"

If %HOME ~ elsewhere

Mobile data ON

Secure Settings -> GPS Enabled

WiFi Off

Else

Mobile Data Off

WiFi On

End If

Auto-Sync On

Flash "Auto Sync On"

Wait 25 seconds (ignore this if you don't use the Autosync every 2 hours)

Exit Task: End sync

Wait 25 seconds

Mobile Data Off

Secure Settings -> Gps Disabled

Auto-Sync Off

Greenify -> hibernate all

Flash "Auto Sync Off"

Wifi Off

Finally, long press on the "App Data On" profile, tap on the settings button (the one with the sliders) and uncheck "Enforce Task Order"

hope this helps!
[Android General] wudien:
I used to be a die hard greenfiy user, donation package and all. but since then, using my Note 3, i get better battery life without it. I tried the tasker profiles to greenify google services and it caused far more battery drain than the services alone. Just my experiences, not trying to bash. god knows i need greenify on my nexus 7 to keep that running "smooth".

because i no longer use greenify, i leave some apps uninstalled, mainly facebook. that thing is the biggest battery suck esp. without greenify. However, i have just recently started using TiBk widgets that freeze and thaw apps when i want to use them (also, mostly just facebook) might be worth a try.
[Android General] SkyboneNoya:
Secure settings will help with boot minimizer and the locking in Hibernate profiles, probably others as well. I have been a little busy sorry. You can disable home college and work profiles if you want but they are tied into a lot of the profiles now, rendering ones like Lock on screen off hibernate useless. As you probably know you can just modify these profiles and use sync every 2 hours and hibernate without any of the extra stuff. Basically remove the "IF" from the equation.

Cool I'll have to check this out when I get a little time!

Yeah, google may have fixed google now and everything with releases of 4.4.2 and 4.4.3 being the next update. There was a huge uproar with nexus devices which triggered this guide as nexus 5/7? google source is still new and widely used.

My nexus 7 is just dead until I charge it with custom kernel and rom but with the stock 4.4 It was on idle for about 14 days one time. I think I linked a few topics of discussion in the OP where freezing almost everything "google" can save even way more battery if interested.

I will get back into making some more tasker profiles as soon as I get out of school. I just redid a portfolio submission for my graphic design course last night after losing over 7gb of data on a usb stick the day before.. lots of bs.

I'm glad people are using these profiles, thanks for the likes and support!

cheers.
[Android General] sanzoghenzo:
I forgot to update my post, since with those tasks the "Sync every 2 hour" profile will not work if you leave it untouched (the data on kills the end sync immediately). I created another task that:

performs the Data On task

Waits 30 seconds

Performs the End Sync task

and use it as the only task in the Sync every 2 hour profile.

I also added a check if Profile "App Data On" is not active, since if it's active the sync is already in place, and it also prevents the data being disabled while still in the app.
[Android General] SkyboneNoya:
Nice. I should have kept older profiles for download, just simple like that as well. I will try supply more flexible solutions in a few weeks. I realize that the home/college/work thing is not for everyone. More, is better!
[Android General] jukiewalsh:
[MENTION=4450717]SkyboneNoya[/MENTION] question about tasker. if the only profile I use is the screen off "hibernate now" does the monitor settings in tasker affect my battery by doing the unnecessary checks? If so does setting them to 0 disable it or make it constantly check
[Android General] SkyboneNoya:
I'm assuming you mean preferences settings checks like display on and off monitoring? This is what I have set. You can test out and change them how you like. (These might not even be default, I forget if I changed them or not.)

Display On Monitoring
- Application Check MilliSeconds - 1500
- Wifi Scan Seconds - 180
- GPS Check Seconds - 120
- Network Location Check Seconds - 30
- GPS Timeout Seconds - 90

Display Off Monitoring
- All Checks Seconds - 600 <---------Default. Not sure if it makes a difference at anything higher. Although it might slow things down.
- Timeout Seconds - 90
- Accelerometer - No!
- Proximity Sensor - No!
- Light Sensor - No!
- Pressure Sensor - No!
- Temperature Sensor - Yes
- Cell Workaround - Unchecked
- Net/Cell Wake Screen - Unchecked

General Timings
- Wifi Minimum Timeout Seconds - 10
- Gesture Initial Sample Rate - 300
- Gesture Match Radius - 3.5
- Gesture Match Reset Time - 1200
- Orientation State Accuracy - Very Low

Setting these to Yes will most likely increase battery levels but possibly only if you have Tasker profiles using these options.

Accelerometer - No!

- Proximity Sensor - No!

- Light Sensor - No!

- Pressure Sensor - No!

- Temperature Sensor - Yes