Wi-Fi Internet Sharing while Sleep - Touch Diamond2, Pure Q&A, Help & Troubleshooting

How/What do i need to do for the wifi internet sharing to continue sharing when the phone goes to sleep, I know there are apps that will keep the phone awake while the wifi is ON, but internet sharing is already battery unfriendly as it is, to top it off with the screen being ON all the time, so I would like the phone to go to sleep but the wifi still be ON, I apologize if this subject was addressed before I just couldn't find it. Thank you in advance.

TD2 Tools has a setting for allowing Wifi in stanby mode.
I've never tested it though.

Related

Kaiser Tweak problem - Won't disconnect during sleep

I recently applied the Kaiser tweak to disable idle connections after 1 min - this works great when the phone is on, however, when it goes into sleep mode, this fails to work.
E.G. If I click send/receive on my emails then quickly put it into sleep, turn on the device in 10min and it would have stayed connected, once it is turned on after a minute it will disconnect.
This morning I turned on the device to see that it had connected to receive emails last night and had stayed connected for hours - of course once I turned it on the tweak kicked in and it disconnected after a minute.
So my question is, how do you get the tweak to work whilst in Sleep? Any work arounds?
Thanks in advance!
Hi
If you are referring to GPRS/3G there is no problem the connection remaining active. It isn't really active unless data is being transferred, it is just the session remains ready for data. The mobile operators prefer it working this way as it is less strain on the network creating a data connection and keeping it rather than setting them up/closing them down/setting them backup again.
It doesn't use any more power by remaining up.
The software isn't shutting down the connection when you have the phone in standby as quite simply the software will not be running in standby, everything stops in standby, so the program can't run to turn off the connection, until you turn the phone on again.
Regards
Phil
Hi Philip,
From my experience I have found that even if the data connection is open with no data flow (HSDPA / 3G ) it drains the battery much more than if it were closed.
Or is this just for HSDPA?
snaveint said:
Hi Philip,
From my experience I have found that even if the data connection is open with no data flow (HSDPA / 3G ) it drains the battery much more than if it were closed.
Or is this just for HSDPA?
Click to expand...
Click to collapse
same question here...
Hi
There is a blog that explains what is happening from Microsoft.
I would guess that while the connection is active something on the device is seeing that and stopping the device from entering standby.
The actual connection itself remaining open does not drain any more power as it isn't doing anything different than just having your phone on waiting for a call.
http://blogs.msdn.com/windowsmobile/archive/2006/07/14/666203.aspx
Regards
Phil
Hi Philip,
Thanks for your response.
I have to say though from the last few days of tinkering, an open connection does drain more than a closed one even with no data flowing. This is with HSDPA, I have not tested this with just a 3G open data connection though...
Are we talking about the same things? I'm a bit new to this phone though sorry.
Thanks,

WiFi Connection Question!

Sorry if this has been answered but i did a search and came up with nothing so i hope someone here can help me out.
I was wondering if there is a way for when my tilt goes on standby to keep the WiFi connection still on. Cause i see when i take it off standby the WiFi connection starts trying to connect instead of still being connected.
So just wondering if there is a way to keep it on all the time!
Thanks in advance.
see if this helps
http://forum.xda-developers.com/showthread.php?p=2602535
btw, keeping wifi on all the time would drain your battery out really really fast
the reason i want the wifi on when its on standby is i want it to continue checking my gmail and also i would like to keep my messenger on instead of it signing off when im on stand by cause the wifi isnt connected.
lern2lvewithit said:
Sorry if this has been answered but i did a search and came up with nothing so i hope someone here can help me out.
I was wondering if there is a way for when my tilt goes on standby to keep the WiFi connection still on. Cause i see when i take it off standby the WiFi connection starts trying to connect instead of still being connected.
So just wondering if there is a way to keep it on all the time!
Thanks in advance.
Click to expand...
Click to collapse
Download Kaiser tweaks, among other very useful tweaks, it has wifi standby mode. Which keeps wifi on in standby.

Online radio streaming on nexus stops with screen off.

