How to schedule disable/enable mobile data and wifi at night? - HTC Sensation

I'd like to set a timer to automatically disable/enable mobile data and wifi at certain time. How can I do that?

I use the app timerific. It's on the market
Sent from my jitterbug using tapatalk.

I use myprofiles, also in market
Sent from my HTC Sensation 4G using XDA

Try JuiceDefender

Juice defender is quite a mess to set up... Anyway I'll give it a try.
Another thing, I'd need a schedule to disable a background app (sip client) on some days-time... Juice defender cannot block an app, but connectivity. So how can I do that?

Tasker should be able to do that.

I use profile scheduler.
This can change a profile based on time, GPS location, WiFi connection, rules, or manually.
A profile can include volume, device configuration, ring tone, or other system configurations. It can also launch apps based on the same.
[url]https://play.google.com/store/apps/details?id=com.wetpalm.ProfileScheduler&hl=en[/URL]

Try tasker
Enviado desde mi HTC Sensation Z710e usando Tapatalk

I think the best solution is Phone Weaver
You can schedule every function of phone.
It saves the battery
If you also install Call wevaer, both work together and for example it can decrease volume or silence during night and It increases in the morning again.
It is easy to setup

Related

Tasker question

Is there anyway to have it turn wifi on when it is in range of a remembered network, then turn off when its not I range?
Sent from my SAMSUNG-SGH-I897
Yes. Wifi near.
Never live in the past but always learn from it.
Hells yeah man! Thanks!
Sent from my SAMSUNG-SGH-I897
Yup. Wifi Near does the job. But it does it by scanning for the wifi network every X minutes (you can set this is in the profiles). So that consumes a lot of battery. I would recommend setting up a profile with Wifi Near AND Cell Near. That way, your phone will scan for that wifi only when you are in the same general location.
If I set a exit task to kill an app ie music player, does it harm anything? I've read that task killers could "harm" your phone but don't really know how they would do that.
Lol just being safe.
Sent from my SAMSUNG-SGH-I897
roidsmith said:
If I set a exit task to kill an app ie music player, does it harm anything? I've read that task killers could "harm" your phone but don't really know how they would do that.
Lol just being safe.
Sent from my SAMSUNG-SGH-I897
Click to expand...
Click to collapse
wont harm a thing since music player is not a system necessity.
The "controversy" about task killers is with memory management so it won't harm your phone. I use Tasker to exit tasks as well and haven't noticed any bad effects or any decline in battery use.
I've been using this profile for about the past five minutes lol.
http://tasker.wikidot.com/low-battery-usage-wifi-enableing-profile-using-wifi-near

Juice Defender settings

