[Q] Power profile (wifi / BT / etc.) toggle - HTC Sensation

I was wondering if it was possible to set up different profiles for what is turned on at certain times instead of having to pull down the quick settings and select each toggle every time.
I would like to have mine set up to do this:
Home - Wifi On, BT off, GPS off, wireless network off.
Car - Wifi Off, BT on, GPS off, wireless network on, pandora started, app remote (from sony) started.
Work - Wifi off, BT off, GPS off, wireless network on.
i found this thread where somebody was looking for something very similar but i'm sure something else has come along since '07: http://forum.xda-developers.com/showthread.php?t=300605
thanks for any help

Which ROM do you have? If you have albino's 4.2.2 ROM you can go into settings and set your profiles to whatever you like
Sent from my HTC Sensation

AndroidSupporter318 said:
Which ROM do you have? If you have albino's 4.2.2 ROM you can go into settings and set your profiles to whatever you like
Sent from my HTC Sensation
Click to expand...
Click to collapse
ARHD 7.2 (all info in my signature is current)

Lol...sorry I don't the arhd ui very well
Sent from my HTC Sensation

I think that tasker app does it. But it's paid.

extrem0 said:
I think that tasker app does it. But it's paid.
Click to expand...
Click to collapse
thanks, i'll have to check that one out. for right now, i have installed smart wifi toggler and i am just manually toggling bluetooth. i also tried profile scheduler and it had good intentions to do everything i wanted it to do, but it seemed buggy.

Related

[Bug-Fix] Solution for wifi-shutdown in standby (no root required)

UPDATE: There is an app in the play store called 'Advanced Wifi Lock (Free)' which fixes this problem and DOES NOT need root
ossy1337 said:
Some (or maybe the most) users reported that the phone loses wifi signal after a few minutes in standby. I probably found a way to fix this. All you need to do is:
5. change the line 'gEnableSuspend=3' to 'gEnableSuspent=1'
PS: Keep in mind that unlocking the bootloader using htcdev will most likely void or at least constrain your warranty
Click to expand...
Click to collapse
Are you sure about the gEnableSuspenT (changing d to t)?
mremolt said:
Are you sure about the gEnableSuspenT (changing d to t)?
Click to expand...
Click to collapse
fixed it
Update in post 1, no root required!
Yeah I found out about the wifi lock issue when I got my sony tablet, advanced wifi lock is the perfect solution!
for me the wifi lock causes very low standby hours. anyone having the same issue?
If I did not misunderstand what you mean by WiFi shutdown, there is an option in WiFi setting which keeps WiFi on even phone is in sleep mode (standby).
Go to:
WiFi list, menu, advanced, keep WiFi on during sleep, select always.
No 3rd party app needed.
Sent from my HTC One S using XDA
h.han said:
If I did not misunderstand what you mean by WiFi shutdown, there is an option in WiFi setting which keeps WiFi on even phone is in sleep mode (standby).
Go to:
WiFi list, menu, advanced, keep WiFi on during sleep, select always.
No 3rd party app needed.
Sent from my HTC One S using XDA
Click to expand...
Click to collapse
That's exactly why this thread exist...
the 'keep on' function doesn't work for some users.
ossy1337 said:
That's exactly why this thread exist...
the 'keep on' function doesn't work for some users.
Click to expand...
Click to collapse
OK, if that's the case, ignore my post then, but I did not really see any where mentioning the "keep one" function not working in this thread, so had no idea... maybe good to add it somewhere just to avoid further confusion
By the way, the "keep on" function works fine for me, so maybe something to do with the router? or wifi band (802.11a/b/n)?
ossy1337 said:
UPDATE: There is an app in the play store called 'Advanced Wifi Lock (Free)' which fixes this problem and DOES NOT need root
Click to expand...
Click to collapse
Have been looking for this solution awhile... finally found something that is useful!!! Thanks a lot!!!
This app causes massive battery drain. For me, I updated my device with ics ruu and this problem was gone, but a week ago when I did a factory reset the problem reappeared.
Sent from my HTC One S using xda app-developers app
Thanks for sharing. I would've tried it out if it weren't for the fact that my current rom has no problems with wifi connectivity at all.
However, I will keep this app in mind just in case .

