Tasker to Auto-Enable Wifi at Boot for Non-Activated Xooms - Xoom General

I'm sure there's lots of people out there who, like me, have not activated the wireless on their Xoom and plan on using it WiFi-only. The best thing to do is keep it in Airplane mode, as this supposedly keeps the wireless radio shut off. This is great, except if you shut your power off, Wifi will be disabled when you turn the Xoom back on. Not a big deal, and it only takes a few seconds to turn it back on, but so far I haven't really used the Xoom out of my home (so I always want wifi on)
I was restoring data after updating my Droid ROM when I thought of trying Tasker out on my Xoom. The interface doesn't look great on the big screen, but it seems to work ok? (Haven't done anything else with it yet on the Xoom). Anyway, here's the simple profile:
Context: Event > System > Device Boot
Task: Net > Wifi > Set=On
I suppose as a next step, you could probably add a wait action, and then have it check if it is actually connected to a network and disable wifi if not.
Anyone else try out Tasker on the Xoom?

Related

[Q] Wi-fi doesn't turn off

The problem is that Background Data and Sync ignore the wi-fi policy meaning that the settings to disable wi-fi don't actually disable wi-fi, they just block applications from using wi-fi. The OS can still use it and it still drains power.
That basically means you can never disable wi-fi unless you go in and change multiple settings. The wi-fi policy when the screen is off is useless. Any toggle wi-fi widget you put on the page don't work.
Manually refreshing gmail shows 'no connection' - browser wont connect. But the OS can still get your email and download attachments. Relegating any wi-fi policy to a 'user stop function', not a 'data stop function'.
I have a toggle wi-fi widget on my home screen. I have wi-fi toggled off (also shows as off in settings) I *just* saw the widget flick on for a second, then flick back off. That's the Background data/ sync kicking in right there and that's my whole point.
Another point - if you have disabled wi-fi then turn it back on, it should be looking for the router and getting an IP address. It doesn't do that. When you turn it back on all it does is enable applications to connect. Meaning, when you disable it (via settings>disable wi-fi or disable wi-fi policy) all it does is make the software think you're not connected. It doesn't actually disconnect from the router.
It still shows in your routers wireless list (which it shouldn't if it's disconnected) and ping test will fail because it will refuse any incoming/outgoing requests that aren't from the OS (background data / sync)
If you wait for the background data/sync to connect, you can then ping your tablet and it will work. A security issue as far as I'm concerned.
UPDATE | May 05
An update. I can confirm that the wi-fi will never turn off for me. I have toggled it off and put it in airplane mode and I will still get email notifications.
Under battery power it even still shows wi-fi as taking 4% even though by all settings it is off.
The gmail application shows 'no connection'. If i refresh it, nothing happens. If i turn the screen off, eventually it will sync/connect and I will get email - even though I also have the wi-fi set to off when the screen is off.
So to sum-up - wi-fi never turns off. Ever.
You can help by testing!
Disable wi-fi
Set the policy for wi-fi to disable when screen is off
Go to home screen
Turn off the screen
From another location, send yourself an email
Wait for notification on your tablet or wait for about 5 minutes
Turn on your tablet, email should be waiting for you.
UPDATE | 12:15pm
On the phone with acer support and they confirmed this is the case. They started to explain about Background data and Sync and I stopped them right there. This isn't a settings issue, this is an OS/Hardware issue.
Going to the next tier.
UPDATE | 12:30pm
Everything is confirmed with tier 2 and for what it's worth, it'll be pushed further down the chain and looked into.
I had to clarify with them that the issue was with the OS/Hardware and it's not software. If the wi-fi is disabled and I can go into gmail and it show 'no connection' and i hit refresh and it wont get email, then open the browser and it tells me I'm not connected, then the software thinks the wi-fi is off.
The problem is that the wi-fi isn't off as far as the OS is concerned. It is still draining power and Background data/ Sync are still able to connect (and/or override your settings). This shouldn't be the case. The wi-fi setting should superseed all other settings. If i set the wi-fi to off, it should be off for everything and not be draining power. To me this means that the disable wi-fi setting doesn't actually disable the wi-fi, it just locks out software from using it... which is *not* disabling it.
Same issue here, have to get a widget to turn of the wifi. How can they oversee such simple things?
Also sometimes the power button just randomly lights up when its in sleep mode, it's a small light but very anoying if it's dark in the room (e.a on your bed stand).
Okay - Good to hear it's not just me then. But not so good in general.
If you're reading this thread, try it out. Set the wi-fi to disabled when the screen is off then email yourself from another computer and wait for the notification on your tablet. Or get a friend to email you a minute or so after you've turned your screen off (with wi-fi disabled on screen off)
You can reset the policy after.
If you get the notification then your wifi didn't disable while the screen is off like the setting is supposed to do.
mine is NOT giving me issues, but I have found that it can take up to 10 minutes for the wifi to go off. I just used ping to test it. In some cases it took a while but did turn off. My battery doesn't really go down at all when in standby with wifi off when screen off.
sgdossey said:
mine is NOT giving me issues, but I have found that it can take up to 10 minutes for the wifi to go off.
Click to expand...
Click to collapse
Updated OP
gammaRascal said:
I've set the wi-fi to disable itself when the screen goes off but unless I disable sync and background data, the wi-fi still stays on when the screen is off and I can hear my email/IM notifications still.
Anyone else have this issue?
I mean, I think it's an issue. If you set the policy to disable wi-fi when the screen is off in the OS it should override any apps - I shouldn't THEN have to go and disable sync and background data as well otherwise whats the point?
UPDATE | May 05
An update. I can confirm that the wi-fi will never turn off for me. I have toggled it off and put it in airplane mode and I will still get email notifications.
Under battery power it even still shows wi-fi as taking 4% even though by all settings it is off.
The gmail application shows 'no connection'. If i refresh it, nothing happens. If i turn the screen off, eventually it will sync/connect and I will get email - even though I also have the wi-fi set to off when when the screen is off.
So to sum-up - wi-fi never turns off. Ever.
You can help by testing!
Disable wi-fi
Set the policy for wi-fi to disable when screen is off
Go to home screen
Turn off the screen
From another location, send yourself an email
Wait for notification on your tablet or wait for about 5 minutes
Turn on your tablet, email should be waiting for you.
UPDATE | 12:15pm
On the phone with acer support and they confirmed this is the case. They started to explain about Background data and Sync and I stopped them right there. This isn't a settings issue, this is an OS/Hardware issue.
Going to the next tier.
UPDATE | 12:30pm
Everything is confirmed with tier 2 and for what it's worth, it'll be pushed further down the chain and looked into.
I had to clarify with them that the issue was with the OS/Hardware and it's not software. If the wi-fi is disabled and I can go into gmail and it show 'no connection' and i hit refresh and it wont get email, then open the browser and it tells me I'm not connected, then the software thinks the wi-fi is off.
The problem is that the wi-fi isn't off as far as the OS is concerned. It is still draining power and Background data/ Sync are still able to connect. This shouldn't be the case. The wi-fi setting should superseed all other settings. If i set the wi-fi to off, it should be off for everything and not be draining power. To me this means that the disable wi-fi setting doesn't actually disable the wi-fi, it just locks out software from using it... which is *not* disabling it.
Click to expand...
Click to collapse
Hi, I just ran these tests and unfortunately I can't reproduce your results.
When I disable wifi, I don't have any data connection.
As for wifi sleep, I don't know if it's a bug or intentional but it seems to put wifi into an extremely low power mode, but not necessarily disable it or turn it off when using the sleep policy.
As someone mentioned somewhere in this thread, it looks like wifi has some sort of 'cooldown' period until it turns the chip and process off completely.
I have used Wifi sleep and played Pandora and had Pandora play for hours until it finally disconnected.
The problem is that Background Data and Sync ignore the wi-fi policy meaning that the settings to disable wi-fi don't actually disable wi-fi, they just block applications from using wi-fi. The OS can still use it and it still drains power.
That basically means you can never disable wi-fi unless you go in and change multiple settings. The wi-fi policy when the screen is off is useless. Any toggle wi-fi widget you put on the page don't work.
Manually refreshing gmail shows 'no connection' - browser wont connect. But the OS can still get your email and download attachments. Relegating any wi-fi policy to a 'user stop function', not a 'data stop function'.
I have a toggle wi-fi widget on my home screen. I have wi-fi toggled off (also shows as off in settings) I *just* saw the widget flick on for a second, then flick back off. That's the Background data/ sync kicking in right there and that's my whole point.
Another point - if you have disabled wi-fi then turn it back on, it should be looking for the router and getting an IP address. It doesn't do that. When you turn it back on all it does is enable applications to connect. Meaning, when you disable it (via settings>disable wi-fi or disable wi-fi policy) all it does is make the software think you're not connected. It doesn't actually disconnect from the router.
It still shows in your routers wireless list (which it shouldn't if it's disconnected) and ping test will fail because it will refuse any incoming/outgoing requests that aren't from the OS (background data / sync)
If you wait for the background data/sync to connect, you can then ping your tablet and it will work. A security issue as far as I'm concerned.

