turn wifi off while sleeping or juice defender - Nexus 7 Q&A, Help & Troubleshooting

*I have bluetooth,nfc,gps turned off all the time just to be clear*
Do you think there is a difference between using the juice defender app and turning in the setting that says keep wifi on while sleeping:never ??
As in do you think one is better than the other ? Does one save more battery life than the other? etc

Don't use juice defender. The more crap you have running (software wise) the worse the battery. period.

Except that the wifi setting to turn off never works, or sporadically works. Try it yourself, set it to turn off and then check its IP every so often with pings, it'll respond.
I don't use JD, but I currently use Green Power, but I'm just going to go back to doing it in Tasker as I don't need it to sync periodically. As said, one less app that way, since I'm already running Tasker.

khaytsus said:
Except that the wifi setting to turn off never works, or sporadically works. Try it yourself, set it to turn off and then check its IP every so often with pings, it'll respond.
I don't use JD, but I currently use Green Power, but I'm just going to go back to doing it in Tasker as I don't need it to sync periodically. As said, one less app that way, since I'm already running Tasker.
Click to expand...
Click to collapse
I tried using tasker and I couldn't figure it out

Check out the free app called llama. I have it set to turn on airplane mode when the screen is off for 5 minutes and disable it when the screen turns on.

proud_whovian said:
I tried using tasker and I couldn't figure it out
Click to expand...
Click to collapse
I'll type out what I have. It turns off wifi if it's on, turns it on if it was on when going off. ie: If you have wifi off intentionally, it won't turn it back on. I also have it NOT turn off wifi if it's plugged in, listed as optional below.
Note that the %WIFI variable you can either type it in (all caps) or use the button to list all variables, it'll be at the end, Wifi Status.
If you still can't get it, I can export them.. heh.
To turn wifi off:
Add profile, set it for State->Display->Display State is off, and optionally, long-press on the Display Off you just created and click Add and select State->Power->Power->Any
Add Task, name it Wifi Off or whatever
Stop - if %WIFI (matches) off
Variable Set - %wifiStatus to %WIFI
If - %wifiStatus (matches) on
...Wifi - Set Off
End If
To turn wifi back on:
Add profile, set it for State->Display->Display State is on
Add task, name it Wifi On or whatever
Stop - if %WIFI (matches) on
If - %wifiStatus (matches) on
...Flash - Turning Wifi on...
...Wifi - Set On
Else
...Flash - Leaving wifi off..
End If

Related

Tasker - Configure your DHD to safe energy

