[Q] Radio low power mode timeout - myTouch 4G Q&A, Help & Troubleshooting

It's my understanding that the radio will go into low power mode when the screen is off, unless some program is doing something over the network in the background.
I assume that when something happens in the background, the radio will wait for a period of inactivity before it goes into low power mode. Does anyone know how long this is?
I set up openvpn, and it kills my battery when I leave it connected. The default keepalive messages are sent every 10 seconds, but are adjustable. I have a home automation/security device that needs to be able to send data back to my phone for alerts, which is why I'd like to keep the VPN up all the time. I'm trying to figure out if I can increase the keepalive time enough to give the radio time to sleep, but not enough to allow my NAT session through TMO's proxy/NAT devices to timeout, which will break the VPN and require a reconnect.
Too bad IPV6 isn't widely supported yet, since it provides encryption at Layer-3, and would negate the need for NAT.

I haven't looked into IPv6 from the T-Mo side of things (are there even any v6 apps on the phone? anybody tried to access a v6 site yet?) but you can get a free v6 tunnel endpoint for your home from places like SixXS.

I'm fully IPV6 enabled inside my home network (including Android), running dual stack. And I have a 6to4 tunnel with tunnelbroker.net.
Apparently Android does not support IPV6 natively on the 3g/4g interface yet. Once that happens, it will be possible to get on the IPV6 beta with TMO. Right now, you need a Symbian or Maemo phone.

Related

Powersave & Wifi

