PDA

View Full Version : Turn on wifi to check email while in standby


laser21
1st September 2008, 07:40 PM
Hi, basically I would like to recieve email based on a time schedule (10-15 minutes)while Im on a wifi network. To achieve that, I used some wifi tweaks...

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Contro l\Power\State\Suspend\{98C5250D-C29A-4985-AE5F-AFE5367E5006}]
@=dword:00000001


[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Contro l\Power\State\Unattended\{98C5250D-C29A-4985-AE5F-AFE5367E5006}]
@=dword:00000001

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Contro l\Power\State\Resuming\{98C5250D-C29A-4985-AE5F-AFE5367E5006}]
@=dword:00000001

but they just set wifi not to turn off. So the battery drain is huge.

A perfect solution would be connecting to the wifi every 10 to 15 minutes for a few seconds, to check email, and then turn wifi off.

Any help is appreciated! :)

tyguy
2nd September 2008, 03:44 AM
If you poll outlook mail try asynckiller.
http://forum.xda-developers.com/showthread.php?p=2136914

laser21
2nd September 2008, 04:01 PM
If you poll outlook mail try asynckiller.
http://forum.xda-developers.com/showthread.php?p=2136914

Im sorry, but I think you missed my point. Its a gmail account through IMAP.

Thanks anyway

stealth1
4th September 2008, 01:27 PM
Hi, basically I would like to recieve email based on a time schedule (10-15 minutes)while Im on a wifi network. To achieve that, I used some wifi tweaks...

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Contro l\Power\State\Suspend\{98C5250D-C29A-4985-AE5F-AFE5367E5006}]
@=dword:00000001


[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Contro l\Power\State\Unattended\{98C5250D-C29A-4985-AE5F-AFE5367E5006}]
@=dword:00000001

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Contro l\Power\State\Resuming\{98C5250D-C29A-4985-AE5F-AFE5367E5006}]
@=dword:00000001

but they just set wifi not to turn off. So the battery drain is huge.

A perfect solution would be connecting to the wifi every 10 to 15 minutes for a few seconds, to check email, and then turn wifi off.

Any help is appreciated! :)

I've created a Script (Mortscript) to power on WiFi with WiFi profiler [1] and check whether there is a WiFi accesspoint available, if not enable GRPS/UMTS/HSDPA to synchronize email.
After that the script closes the Connections and turns off WiFi and finally reschedules the next synchronisation time

The only problem is that Mortscripts do not run in unattended mode[2]. So I need to find a solution for this remaining issue.

Alternative: perhaps someone here is able to convert the Mortscript to a little program, and includes the calls to put the device in unattended mode and exit from unattended mode at the end [3]


[1] http://forum.xda-developers.com/showthread.php?t=355936
[2] http://www.sto-helit.de/forum/viewtopic.php?f=12&t=5270
[3] http://blogs.msdn.com/windowsmobile/archive/2004/11/29/271991.aspx

laser21
4th September 2008, 01:49 PM
that would be awesome! Thanks

stealth1
4th September 2008, 02:00 PM
that would be awesome! Thanks

I agree, this is one of the features I do miss the most in WM (Smart Power management of the WiFi radio)

have you tried to reduce battery drain during suspend? During this state (suspend) nothing will happen on any connection, so WiFi can be powered off.

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Contro l\Power\State\Suspend\{98C5250D-C29A-4985-AE5F-AFE5367E5006}]
@=dword:00000004

Let hope someone will help us to get the script running during Unattended mode....

madmack
26th May 2009, 02:32 PM
i'm bumping this in the hopes that someone found out a solution to this problem. Data plans are very expensive where I live now and i would like the phone to check for a wifi connection every 10 to 15 minutes even on standby (suspend) mode to check emails and disconnect after that.

Would really appreciate it if someone has any idea.

laser21
26th May 2009, 08:12 PM
Hi, well, there is a solution, ct scheduler lite http://www.connectivetools.com/download.php?name=ctslite_ppc . install the attached WLAN switch, add the shortcut into the scheduler then after 10minutes again....it does not recognise if its turning wlan on or off...

After you turn wlan on, the device wakes up, so if you have mortscript you can add the attached scripts also to the scheduler.

good luck!