[Q] Llama Nlpwakelock - Nexus 5 Q&A, Help & Troubleshooting

Hi all,
Interesting problem I have with llama. Getting Nlpwakelocks as shown in the screenshot.
I've set work and home, and the wakelock was happening at work. My work setting is only to disable GPS, Enable mobile data and disable WiFi if not connected. Any ideas about why llama is causing this? I've seen Nlpwakelocks else where but not under the Llama app.
Regards,
John

How is llama set to know you're at work? If you've used location, you will get wakelocks
Sent from my Nexus 5 using Tapatalk

Currently I'm using the Map addon for Llama. Previously on another ROM I hadn't tried it and wasn't getting this issue. Will remove the addon and post results tomorrow.
Thanks for the help.
Regards,
John

Yeah because llama needs to check if you're in a location so uses location services (nlp) to do so.
Sent from my Nexus 5 using Tapatalk

jrbalazo said:
Currently I'm using the Map addon for Llama. Previously on another ROM I hadn't tried it and wasn't getting this issue. Will remove the addon and post results tomorrow.
Thanks for the help.
Regards,
John
Click to expand...
Click to collapse
There are usually better ways to go about doing what you want to do. I use Tasker for it, but I have Tasker profiles run based on time and day. Times when I should be at work, Tasker checks if I'm connected to the home wifi. If I am not, then it does all the things. If I am still connected to the home wifi when I should be at work, I must be at home, so the profile aborts.
This profile uses time and wifi connection status to determine my location.
Of course, this may not be possible for your job. But there is usually more than one way to solve a problem.

Aerowinder said:
There are usually better ways to go about doing what you want to do. I use Tasker for it, but I have Tasker profiles run based on time and day. Times when I should be at work, Tasker checks if I'm connected to the home wifi. If I am not, then it does all the things. If I am still connected to the home wifi when I should be at work, I must be at home, so the profile aborts.
This profile uses time and wifi connection status to determine my location.
Of course, this may not be possible for your job. But there is usually more than one way to solve a problem.
Click to expand...
Click to collapse
Exactly the same set up for me
Sent from my Nexus 5 using Tapatalk

Aerowinder said:
There are usually better ways to go about doing what you want to do. I use Tasker for it, but I have Tasker profiles run based on time and day. Times when I should be at work, Tasker checks if I'm connected to the home wifi. If I am not, then it does all the things. If I am still connected to the home wifi when I should be at work, I must be at home, so the profile aborts.
This profile uses time and wifi connection status to determine my location.
Of course, this may not be possible for your job. But there is usually more than one way to solve a problem.
Click to expand...
Click to collapse
Seems pretty logical to me. If this doesn't work out I'll find better ways to control the functions.
Regards,
John

Well seems at work there is no problems with llama wakelocking at all. Obviously the NLP from location based tracking was the problem as you stated. I think tasked would be more appropriate for my usage, so I'll give it a try tonight.

Related

[Q] Switch Wifi and 3G according to location?