Dear all,
I'm wondering about Wifi telephony on the QTEK 9100.
It works fairly well with various software soutions. However, the phone has to stay "fully on" (except backlight) in order for th Wifi connection to remain up. This alters battery life severely.
I'm wondering if it is possible to have the Wifi connection stay up during power save mode, with some kind of "Wake on WLAN" event that would wake up the phone so that IP phone software can process incoming data.
Some of it already happens for GSM. I'm wondering whether the GSM part is "fully independant" (like on a different processor), or if it's handled by the main processor. In the later case, it may be possible to achieve something similar with Wifi telephony.
Thanks in advance for any hint.
so there is no way having WIFI enabled and lettign the pda go to sleep mode / power save mode ??
is there an APP that leaves power save mode off if the WIFI is enabled, so only the screen goes of light, and the pda stays on ?
P.
nbougues said:
Some of it already happens for GSM. I'm wondering whether the GSM part is "fully independant" (like on a different processor), or if it's handled by the main processor. In the later case, it may be possible to achieve something similar with Wifi telephony.
Click to expand...
Click to collapse
It's fully independent. It's very cleverly written; this is why, for example, listening to incoming IMAP IDLE or Push Mail callbacks don't require the CPU at all.
yes i got that part on my own, thats why the GPRS connection stays on... but still there should be a registry somewhere to prevent device to go to sleep if WIFI conneciton is made..
tried all the powermode stuff in regisrty, nothn worked... out of clue...
papizdono said:
yes i got that part on my own, thats why the GPRS connection stays on... but still there should be a registry somewhere to prevent device to go to sleep if WIFI conneciton is made..
tried all the powermode stuff in regisrty, nothn worked... out of clue...
Click to expand...
Click to collapse
I don't think you can do this - the WI-Fi module is completely independent of the radio module. Furthermore, you'll constantly need a LOT of power to keep the Wi-Fi connection up, as opposed to GSM/GPRS, where handshaking is only done during roaming to another cell and/or every (AFAIK) 10-20 minutes. Otherwise, the PDA doesn't trasmit anything, a sopposed to the Wi-Fi case.
That is, it seem sit's impossible to do any long-term Wi-Fi "listening" in the current Wi-Fi / PPC architecture.
papizdono said:
yes i got that part on my own, thats why the GPRS connection stays on... but still there should be a registry somewhere to prevent device to go to sleep if WIFI conneciton is made..
tried all the powermode stuff in regisrty, nothn worked... out of clue...
Click to expand...
Click to collapse
I don't think you can do this - the WI-Fi module is completely independent of the radio module. Furthermore, you'll constantly need a LOT of power to keep the Wi-Fi connection up, as opposed to GSM/GPRS, where handshaking is only done during roaming to another cell and/or every (AFAIK) 10-20 minutes. Otherwise, the PDA doesn't trasmit anything, a sopposed to the Wi-Fi case.
That is, it seem sit's impossible to do any long-term Wi-Fi "listening" in the current Wi-Fi / PPC architecture.
all i need is a tool that disables POWERSAVE mode if WIFI connections is made, or even if WIFI is enabled...
that would do all the work....
anyone ?
i think the closest thing is in phm powertoys (http://www.phm.lu/products/PocketPC/PowerToys/)
the screensaver option... what it does is turn off your touchscreen like in "sleep" mode but if u use this you might want to disable the power save option cause while u have screensaver on its still gonna count down n shut off ur ppc hope this helps!

Seamless Handoffs between GPRS and Wifi Possible?

Are there any networking applications that would allow seamless switches between Wifi and GPRS/Edge?
It would be nice to be able to have a GPRS connection on the way into work, perahps streaming internet radio and then to have the network connection detect the Wifi and then switch. I suppose you would have to preconfigure your device with a list of access points, but considering that most of us use our devices at work and home, that should be easy to setup.
Or am I asking for something technically difficult to do?
YEs, Yes you can, but it maybe more trouble than its worth..
Its possible, Im not sure how "seemless" the transistion is going to be. First, you need to turn your Wifi slider to Performance so wifi radio stays on and scans while the PDA is sleeping. Then you need to add the SSID's (and WEP keys if applicable) of all the access points you intend to switch between. Having done this, you're going to need a huge battery, because leaving wifi on on this mode usually only yields about 3 - 3.5 hours of battery life. In addition, your GPRS radio is running so your battery life will be consumed slighly faster. With this configuration I have my work private network access points (3 for the different departments). My home wifi AP, and a few hotspots that I frequent in the evenings. When wifi is on, I can walk between any of these locations and the pda will automatically connect me to the present network. The downside to this is that every time I pass another visisble hotspot, the Universal chimes and wakes up to alert me to the new connection options. I also recommend doing the 802.11G hack for more compatibility (no speed improvement). Hope this helps.
Really seamless handover between GPRS and WIFI is not really possible without some firmware/radio stack changes. As long as you can put up with a second or two of data interruption there might be an 'seamless enough' solution in software (i haven't found one though).
There are some new phones which can do this handover for the voice channel (so called 'UMA' phones) but even then I have only seen the handover work seamlessly one way (wifi-to-gsm) in practice.
I can't see MS adding UMA support for some time (Motorola and Nokia have some phones that do this already). It nay be that a 3rd party adds UMA support but it won't be great as it needs to be embedded in the OS for best usability.
Google "UMA mobile phones" for more info.
It is possible to have seamless handover between GPRS and WIFI without firmware/radio stack changes ! The technigue is Mobile IP. But the provider would support/provide it or you have your own Home Agent server ( like proxy server)
You have only one IP address and your connection session is never abrupt during WIFI <-> UMTS Handover.
The other problem is GPRS/UMTS connection-hooking on MS Windows CE !
best regards,

Turning off wifi after inactivity

Hello,
Is there some program for windows mobile 6 standard that will let me turn on wifi automatically when it is needed (by an application) and switch it off after its been inactive for a little bit?
ivan
When the machine is suspended - either by pressing the power button or after a timeout, the wifi will be off automatically.
Unless you want to have power on full-time....
I meant that I wanted to have wifi turn on automatically if an app needs network access, otherwise no. The fact that the phone turns on wifi even if you are just checking the clock makes it a bit annoying to leave it on. Nokia phones, for example, ask you when an application needs network access if you'd like to connect. After you close the application, the connection is closed as well.
What you described is dial on demand. But Wifi in WM nor Windows PCs as a matter of fact, is a LAN device that just doesn't "dial". It just connects as-is, like a physical ethernet adapter. In other words, you can't even do it in Windows PCs.
However, you may be able to use some profile based solutions to switch on/off your wifi base on time, location, etc. But that may not be what you want.
ww2250 said:
What you described is dial on demand. But Wifi in WM nor Windows PCs as a matter of fact, is a LAN device that just doesn't "dial". It just connects as-is, like a physical ethernet adapter. In other words, you can't even do it in Windows PCs.
However, you may be able to use some profile based solutions to switch on/off your wifi base on time, location, etc. But that may not be what you want.
Click to expand...
Click to collapse
I guess nokia figured it out first then
or actually symbian?
Oh i'd love to use S60 on my S620

Some WiFi issues

Hi Guys,
I have some issues on my android with the WiFi power management.
1. it doesn't go to sleep when I press the sleep button. I'm not quite sure if it should go but if there is no application using the WiFi there is no need to stay on.
2. when it I wake up the phone, sometimes it takes a long time before I can get a traffic to my router. Sometimes I even need to restart the WiFi in order to get it working.
Also when I send icmp packets to my gateway the time for the echo replay varies a lot. from 80 ms up to 250 ms. and this changes on every packet.
I'm new to Android and I'm not quite sure how to debug it. Where are the log files etc.
Thanks

2 issues in 4.3

I'm running the official BTU 4.3 release on my I9505
I've noticed two issues with 4.3
a) Wifi
From time to time, perhaps daily, my phone loses connection to my home wifi. I get a notification which says something about being disconnected -- don't remember the full text. When I click on it I get taken to the list of wifi networks and underneath my local wifi network it will say "Sign-in is required".
It may be working as designed - checking my newish BT HomeHub 5 I can see the PPP session recycled twice overnight. Oddly this was initiated by upstream admin according to the logs, not a vdsl failure.... since the hub will intercept pages when ppp is down it's possible this caused the confusion
b) Security policy
I sometimes see a notification that an app required access to system, but didn't have permission - yet when I click on the notification I get taken to a full list of apps -- how do I find out which one was trying to be naughty?
The WiFi problem can be quite annoying.
I think this is not an improvement over the previous functionality.
The idea seems to be that as soon you have to manually log in to a WiFi network Android switches to the cellular connection to make sure you are always connected.
The thing is that at my work place this means every time I get somewhat out of range of WiFi (elevator, toilet, staircase) and walk into range my WiFi stays disconnected until I remember to reconnect it.
I only have to actually sign in once a day, but as Android thinks it is a network you have to sign in to it will not automatically reconnect to that network.
Meanwhile the phone is using up my data allowance....

Categories

Resources