Settings based on location

Hi all, is there an app or a mod that allows for adjusting the phone settings based on location? For example, when i get home i would like it to connect to my wifi but when i leave home i want wifi to turn off and such like.
Thanks in advance.
Tasker does all of this and more. V
gunnyman said:
Tasker does all of this and more. V
Click to expand...
Click to collapse
Thank you so much!!
Juice Defender does this as well for the WiFi. It learns the locations you use the most and turns the WiFi on in those locations.

[Q] OrDroid 9.0 Wi-Fi Tether Solluion..Please...

Heyyyy...Guysss
Anyone is having the solution for Wi-Fi Tethering in OrDroid 9.0 ???
Please suggest me something...I'm heavy user of Mobile HotSpot....
Wifi Tethering is broken in Ordroid, Just change ROM if you really need it.
Or wait for shnizlon to fix it
No need to change roms! Please use wifi tether from the playstore it works perfectly! Yes it works with ordroid! Its all in the settings. It goes as follows, always power off device remove battery place back in power on each routing session that said here are the settings, make sure routing fix is checked,disable wake lock. Check set up wext ad hoc, device profile, generic ics, DNs, 8.8.8.8, lan,192.168.2024, transit power disabled, you are good to go.if it starts with a error, just do the power off battery pull. You will have tethering again. Its a free app in the playstore called wifi tether. Hope I helped! Happy tethering
Sent from my Sensation using xda premium
realsis said:
No need to change roms! Please use wifi tether from the playstore it works perfectly! Yes it works with ordroid! Its all in the settings. It goes as follows, always power off device remove battery place back in power on each routing session that said here are the settings, make sure routing fix is checked,disable wake lock. Check set up wext ad hoc, device profile, generic ics, DNs, 8.8.8.8, lan,192.168.2024, transit power disabled, you are good to go.if it starts with a error, just do the power off battery pull. You will have tethering again. Its a free app in the playstore called wifi tether. Hope I helped! Happy tethering
Sent from my Sensation using xda premium
Click to expand...
Click to collapse
I know that method Bro....But this method needs each and Every time...Switch of and Battery Pull down....that i dont like much...
Moving to ARHD for sometime....
Yes it's a pain but hey, at least it works and you can tether, better than not tethering at all I'd say ....
Sent from my Sensation 4G using xda premium
Ordroid 9.0
I have installed orDroid v9 on htc sensation xe i have little problem when i use Msn Messenger with wifi router he working wel when i used vodafone mobile internet then MSN Messenger not working and camera also not good working if you click 4 of 5 time on camera for make a picture then he take to main side and also viber internet calling dont get code form viber on you mobile and not auto past in viber software
You should try another Rom . Ordroid will not be getting any updates. It is finished. However its developer moved to team venom on viper Rom.so perhaps give viper a try . Hope this helps.
Sent from my Sensation Z710e using xda premium
Ordroid isn't supported anymore. Flash ViperS ROM instead.
http://forum.xda-developers.com/showthread.php?t=1671547

Tasker on Nexus 5