Hey there, I'm looking for a little app on my Froyo that will turn on the WiFi and disable the 3G as soon as I reach my home (for example) and when I move outside again, that it'll disable the WiFi and enable the 3G.
Whether it's done by GPS or done simply by noticing if the WiFi signal is available, I don't mind. Does anyone have a clue about this?
I'm not sure if either can do it since I've yet to use them, but you may want to look into two programs, one called "Tasker" the other "Locale"
Both have the ability to execute location based tasks.
I've used both Tasker and Setting Profiles to accomplish this. Tasker is very powerful, but a bit fiddly to get working correctly.
SP is simpler, and works very well. The jury is still out.
There are a few apps that will do that like tasker and locale, but for my needs I use setting profiles.
Y5
Y5 do it great. remembers WIFI location acording to cell info (doesn't waist battery for GPS) and turn on and of.
only bug in my eyes it that in order to shut down WIFI on a remembered location, you need to disable app or forget location.
Thanks so far for the replies! Right now I'm trying Y5. The rest doesn't really work for me. I've tried Tasker, but no... then I've bought "Setting Profiles" as it seemed to be promising, but it doesn't recognize the places where I'm at. Both through GPS as well as cell towers... it knows where I am, but doesn't change my profile. Big pity!
So, now I'm trying Y5. Only down side is that so far none of the programs has the ability to disconnect the 3G upon activating WiFi.
akito said:
Thanks so far for the replies! Right now I'm trying Y5. The rest doesn't really work for me. I've tried Tasker, but no... then I've bought "Setting Profiles" as it seemed to be promising, but it doesn't recognize the places where I'm at. Both through GPS as well as cell towers... it knows where I am, but doesn't change my profile. Big pity!
So, now I'm trying Y5. Only down side is that so far none of the programs has the ability to disconnect the 3G upon activating WiFi.
Click to expand...
Click to collapse
i think it does!
at least in HTC DESIRE it turn 3G off
Locale can do the job. For example, you can set 3 situations.
Set 'At Home' Situation - Condition: Location plug in(any good location plug in)
- Settings: Locale variable plug-in, add, type 'Home', True.
Set at Defaults - Add Locale variable, add Home = False
Add Wifi - Off
Add 3G - ON
Set Wifi - Conditions: Home = True
Settings: Wifi on
3G off
For my case, I've added Appli Detection condition for the Wifi situation where it detect my browser, etc and perform the wifi on. Hope this helps. IMO, Locale does best and is simple.
I use Tasker to do exactly what you ask.
When I get home, Wifi turns on, 3G turns off. And vice versa when I leave.
Same when I get to work.
I do both of these without the need for GPS or even cell tower location..it's based on when I'm near my home wireless network.
Also turns off wifi, 3G and screen rotation when I'm in bed.
And then makes me breakfast in the morning (well, not quite, but it's almost that good! )
Okay guys, I have definitly uninstalled Setting Profiles. I can't seem to rely properly on it. One time it works, the other time it doesn't. So, I simply don't want it anymore
Now I'm trying Tasker, seems promising. I have downloaded APNDroid next to it, as Tasker was notifying me about the fact it needs that program to be able to (dis)connect the 3G. Now.... I'm stuck for a bit. I have made tasks, but have trouble with the profile. The location, I would like that to be done as the scotsman has got it. According to if it finds your home as well as, in my case, work network. How to do that? Cause when I want to set my location, it takes me to google maps. And I take it that works by GPS. No problem neither, but drains the battery a bit more... Would anyone be so kind to give me quick and short step through?
akito said:
Okay guys, I have definitly uninstalled Setting Profiles. I can't seem to rely properly on it. One time it works, the other time it doesn't. So, I simply don't want it anymore
Now I'm trying Tasker, seems promising. I have downloaded APNDroid next to it, as Tasker was notifying me about the fact it needs that program to be able to (dis)connect the 3G. Now.... I'm stuck for a bit. I have made tasks, but have trouble with the profile. The location, I would like that to be done as the scotsman has got it. According to if it finds your home as well as, in my case, work network. How to do that? Cause when I want to set my location, it takes me to google maps. And I take it that works by GPS. No problem neither, but drains the battery a bit more... Would anyone be so kind to give me quick and short step through?
Click to expand...
Click to collapse
I use Tasker, but I do not believe you can use WiFi location if WiFi is off. Location base uses GPS. You can set an option to do tasks if the WiFi connects. 3G is automatically disabled on my Incredible when WiFi connects, so I do not have to implicitly set it off. Just be sure to adjust your radius when you use GPS location. You do not want to drive way down the street to have WiFi turn off and 3G come back on.
I use Tasker to also launch the car app when bluetooth connects in my truck. There are good examples on the Tasker Web site.

Automatic switch to 2g using tasker?

I know theres no possible way to do it with the stock rom but I'm running CM7 and i was wondering if theres a way to do it with Tasker on CM7.
myunitisz said:
I know theres no possible way to do it with the stock rom but I'm running CM7 and i was wondering if theres a way to do it with Tasker on CM7.
Click to expand...
Click to collapse
There is a setting on stock to only use 2g...not sure what tasker is but there is also a setting in CPU Tuner that allows you to define which networks you connect to.
kenvan19 said:
There is a setting on stock to only use 2g...not sure what tasker is but there is also a setting in CPU Tuner that allows you to define which networks you connect to.
Click to expand...
Click to collapse
You should check out Tasker. It's very powerful.
In a nutshell, you setup conditions, and if those conditions occur, tasks to be completed.
So the OP here would decide when he want's the phone to be 2G only (the condition) and what action Tasker should take, such as turn on 2G only (the task).
I've only just started playing with it, but it's getting a lot of good praise from devs like Paul O'Brien (MCR).
distortedloop said:
You should check out Tasker. It's very powerful.
In a nutshell, you setup conditions, and if those conditions occur, tasks to be completed.
So the OP here would decide when he want's the phone to be 2G only (the condition) and what action Tasker should take, such as turn on 2G only (the task).
I've only just started playing with it, but it's getting a lot of good praise from devs like Paul O'Brien (MCR).
Click to expand...
Click to collapse
Hmm I might have to look into that, thanks Distorted!
myunitisz said:
I know theres no possible way to do it with the stock rom but I'm running CM7 and i was wondering if theres a way to do it with Tasker on CM7.
Click to expand...
Click to collapse
i'm not on CM7 but my solution to this was to install Any Cut and create a shortcut to the specific settings menu "Mobile network settings" with the "Use only 2G networks" toggle. i pretty much keep 2g on at all times unless i'm using maps or am going online, etc.
kramer987 said:
i'm not on CM7 but my solution to this was to install Any Cut and create a shortcut to the specific settings menu "Mobile network settings" with the "Use only 2G networks" toggle. i pretty much keep 2g on at all times unless i'm using maps or am going online, etc.
Click to expand...
Click to collapse
So, I'm not a Tasker expert by any means, but that's a scenario where I think you would tell Tasker to look for whenever you open Maps, then to automatically switch you to 3G.
distortedloop said:
So, I'm not a Tasker expert by any means, but that's a scenario where I think you would tell Tasker to look for whenever you open Maps, then to automatically switch you to 3G.
Click to expand...
Click to collapse
Very cool. I'll have to check it out and see if I can get it to turn on GPS when I open maps (the only time I use GPS).
ya it works well on CM7 but not on stock I could never get the gps to turn on
Does it work? I thought the 3g/2g toggle is still on the todolist of tasker.

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.

Tasker to enable WiFi hotspot.

Hey, All.
Just trying to set up my Nexus 7 in my car and would like to have my phone enable the WiFi hotspot when it connects to the car's bluetooth. I can't seem to find a tasker plugin that is applicable, nor do I know how to write one from scratch.
Any suggestions on how to accomplish this?
Also, while I am at it, I am looking to have the Nexus enable car mode when it connects to my phone's WiFi. Assuming another tasker item, but again, not sure how to accomplish.
Thanks ahead of time for everyone's input.
JiantJon said:
Hey, All.
Just trying to set up my Nexus 7 in my car and would like to have my phone enable the WiFi hotspot when it connects to the car's bluetooth. I can't seem to find a tasker plugin that is applicable, nor do I know how to write one from scratch.
Any suggestions on how to accomplish this?
Also, while I am at it, I am looking to have the Nexus enable car mode when it connects to my phone's WiFi. Assuming another tasker item, but again, not sure how to accomplish.
Thanks ahead of time for everyone's input.
Click to expand...
Click to collapse
One heard about this IFTTT that enables android services in special conditions, are you looking for something like this?
Ciuffy's SM-G900F CM 12.1 spirit hath marked this way.
Ciuffy said:
One heard about this IFTTT that enables android services in special conditions, are you looking for something like this?
Ciuffy's SM-G900F CM 12.1 spirit hath marked this way.
Click to expand...
Click to collapse
I'll give that a shot. I remember trying that for something else in the past, it may be what I am looking for. (had forgotten about it). There is an app called AutoTether, but apparently it stopped working with 5.0.
JiantJon said:
I'll give that a shot. I remember trying that for something else in the past, it may be what I am looking for. (had forgotten about it). There is an app called AutoTether, but apparently it stopped working with 5.0.
Click to expand...
Click to collapse
No luck with IFTTT; it will only allow specific actions based on connecting, I can't make the phone change a setting, only do something like change my thermostat, or post to pintrest, etc.
Looks like I am still looking for Tasker help.
I have this in my car, have had it for a while now. Here's what I've done, choose which one that works for you:
In Tasker without any other app required, set your Car Mode profile to trigger a new task and you can group whatever else you want into it, but you're looking for Net ==> WiFi Tether ==> On
In Tasker with Secure Settings, do the same thing above but instead of Net, choose Plugins ==> Secure Settings ==> Configuration Edit Pencil ==> Actions ==>Wifi Hotspot ==> On
With each of those, set an exit task to do the opposites. Interestingly enough, all my Samsung devices worked just fine with either of those commands, but my Moto X Pure Edition did not like Secure Settings trying to get the hotspot activated and sent toast error messages. You can find one of those that will work, even if it doesn't work the first time - for example, neither worked with my MXPE at first, but with a reboot or some other magic going on, I got the first one with Tasker only to work and not give any error messages.
Now for the real fun, I've got it where my N7 turns on the screen, unlocks, and then goes into Car Home Ultra without touching it at all, just based on the connection to my phone's wifi hotspot! My phone knows to start the wifi hotspot when connected to my car's Bluetooth, and also starts playing Google Play Music without any interaction on my part as well. That's a little more advanced though, so start with this and let me know if you'd like me to keep helping with that, just let me know. Some people won't need the N7 to turn on the screen and unlock when connected to the hotspot, they would just have it run screen on while charging, but my N7 is semi-permanently mounted in my car, has been through my last 3 cars, and I keep it plugged in all the time to a hot cable, always charging the device, not just when the car is in the on position....
Good luck, hope I've helped!

Categories

Resources