I figured this thread was a good place for this. If not, please re-direct me...
I'm looking to create Tasker profile "A" that stops Tasker profile "B" if; there is WiFi activity from app "A" in the past 5 minutes or less, and if there is a download in progress. Is this possible? And could I get some direction/ideas? Any help is appreciated!
-XDA Premium on CM7 Nook Color
What to you mean by "wifi activity"? Do you mean traffic throughput, on/off or connected/disconnected events?
bobstro said:
What to you mean by "wifi activity"? Do you mean traffic throughput, on/off or connected/disconnected events?
Click to expand...
Click to collapse
Any activity other than updates, basically any active uses but not passive. I have a profile that shuts down the wifi after 5 minutes of the display being off but wanted to add exceptions such as I'm in the middle of a chat with a chat app that is always logged on so the wifi won't go off until a certain time after the last active wifi action from that specific chat app
-XDA Premium on CM7 Nook Color
Tasker lets you set up scripts to respond to states and events. You should be able to set a task to trigger on screen off and not a list of specific apps running. I do this with GPS on my phone so it only (and always) comes on when specific apps are running. In your case, something like "screen off and not chat running".
Tasker is pretty slick, but it's not always quick. I find it's fine for turning things off, but it sometimes is slow turning things on in a responsive manner. The GPS doesn't always get turned on in time for Maps not to complain, for example.
The problem with Tasker is that it can tell if an app is running in the foreground, but not whether it's passing traffic, at least in my experience. For the rudimentary wifi functions on my NOOKcolor, I found Green Power just as effective. It will shut down wifi after a period with no traffic, and periodically turn it back on to sync on a schedule, if you want. It is not sensitive to a specific app running, however.
bobstro said:
Tasker lets you set up scripts to respond to states and events. You should be able to set a task to trigger on screen off and not a list of specific apps running. I do this with GPS on my phone so it only (and always) comes on when specific apps are running. In your case, something like "screen off and not chat running".
Tasker is pretty slick, but it's not always quick. I find it's fine for turning things off, but it sometimes is slow turning things on in a responsive manner. The GPS doesn't always get turned on in time for Maps not to complain, for example.
The problem with Tasker is that it can tell if an app is running in the foreground, but not whether it's passing traffic, at least in my experience. For the rudimentary wifi functions on my NOOKcolor, I found Green Power just as effective. It will shut down wifi after a period with no traffic, and periodically turn it back on to sync on a schedule, if you want. It is not sensitive to a specific app running, however.
Click to expand...
Click to collapse
Well if it can't detect certain traffic then I guess Green Power is my next shot. Thanks for the advice.
Tasker Read SMS
Hi. I installed Tasker and am trying to follow their walk throughs but the current version appears to be entirely different and I just can't figure out how do do any of this stuff. Could really use some help or an XML file. All I want to do is set up a profile that turns on bluetooth, gps fires up Google Maps and then starts listening for SMS text and read the SMS by voice if I get one.
All of their examples don't really jive with the way Tasker seems to work now.
Avatar, there are some obvious barriers I can see right off the bat, namely, no GPS or SIM card on the nook. Most of Tasker's functions (and wiki pages) relate to built in android functions so for example, instead of one action to enable GPS, it becomes a complicated series of actions such as enabling bluetooth, loading whichever bluetooth/gps app you use to connect, and simulating the correct sequence of button presses, waiting for it to connect, as well as dealing with it if it doesn't connect on the first try. It's very shonky and prone to failure compared to just enabling GPS on a device which has it.
I'd imagine the sms stuff is even more complex as you're already using a workaround to have that ability in the first place, so you'll have to work around that workaround, like the GPS. I bought a cheap phone to handle all that and its a much more straightforward and enjoyable car/tasker experience, minus the 7 inch screen.
Related
change N1 behavior/settings & automate tasks based upon connected bluetooth device?
I've had my ATT N1 for the past 1.5 wks and have been loving it. I know with the desktop dock for the N1 that bluetooth can be automatically enabled when docked (at least it does for me). i hope to see this go one step further perhaps. i've tried searching on the market and here on xda, but I haven't found anything that does what i'm thinking of...
I'd like the phone to change various behaviors (eg. sound alerts, screen unlocking, application launching, etc) depending upon the bluetooth device that it is paired with. Essentially, creating setting profiles dependent upon the connected bluetooth device and reverting settings when disconnecting from said devices.
I envision:
-connecting w/ car bluetooth:
disable screen unlocking (having to unlock via pattern while driving is not only annoying but possibly dangerous)
jump to a particular home screen, automatic launching of application such as car home, google maps/nav, music, etc
enable maximum screen brightness (if plugged in and charging could be another modifier. the N1 AMOLED really is pretty bad in direct sunlight and is even worse when trying to view while wearing sunglasses)
set max volume
upon disconnecting, revert to original settings, disable bluetooth
-connecting w/ desktop dock [bluetooth] (bluetooth isn't an absolute requirement here since it can recognize the dock due to the electrical contacts)
disable screen unlocking
silencing most alarms/alerts (so that i can sleep in peace w/o being woken up to by random spam/marketing emails overnight)
upon disconnecting/undocking, revert to original settings
are there any combination of apps/settings that can make this possible? at this point, i'm not too interested in rooting my phone...
thanks
BlueDock (market) plus Tasker (in beta, not yet in the market - http://tasker.dinglisch.net/).
In a future version Tasker will hopefully be able to do this on it's own. But currently you have to hack it useing BlueDock to start an application you don't really need, have Tasker detect the start, kill the app, and then change your settings according to your needs. One drawback is that the app started by BlueDock will only start once the phone is out of sleep mode. So you have to press the unlock button once - no need to swipe to unlock, though.
As for disconnecting you have to abuse the change in the power status.
The setup is quite complex. I will post my setup on the tasker wiki as soon as the next version is released (which will, I hope *gg*, provide a bugfix that make this a little smoother) and I have time. ;-)
I have a widget which I use to indicate whether I want to listen to podcasts (using BeyondPod) or to music. Upon switching on any of my bluetooth devices it will start playback and set the loudness according to the device connected - it will have to be louder with the car bluetooth than with the headset. Upon detecting the car bluetooth it will also start Waze.
interesting. i know what i'm asking is a bit complex. but i'll definitely keep an eye on Tasker. as they're mostly background tasks, any idea as to the battery consumption of these applications? (eg. surprisingly the "Shake Them All" live wallpaper i had installed was consuming up to 10% of battery time recently and was ultimately uninstalled even w/ those cute androids)
My usage pattern says:
40% Display
35% Calls
6% Standby
5% Android System
5% Phone inactive
2% EarthRot
2% Mediaserver
2% Android OS
Tasker isn't even listed.
Within Tasker I have more that a dozen profiles and about 30 tasks.
So this is sort of a multipurpose post, just saying some of the issue I have had with my Vibrant, and some of the possible solutions or at least information that I believe will help toward finding a solution.
About the GPS, this is what I have noticed:
I am pretty sure this is a software issue and this is why- I've noticed that I only have a problem when I am using the actual GPS and the network based location. I started to notice this first in Foursquare. Even when I could get a lock in Maps (albeit with a blue circle indicating it wasn't terribly accurate) Foursquare would always show where I last checked in... then I realized it wasn't showing where I last checked in, it was showing where I last was located using the GPS. I found that if I turned off the "Use GPS satellites" option, and only used the network location option, Foursquare (and indeed any other GPS program) got my location near instantly. Similarly, when I had only the satellite option checked (and not the network location) as long as I was outside I got a pretty quick and steady lock. When I put both options back on... everything all crappy again. So I've been keeping the actual GPS off unless I'm using navigation, in which case I switch, and I haven't had an issue yet. So I think this is something that they can fix in an update. Any other thoughts would be appreciated.
In regard to Social Network Sync:
It was driving me nuts that half the time I looked in the settings menu it would show that Facebook, Myspace, and Twitter (the Samsung variants) had "errors." Then I realized that for whatever stupid reason, they seem to only run into these errors on wifi. If I turned wifi off and synced... it worked. Turned it back on... didn't work. I tried this a few times. However, that said, the Social Network Sync is kind of broken. For example, even if you have it set to download all of your Facebook friends, after the first time it won't. To add them, you have to go into "Link contact, Get Friends, Facebook" and then check who you want to add .This is kind of annoying, and hopefully will also be fixed with a software update. Again, any thoughts would be appreciated.
About Flash:
This is honestly my biggest issue with the device. If you look in the applications it does have Flash lite. It just doesn't work. Coming from an almost flawless Flash experience on the MyTouch Slide to this is really not fun. The reason this annoys me so much though is because in apps that utilize the browser (for example NewsRob) whenever they load a page that has flash on it, you are kicked into the browser and get an error message (webkit error, file not found or some such.) When I'm browsing through articles in NewsRob it's incredibly annoying to have this stupid error message (which opens the browser, then an error, so it takes three back presses to get back to the article, all of which have a little delay.) Again, this is something that 2.2 should fix, but it's still frustrating. If anyone knows of any possible solution to this it'd be greatly appreciated.
Screen burn in I discovered today.
Much to my dismay, I noticed today that the clock digits were burnt into the screen, much like how the notifications were burnt into the screen on my Nexus One. The difference is that this took awhile to happen on my N1. Not three weeks like I've had the Vibrant. I don't know if this is permanent or just temporary, I have a pure white background open full screen right now, and will run like a color flashing thing next, hopefully this will get rid of it. If not... that's just excessively disappointing. I love love love having what is literally the most advanced screen technology in existence, and having a literally perfect black level, but screen burn in on a few week old device (that has been set at low or auto brightness since day one) is just not acceptable. I will post again after a day or so of white screen/colors and let ya'll know the results. But it's frustrating. Has any one else noticed this yet? Or have any other possible solutions?
Lastly, lag.
I've noticed that the ONLY lag on the device comes from stupid TouchWiz and the Buddies and Feeds widgets. With them disabled the device FLIES. With them on, it's slow and occasionally has to be force closed. For now I have the widgets in question disabled, but this is vastly annoying, and really makes me wish I had my MyTouch Slide back (except with this screen and processor lol.)
So, in conclusion, I generally love this device. But the second T-Mobile announces The MT3GHD, it'll be on eBay faster than you can say Android 2.2 with Espresso lol.
Quick update, jscreenfix app from market fixes the burn in, I let it run for about an hour. I'm going to do that every week just to be safe.
Sent from my SGH-T959 using XDA App
Would you like some cheese with your wine?
Sent from my SGH-T959 using XDA App
c0wb0ycliche said:
About the GPS, this is what I have noticed:
I am pretty sure this is a software issue and this is why- I've noticed that I only have a problem when I am using the actual GPS and the network based location. I started to notice this first in Foursquare. Even when I could get a lock in Maps (albeit with a blue circle indicating it wasn't terribly accurate) Foursquare would always show where I last checked in... then I realized it wasn't showing where I last checked in, it was showing where I last was located using the GPS. I found that if I turned off the "Use GPS satellites" option, and only used the network location option, Foursquare (and indeed any other GPS program) got my location near instantly. Similarly, when I had only the satellite option checked (and not the network location) as long as I was outside I got a pretty quick and steady lock. When I put both options back on... everything all crappy again. So I've been keeping the actual GPS off unless I'm using navigation, in which case I switch, and I haven't had an issue yet. So I think this is something that they can fix in an update. Any other thoughts would be appreciated.
Click to expand...
Click to collapse
Even though I personally believe the gps is a firmware/driver issue, your explanation above does nothing to narrow it to that... You say the GPS doesnt work right when it is turned on...
well... yeah.
blink55184 said:
Even though I personally believe the gps is a firmware/driver issue, your explanation above does nothing to narrow it to that... You say the GPS doesnt work right when it is turned on...
well... yeah.
Click to expand...
Click to collapse
In Location settings, there are two options, Use wireless network and Use GPS satellites. What I am saying is that if BOTH of these options are turned on, it doesn't seem to work properly. If I only use wireless networks, it works (even indoors) but isn't terribly accurate. If I use GPS only, and I am outside, it works, accurately. So I am just saying there seems to be some disconnect between the wireless network location and GPS location working in sync like they normally do.
And (@lemarg) I don't see how my post is whining, I'm just pointing out some observations about the issues I (and other people) been having with the phone. Maybe I misunderstand the point of a forum.
Can you recommend an app or a mod which control wifi connection when the screen is off? I notice that if I enable wifi, I got 20% battery drop per a day, but I got 2% drop if I disabled wifi. Still, I like to have wifi on when I am using it, and clicking several time to enable wifi is quite irritating (relatively). So I thought there might be a good resolution to handle this my lazy problem.
I searched it on android market, and can find several. Can you recommend any one which will work well with NookTouch? I appreciate your inputs.
Same problem pal. But I also can't fix wifi not reconnecting when nook is up from sleep state issue. Suggestions?
I use the power widget that comes with ADW. I can turn WiFi on and off from my home screen with one tap.
Is it possible for it to be done automatically? Like on my smartphone? When wifi is turned on and my nook goes to sleep mode then when it wakes up wifi is off, in "disconnected" state.
I use the program Llama. It lets you set up all sorts of conditional changes for phones (similar to Tasker).
On my nook, I have one event trigger. When wifi turns on, Llama delays for 5 minutes, then turns wifi off.
It isn't exactly the same as turning off wifi when the screen turns off, but it helps me save battery. I currently have it send a notification to let me know it is turning off wifi, so I have the option to keep wifi on if I so choose.
Edit: Llama does have an event trigger for Screen Off, but I couldn't get it to work. Maybe the Nook doesn't turn off the screen in the way standard android phones do, so the trigger doesn't run.
Edit 2: I just realized you wanted one that turns wifi off when turning the screen of, then reconnects when turning the screen on. If Llama correctly detects the screen off/on triggers, you could set up two events, one to turn wifi off and one to turn it back on. I haven't gotten it to work, so maybe Llama isn't going to work for your particular needs.
sayno2quat said:
Edit 2: I just realized you wanted one that turns wifi off when turning the screen of, then reconnects when turning the screen on. If Llama correctly detects the screen off/on triggers, you could set up two events, one to turn wifi off and one to turn it back on. I haven't gotten it to work, so maybe Llama isn't going to work for your particular needs.
Click to expand...
Click to collapse
The NST is so heavily customized by B&N that you cannot rely on the "usual" events being triggered.
They only did what was necessary to save enough power and get the device to work and I don't blame them for that.
I'm pretty sure there's an event triggered that can be used for this particular task tho, if I get some spare time I might dig into it.
Well, I'm the impression, that my nook does that. I mean, when in sleeping mode - the WIFI is OFF. But when I awake the NOOK, wifi turns ON by it self and connect to internet. What I suspect, you might have the problem that other users experienced (including me) ... that you will have to change one file. Read more about it here.
I hope, this will help you.
Thx for all help !
Sent from my GT-I9100 using XDA App
In TorimuNooter I fixed the battery drain, pop on over to the TorimuNooter thread. The latest version (Ver 0.3) was just uploaded today!
Sent from my NOOK using XDA App
Wifi used to turn off under standby on Windows Phone 7, which was the most stupidest feature in the whole OS I don't care what anyone says. Can anyone confirm if this is still present in WP8?
Since nobody got their hands on a device that's not even out yet, we can't answer that.
How can anyone confirm such a statement when the os isn't even out yet? (and some features may be still on the work, since the sdk isn't the final version yet?)
ammarmalik said:
Wifi used to turn off under standby on Windows Phone 7, which was the most stupidest feature in the whole OS I don't care what anyone says. Can anyone confirm if this is still present in WP8?
Click to expand...
Click to collapse
There is/are an app(s) for that!
Even if it is still present in WP8, you can always have an app to help you add this feature (like other OS always does!)
Hi,
It would be really great if you could let me know the name of any of the apps which helps in keeping the wifi on all the time.
I am not having a rooted handset so I cannot change the registry entries and would only be able to get an app which is already in the marketplace
shamreez said:
Hi,
It would be really great if you could let me know the name of any of the apps which helps in keeping the wifi on all the time.
I am not having a rooted handset so I cannot change the registry entries and would only be able to get an app which is already in the marketplace
Click to expand...
Click to collapse
Its called keep alive
it has a logo of a heart
look it up in the market place
FWIW, even though the Wifi is switched off when the screen is off, I believe the OS does switch on & off the wifi as and when it needs to (checking emails, receiving push notifications etc) without fully waking the phone (ie the display stays off)
I run an app that polls a local server every few hours to check for new items. The local IP 192.168.1.65, as it appears on the local network, is the IP it checks. Every morning when I check my phone, the live tile has been updated overnight. It can't have made contact with the server unless it was connecting via Wifi, so therefore the Wifi is indeed being used even when the screen is off.
Therefore, I have no use for Keepalive or any of these apps. I'm not sure why people need it?
There were some recent news which mentioned that Live apps (Don't ask) will most likely remain active, even with the screen locked.
Also, seems that enabling your app as a GPS app will most likely let your app. However, these are discussions and rumors.
Wifi does not get completely shut down when you lock the screen. It simply enters a power-saving mode, cause you won't actively need your connection while phone is locked.
You can check this in easy steps. Get an app that updates itself over internet everytime you run it (say a whether app) and lock the screen at the exact moment when the app goes past the loading screen. You if you press the power button, you will see wifi is active in the status bar.
If you lock it the usual way, while nobody needs wifi, you will see wifi gets turned off almost instantly.
What if you are downloading bunch of podcasts ? Will the podcast app keep the wi-fi on until it finishes ? Also.. skype (or any other chat program) needs to check for updates as well.
I am sure they've made it seamless..
I currently use my S8 along with my Huawei watch 1 to start my PC via WOL. The process is that I use WearTasker on the watch, which triggers a tasker task, which in turn uses a plugin from the app Wake On Lan.
The problem is that, most times, nothing happens when I trigger the task from my watch. If, however, I go to my phone and start the Wake on Lan app - to make sure it's running - then the process works perfectly. Obviously, this defeats the point though.
I have both App Power Monitor and Power Saving Mode disabled in the S8 settings. Is there anything else I can do to make sure this app doesn't get killed and continues running in the background?
phunni said:
I currently use my S8 along with my Huawei watch 1 to start my PC via WOL. The process is that I use WearTasker on the watch, which triggers a tasker task, which in turn uses a plugin from the app Wake On Lan.
The problem is that, most times, nothing happens when I trigger the task from my watch. If, however, I go to my phone and start the Wake on Lan app - to make sure it's running - then the process works perfectly. Obviously, this defeats the point though.
I have both App Power Monitor and Power Saving Mode disabled in the S8 settings. Is there anything else I can do to make sure this app doesn't get killed and continues running in the background?
Click to expand...
Click to collapse
Add your app in to the "Unmonitored Apps" list under the battery screen (Scroll to the end of the screen in case you can't see).
venki5star said:
Add your app in to the "Unmonitored Apps" list under the battery screen (Scroll to the end of the screen in case you can't see).
Click to expand...
Click to collapse
Ok, done that - although I assumed that wasn't relevant since the app power monitor is off. I even had to enable it in order to add the app to the list - before, of course, disabling it again.
I initially thought that had fixed the problem, but the required app is still often not running.
phunni said:
I currently use my S8 along with my Huawei watch 1 to start my PC via WOL. The process is that I use WearTasker on the watch, which triggers a tasker task, which in turn uses a plugin from the app Wake On Lan.
The problem is that, most times, nothing happens when I trigger the task from my watch. If, however, I go to my phone and start the Wake on Lan app - to make sure it's running - then the process works perfectly. Obviously, this defeats the point though.
I have both App Power Monitor and Power Saving Mode disabled in the S8 settings. Is there anything else I can do to make sure this app doesn't get killed and continues running in the background?
Click to expand...
Click to collapse
Think it has something to do with having a lockscreen that has a pin/password, remove it and see if it fixes the issue
Interesting. I just tried it with the phone unlocked, but the WOL app not started (by me anyway - I assume it was running in the background or started by tasker) and it worked. Obviously, this isn't final proof, but it does lend significant strength to your theory...
As a father of young children - it's quite useful to be able to lock the phone. Is there a workaround for this behaviour?
phunni said:
I currently use my S8 along with my Huawei watch 1 to start my PC via WOL. The process is that I use WearTasker on the watch, which triggers a tasker task, which in turn uses a plugin from the app Wake On Lan.
The problem is that, most times, nothing happens when I trigger the task from my watch. If, however, I go to my phone and start the Wake on Lan app - to make sure it's running - then the process works perfectly. Obviously, this defeats the point though.
I have both App Power Monitor and Power Saving Mode disabled in the S8 settings. Is there anything else I can do to make sure this app doesn't get killed and continues running in the background?
Click to expand...
Click to collapse
Is this an app in the phone? If so you can prevent killing an app, by pressing recents button, 3 dot, lock apps. The app will stay in ram.
Sent from my SM-G950F using Tapatalk
My S8 seems to just shut processes off when the screen is off. It's really annoying. No "OK Google" support, I can't get volume to work on my Chromecast except for maybe the first couple minutes the screen is off, then it works again when the screen is on, and simple app notifications like Domino's telling me my pizza status never works, even tho notifications are turned on.
It also likes to completely reset my games if I try to do something simple like minimizing it and doing a quick Google search. It seems like it just handles memory very poorly.