Hi,
some people asked what to do until their DHD arrives. They proposed some games...
I have a better suggestion.
Many people suffer short battery and there are many discussions and tipps like turn your GPS off, disable 3G connection if you don't need it. That's all perfectly right. Do you now that you can perfectly automate this by using an app called tasker. You can configure very very much.
I don't have an android phone at the moment (waiting for my DHD), but I have a vision what to configure when it have arrived. I would like to write and test the scripts beforehand but I can't. See my configuration proposals below. Maybe somebody with an android phone is happy to script it and shorten waiting time. Or somebody with a DHD can do it and report the effect.
Description - Version 1.0
Number 1a:
IF the screen is locked/black screen (I'm not using the phone)
switch to 2g
ELSE (screen is unlocked)
switch to 3g
ENDIF
Alternative Number 1b (Even more powerful):
IF the screen is locked/black screen and I'm not using the phone
switch to 2g and switch off data connection.
every 30 minutes switch on the data connection for 5 minutes for synching (facebook and so on)
ELSE (the screen is unlocked)
switch to 3g + data connection
ENDIF
**Description number 1: It's quiet energy consuming for your the phone to hold the 3g connection, even more in areas with bad connection or during driving/moving. On the other hand you don't need that fast connection if you don't surf or use apps. So if your phone is locked only 2g is used. This is enough in order to sync facebook & co. This first condition is also known as juicedefender mode
Number 2:
IF navigation/maps software is started
switch GPS on
ELSE
Leave GPS off
ENDIF
**Description number 2: GPS is energy consuming as well. So turn it off and let it turn on if the apps x, y, z are launched.
Number 3:
IF I'm in a predefined GPS oder cellular zone (at home)
Turn on WLAN
ELSE
turn off WLAN
ENDIF
(This means if I'm leaving home, WLAN turns off.)
**Description number 3: WLAN is energy consuming as well. So turn it off and let it turn on if you are in an are where you know you have WLAN, e.g. at home, at work, at you daily coffee shop.
Number 4:
IF phone is switches in the car holder
switch GPS on
start the car panel
start mp3 player (Winamp beta)
(some people may ad "turn on bluetooth" here)
ELSEIF the phone is switched off the car holder
turn off GPS
stop car panel
stop MP3
ENDIF
(This means if I'm leaving my car, GPS is turned off)
**Description number 4: Just to make live comfortable.
Click to expand...
Click to collapse
prob not the correct spot to ask, but how battery consuming is tasker? I've tried locale on some of my older android phones and they drained more battery with locale then without due to polling time and position, is tasker any different?
Can Tasker switch 3G to 2G and vice versa? Last time I checked, it cannot do that.
Came from the developer:
http://groups.google.com/group/tasker/browse_thread/thread/acda45a4fac8a651
@arielext: Tasker does not drain a lot of battery. I own and use Tasker, my HTC Desire battery life is still the same compare to before using Tasker.
arielext said:
prob not the correct spot to ask, but how battery consuming is tasker? I've tried locale on some of my older android phones and they drained more battery with locale then without due to polling time and position, is tasker any different?
Click to expand...
Click to collapse
From the examples I see above it seems that Tasker doesn't act on locations but on hard coded rules.
Nevertheless, I wonder if the monitoring of all the conditions I see in the scripts will actually save the battery. Are there any comparissons made?
I am having a problem with the GPS on in Tasker. I try to turn it on when the Car Panel starts (no dock to dected so far), but it seems to ignore tasker command. The task runs ok, as I placed a notification sound for testing, but the GPS just stays off. Anyone experiencing the same problem?
(it did work on Milestone with Locale)

[Q] Annoying wifi deactivation

Hi,
when I am downloading a large file, my screen turns off after some time when I do nothing. So far so good. But when I resume to my Android I must see that the Wifi-connection was turned off, too - I think because of battery power saving.
But it was turned off during my file download, so I have to download it again and I have to keep my screen not to turn off by tapping on it periodically. That's what is annyoing me.
I recognized that the connection is not deactivated directly after the screen was turned off. It lasts some time (minutes?) then the wifi connection is turned off, too.
Is there a way to prevent the deacitivation of the wifi connection when the screen is turned off?
Thanks for your answers.
Yes,
Goto settings>wireless connections>wifi adjustments
There you should find an option for WiFi selection politics. Just choose not to never disconnect.
Cheers
Hmm, it is already set to "Never disconnect".
I think this setting is only useful when you want to switch automatically between mobile data (GPRS/UTMS) and WiFi.
lowlands said:
Hmm, it is already set to "Never disconnect".
I think this setting is only useful when you want to switch automatically between mobile data (GPRS/UTMS) and WiFi.
Click to expand...
Click to collapse
No. That happens whether you want it or not if you have a wifi access.
Or I have a couple of busted phones at home that totally ignore this setting.
Tell your screen to never shut off, then change back.

[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

Wifi wont stay on

My n7 turns off wifi when I leave my house and doesn't turn back on when I get to work. Every morning when I get to work, I have to manually turn it back on. Is there a way to prevent the wifi from turning off so it automatically connects to my work network when I arrive?
BTW, I do have the "keep wifi on during sleep" checked.
Thanks
Me too. Every time it sleeps or the screen turns off, I have to switch it of then on for it to connect.
I have that always connect setting checked too. I also installed a Wi-Fi locker that's supposd to help but doesn't. There is an option called 'connect when the screen turns on - but you have to pay/upgrade. I'm tempted to pay but I think there should be a local fix/workaround.
Sent from my Nexus 7 using Tapatalk 2
Do you use Tasker or a Smart Actions app that is supposed to turn it off when you leave your home? Any Battery Saver options set?
Groid said:
Do you use Tasker or a Smart Actions app that is supposed to turn it off when you leave your home? Any Battery Saver options set?
Click to expand...
Click to collapse
I have an app called Battery Mix which just provides information about the battery and charge times, but it does not do anything with processes or battery/power management (so it claims). The device has had this issue since I got it out of the box.
I think the OP and #2 are having different issues. In any event...
Open the advanced Wifi settings by pressing the menu button, then Settings, Wireless & networks, Wi-Fi settings, and tapping the menu button again. You'll have a choice to either Scan, or go Advanced -- go Advanced.
Tap the Wi-Fi sleep policy entry, and you'll get a pop up dialog with the choices you see in the picture above. Choose Never.

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!

Categories

Resources