wifi timeout - MDA III, XDA III, PDA2k, 9090 General

can somebody tell me how to increase timeout value - the settings menu goes up only to 5 mins.

Use your favorite registry editor and set HKLM\Comm\tiacxwln1\Parms\HTCAutoOffTimeout to your desired timeout value (in milliseconds).

i've set that key to 900000 (15 mins), rebooted, but wifi still times out after a couple of minutes ...

Try the same trick with HKLM\Comm\tiacxwln1\Parms\HTCPowerSaveTimeout. The first one is the timeout you set in the WLAN Settings tab; i.e. how long the WiFi should be on if it can't connect. This one should specify how long a connection can be inactive but still connected.

WiFi Always Active, Does not timeout
Is there a way to keep the wifi always on, even when you tap the power button to shut the screen off and lock the device? My phone doesn't have signal in the school I work in, so what I am trying to do is use a program like VeriChat for teachers and administrators to get ahold of me. We have wireless (802.11G) throughout the whole school. Battery life is not a concern to me becase I shut the wifi off when im not using it and I plan to have a spare battery to swap with the one I use while at work.
Any suggestions would be helpfull. Will the above reg hack work?

Related

easy terminate data connection

my data connection won't automatically disconnect, even if i change the setting in tweak HD, or change it directly in teh registry (the GPRS_bye thing).
i thought this was draining my battery (i was lucky to get 15 hours), as it was pretty much connected all the time ( i have it set to chekc email every 2 hours on 5 different accounts)
it was pretty annoying that i was charging the phone overnight, and it wasn't even lasting until the next evening.
but by mistake i have discovered something (could even be in the user manual, i dont know?) and i have found it very useful so i though i would let you know!
if you are just on the home tab, just press the hang up key, and it will disconnect the data! so now whenever i check the time/read a text message/pretty mcuh every time i look at my phone, i press the hang up button when i've finished.
now my battery easily lasts 2 days (normally dies half way through the third day if i'm stupid enough to leave it long enough) - so i am much happier with the phone as a whole.
i also wondered if its possible to turn off data completely overnight?
e.g. is there a task scheduler, so i can schedule the nodata program to run say from 00:00 to 07:00?
Thanks
The above 'finding' is the function of 'End Key'. You can find and configure in 'Settings'.
As for disabling overnight your data connection you could try 'Outlook email Scheduler'
"h..p://forum.xda-developers.com/showthread.php?t=438970&highlight=gmail" and have it manually synching an night time.
brillinat works great! i used this key to lock HD but stop all connections is much better choice.
You can leave the "hold button" feature as lock phone and it will still work to turn off the connections of your mobile internet.
For mine, 'single press' shuts down the HSDPA connection, 'hold' locks the phone.
How did you set it so you have only to press the button instead of holding it down to terminate the connection?
Is there any way to switch off the data connection altogether, orange wanna charge me a small fortune to connect. i've already got them to disconnect it but the phone still makes an attempt to connect for weather email etc. is there any way to force it to use the wireless connection only??
You don't need to change anything....well, I didn't. Pressing just once will turn my orange internet (HSPDA) off.
Is there any way to switch off the data connection altogether, orange wanna charge me a small fortune to connect. i've already got them to disconnect it but the phone still makes an attempt to connect for weather email etc. is there any way to force it to use the wireless connection only??
The HD Tweak program (Availabe on these forums) has an option to set up which connections you want to disable. You can perminantly turn off Orange interent from there.
superb!!!
will look later.
cheers
binarysi

[REQ] GPS Keepalive Tool

Getting a GPS-Fix can take a long time especially with an internal GPS receiver. If you are moving, it will even take longer to get the GPS-Fix, so when using a navi like TomTom you should wait for the fix (between a few seconds and more than 20 minutes) befor you start your trip. And when you switch of your phone (standby) or even when you close the application, the GPS module will shut off immediately. When you restart your application or switch on the phone you will have to wait to get a new GPS-fix. This will be quit fast but still annoying. I like to take geotagged pictures (footprints) but befor taking the first picture I have to wait a few minutes and if I don't keep my phone switched on all the time I have to wait another 20 seconds for each next picture.
As far as I know, there are two reasons for the GPS module to get switched of:
1. When short pressing power button (suspend state) or not useing the phone for a few minutes (unattended state) the GPS module gets switched off. This can be fixed quit easily by using these reg-keys (I am not sure if "GPS0:", "GPD0:" and "COM4:" are realy all needed?!). But this only helps if the program which uses the GPS module keeps on running even if the phone is in suspend because of the second reason:
2. When closing the last program which uses GPS, the GPS module gets switched off as well. With some programs you don't even have to close them. When you switch of your phone most of the programs (like TomTom) enter suspend state not using GPS anymore and the GPS module is shut off even if you use the reg-keys from above just because there is no program using GPS in that situation.
A small program together with the reg-keys should do the trick. This program should always run even if the phone is in suspend mode and it should interact with the MS GPS intermediat driver all the time to keep GPS alive.
Features:
- run as a service
The program should always run (hidden from taskmanager) but must not be active (keeping GPS alive) all the time.
- taskbar integration (WM6.5.x compatible)
There should be a symbol in the taskbar indicating the status of the program. Something like red for inactive, yellow for active/connecting and green for active with gps-fix. Pressing the icon should bring up a menu for activate, deactivate and config.
- Program to switch between active and inactive
With such a program it would be possible to switch the program state with an applauncher or via mortscript or you can map this program to a hardware-button. Maybe parameters like "on", "off" and "toggle" can be used with a shortcut?!
Nice to have:
- status led
Configure one of the phones LEDs as an indicator for this service. LED off = service inactive, LED blinking = connecting, LED on = GPS fix.
- auto off
User can choose after how many hours the service will deactivte itself (GPS is still usable but not always on).
- scheduler
Who needs GPS when sleeping or during work?
- multilingual
I could do the german translation!
- gps-tracking
The frequency and the location of the logfile should be configurable and there should be more parameters for the programswitcher: "trackon", "trackoff", "tracktoggle". The taskbaricon should indicate the status of the tracker as well.
- prevent suspend when switching off the phone
Programs like tomtom would keep on running even if you press the powerbutton and you could use it for audio-navigation. With the display shut off the power consumption should be much less.
These are just a few ideas I had when thinking about this program. I already searched the forum and found this interesting thread. It's the one with the reg-keys. If someone is willing to write this program he may find some useful information in that thread
Does such a program already exist? Isn't it a good idea? Will someone write this program?
PS: Sorry for my bad english!
http://www.modaco.com/content/i9x0-omnia-http-omnia-modaco-com/303583/gps-keep-alive-v1-3/
Is this what you need?
Download: http://www.4shared.com/get/s_7izPqr/GPS_Controller_CAB_v1_3.html
Looks very promissing but I still have to do a bit more testing.

[Q] Tasker on the SGSII a battery hog ?

Hi,
I stumbled onto Tasker as a very extensive program to control your phone.
I would like to use it to switch off my data connection when the screen is off in order to save battery
Yesterday I uninstalled Juice Defender which i wanted to use for this but this gave me more battery use then without.
Normal battery usage on KG6 + ninphetamine 2.05 when screen is off is 1% per 2 hours
Does anybody succesfully use tasker on the SGSII?
Is it possible to shutdown the data connection when the screen is off ?
What is the battery usage of this app ?
A lot of questions but I hope someone can help me to answers
Hi obionenairobi,
I use tasker not only to shut down the data connection when the screen is off...I also use it to toggle the data connection all 30 minutes (when the screen is off) to receive emails.
Also I let tasker kill all running progs when I turn off the screen and disable the vibrate function when it's connected to a charger.
There are endless possibilitys to use tasker! =)
And the best: it doesn't drain the battery
can share the profile/task?
Sorry...don't know how and for killing running processes u have to make it especially for your installed apps anyway...but:
U only need to create the event "Display off"...u add the task "Mobile Data off"
For the same event u make the second task...add apps-kill app-and then select every app u want to kill when the screen is turned off. (U have to make it for every app which is a little bit annoying...but I didn't find a way to make it faster)
Create a second event "screen unlocked" and add the task "Mobile data on"
For toggling the data on every 30 minutes:
Add the event "display off"...then add the task "mobile Data toggle"
The properties for this task u set to: Launched Task Priority: 6
Cooldown Time: 30 mins (then the data will be turned on every 30 minutes when the screen is off)
Limit Repeats UNCHECKED!
So...hope I could help you =)
Check WIKI on Tasker site
obionenairobi said:
Hi,
I stumbled onto Tasker as a very extensive program to control your phone.
I would like to use it to switch off my data connection when the screen is off in order to save battery
Yesterday I uninstalled Juice Defender which i wanted to use for this but this gave me more battery use then without.
Normal battery usage on KG6 + ninphetamine 2.05 when screen is off is 1% per 2 hours
Does anybody succesfully use tasker on the SGSII?
Is it possible to shutdown the data connection when the screen is off ?
What is the battery usage of this app ?
A lot of questions but I hope someone can help me to answers
Click to expand...
Click to collapse
Yeah as one of the other posts said, it's relatively easy to set an EVENT for DISPLAY OFF which runs a TASK to turn Data and Wifi off (Action Category = NET > Mobile Data & NET > WiFi). If you're rooted and deperately want to overcome Googles changes to GPS control, you can download an app called Secure Settings which will allow you to also do the same for GPS via the Plugin Task Actions.
Alternatively, you can always try Green Power which I switched to recently as JuiceDefender has too many bugs in it with Android 2.3.3/2.3.4.

