Search code examples
windows-phonewifi

Nokia Lumia800 wifi with lock screen


Is it possible to use a background agent or a reminder to keep the wifi alive? Let's say i let a background agent open a connection to a server every minute or so. The wifi will shutdown after two minutes but then you reconnect.

Is this possible? or am I totally wrong?

This is a big problem for all Windows Phone users.


Solution

  • It's not possible with a background agent.

    Periodic agents typically run every 30 minutes. To optimize battery life, periodic agents may be run in alignment with other background processes and therefore the execution time may drift by up to 10 minutes.

    Resource-intensive agents typically run for 10 minutes. There are other constraints that may cause an agent to be terminated early

    http://msdn.microsoft.com/en-us/library/hh202942(v=vs.92).aspx

    And you can not turn on wifi without user intervention