I am new to using Tasker and am using it on my Nexus 5. For those Nexus 5 users who are using Tasker, are you having any problems? Do you know if Tasker has been updated to fully work with 4.4? I have checked Tasker's wiki and the last update for 4.0+ is/was 6/17/2013.
Basically what I am getting at, as I am building profiles/tasks, I am trying to determine if/when my profile/task does not work, it is me or is it Tasker not being updated?
I have searched the Nexus 5 Themes and Apps forum here and did not see much mention regarding Tasker. I am posting here rather that Q&A as Tasker is an app.
I appreciate your help.
Mark
I use it. No problem for me
Envoyé de mon Nexus 5 en utilisant Tapatalk
Only issue I've run into so far is with the Secure Settings plug in not toggling gps on one of my profiles. Other than that all my other profiles work without issue.
AndrasLOHF said:
Only issue I've run into so far is with the Secure Settings plug in not toggling gps on one of my profiles. Other than that all my other profiles work without issue.
Click to expand...
Click to collapse
I also have issues with Secure Settings, but that's because Secure Settings hasn't been properly updated I believe.
All my profiles work with Tasker. I had to change some of the complicated ones to reference different directory paths but otherwise fine. Secure Settings profile is working too, but thats to turn off pattern lock....
rootSU said:
All my profiles work with Tasker. I had to change some of the complicated ones to reference different directory paths but otherwise fine. Secure Settings profile is working too, but thats to turn off pattern lock....
Click to expand...
Click to collapse
Turning off pattern lock (I assume is the same as lock screen) is the problem I am having trying to get it to work.
19android said:
Turning off pattern lock (I assume is the same as lock screen) is the problem I am having trying to get it to work.
Click to expand...
Click to collapse
I use Widgetlocker as my main lock screen. When I am not at home, I want the Android stock pattern lock behind it. When I am at home (triggered by WiFi connection) I want it off.
Pattern lock and lock screen are not the same. Pattern lock has it's own specific setting within Secure Settings.
If you want to disable the basic lock screen go to Display/Keyguard and set it to off.
AndrasLOHF said:
If you want to disable the basic lock screen go to Display/Keyguard and set it to off.
Click to expand...
Click to collapse
Yes...I want to disable the basic lock screen. I did go to Display/Keyguard and set it to off for the task. I also set the exit task to on. I will try it out again when I get home.
Still trying to find a way for tasker to toggle LTE... secure settings lte toggle plugin only works on cm based roms..
Sent from my Nexus 5 using Tapatalk
Keylock off works fine for me.
Tasker works perfect for me so far. Also, no issues on Secure Settings. At least for the functions I use it for.
My last Tasker creation was using my old Nexus 4 as a motion camera/IP camera. Whenever I connect to my wifi it disables the camera, Once I leave it turns it on.
Gets pretty creepy when you get false positives and it takes pictures of nothing though
I am having significant problems with Tasker on the N5. I am not able to set profiles by using the cell near state. Whenever I scan for towers when I'm on LTE it returns no results. If I put my phone on 3G, then it finds towers.
This was never a problem on my EVO LTE. I think it has to do with Sprint upgrading towers to Network Vision and this being a triband phone.
Sent from my Nexus 5
I have Tasker set to turn on my wifi when I get in range of my house. Since the N5 has LTE, tasker can't seem to get the cell location thing figured out. It must be different than 3g/edge. I had to set it up to remember cell towers instead.
kgeissler said:
I have Tasker set to turn on my wifi when I get in range of my house. Since the N5 has LTE, tasker can't seem to get the cell location thing figured out. It must be different than 3g/edge. I had to set it up to remember cell towers instead.
Click to expand...
Click to collapse
How did you get it to remember cell towers if it doesn't work on LTE?
Sent from my Nexus 5
Cannot get tasker/secure settings to toggle the GPS.
Else, my profiles seem to be working as expected.
Use the secure settings alternative helper to toggle GPS/location settings.
darcmage said:
Use the secure settings alternative helper to toggle GPS/location settings.
Click to expand...
Click to collapse
^^^^^THIS^^^^^ I made this mistake earlier. It is not enough to just have the Helper installed. You also must have the Alternative Helper checked. All is good now. No gps unless Maps is loaded =) =) =).
boomer8403 said:
How did you get it to remember cell towers if it doesn't work on LTE?
Sent from my Nexus 5
Click to expand...
Click to collapse
I think tasker has a problem with the triangulation on the LTE network. Anyway...I created a new state, hit phone, then "cell near". Hit the "scan" button and walk around your house so it can pick up the 2 or 3 towers. I then just used the newly created "state" to determine when I was close to my house.
http://tasker.dinglisch.net/userguide/en/loctears.html#cell
kgeissler said:
I think tasker has a problem with the triangulation on the LTE network. Anyway...I created a new state, hit phone, then "cell near". Hit the "scan" button and walk around your house so it can pick up the 2 or 3 towers. I then just used the newly created "state" to determine when I was close to my house.
http://tasker.dinglisch.net/userguide/en/loctears.html#cell
Click to expand...
Click to collapse
If you read my initial comment, you would have seen that this is exactly what I'm having trouble with. It works on 3G but DOESN'T work on LTE.
Sent from my Nexus 5
boomer8403 said:
If you read my initial comment, you would have seen that this is exactly what I'm having trouble with. It works on 3G but DOESN'T work on LTE.
Sent from my Nexus 5
Click to expand...
Click to collapse
That is what worked for me and it find several towers by my house on LTE. I am on T-Mobile, so that may make a difference.