[Q] App or mod for wifi sleep when screen is off

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

Continued Wifi Weirdness

Seems many having various wifi issues and also seems not a lot of fixes. So here goes.
Running EOS JB, and Morfic kernal. I want the wifi to shut down when ever I close my case / or when the screen goes blank (i.e. sleep). I'm sure there a various levels of sleep, but read on:
Setting in advanced to shut wifi down when sleeping, it does. BUT, it wakes up every few minutes. This has to kill the battery. I've turned off every updating I can find but that does not help. When it is asleep, it should stay asleep!
I installed Llama - I use this on my Maxx with perfection. I set the advanced settings wifi to stay on always - then set up Llama to turn it off when screen goes blank, and then back on again when screen comes on. Works perfectly! No through the night updates. BUT - when I'm USING the device, I'll lose wifi completely for no apparent reason!!! I look at Llama event log, no entries there. It is just shutting off. I have to cycle the toggle off then on again for it to restart.
So I removed Llama - it's back to "working" but still updating constantly.
Any one have any ideas on how to control this beast?
Can llama put your tab in airplane mode instead of switching WiFi off? Might be worth a try if so. I use tasker to do a very similar thing...puts tab in airplane mode 2 mins after screen off and cancels it on screen unlock.
Sent from my Nexus 7 using Tapatalk 2
froggy666uk said:
Can llama put your tab in airplane mode instead of switching WiFi off? Might be worth a try if so. I use tasker to do a very similar thing...puts tab in airplane mode 2 mins after screen off and cancels it on screen unlock.
Sent from my Nexus 7 using Tapatalk 2
Click to expand...
Click to collapse
that is another option I hadn't thought of. I've gone into advanced settings and told the wifi to stay on ALWAYS - and I'm using Llama/screen to see if works. So far so good. The problem I'm trying to solve now it seems, is keeping it on when awake. I like the airplane option an an alternative. I'll update as I go along here.
Thank you!