Have you guys have the same problem?tryed all the radios on the market..they stream perfectly on wifi ,but when i lock the screen it just stops streaming.If i turn the screen back starts as normal.Any idea how to get over this?
No problem for me with lastFM.
This should work ... but it doesn't
Just in case you haven't tried - in the settings menu, Wireless and Networks, Wi-Fi settings, then press menu again and find 'Advanced'. Here lives 'Wi Fi sleep policy'. It looks promising, the obvious move is to set this to 'Never'.
But it doesn't solve the problem. Like you I'm finding that it is a problem with all radio streamers, some worse than others. If I turn wireless off and use 3G its fine.
Thanks for posting the issue. I thought I was the only one.
No problems with TuneWiki over WiFi and 3G...
i find that even if you set the wifi never to sleep it still does. i frequently use aftp to transfer movies and stuff to my phone over my lan, so ill set it to transfer like 3 gigs of stuff and go to bed, even though its set never to sleep the socket still gets closed at some point at night. so id say your problem lies with wifi sleeping.
also some online radios stop automatically after a certain amount of time incase you arent listening anymore to save bandwithd
Maybe its in the app settings. You didnt specify which app it was also...
This might help
When you connect Wi-Fi make sure to turn off your cellular network. N1 has this weird problem where in as soon as screen is off, it drops the wi-fi connection and goes on to cellular network.
So if you switch off ur cellular network it maintains its Wi-Fi connection even when the screen is off.
SiNJiN76 said:
Maybe its in the app settings. You didnt specify which app it was also...
Click to expand...
Click to collapse
i use mainly "AOnline radio" but i have tryed pretty much all from the market and all do the same. trying with the settings now..post if any change.
edit:yea still stops...strange try with gsm off and still same thing...is it there any solution to get over this thing?i just liten now with the screen on) eats the battery..it's ok but why not better?
The Nexus one activates some kind of energy saving mode as soon as you turn off the screen. This makes the WiFi connection very laggy, though stable for me. This is independent of the WiFi sleep policy. There's a bug report because of this for Sipdroid and I've also seen this issue while being connected to the phone via SSH. The connection is just fine as long as the screen is on, but if it's off, there's about 1 second delay.
However, I never had the problem you describe. Droidlive, for example, works just fine.
robert-qfh said:
The Nexus one activates some kind of energy saving mode as soon as you turn off the screen. This makes the WiFi connection very laggy, though stable for me. This is independent of the WiFi sleep policy. There's a bug report because of this for Sipdroid and I've also seen this issue while being connected to the phone via SSH. The connection is just fine as long as the screen is on, but if it's off, there's about 1 second delay.
However, I never had the problem you describe. Droidlive, for example, works just fine.
Click to expand...
Click to collapse
i will check droidlive myself right now...thank you for explinations..is there a way to talk with cyan and maybe he could overpass that wifi sleepy thing.
edit: also noticed if you ahve a download or something and turn the screen off goes very slow..so this problem i think really have a priority to be solved.
edit2:still stops...what would be the thing?wifi priority changed.do you have any type of settings?full app?
I'm listening to a ShoutCast stream with AOnline right now, using WiFi, screen is off. Works perfectly. Do you see this problem with other access points, too?
SLightworkaround....
If you can keep it plugged in...set the SCREEEN TO NEVER SLEEP...under settings>>>applications>>>DEVELOPMENT>>>STAY AWAKE... hope that helps!
robert-qfh said:
The Nexus one activates some kind of energy saving mode as soon as you turn off the screen. This makes the WiFi connection very laggy, though stable for me. This is independent of the WiFi sleep policy. There's a bug report because of this for Sipdroid and I've also seen this issue while being connected to the phone via SSH. The connection is just fine as long as the screen is on, but if it's off, there's about 1 second delay.
However, I never had the problem you describe. Droidlive, for example, works just fine.
Click to expand...
Click to collapse
This is the problem yes... Just try to ping your N1 while turning the screen off/on... Ping jumps up as soon as the screen is turned off...
For me Streams stop when I have a weak signal to begin with, which does not get better when turning the screen off
"KeepScreen" might help...

A wifi conundrum (unsolved)