[APP][TEQTIC][4.1+] LeanDroid - ? Most advanced battery saver

Introducing LeanDroid:
LeanDroid is a lightweight and incredibly powerful battery saver. It automatically manages the power-hungry radios on your device while the screen is off to significantly lengthen battery life.
Get the most out of your device with the most advanced and efficient battery saver! The no-frills battery saver that actually works!
Features:
-Automatically disables Wi-Fi
-Automatically disables cellular data (root only on Lollipop+)
-Automatically disables cellular radio (root only on Lollipop+)
-Automatically disables Bluetooth
-Automatically disables network location (KitKat+, root only on Lollipop+)
-Automatically disables GPS location (KitKat+, root only on Lollipop+)
-Automatically switches cellular network mode (Lollipop+ and with root)
-Periodically restores connections for sync
-Schedule when LD should be active with the time exception
-Set exceptions for when certain apps are running
-Set exceptions by Wi-Fi name
-Set exceptions by Bluetooth device
-Set exceptions by data transfer speed
-Many more options
-No ads
It can disable WiFi, Cellular Data (2G, 3G, LTE)*, Cellular radio*, Bluetooth, and Location* (networks and GPS) after a certain time with the screen off to conserve battery power and lower data usage. Connections are restored when the screen is turned back on or unlocked, as well as periodically, to allow for notifications to come in. LD will only re-enable connections that it disabled, not all of the selected connections. There are many additional options to set to your preference.
If you have an issue, please email [email protected], or use the contact menu option from the app before leaving a negative review!
Some options explained:
Disable Wi-Fi/Data/Network mode except if active - Connections are only disabled if there is negligible data transfer while the screen is off. Some music services don't "stream" but instead download entire songs at once, and they might do this while the screen is still on. Please set the disable time interval to at least the length of your average song so LD can catch data activity while the screen is off or use the except if "Except if apps running" option.
Disable Wi-Fi except if browser has web login - WiFi is not disabled if it requires a browser login (common for public hotspots or guest networks), so that you do not have to re-enter the password when it is re-enabled.
Disable Wi-Fi except if requires browser login - WiFi is not disabled if it requires a browser login (common for public hotspots or guest networks), so that you do not have to re-enter the password when it is re-enabled.
Disable except if apps running - No connections are disabled if one of the selected apps is found to be running in the foreground or has foreground services. There is a sub-option to also detect background services of the apps.
Restore Data after waiting xx seconds for Wi-Fi to connect - Wait for WiFi to connect before re-enabling cellular data. This prevents data from re-connecting for just a couple of seconds.
Tasker intents
com.teqtic.leandata.INTENT_START_SERVICE
com.teqtic.leandata.INTENT_STOP_SERVICE
* Note:
-Not all options are available on all devices.
-If you are on Android 4.4.1 - 4.4.2, a persistent notification is required due to a bug in KitKat where services cannot restart themselves once killed by the system. If you would like to hide the notification, find LeanDroid in Settings -> Apps, and un-check "show notifications".
Follow us on twitter: @teqTic
To join the Beta tester group:
1) Opt-in here: https://play.google.com/apps/testing/com.teqtic.leandata
2) You will then receive the beta updates directly through the Play store.
Please keep in mind these beta versions will often have bugs!
Download:
Im gonna try this, have used smart radio function but felt it was draining battery a lot. Will keep you posted after trying this
phanitej said:
Im gonna try this, have used smart radio function but felt it was draining battery a lot. Will keep you posted after trying this
Click to expand...
Click to collapse
Thank you sir. Please let me know how well it works for you.
Flyview said:
Thank you sir. Please let me know how well it works for you.
Click to expand...
Click to collapse
Nice work. It works as it is supposed to. Is there any way i can check using terminal(or anything else) how long the radios are turned off or on?
phanitej said:
Nice work. It works as it is supposed to. Is there any way i can check using terminal(or anything else) how long the radios are turned off or on?
Click to expand...
Click to collapse
You mean so that you can tell how long they were turned off for? Good question, there's gotta be some app that can pull up those statistics. For WiFi, you can check your battery usage chart.
Thanks for the feedback, rate it on Google Play if you get a chance. Bugs, suggestions and feature requests are welcome!
Flyview said:
You mean so that you can tell how long they were turned off for? Good question, there's gotta be some app that can pull up those statistics. For WiFi, you can check your battery usage chart.
Thanks for the feedback, rate it on Google Play if you get a chance. Bugs, suggestions and feature requests are welcome!
Click to expand...
Click to collapse
Suggestions:
1. When im playing few multiplayer games like Heroes of Order and Chaos etc, i usually tend to leave my phone aside for one or two min, so with my current setup where the radios are turned off after one min, the internet might get disconnected hence me loosing the game. So if there is a feature which can check if there is data transfer then dont turn off the radios. Same goes with me downloading some files and the radios might turn off causing the download to fail. - I guess it is answered in the description, my mistake
2. Where it says turn on radios to sync/receive after a specific time period, is thee way to only switch on the 2g network to save more juice?
Questions:
1. When the radios are turned on after the specific time period to sync, do all the radios get turned on?
2. Does it already check if there is data transfer and then turn off the radios ?
Edit: Rated the app on Play Store
phanitej said:
Suggestions:
1. When im playing few multiplayer games like Heroes of Order and Chaos etc, i usually tend to leave my phone aside for one or two min, so with my current setup where the radios are turned off after one min, the internet might get disconnected hence me loosing the game. So if there is a feature which can check if there is data transfer then dont turn off the radios. Same goes with me downloading some files and the radios might turn off causing the download to fail.
2. Where it says turn on radios to sync/receive after a specific time period, is thee way to only switch on the 2g network to save more juice?
Questions:
1. When the radios are turned on after the specific time period to sync, do all the radios get turned on?
2. Does it already check if there is data transfer and then turn off the radios ?
Edit: Rated the app on Play Store
Click to expand...
Click to collapse
Suggestion responses:
1. While the screen is on, the connections are never turned off. The time "after" is time after screen off (explained in help dialog or on Play Store).
2) No, there is currently no option to do that. I wouldn't recommend it either. 2G/Edge is so slow it wouldn't even be able to connect and do anything in the brief time it has to sync.
Question responses:
1. Nope, only the connections that were turned off by the app. I will update the app description to make this more clear.
2. Yes I believe right now it is set to a threshold of about 2kB/s. If within the period that it checks, the data transfer is more than this, it will not disable WiFi/data.
Flyview said:
Suggestion responses:
1. While the screen is on, the connections are never turned off. The time "after" is time after screen off (explained in help dialog or on Play Store).
2) No, there is currently no option to do that. I wouldn't recommend it either. 2G/Edge is so slow it wouldn't even be able to connect and do anything in the brief time it has to sync.
Question responses:
1. Nope, only the connections that were turned off by the app. I will update the app description to make this more clear.
2. Yes I believe right now it is set to a threshold of about 2kB/s. If within the period that it checks, the data transfer is more than this, it will not disable WiFi/data.
Click to expand...
Click to collapse
One request, can we have an option to not turn off the radios if connected to charger?
can you add an option for tethering?
phanitej said:
One request, can we have an option to not turn off the radios if connected to charger?
Click to expand...
Click to collapse
Already does that.
Sent from my Nexus 5 using Tapatalk
cottino said:
can you add an option for tethering?
Click to expand...
Click to collapse
Explain? Most phones can already tether stock.
Sent from my Nexus 5 using Tapatalk
Flyview said:
Already does that.
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Thats strange, i noticed yesterday when my phone was connected to the charger it turned off radios. Maybe something to do with my new ROM that i flashed. Will check it today in the night. Thanks for your response
Yes, but LeandData stop traffic also if tethering is on. In this case every time you have to switch on 3g again and reconnect your notebook.
phanitej said:
Thats strange, i noticed yesterday when my phone was connected to the charger it turned off radios. Maybe something to do with my new ROM that i flashed. Will check it today in the night. Thanks for your response
Click to expand...
Click to collapse
Yes, please check for me as this could potentially be a bug. What did it turn off? It should not turn anything off if the device is charging. Also, if you connect a charger after the app has already turned off connections, it should turn them back on. Please ensure you haven't left any other similar apps running. The WiFi turning off with the screen off could also be a system option.
If you do indeed find a problem please let me know what Android version you are running. You can also check the Logcat if you filter for LeanData. Tell me what you see around the time of the problem.
cottino said:
Yes, but LeandData stop traffic also if tethering is on. In this case every time you have to switch on 3g again and reconnect your notebook.
Click to expand...
Click to collapse
I see. How are you tethering? USB or Bluetooth? If you are tethering through USB the device should be considered charging in which case it should not turn off the connections anyway. I will look into Bluetooth tethering.
Thanks for the feedback.
Flyview said:
Yes, please check for me as this could potentially be a bug. What did it turn off? It should not turn anything off if the device is charging. Also, if you connect a charger after the app has already turned off connections, it should turn them back on. Please ensure you haven't left any other similar apps running. The WiFi turning off with the screen off could also be a system option.
If you do indeed find a problem please let me know what Android version you are running. You can also check the Logcat if you filter for LeanData. Tell me what you see around the time of the problem.
I see. How are you tethering? USB or Bluetooth? If you are tethering through USB the device should be considered charging in which case it should not turn off the connections anyway. I will look into Bluetooth tethering.
Thanks for the feedback.
Click to expand...
Click to collapse
I tethering through Wifi but with my settings the problem is network data:
Flyview said:
Yes, please check for me as this could potentially be a bug. What did it turn off? It should not turn anything off if the device is charging. Also, if you connect a charger after the app has already turned off connections, it should turn them back on. Please ensure you haven't left any other similar apps running. The WiFi turning off with the screen off could also be a system option.
If you do indeed find a problem please let me know what Android version you are running. You can also check the Logcat if you filter for LeanData. Tell me what you see around the time of the problem.
Thanks for the feedback.
Click to expand...
Click to collapse
As expected, i cleaned up everything on my device and flashed a new build. Installed LeanData and used the same settings, all working fine. Radios get turned on when plugged into the charger. Thanks for your time, quick response and efforts
To be honest, i have used many similar apps and never got this almost perfect feeling for any app
Wish i could donate, but running on low budget due to my job. Will donate once things settle down at my end.
cottino said:
I tethering through Wifi but with my settings the problem is network data:
Click to expand...
Click to collapse
I see! I forgot about WiFI tethering, derp. I will add in some logic to not disable connections if tethering as soon as I can. Keep your eyes peeled for an update. Thanks.
phanitej said:
As expected, i cleaned up everything on my device and flashed a new build. Installed LeanData and used the same settings, all working fine. Radios get turned on when plugged into the charger. Thanks for your time, quick response and efforts
To be honest, i have used many similar apps and never got this almost perfect feeling for any app
Wish i could donate, but running on low budget due to my job. Will donate once things settle down at my end.
Click to expand...
Click to collapse
Awesome, keep an eye on it. Thanks for the kind words!
MIUI rom have a application to monitor intenet connect of all application. it's great and I cannot find other app can do like this on Playstore. Bcs many app ask permission connect network althought they are no need to run. But I guest they need permission connect network to sending some information silently.
Different from Sony Stamina mode?
Hi.
I have an xperia device and i would like to know if this app is different from sony's stamina mode, which also switches off connections in idle mode.
Thanks.
GPS might also be a worthy addition!
Only the paid version of dsbatterysaver includes GPS. Right now, I have tasker turn it on and off with the screen when unplugged but that means no syncing of location using GPS.

Categories

Resources