GPRS auto disconnect for battery saving

Search This thread

marco.minetti

Senior Member
Jun 11, 2006
56
23
www.marcominetti.net
Hi Guys,
for everyone who wants to set GPRS auto disconnect timeout without using 3rd parties' software...

HKEY_LOCAL_MACHINE\Comm\ConnMgr\Planner\Settings\
SuspendResume = GPRS_bye_if_device_off
CacheTime = xxx (where xxx are seconds before auto disconnect, for me the best value is 60)

Bye.
 

mmkchan

Member
Jun 26, 2004
13
0
Marco, this is a very useful tip. But would you tell me where i can put the command lines??

Thx
Maggie
 

mmkchan

Member
Jun 26, 2004
13
0
marco, i have found the hkey_local_machine. Thx.

However, I cannot find the directory ConnMgr\Planner\Settings under \Comm

Please help.

I am using 2003SE, O2

Thx
 

mmkchan

Member
Jun 26, 2004
13
0
Marco, this is a very useful tip. But would you tell me where i can put the command lines??

Thx
Maggie
 

shlomki

Senior Member
Nov 6, 2006
423
0
Israel
ta-da!

great tip! i've been looking for this for a while.

so i decided i'll create a cab file, to use with my extended rom! :)

i've created two files: for 1 minute disconnect, and 5 minute disconnect.
here you go.
 

Attachments

  • GPRS_1_Minute_Auto_Disconnect.CAB
    1.5 KB · Views: 2,772
  • GPRS_5_Minute_Auto_Disconnect.CAB
    1.5 KB · Views: 1,375
Last edited:

CameoTabby

Member
May 11, 2007
32
2
Tinian
It works for me on WM6 too.

However, I am trying to integrate this to my own cooked ExtROM. I am new at the cooking process. So, I need someone's help to get this done.

Here is part of my oem.xml...

========================================================
<characteristic type="Registry">
<characteristic type="HKLM\Comm\ConnMgr\Planner\Settings">
<parm name="SuspendResume" value="GPRS_bye_if_device_off" datatype="????"/>
<parm name="CacheTime" value="60" datatype="integer"/>
</characteristic>
</characteristic>
========================================================

This is what I have so far. However, because REG_MULTI_SZ is one of the less used key type. I am having problem figure out what to put as the "datatype".

Can someone please help me on filling in the "????" part?:confused:

Thanks.
 
Last edited:

Ean66

Member
Nov 26, 2007
19
0
Jakarta
Cab file changes the registry but device still does not disconnect

Any suggestions? It is 60 seconds and not 60 minutes - right?
 

Ean66

Member
Nov 26, 2007
19
0
Jakarta
I have installed the cab file and the registry has changed, however the GPRS still does not turn off - any suggestions?
 

nmf69

Member
Feb 13, 2008
22
0
great tip! i've been looking for this for a while.

so i decided i'll create a cab file, to use with my extended rom! :)

i've created two files: for 1 minute disconnect, and 5 minute disconnect.
here you go.

shlomki,

what can i say? I have been looking for such an approach since I have got my new Touch Cruise (2 weeks now) and finally I found your cabs...many, many thanks!
keep up with the good work!!!!
 

hitman_36

Member
May 16, 2008
8
0
this doesnt work, any ideas? Registry has changed to:

CacheTime 0X3C (60)
CoeffBandwidth 0x10000 (65536)
CoeffCost 0x10000 (65536)
CoeffLatency 0x10000 (65536)
RetryCount 0x1 (1)
SuspendResume GPRS_bye_if_device_off
VPNCacheTime 0X3C (60)

Thanks
 
Jun 5, 2008
9
0
I was wondering... after changing this registry entry (the CacheTime one) what is the orginal value for this incase you ever wanted you ever wanted to change it back to default? I would have looked myself but I ran the .cab file before thinking to check the registry and see what it was... Thanks in advance!

I wanna say that it is set to "0" but I just wanted someone to confirm this for me before I tried to write a .cab file to get it back to default settings.
 
Last edited:

gutte

Senior Member
Sep 2, 2008
56
0
Warning!
These cabs work for "normal" sw running in Win Mobile, but it stops Java apps running under jebed.exe to connect and get data. A connection is established, but it is immediately closed down, re-opened - closed done, re-opened - closed down and it goes on like this. Had to uninstall.