What settings do you use for Juice Defender. I've been messing with this app but is unsure on what is the best settings to use.
I had it on balanced and it said it was saving me 1.22x batterylife and one day I switched it to custom and I swear I changed very little and now it shows 1.89.
Give that a try.
I am a bit skeptical on these battery saving apps. They run in the background, using more memory and battery.
I'll mess with it a bit more...
Sent from my HTC Sensation Z710e
I only use Juice Defender to shut off mobile data when Wifi is turned on and when certain apps run... otherwise, I dont let it shut off my data or wifi because the phone has fantastic battery power, so I let it stay on 24/7.
I use it to turn WiFi and data on or off by location.. night mode and on custom stewing and get about a day and a half on a charge with pretty heavy use
Sent from my HTC Sensation 4G using XDA App
caliber177 said:
I only use Juice Defender to shut off mobile data when Wifi is turned on and when certain apps run... otherwise, I dont let it shut off my data or wifi because the phone has fantastic battery power, so I let it stay on 24/7.
Click to expand...
Click to collapse
Mind sharing your settings?
Sent from my HTC Sensation 4G using XDA App
Actually juice defender does a very good job for the battery life mainly on stand-by. If you are unsure of the settings i suggest using the ,,balanced,, option. But here are some of my tips (i use a lot of 3g internet on my phone, so the settings are a little more internet-permissive )
About tab: I selected here turn data network on screen wake-up ( i use the friends stream network, mainly for twitter updates and i like to have a 3g connection rigt after i wake-up the screen (default is turn on 3g when you unlock)
Control tab: I didn.t change here anything, the default settings are good
Schedule : I choose some peak times here ( from 12 - 16 weekdays) when the 3g stays always on, even if i turn off the phone - i recive alot of emails during this time (also i set up mail peak times during this interval to 1h update)
This is what i changed on my device. It may not suit you or any other user, but as i said, personally i noticed a good change in battery life in standby (this is what Juice Defender actually does by turning off data connection when not needed, simple but effective)
I use the dim screen option, set at 55%, and min at 80%, max at 150% and enabled the dimmer option under about
I'm using mainly the default settings and so far so good.
The only issue i have found is that i could not install an .apk from SD card when juicedefender is active. I had to disable it in order for the "install" button to work! Any ideas?
I love juice defender, it says it gets me 1.90x more battery.
i use custom setting and i have night time where it disables most things between certain times when im asleep, the apps i tell it turn things like twitter and stocks not to access internet at all, as i dont even use them.
its very clever and i have just looked at the advanced options and there is so much more you can do. need to learn a bit more about it before i used advanced.
Thanks for the replies. I'll mess around and test it a bit more.

You and I both know there ia an app for that...

I just don't know what it is called...
I am looking for an app to turn data on/off at specified times. Something that allows for 3g/4g programing would be great, but anything is better than nothing. Thanks, hive mind!!
I think Tasker does what you want...it'll do pretty much anything! It's a paid app, but well worth it. You can have the phone modify settings, turn on/off settings, or launch apps based on triggers (time, location, etc.). It's a bit difficult to program at first, but once you get the hang of it, it's a breeze. I have it set to turn on wifi when I get close to my house (using aGPS only, to save battery life), and to turn the ringer on when charging (and back to vibrate when not). It's awesome.
Juice defender pro it has a option called night mode but you can set it when ever or just do what I do add a HTC widget to your home page from settings called mobile network and just open it when you want to use it. That saves even more power.
Sent from my Thunderbolt using XDA App
Thanks, MadMan. Exactly what I was looking for! I don't want to press buttons. I want to set it and forget it!
Does Tasker allow data on/off on Gingerbread?
Llama also works great for Froyo, but no more data on/off on Gingerbread.

[v1.3] Tasker: Screen off=wifi/data off(no traffic+)AutoSync+Night/Reduce CellStandby

Cell Standby Battery Drain:
Hey Guys!!
Maybe some of you know it. The cell standby drains a lot of battery. I live in a mounterial arrea and it's really annoying. So I searched a bit on Google and build a small Tasker "Script" to reduce the draining. I'm using it now for 6 weeks and it's working good! It reduced my cell standby from 35% to 2%.
So what's the magic?
First tasker will turn Airplane Mode (only cell!) on if you don't have signal. Then it'll wait for 5 minutes and check it again. Yes this sounds really simple but it was hard to build it.
I hope I can help you with sharing my experiences!
Screen off=data/wifi off it no traffic (with Night Mode):
Hey Guys, I have been looking for a solution for this problem for quite a while myself. Now I found a good solution to collect the current traffic on all interfaces. I will share a detailed explanation on how to set it up.
First off, what will happen?
If you want tasker to turn Wifi or Mobile Data off when you the turn Screen off normally you have the problem that it will interrupt all downloads. This Profile will try to read the traffic. If the traffic is below 15 kb it will turn wifi or mobile data off. If not it’ll wait until it is below 15kb. Later If you turn your screen on again tasker will activate mobile data and wifi. It'll wifi doesn't connect to a network (in the next 30 seconds) it will turn wifi off.
How does Tasker work? How can I optimize these profiles/tasks for my needs?
First what does tasker do? This is for the people who don't understand tasker. Tasker has 4 tabs (Profiles, Tasks, Scenes and Vars) but I won't talk about Scenes cz I didn't uses it yet. I also won't talk about Vars (variables) cz they are self explaining.
What are Profiles?
Basically profiles contain conditions (for example if display on/off or wifi on/off) and run a task if the condition is true. Example: If display off turn wifi off.
What are Tasks?
A task is something like a list of actions which the phone should do. (for example turn data on/off or run a specific app)
How do the profiles from this thread?
The profile AutoSync (Screen off) runs every 10 minutes while the screen is off. It turns data/wifi on checks for new messages and turns it off. It has a variable called "%SLEEP". It will only run if "%SLEEP" doesn't match "1".
The profiles Display (Data) and Display (Wifi) turns data/wifi on when the user turns the screen on. When the screen is off again it will check traffic for 30 seconds. If the traffic is below 15kb/s it will turn data/wifi off. If not it will wait 2 minutes and check the traffic again for 30 seconds until the traffic is below 15kb/s.
The profile Night (week), Night (weekend) turn the phone into airplane mode and sets the variable "%SLEEP" to "1".
The profile Wifi connected just changes the variable "%CONNECTION to "1" or removes the "1". This is needed for the Display (Wifi) profile.
On my todolist:
You say..
Changelog v1.3:
Added Greenify's hibernate now to both screen off tasks
Changelog v1.2:
Added AutoSync (every 10 minutes if screen is off)
I'm using this profiles on my Samsung Galaxy Nexus and it works very well!!
Feel free to ask me if you have problems! I'll try my best to help you.
These profiles include the greenify hibernate action from its plugin. If you have troubles with it you have to remove and readd it (on both Screen off tasks) cz my plugin is german. (plugin → hibernate)
You need Secure Settings for tasker or it won't work!! I used Secure Settings because Secure Settings can off only the cell radio. Tasker supports it, too. But not for Jelly Bean and I'm using 4.2.2 :/
How to import *.prj.xml files:
Unzip the *.prj.xml file in your Tasker/projects directory and then import it in Tasker by long-clicking the home icon or any of the other tabs. If you don't have the home tab, swipe down from the top in Tasker to show the tabs. (beginner mode must be disabled!)
Thanks for this 8D!
Useful for a beginner like me ^^!
In task screen off, why do you wait for 30 sec's in Action number 5? Also how important is the Stop Task Action? What happens if I don't include it? I mean anyways, the following 'else' won't be executed if the Mobile data turned off by the 'if'.
Just what I looked for, but How can I install your *.zip file to tasker? I just cant install it, any hint? where should I put the zip file?
kala123 said:
Just what I looked for, but How can I install your *.zip file to tasker? I just cant install it, any hint? where should I put the zip file?
Click to expand...
Click to collapse
unzip it to /sdcard/Tasker/auto-import. Then import it using tasker.
The-Droidster said:
In task screen off, why do you wait for 30 sec's in Action number 5? Also how important is the Stop Task Action? What happens if I don't include it? I mean anyways, the following 'else' won't be executed if the Mobile data turned off by the 'if'.
Click to expand...
Click to collapse
You have to wait 30 seconds or how long you want to wait cz in action number 2 tasker gets a traffic number from the system. After 30 seconds it gets another. Tasker subtracts the values to get the actual traffic in bytes. So Tasker can look if the traffic is below 15 kb/s. Yes you're right. It's my fault. You don't need the Stop Task Action. It's from the old Script. I forgot to remove it. Thanks for your hint!
Hi parthipanramesh,
what I metioned inside the other Thread seems to be working A okay...
What are the modifications/fixes in this version? I can't tell from looking at it here.
RLicher said:
Hi parthipanramesh,
what I metioned inside the other Thread seems to be working A okay...
What are the modifications/fixes in this version? I can't tell from looking at it here.
Click to expand...
Click to collapse
Hi RLicher,
Some people had the issue with the maths calculation of CHECKB_WIFI - CHECKA_WIFI. So tasker will set the variables to 0 if they aren't set. (cz wifi is off or something else). And I deleted/merged some Actions.
You can use the version from the other thread if you don't have problems
I'm using this on SGS3 but notice two issue... While listening to Pandora when a song ends the data or wifi will get disabled so the next song cant start. Second wifi or data will not be reenable when the screen is enabled.
For the record i just imported the files within the zip.
nappent said:
I'm using this on SGS3 but notice two issue... While listening to Pandora when a song ends the data or wifi will get disabled so the next song cant start. Second wifi or data will not be reenable when the screen is enabled.
For the record i just imported the files within the zip.
Click to expand...
Click to collapse
First you have to increase the 30 seconds from the two Screen off tasks [A5] because Tasker checks the traffic for 30 seconds. If Pandora loads a song for example in 40 seconds Tasker will disable data and wifi after it has been loaded. So data and wifi are turned off when Pandora tries to play the next song. Increase the value and you should be good.
And for your next issue:
Delete the imported profile and create a new profile:
Name: Whatever
Context: State → Display On
Task: Create a task which enables data and wifi
Exit Task: Screen off
Re: Tasker solution: Screen off=wifi/data off if no traffic
The-Droidster said:
unzip it to /sdcard/Tasker/auto-import. Then import it using tasker.
Click to expand...
Click to collapse
How do we import?
Sent from my SGH-T999 using xda premium
ktetreault14 said:
How do we import?
Sent from my SGH-T999 using xda premium
Click to expand...
Click to collapse
Sorry I didn't read your previous post.
Unzip the *.tsk.xml files to sdcard/Tasker/tasks and the *.prf.xml to sdcard/Tasker/profiles. Then open tasker tap on tasks and hold it until a menu appears. Tap on import and you should see the files. Do this for the profile aswell.
First tasks and then profiles!! Or you'll get an error that tasker couldn't find the the task for the profile.
Thanks just pinched your files and made it turn on when the screen comes on.
My current profiles means that Wifi turns off when i leave the office and stays off until I turn it on again.
If im somewhere with no wifi will my wifi be turned on when my screen is turned on?
Would i need to create another profile which says if wifi is on and not connected to a network after X minutes
then please disable?
If so is that an easy one to create?
Thanks
Andy
Iceax123 said:
Thanks just pinched your files and made it turn on when the screen comes on.
My current profiles means that Wifi turns off when i leave the office and stays off until I turn it on again.
If im somewhere with no wifi will my wifi be turned on when my screen is turned on?
Would i need to create another profile which says if wifi is on and not connected to a network after X minutes
then please disable?
If so is that an easy one to create?
Thanks
Andy
Click to expand...
Click to collapse
First yes it will enable wifi.
I solved it with 2 profiles. One changes a variable if wifi is connected or not and the other one is turns wifi on, waits 30 seconds, checks the variable. If my phone is not connected to a wifi it will turn it off.
Do you want my profiles?
Re: Tasker solution: Screen off=wifi/data off if no traffic
Yes please that would be excellent
Thanks
Andy
Sent from my HTC One X using xda app-developers app
Re: Tasker solution: Screen off=wifi/data off if no traffic
Just one last question if I may.
Using this if I turn of data as well will that stop any emails coming in.
I have 3g turned off so am always on 2g but would still want push mail from one account to get through
Thanks
Sent from my HTC One X using xda app-developers app
Also found another issue now
I have a rule set up so when connected to works wi-fi my ringer and notifications are set to low.
But now when i turn my screen off wifi drops and my volume goes up. ARGHHHHH
Andy
Iceax123 said:
Yes please that would be excellent
Thanks
Andy
Sent from my HTC One X using xda app-developers app
Click to expand...
Click to collapse
Look in the OP!! New version
Iceax123 said:
Just one last question if I may.
Using this if I turn of data as well will that stop any emails coming in.
I have 3g turned off so am always on 2g but would still want push mail from one account to get through
Thanks
Sent from my HTC One X using xda app-developers app
Click to expand...
Click to collapse
Yes it will turn generally data off. 2g or 3g it doesn't matter.
Iceax123 said:
Also found another issue now
I have a rule set up so when connected to works wi-fi my ringer and notifications are set to low.
But now when i turn my screen off wifi drops and my volume goes up. ARGHHHHH
Andy
Click to expand...
Click to collapse
It have nothing to do with my profiles and tasks. They only enable connections, check traffic and disable the conncections. Maybe another profile isn't working correctly.
And next time you can edit your post. You don't need to make 3 posts.
Thanks again parthipanramesh, will import these tonight and try
Andy
I am new to tasker and i have been fiddling with it.
How would I add auto sync turns on every 15 minutes when screen is off and auto sync turns on when screen is on to this "script"?

[Q] Battery Saving Mode

Is there a way so that when the battery dips below a certain threshold the phone can automatically disable things like Bluetooth or GPS to save battery? Is something like this built into JB (I'm on CM 10) or is there an adequate app for this functionality?
Hmm...I think there is. Try going to settings, profiles, and change up or play around with the default/home/work... settings. You can toggle WiFi, mobile data, Bluetooth... Etc
Sent from my HTC Sensation using xda app-developers app
Tasker (app) does it. I think Llama does also and is free.

Categories

Resources