[Q] Wifi on in standby - Kindle Fire General

Hi,
It seems like the wifi gets turned off very soon after putting the KF in standby mode.
Is there a way to keep it on for a longer period of time?
Thanks,
C.

Been using Trillian since it has the "keep Wifi on" option. Works great.

I just installed "Wi-Fi Keep Alive." Working great so far.
https://market.android.com/details?id=com.shantz.wifikeepalive&feature=search_result#?t=W251bGwsMSwxLDEsImNvbS5zaGFudHoud2lmaWtlZXBhbGl2ZSJd

This works:
http://forum.xda-developers.com/showthread.php?p=19676566#post19676566

"Wi-Fi Keep Alive" didn't work for me. Manually editing settings.db did.

Related

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

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?

[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

turn wifi off while sleeping or juice defender

*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

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!

[FIX] Stock Lollipop 5.0.2 Wi-Fi Battery Drain Issue

If you are on Stock Motorola Lollipop 5.0.2, check your Battery History in System Settings - you may notice Wi-Fi is constantly active, even when you turn it off.
In my case, the following setting in Viber was the cause: Settings > General > Wi-Fi sleep policy > Change to 'Use device's settings'
Instructions:
Firstly, go to: Settings > Wi-Fi > Advanced Wi-Fi > Keep Wi-Fi on during sleep > Change to 'Never.'
The issue appears to be that certain apps are keeping Wi-Fi active in Lollipop. Not every app may offer this setting related to 'sleep policy', a workaround is to use the App Settings Xposed Module - which allows you to disable such a permission for individual apps.
The permission can be known as: Change_Network_State.
After making these changes you may need to turn off Wi-Fi and restart phone.​
Related: https://code.google.com/p/android/issues/detail?id=79368
Thanks . it solve my real problem.
i have question. If we have change Keep Wi-Fi on during sleep to 'Never.' Will programs like Whatsapp or Viber get the gcm notifications when phone is going to sleep?
Dizzyrul3z said:
i have question. If we have change Keep Wi-Fi on during sleep to 'Never.' Will programs like Whatsapp or Viber get the gcm notifications when phone is going to sleep?
Click to expand...
Click to collapse
This is true, when phone sleeps - there is no Wi-Fi data connection.
Rather than leaving Wi-Fi on however, some people might prefer the phone wakes up every 15 minutes / 30 minutes / 1 hour, and enables Wi-Fi for 1 minute - allowing any messages to arrive. Many apps can do this, one example is DS Battery Saver.
There is also an argument that if you use Wi-Fi a lot, it's better to leave Wi-Fi on during sleep, because excessively enabling and disabling it is costly in terms of battery-life.
I've been using stock Lollipop on XT1008(Moto G Forte, I read it was just a "commercial" variant of the XT1032).
As far as I can tell, my phone doesn't report high Wi-Fi usage, but I disabled an option that I think it´s more responsible than the one mentioned here, that's "Search Always Available", this one was turning on my wifi when I even shut it down, wasting more battery than keeping it on.
Currently, my phone has been on like 13 hours and has 13% left, with a WiFi usage around 85% of the time.
Thanks for making us aware of that option in Viber.
But even after disabling that option in Viber, in the battery graphic seems like wi-fi is always active. Is it because I will also need to set "Keep Wi-Fi on during sleep" to "never"? But if it's set to never, doesn't it mean that when phone screen is off, it automatically switches off wi-fi even if you kept it on from the toggle?
lollerblade said:
Thanks for making us aware of that option in Viber.
But even after disabling that option in Viber, in the battery graphic seems like wi-fi is always active. Is it because I will also need to set "Keep Wi-Fi on during sleep" to "never"? But if it's set to never, doesn't it mean that when phone screen is off, it automatically switches off wi-fi even if you kept it on from the toggle?
Click to expand...
Click to collapse
Yes, 'never' means Wi-Fi is off when phone is sleeping. There is also the advance Wi-Fi option 'Scanning always available - which' you might want to disable.
Double check you have changed the setting in Viber, and you may need to reboot phone. It's also possible another app is causing Wi-Fi to always be active, for some it's Whatsapp.
lost101 said:
Yes, 'never' means Wi-Fi is off when phone is sleeping. There is also the advance Wi-Fi option 'Scanning always available - which' you might want to disable.
Double check you have changed the setting in Viber, and you may need to reboot phone. It's also possible another app is causing Wi-Fi to always be active, for some it's Whatsapp.
Click to expand...
Click to collapse
Ok so that option works as I thought, so for correctly receiving notifications with screen off it should be set on "always". I double checked on Viber's option and it's set correctly, then rebooted, plus scanning always available is off, geolocation (which can keep wi-fi on) is off and apparently there are no things that can keep wi-fi on.
Whatsapp does not allow to set wi-fi behavior, and the strange thing is that I have the same apps I had on Kitkat, where I didn't have such problem of viewing in battery graphic.
I am having the doubt if this may be only a Lollipop graphic issue or if wi-fi actually stays on...
lollerblade said:
Whatsapp does not allow to set wi-fi behavior, and the strange thing is that I have the same apps I had on Kitkat, where I didn't have such problem of viewing in battery graphic.
Click to expand...
Click to collapse
That's why I mention the 'App Settings' module in OP. I believe Whatsapp can and does cause this issue - there is just no setting within the app itself. You can check what permissions apps have by using 'App Settings.'
lost101 said:
That's why I mention the 'App Settings' module in OP. I believe Whatsapp can and does cause this issue. You can check what permissions apps have by using 'App Settings.'
Click to expand...
Click to collapse
Mmm yes I saw that...but I'm guessing that without root there's nothing else to do, right?
lollerblade said:
Mmm yes I saw that...but I'm guessing that without root there's nothing else to do, right?
Click to expand...
Click to collapse
No. Root would be necessary for changing permissions. However this issue may have been resolved in Android 5.1 - removing the need for this fix.
Wifi should be lefy alone as default to "never sleep"
Wifi should never sleep, even if the phone's cpu sleeps. Wifi will receive messages from whatsapp or whatever and wake up the cpu.
But if you put wifi chip to sleep, the phone will connect using 2g or worse, 3g or HSPA, and drain even more battery.
Wifi comes by default to "never sleep" for this reason, it is more battery efficient than 2g/3g.
And if you dont have wifi at home, all you have to do is slide down the menu and turn of Wifi. No need to change internal configuration on behaviour who only make things worse.
On the other hand, Viber is known for years to be a battery abuser.
I have been using android for years, and wifi policy was always the same, and my phones have idle times of several days
i even published some screen shots of my moto defy and moto G with a full week Idle without charging.with whatsapp and Wifi polocy never sleep.. With viber i wouldnt even try to make it last 2 days.

Categories

Resources