FORUMS
Remove All Ads from XDA

Keep Wifi (BT, GPRS and ActiveSync) connected in standby

53 posts
Thanks Meter: 0
 
By Funky B, Member on 14th August 2006, 04:21 AM
Thread Deleted Email Thread
Keep Wifi (Bluetooth, GPRS and ActiveSync) connected while phone is in standby.

I've had problems with my wizard finding my wifi network when I come out of standby and I use programs like RemoteAmp and would like to have a constant connection to my network so that when I come out of standby I dont have to wait to reconnect.

Warning!!!
This will also keep Bluetooth, GPRS and ActiveSync connected! You can always manually disconnect.


This will probably work on any WM5 device, but was tested on a WIZ100 running my edited 2.25.11.1 rom.

Using your favorite registry editor (Resco Registry) navigate to:

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Contro l\Power\State\Suspend\{98C5250D-C29A-4985-AE5F-AFE5367E5006}
-change (Default) DWORD Dec to 1

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Contro l\Power\State\Resuming\{98C5250D-C29A-4985-AE5F-AFE5367E5006}
-change (Default) DWORD Dec to 1

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Contro l\Power\State\Unattended\{98C5250D-C29A-4985-AE5F-AFE5367E5006}
-change (Default) DWORD Dec to 1

If you need to search for networks you won't be able to do so by putting the device in standby (quick press of the power button off and back on), instead turn the wifi on and off.

Power state 1 is a low power state, if you find it's not working that well try changing the value to 0. Power state 0 is a full power state.

Yes, your battery will drain faster. I'll report back on how much faster later.

Special thanks to Summiter and Faria for all their hard work, and to buzz_lightyear (buzzdev.net) for pointing me in the right direction!
 
 
14th August 2006, 06:57 PM |#2  
Member
Thanks Meter: 0
 
More
O man, was looking ages for this tweak.
It's working on my wizzard with the 2.26 ROM.

At last I can leave my HP H6340 at home that did the same without the tweak.
Only thing is that the H6340 WLAN module was turned on every 5 minutes to check for new mail by Active sync.

I will see how it will drain my battery this week.

Cheers,

Drifter
15th August 2006, 09:38 AM |#3  
Member
Thanks Meter: 0
 
More
Battery drain is huge.
Switched on the WLAN on 8:30 and at 10:30 the battery is on 71%
Think I’m going back to the old settings because it won’t last all day.
My Wizzard is getting somewhat warmer du to the batterydrain.

Funky B can you explain what these 1 to 4 setting do?
Standard it’s on 4 so it will shut down the WLAN hardware completely if you disable WLAN or when the device is in standby.

Cheers,

Drifter
16th August 2006, 06:10 AM |#4  
OP Member
Flag Santa Barbara
Thanks Meter: 0
 
More
In 8 hours my battery died with wifi on at all times (not necessarily connected) and bluetooth was off. With all connections off there was no noticable difference in battery drain. If you turn Wifi/BT/GPRS off when not in use you won't have any problems :wink:

buzz_lightyear wrote this description of the power states:
Quote:

Full on -> D0
State in which the device is on and running. It is receiving full power from the system and is delivering full functionality to the user.

Low on -> D1
State in which the device is fully functional at a lower power or performance state than D0. D1 is applicable when the device is being used, but where peak performance is unnecessary and power is at a premium.

Standby -> D2
State in which the device is partially powered with automatic wakeup on request. A device in state D2 is effectively standing by.

Sleep -> D3
State in which the device is partially powered with device-initiated wakeup if available. A device in state D3 is sleeping but capable of raising the System Power State on its own. It consumes only enough power to be able to do so; which must be less than or equal to the amount of power used in state D2.

Off -> D4
State in which the device has no power. A device in state D4 should not be consuming any significant power. Some peripheral busses require static terminations that intrinsically use non-zero power when a device is physically connected to the bus; a device on such a bus can still support D4.

-State 0 is full on and will always give power - works great
-State 1 is partial power when not active - best choice
-State 2 is standby and has some issues. The backlight on my device turns back on because a wake request has been issued, but the today screen doesn't load until a button is pressed. Omap overclock may cause some of the issues.
-State 3 will cause wifi to disconnect
-State 4 is off

IMO the battery drain is resonable for holding a wifi connection. It's more annoying to wait for a connection frequently than to worry about the battery. I don't need a constant connection to my home network for 8 hours at a time, but when I'm playing poker at home and want to use RemoteAmp to control my music for a couple of hours this is a perfect solution. As long as you turn off your connections when not in use you should be fine.
18th August 2006, 10:04 PM |#5  
Member
Thanks Meter: 0
 
More
Thanks Funky B for your reply,

It’s much clearer now.
I’m going to experiment with the D2 setting and see how that goes with my Wizzard.
I’ve got a TyTN since today and if it will do the same we will see.

Cheers,

Drifter
20th October 2006, 08:08 AM |#6  
Junior Member
Thanks Meter: 0
 
More
Doesn't Seem To Work
I tried setting the above registry values to 0, 1 and 2 and none of them seem to work. When I turn the Wizard to standby and then ping it, it seems to stop responding. Am I doing something wrong?
20th October 2006, 12:23 PM |#7  
trojan9x's Avatar
Senior Member
Thanks Meter: 12
 
More
Quote:
Originally Posted by muizmotani

I tried setting the above registry values to 0, 1 and 2 and none of them seem to work. When I turn the Wizard to standby and then ping it, it seems to stop responding. Am I doing something wrong?

Make sure you do a soft reset on your device in order to make the changes take affect (power off device with power button, then power back on is most efficient way).
20th October 2006, 07:00 PM |#8  
almozaffar's Avatar
Senior Member
Thanks Meter: 4
 
More
Well I have cingular 8125 and without these changing the battery will not last half a aday.
20th October 2006, 11:42 PM |#9  
Junior Member
Thanks Meter: 0
 
More
Quote:
Originally Posted by trojan9x

Make sure you do a soft reset on your device in order to make the changes take affect (power off device with power button, then power back on is most efficient way).

I did do a power-off/power-on sequence but this still does not seem to make a difference. Are you sure you don't mean that I should do a soft-reset by using the reset button by the IR port?
28th November 2006, 02:41 PM |#10  
Junior Member
Thanks Meter: 0
 
More
Question
Quote:
Originally Posted by Funky B

[b]
Using your favorite registry editor (Resco Registry) navigate to:

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Contro l\Power\State\Suspend\{98C5250D-C29A-4985-AE5F-AFE5367E5006}
-change (Default) DWORD Dec to 1

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Contro l\Power\State\Resuming\{98C5250D-C29A-4985-AE5F-AFE5367E5006}
-change (Default) DWORD Dec to 1

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Contro l\Power\State\Unattended\{98C5250D-C29A-4985-AE5F-AFE5367E5006}
-change (Default) DWORD Dec to 1

Hi I'm looking to solve the same problem on a number of devices. I've located these keys (or created them if they were not there) but to no avail.

I'm a little confused about "-change (Default) DWORD Dec to 1", since the 'nameless' key is a REG_SZ (null terminated string).

So do I need to add a key called "(Default)" with type DWORD or do I need to set the (Default) REG_SZ key to 1 (char value) or to 1 (DWORD value) but what about null termination in that case?

Could you shed some light on this?
7th January 2007, 07:06 PM |#11  
Senior Member
Thanks Meter: 1
 
More
i have changed them and it doesnt worked i wana get the last configuration but i have forgetten what its was can someone say me what are deafult values
Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes