[Q] How to keep networking on? - G Tablet Q&A, Help & Troubleshooting

I would like my gtablet to remain able to establish ssh connections
after the display turns off.
It appears even if I set the wifi preference to never go to sleep, once
the display turns off I cannot either ping or ssh into my gtablet?
So, I wonder if there is a way to do this.
(By the way, I assume that the wifi has power saving implemented
so just sitting around will actually not use much battery.)

I've noticed that when the screen goes off, adb even loses the tablet until you turn the screen back on. But I am having the same issues with Wifi, and setting it to never sleep in addition to installing a keep alive app doesn't seem to do much good. When the screen goes off for a couple of minutes, all connections seem to be lost.
It would be nice if there was some sort of solution to this.

yes, I can't get wifi to stay on. Basically, I want the tablet to stay
on but the screen to blank.
This is more important now that I have rsync installed and could
do automated data transfers or backups at scheduled times.

I am running Vegan 5.1.1 and am wondering this too, is it a vegan problem or gtab? Is there a dev that can make a kernal to stop this?

I am on a TnT ROM using Clemsyn's kernel, and I get the same problem, so it might be a device issue.
I'm trying out an app called Wifi Fixer -- free from the Marketplace (though I'll get the .99 cent donate version if this works). I left the tab display off and untouched for about 10 minutes just now, and wifi was still connected when I turned it back on. I'll let it sit for about 1/2 hour and see if it still works. If so, we might have a winner

In TNT (Lite), try Settings -- wireless -- Wi-Fi Settings -- Advanced Settings -- Wi-Fi Sleep Policy

wifi sleep policy is set so -- supposedly -- wifi never sleeps, but that did
not work for me (wifi was shut down when tablet goes to sleep - I wonder
what controls that - I would want display and system to have separate
sleep control ...)
But I found an app in market, wifi keepalive that seems to be working.
My tablet just turned off the display and I can still ssh, ping and rsync
successfully.
Maybe that is the solution.
I wonder how much power this will draw?
(I have a nokia n810 "mini-tablet" and even with wifi on (power saving
mode enabled) battery consumption is pretty minimal if wifi is not
actually in use. Does android use power saving mode in wifi?)

Well, I already had it set to never sleep. The Wifi Fixer seems to work though -- I let it sit for about 1/2 hour, and when I flipped it back on, the wifi was still connected.
Edit: Nevermind, that didn't work either. Sucks, I love this tablet, but if it's a dead fish when the screen is off for a few minutes, it's lost a good deal of usefulness to me.

albright said:
But I found an app in market, wifi keepalive that seems to be working.
Click to expand...
Click to collapse
That was the one I was using initially, but while it wouldn't drop the wifi connection upon turning off the screen, it would eventually drop it -- when I woke the tab back up, I'd have the wifi lost icon for a few seconds.

it would eventually drop it
Click to expand...
Click to collapse
yep, it looks like that happened here too ... maybe some other
app is resetting this; it lost my connection after a radiotime
app was playing for about half an hour with screen off
I hear that ubuntu might run on this - it would be great to
have a **real** operating system to fiddle with

Related

[Q] Wifi connection gets disabled on sleep...

I have a GTab runn Vegan 5.1 and it runs great. The one issue that I have is that my Wifi gets disabled each night when it goes to sleep. When I say "disabled" I do not mean this it disconnect, but rather that something is actually putting it into a "Disabled" state and I must select the connection and choose to enable it.
Does anyone have any thoughts on what could be doing this? I have dug through every setting I can think of and also looked at any apps that might be doing this. I even went so far as to remove all my battery saving apps, but no dice.
Any suggestions?
kmclaren said:
I have a GTab runn Vegan 5.1 and it runs great. The one issue that I have is that my Wifi gets disabled each night when it goes to sleep. When I say "disabled" I do not mean this it disconnect, but rather that something is actually putting it into a "Disabled" state and I must select the connection and choose to enable it.
Does anyone have any thoughts on what could be doing this? I have dug through every setting I can think of and also looked at any apps that might be doing this. I even went so far as to remove all my battery saving apps, but no dice.
Any suggestions?
Click to expand...
Click to collapse
Settings - Wireless - Wireless Settings - (Press Soft Menu Button, you will see Scan and Advanced buttons popup) - Advanced - Wifi Sleep Policy - Never
Still getting Wifi disabled...
MasterColdSoul said:
Settings - Wireless - Wireless Settings - (Press Soft Menu Button, you will see Scan and Advanced buttons popup) - Advanced - Wifi Sleep Policy - Never
Click to expand...
Click to collapse
Have the sleep policy set at never and this does not change anything. From what I understand this setting will disconnect wifi when the device goes to sleep. In my case the connection is not disconnected but rather completely disabled. So it seems that there is some other thing disabling the connection.
So, to give a bit more info here, I have installed wifi keep alive to try and save the connection. This keeps the wifi from being disabled when it is plugged in, but it still gets disabled when it sleeps and is also unplugged. (I.e. on battery and sleeping)
So, I am starting to think that the setting that fixes the problem while pluggedin is settings / applications / development / stay awake. I have this turned on and it seems that with stay awake and the wifi keep alive I am good when plugged in.
So, does anyone have thoughts for a similar setting when on battery power?
I can't help to much with battery power since I almost always have mine plugged in.
It's odd that not helping you, once I made that chance I stopped having my Wifi turn itself off (not sleep, off, and the tablet would need to be reset a lot).
Sorry that wasn't much help.
Having this problem as well. Anyone know how to fix?
If you notice other weird stuff happening in the future you may need to repartition your internal memory. Mine started with similar flubs and progressed to never remembering logins online. I had to login to xda every time I turned my device back on. Keep this in mind, about 30% of people need to reformat.
Sent from my Chromatic Magic using XDA Premium App
"WiFi stay alive" will help you!
Mantara said:
If you notice other weird stuff happening in the future you may need to repartition your internal memory. Mine started with similar flubs and progressed to never remembering logins online. I had to login to xda every time I turned my device back on. Keep this in mind, about 30% of people need to reformat.
Sent from my Chromatic Magic using XDA Premium App
Click to expand...
Click to collapse
can you give some info as to how one would go about doing this?
For what its worth, might help to set a fixed IP address. I often got a problem with Wifi not being able to reconnect because it got stuck on "getting an IP address" and failed to do so. I seem to remember it disabled the connexion to that AP after too many tries on my Nexus One.
On my g tablet, I was having what seemed to be the same problem, so I did the same thing and it seems stable since. Granted I didn't toy with it as much as I did on the N1, but I wouldn't be supprised if it were a general Android problem.
Anyways, its free to try.
The wireless uses a lot of power. When the tablet "sleeps", it should go into a power saving mode. Disabling the wireless is a feature, not a bug.
Either way how can I keep the wifi signal on so when i wake my g tab up the wifi is ready to go and does not have to reconnect?
anyone have anything to help with this?
I am not sure, but it seems to me that downloaded apps can play with wifi this way, as long as they have rights to "access internet, modify and bla-bla-bla".
I am having same problem after sleep. And it was not present from the beginning. It may starts after I upload some app. I will play with this after coming back home.
yes please let us know thank you!
wasserkapf said:
The wireless uses a lot of power. When the tablet "sleeps", it should go into a power saving mode. Disabling the wireless is a feature, not a bug.
Click to expand...
Click to collapse
When my tablet is plugged in and it goes to sleep, the Wifi also disconnects, so I don't think this is a feature any more than the screen angle issue is a "privacy feature." I've never had an Android device that powered down connectivity when the screen goes off, that totally negates the notification features. You basically have a comatose tablet after a few minutes of the screen being off.
I don't think the Xoom or Galaxy Tab have this problem, so there's definitely an issue. Sadly, I might be sending mine back to TigerDirect as faulty because of this.
I have this problem too. As others have said, the problem isnt that the wifi turns off when the tablet sleeps. The problem is the last connected access point gets disabled so when you wake, you have to go into settings and tell it to connect again.
In my case, it happens most of the time, but not always. My Android phone doesnt have this problem.
I did a factory reset, then used nvFlash to restore, and then did a fresh install of Vegan (thought it did the same on every other 2.2 ROM I tried). I didn't install any apps, and the problem still occurs. Tried using Wifi Fixer, and the problem still occurs (though on the bright side, it does reconnect about 10 seconds or so after waking).
I'm out of ideas. I hate to send this thing back because it's the most fun piece of tech I've had in years, but a comatose Android device is a dealbreaker Going to try a GB ROM, and then I give up.
I've got the same kind of issue. I lose my PSA key in my wireless settings every time and have to re-enter it.
I installed the Vegan GB ROM (along with pershoot's kernel), and the wifi stays on if you choose "Never" for wifi sleep (you have to hit the menu button and choose "Advanced" when you're in the wifi settings). Only problem is, the GB ROMs, while zippy, are a little raw right now, and my Launcher Pro GMail widget doesn't work
I'm going to try one of the 2.2 ROMs again today along with pershoot's Froyo kernel to see if it makes a difference.
Ok, YMMV, but I am using Calkukin's ROM with pershoot's kernel (was using Clemsyn's before), with wifi set to never sleep, and my wifi doesn't sleep any more. I left my phone and tab here at work while I went out for lunch (felt naked ...), and came back about 45 mins later, woke the tab, and wifi was still connected, without that "looks connected, oh the icon is now disconnected, oh it's back again!" bit.
I still receive notifications and email, and widgets update. Guess I'm keeping it

[Q] 10.1 always awake (won't sleep)

my 10.1 seems to have decided it doens't like to sleep. I am running Task 650s ROM but it doesnt seem to be impacting anyone else. Does anyone have any ideas why the table wont sleep?!
I know I have provided a LOT of background here... but all I currently have is that the wifi stays on and therefore the tablet stays awake (note the screen turns off though). The battery usage shows minimal screen on events but continual wifi/awake time. I checked my running services and didnt see anything out of the ordinary.
Any help would be greatly appreciated -- this daily recharge bs is kind of annoying.
BetterBatteryStats might point to the culprit.
http://forum.xda-developers.com/showthread.php?t=1179809
Thanks for the link -- however the app doesn't explicitly point to any one thing causing 'wakelocks'. The only item showing continual use is the WIFI connection. I am turning wifi off for now to see if it allows the tablet to sleep.
Do you have any apps possibly running in the background that could be keeping it awake?
Please use the Q&A Forum for questions Thanks
Moving to Q&A
No apps running that should impact it -- I just rebooted from CWM and it seems like its staying asleep when the screen is off (although wifi is registering as consistently on even when the screen is off -- is that normal?)
HoneyNutz said:
No apps running that should impact it -- I just rebooted from CWM and it seems like its staying asleep when the screen is off (although wifi is registering as consistently on even when the screen is off -- is that normal?)
Click to expand...
Click to collapse
Yes, its normal for wifi to stay on even if the screen is off. Unless you have an App like Juice Defender that turns it off.
Hmm, Well it seems like the CWM reboot did the trick -- the tablet is retaining charge and sleeping again. I wonder why that worked when a normal reboot didnt... odd
Thanks for all your help!
HoneyNutz said:
Hmm, Well it seems like the CWM reboot did the trick -- the tablet is retaining charge and sleeping again. I wonder why that worked when a normal reboot didnt... odd
Thanks for all your help!
Click to expand...
Click to collapse
Glad you got it all worked out.
Wifi during sleep is a settings issue. Go to Settings -> Wireless -> WiFi Settings -> Sleep Policy.

[Q] WiFi Disconnects Regularly

Hi,
I just bought a Sony Tablet S, amazing device. The only problem I'm having is that when the tablet is idle, or the screen shuts down, the WiFi gets disconnected and it doesn't reconnect untill I open the WiFi panel in the settings app.
Now before you guys jump to conclusions, yes, I changed the WiFi disconnect policy to "Never (uses more battery power)". That hasn't helped at all.
Any ideas? Is this just with Sony S or a generic Honeycomb thing? Tablet hasn't been rooted as yet.
Try Advanced Wifi Lock Free. It works well with my tablet.
This issue seems to be a bug in Tablet S. I hope they'll fix it in the ICS release
Yes, already discuss here...
You need to install a must have application...
Advanced Wifi Lock
https://market.android.com/details?...DEsIm9wb3RlY2guYWR2YW5jZWR3aWZpbG9ja2ZyZWUiXQ..
Worked
Thanks for the app recommendation. It's working...so far .
I bought my Tablet S 2 days ago.
Though I have heard of this issue before, my new tablet does not have this problem, maybe Sony has fixed the bug.
p.s. I changed the wifi disconnect setting to Never.
I started using wifi advanced lock a couple weeks ago and it works great! Much better than making sure the screen stays on during all your downloading
...Although I've noticed a massive change in battery life. Typically I was always getting 7-8 hours of screen on (gaming) time out of it, with up to an additional 24 hours of time with it on standby.
Now I got about 13 hours standby and 4.5 hours screen on time with wifi constantly on.
All I'm saying is to have a widget for turning on/off wifi quickly, and leave it off when it's not in use. I didn't think that wifi made THAT much of a difference..but apparently it does lol (and that was still without autosync on either)
I uninstalled that and use spare parts instead. Advanced wifi lock was horrid with my battery grrr
I think is normal, because if you put your tablet in standby is because you're not using them so why you need wifi on?
When you turn on again the wifi will reconnect auto again
WPS Wifi Lock
I had the same issue when connecting at my house, If you have a WPS enabled routter, connect to you access point using WPS. At keeps the signal locked.

[Q] After JB update, wifi always off in sleep

I like keeping my wifi on while my screen is asleep so that I can receive chat messages or e-mails without being at my computer. I never had this problem while running ICS on an unrooted TF201, but ever since I installed the upgrade to JB my wifi will always disconnect after the screen has been asleep for a few minutes. I've checked every setting I can think of. In the Wifi Advanced menu, I have it set so Wifi is always on, and in the ASUS customized setting I have Disconnect network during sleep to off. Under Power Saver I have Enable low battery settings off, set Low battery level to 0%, and even set Wifi OFF to off. Despite all of this, it seems like the tablet under JB goes into some sort of deep sleep and disconnects the wifi after about 5 minutes of inactivity.
I have noticed that this problem does not occur when the screen is on. I also have the dock, and set the screen to always on during meetings in the event that I don't need to enter any notes for a few minutes so I don't have to fool with any delays from screen wake .
Is there some setting I'm missing? Is it a hidden setting that I could access by rooting? Or am I dealing with something internal to the build that I can't change at all? This may not seem like a huge deal to most, but it has become one of my main uses for the tablet when I'm at home. I'm very disappointed with JB so far even though the wifi does feel more responsive on the Prime after the update (when it's not sleeping, of course!).
EDIT: I noticed this evening that the wifi turns off even when I'm running something that uses it while the screen is off. I was listening to Pandora, and about 5 minutes after the screen went off, my music stopped. When I turned the screen back on, I saw that the wifi had indeed become disconnected.
hey,
I have exactly the same problem with my tablet. I have checked every option, I did a factory reset several time, I have checked it on 2 different routers but it is still disconnecting the wife when it goes in the sleep modus. Did you or anyone else find a solution?

Bluetooth Always Discoverable, Wifi Never Sleeps - Not always the case

I have both of these setting turned on, but for some reason the bluetooth discoverability will dissapear every few hours for a few minutes, and the wifi seams to go to sleep after a certain amount of time (hours) after the screen is off. I imagine, particularly with the wifi that this might be done to conserve battery.
The reason I know this is that I use the phones bluetooth discoverability to determine whether or not I am at home or away, and trigger events accordingly through my home automation software. When the bluetooth mac address of my phone is not found to be present, a ping is sent through wifi as a fallback. However both are failing according to the logs. (not to mention all my lights and electonics turning off while watching a movie, or even worse the lights and electronics turning on at two in the morning as if I had just arrived home when actually I was asleep in bed)
I didn't have this problem with my OG EVO 4g, and so I am hoping there is a hidden setting or even maybe an app available that will hold these setting to do what they say, and not just use them as a suggestion. I understand the battery trade-off.
Edit: I am on a CM10 ROM, so I do not have smart sync
Well go to advanced in the WiFi and Bluetooth setting. And you'll see what to do when you get there
milli5410 said:
Well go to advanced in the WiFi and Bluetooth setting. And you'll see what to do when you get there
Click to expand...
Click to collapse
I already know what to do there (as is pointed out in the title of the topic), those are both enabled.

Categories

Resources