Battery Tips

Hello all. I just decided to retire my Vibrant yesterday and got an S3. I haven't changed much on it. I'll run it stock for quite a while. I am using a custom launcher, etc.
My battery life is horrible though! It's not even noon and I'm already down to 35%. I've made sure S Voice is not set to wake up when I talk to it. My weather was set to update every 15 minutes by default, but I've changed it to every hour. I charged it in the van on the way to take kiddos to school, and it was at 80ish percent. So that's quite a drop in not a long time. Granted, it's new, so I'm playing with it.
What tips can you give me to get the best battery life I can out of it? Besides custom ROMs. I'm not even rooted. Yet.
Well how long has your screen been on? That will be the determining factor in your battery life. Like you said, it is new and you are playing with it so I am willing to bet that probably has something to do with it.
Otherwise, turn data off when you aren't using it and keep the screen brightness as low as possible.
Here's what I do with a freshly flashed rom. I pretty much drill down through every setting turning off what I dont need.
WiFi - turn off network notification.
More Settings - Everything off
Sound - turn off everything below "System"
Display - Auto brightness off. Timeout 1min. Smart Stay off. Touch key always on or off. Auto Adj Screen Tone off. Battery% on.
Power Saving - Off.
Accounts and Sync - Off
Location Svcs - Off
Language and Input - Voice Cmd off. Voice Recognizer (all off for google and Samsung). Voice Search all off. TTS driving mode off.
Backup and Reset - can't remember what its listed under but below carrier data press to open and uncheck collect data (this is carrier iq, so I removed it asap once rooted)
Accessory - all off
Developer Options - set animation scales to 0.5x.
Hope that helps. I keep a lot off and only turn stuff on when I need it. There's some pretty cool features but for me it doesn't hurt my experiance with the phone to not use a lot of them.
Sent from my SGH-T999 using xda app-developers app
joshnichols189 said:
Well how long has your screen been on? That will be the determining factor in your battery life. Like you said, it is new and you are playing with it so I am willing to bet that probably has something to do with it.
Otherwise, turn data off when you aren't using it and keep the screen brightness as low as possible.
Click to expand...
Click to collapse
Ah. My screen was set to stay on for 10 minutes. That, I would imagine, was a large part of my problem. At least according to my battery stats. Why do they set that as default??
My screen brightness is now set to low. What is this with the data? Doesn't that mean I would not receive email, google talk messages, etc?
DocHoliday77 said:
Here's what I do with a freshly flashed rom. I pretty much drill down through every setting turning off what I dont need.
WiFi - turn off network notification.
More Settings - Everything off
Sound - turn off everything below "System"
Display - Auto brightness off. Timeout 1min. Smart Stay off. Touch key always on or off. Auto Adj Screen Tone off. Battery% on.
Power Saving - Off.
Accounts and Sync - Off
Location Svcs - Off
Language and Input - Voice Cmd off. Voice Recognizer (all off for google and Samsung). Voice Search all off. TTS driving mode off.
Backup and Reset - can't remember what its listed under but below carrier data press to open and uncheck collect data (this is carrier iq, so I removed it asap once rooted)
Accessory - all off
Developer Options - set animation scales to 0.5x.
Click to expand...
Click to collapse
I just did almost all of these. With the WiFi detection off, will I need to manually find my home network each time I get back home?
Also, if I turn Voice Command off, I won't be able to push the button and say "Listen to blah blah blah" or "Navigate to ....." correct?
The_MamaBee said:
Ah. My screen was set to stay on for 10 minutes. That, I would imagine, was a large part of my problem. At least according to my battery stats. Why do they set that as default??
My screen brightness is now set to low. What is this with the data? Doesn't that mean I would not receive email, google talk messages, etc?
I just did almost all of these. With the WiFi detection off, will I need to manually find my home network each time I get back home?
Also, if I turn Voice Command off, I won't be able to push the button and say "Listen to blah blah blah" or "Navigate to ....." correct?
Click to expand...
Click to collapse
I am on CM10 so I am not sure where it is for stock Touchwiz, but I would assume you could go to settings > display > screen timeout and change it there.
Yes, turning off data would mean no push email or Google Talk messages. You could download an app that turns off your data when you turn the screen off, then on when you turn the screen on and your emails and messages would come through then.
joshnichols189 said:
I am on CM10 so I am not sure where it is for stock Touchwiz, but I would assume you could go to settings > display > screen timeout and change it there.
Yes, turning off data would mean no push email or Google Talk messages. You could download an app that turns off your data when you turn the screen off, then on when you turn the screen on and your emails and messages would come through then.
Click to expand...
Click to collapse
Aah. Okay. Thank you! Yes, I fixed the screen timeout.
The_MamaBee said:
I just did almost all of these. With the WiFi detection off, will I need to manually find my home network each time I get back home?
Also, if I turn Voice Command off, I won't be able to push the button and say "Listen to blah blah blah" or "Navigate to ....." correct?
Click to expand...
Click to collapse
I should have also mentioned I turn off wifi and data when I don't need it to, which is rare but it happens at times!
By turning off the wifi notification, the only change is it won't give you a notification in status bar that there's an open network nearby that you could connect to. Itll still auto connect to any network you've already got configured.
For voice cmd, it won't let svoice open apps for you. But for example in navigation you can still hit the mic button on keyboard and speak your destination.
Sent from my SGH-T999 using xda app-developers app
Can you upload a Screenshot of your battery screen... It will make it a lot easier to look at
Sent from my SGH-T999 using xda premium
On the Wifi issue. What I do with regards to wifi, is if I know that I am not going to be near an open connection, I turn it off. When I am at work, there is no wifi nearby that I can connect to. So I use Mobile Data instead. Why you ask? It is because when you have your wifi on, in the back ground it is always scanning for a signal. Turn that off and no scan, then no drain for something that you are not using at moment.
I know that this is a bit deeper than you wanted to go, but in the Build.Prop you can put a setting [wifi.supplicant_scan_interval=] and you can set that out. The time in there is the time duration on scanning intervals based on seconds. So the setting wifi.supplicant_scan_interval=180 means that it scans for wifi and doesn't find one, then counts off 180seconds and scans again.<--This is what I have mine set too, btw.
Disable the wifi when your not using it.

wi fi sleep timeout

Is there any way to change timeout for wifi . There is 15 minutes timeout for wifi to slepp after screen off , i whant to change it to 15 seconds. Can smb help me ?
bump
bump
you need to use a different app, something like wifi on/off (google it) and you'll find others
I've looked into this alot, since my old n900 had an app that would monitor wifi if screen is off, and if no set amount of traffic happened in some time (say 10 kbs/min) it will switch wifi off
the best I found on android were apps that would either turn wifi on/off with the screen, or simply after a set time no matter what
/me misses some n900 features, even with the outdated hardware

Categories

Resources