Hi everyone
I have a profile that that kicks in every 30 mins from 8 am to 9pm, to sync my account. I have set it up to use wifi first, but if there is no wifi connection it will go to my mobile data instead.
Now here is the problem if my phone is on standby it always connects via mobile data regardless of a wifi connection is available. But if I am using my device at the time when the task runs then it will connect to wifi. I have checked my, keep wif on in sleep option and it is set to always.
Could anyone explain as to what this is happening?
Thanks in advance
What is your Android version?
I am currently using a custom rom called exodus which is currently based on marshmallow.
Check if Tasker is excludied from Battery Optimization and whether Wi-Fi is not deactivated while the phone is in sleep mode in Settings/Wi-Fi/Advanced/Keep Wi-Fi on during sleep.
yep tasker is excluded from battery optimisation and the allow wifi during sleep policy is always.
If you're turning wifi on with tasker action wifi turn on, try instead of that shell script "svc wifi enable".
Ok thanks, I will let you know the out come of this. I was using secure settings to enable Wifi as the command built in tasker, is not compatible from kitkat and onwards if I remember correctly.
I found out "svc wifi enable" command does exactly the same thing
Discovered I'm having the very same problem on cm13 and the batch jobs have been done by initialized mobile data. Finally found out a solution to initialize wifi instead of mobile data. I've no limited data plan, but wifi is more battery friendly.
taisto said:
Discovered I'm having the very same problem on cm13 and the batch jobs have been done by initialized mobile data. Finally found out a solution to initialize wifi instead of mobile data. I've no limited data plan, but wifi is more battery friendly.
Click to expand...
Click to collapse
Care to share the solution?
After all this is a community that people use to, find solutions to problems and to get the most out of their device. Which also help others who experience the issue for future reference.
Does anyone else know a solution to this?
HatchetEgg said:
Does anyone else know a solution to this?
Click to expand...
Click to collapse
Do you actually wait for wifi to connect?
Does your phone do the low power screen off wifi thingy?
rignfool said:
Do you actually wait for wifi to connect?
Does your phone do the low power screen off wifi thingy?
Click to expand...
Click to collapse
Yes under normal circumstances it takes about 20 seconds to connect.
No because for some reason my wifi will only switch on if the screen is on.
I also have uninstaled my custom kernel, but this issue still appears from time to time.
There's a setting in wifi connection settings that you can set to that says "keep Wi-Fi on during sleep"
This same setting is often repeated in battery apps like powernap, naptime, better battery saver etc.
Even though the wording is the same, I don't believe they are all touching the same setting so go find those apps if you have them installed.
Also, disable all native battery savers (including Samsung 2 or 3 different ones,, doze, battery optimization etc etc just to see if your problem goes away.... Which it will. At least you'll know though
I have the same problem with Wi-Fi connection.
I have a profile to turn Wi-Fi on and try to connect when certain conditions meet and the screen is off in that case.
It seems that the phone has difficulties turning Wi-Fi on and connecting to it when screen is off. Tasker does manage to turn Wi-Fi on but the phone somehow does not connect *reliably* in all cases.
Tasker is excluded from battery optimization, Wi-Fi on during sleep. I tried turning cpu on for a short time hoping that it will connect, but still no result.
The only possible solution might be turning the screen on briefly at that moment.
If anybody has a better idea, you are more than welcome to share!
alienyd said:
I have the same problem with Wi-Fi connection.
I have a profile to turn Wi-Fi on and try to connect when certain conditions meet and the screen is off in that case.
It seems that the phone has difficulties turning Wi-Fi on and connecting to it when screen is off. Tasker does manage to turn Wi-Fi on but the phone somehow does not connect *reliably* in all cases.
Tasker is excluded from battery optimization, Wi-Fi on during sleep. I tried turning cpu on for a short time hoping that it will connect, but still no result.
The only possible solution might be turning the screen on briefly at that moment.
If anybody has a better idea, you are more than welcome to share!
Click to expand...
Click to collapse
I can certainly say that turning the screen on will enable wifi, as I have resulted to this as well. But unfortunately I do not know any other solutions to try.
loogielv said:
There's a setting in wifi connection settings that you can set to that says "keep Wi-Fi on during sleep"
This same setting is often repeated in battery apps like powernap, naptime, better battery saver etc.
Even though the wording is the same, I don't believe they are all touching the same setting so go find those apps if you have them installed.
Also, disable all native battery savers (including Samsung 2 or 3 different ones,, doze, battery optimization etc etc just to see if your problem goes away.... Which it will. At least you'll know though
Click to expand...
Click to collapse
My Wifi is set to always "keep wifi on during sleep"
I'm going to resort to flashing stock rom again and see if that helps. As I am only using doze and amplify to save battery, all settings for that has been adjusted to the guide I found.
HatchetEgg said:
My Wifi is set to always "keep wifi on during sleep"
I'm going to resort to flashing stock rom again and see if that helps. As I am only using doze and amplify to save battery, all settings for that has been adjusted to the guide I found.
Click to expand...
Click to collapse
Before reflash, just disable xposed and see what you get... I will bet half of this soft taco I'm eating your problem disappears with greenify and or amplify. I'm not saying don't use them at all... Just make sure it works without them. I used to have some serious battery apps, but found after disabling, my battery was IMMENSELY better. And I had no config to deal with. But first things first... IT'S without a doubt, no question, a battery app setting or a system app that's being put to sleep that should be white listed

Wi-Fi Always on even outside

Hi,
I have a question to you guys maybe somebody can answer this, i tried searching for an answer already but found no answer.
I have the P30 Pro and checked the battery usage and i see the Wi-Fi is always on even when the screen is off.
I attached a screen shot, the odd thing is that i was the whole day on the beach without Wi-Fi coverage.
I know that there is the always scan feature but it is already off.
Any ideas as to why this happens?
Any feedback would be appreciated
So, you had wifi turned on while at the beach, but it wasn't connected to a network, correct? My understanding of the Wifi Scanning option is the act of scanning for wifi hotspots for the purposes of location determination. If your wifi is Enabled on your phone, it's constantly scanning to try and connect to a network you've saved. You could turn off the Stay Connected When Device Sleeps switch on the battery settings, but this would affect your cellular connection in addition to wifi as I understand it.
If you don't want to have wifi draining your battery while out and about, you'll need to turn it off. If you did turn it off, then I've got nothing...
When you don´t use a battery saving option and leave Wifi on it will stay on, regardless whether you have a signal or your screen is turned off. That´s the way it should work.

Categories

Resources