WiFi randomly enabling itself

In the morning before I go to work I usually disable WiFi as I don't use it at work and would like to save a little battery. However, I've noticed that throughout the day, I'll check a notification and see that WiFi has turned on without me turning it on myself. I can't see any pattern or correlation that would match up with this. Does anyone know what would cause this? I factory reset last night (due to an unrelated issue) and it's still occurring. I only have a couple of extra apps installed, Falcon Pro and reddit sync.
i think power saving mode sometimes enables wifi when its available... not sure how often this happens or if thats even the issue you're having but check the power save mode settings... 3g and 4g use more power than wifi
fade2green514 said:
i think power saving mode sometimes enables wifi when its available... not sure how often this happens or if thats even the issue you're having but check the power save mode settings... 3g and 4g use more power than wifi
Click to expand...
Click to collapse
I don't have the power saving settings enabled, and I don't see any setting that resembles that kind of behaviour.
So at some point while I was driving home from work WiFi enabled itself again (I didn't even touch the phone). I'm wondering if it may be S Beam causing it? I haven't actually used it but it's the only thing I can think of that would need to actually turn WiFi on. I may try turning it off tomorrow morning when I turn WiFi off and see if that stops WiFi from randomly enabling.
Galaxy S4 Wifi auto enable
Is there a resolution for this? I heard that on the S3 it would pay attention to what cell towers you are using and if it recognizes you are in an area where you have used wifi before it will enable and connect. This seems to be the symptom that I am seeing and it's bad for me. It keeps trying to connect to my work network because occationally I log on so I can access materials. but when I want to listen to Slacker Radio I can't because it's blocked. This is a cronic problem for my phone and I'm not able to find out how to disable it.
if you have got any battery saving apps delete them
Sent from my GT-I9505 using Tapatalk 2

WiFi turning on by itself

Hi,
My H990DS has been bothering me for a couple of days as WiFi turns itself on without any kind of intervention.
Turning it off manually or having the phone restart does not help. I made sure the latest apps installed make no impact.
Playing with Developer Options made no difference.
I am ready to Factory Data reset.
Anyone experienced something similar ?
Thanks,
My 918 always shows wifi active in GSAM's graph, even when set to "Never" under the "Wifi on while inactive" option in system settings. I ended up just downloading Leandroid from the play store and setting it to disable the wifi radio, and renable it periodically to check for push messages. Seems to work fine with doze and standby time has improved.
Under settings, location, three dots top right, scanning, turn wifi scanning off. It turns back on anytime you use wifi and you manually have to turn it back off each time.
Mine (918) does this all the time. Im thinking its a 7.0 thing. There has been a few exceptions where it has stayed off. In my case I drive through a busy section in town and it constantly connects to the 20 or so open wifi spots so I turn it off. Well once I pull into the garage at home its magically back on.
Maybe something to do with networks it recognizes, Xfinity wifi wreaks havoc on it as well.
As soon as I uninstalled the latest apps, the issue disappeared. Not a single exception in 24 hours.
I suspect a Sip Client had caused the problem.
Gytole said:
Under settings, location, three dots top right, scanning, turn wifi scanning off. It turns back on anytime you use wifi and you manually have to turn it back off each time.
Click to expand...
Click to collapse
What!?
That sounds utterly horific for the battery, nevermind privacy concerns. I thankfully haven't experienced anything similar myself, but I've only ever used custom ROMs so perhaps that's the cause. But that sounds terrible.

Categories

Resources