Keeping the gprs connection alive with XDA asleep - Windows Mobile Software Development

Hi to all and thanks for the great tips on this forum. We've been doing a lot of pocketpc development but are new to XDAs.
As most of you would know the new ROM allows the XDA to keep it's connection alive - well, as alive as GPRS will allow it to whilst still letting the screen etc go to sleep.
Does anyone know exactly what it is doing when it goes to sleep as it seems to be doing more than just turning the screen off as we can't seem to turn it back on with the normal calls?
Cheers
ZigZag

Related

HTC TyTN Wi-Fi on with Screen off, Possible ?

Hello all i was just wondering if it is possible too keep the Wi-Fi Connected With the Screen off, so i can save battery Life, is this possible, cause i would love to keep my phone screen off and have the Wi-Fi still going, If anyone can help Would be amazing Thanx.
Paul
SPBOI420 said:
Hello all i was just wondering if it is possible too keep the Wi-Fi Connected With the Screen off, so i can save battery Life, is this possible, cause i would love to keep my phone screen off and have the Wi-Fi still going, If anyone can help Would be amazing Thanx.
Paul
Click to expand...
Click to collapse
You can try with schaps advance config, but with the driver that we have the answer would be no. YOu will find that the device freeze when it wakes up.Try it. And please don't ask where you get 'advance config from' as it is all over this forum do a little search

wifi power saving policy

I want my desire's wifi goes to sleep when i lock the screen; therefore i set the option to "after 15 minutes". However, when i woke up several times during last night >.< to find that every time when i turn the screen on, i could see the wifi was still on. what should i do? thanks
WiFi
Try installing Juice Defender from the Market. Works for me.
have the wifi and 3g on off buttons as widgets on one of the home screens, and turn them off easily when not needed, like sleeping, takes a few seconds to reconnect, saves alot of battery for me
Try installing Juice Defender from the Market. Works for me.
Click to expand...
Click to collapse
thanks for the alternative. I wish the generic option can work as it is supposed to
Sent from my HTC Desire using the XDA mobile application powered by Tapatalk
have the wifi and 3g on off buttons as widgets on one of the home screens, and turn them off easily when not needed, like sleeping, takes a few seconds to reconnect, saves alot of battery for me
Click to expand...
Click to collapse
thank you for this. just curious, if we have to use widget to control the connection, what is the policy designed for? do I misunderstand the purpose of that or it IS not functioning rightly?
Sent from my HTC Desire using the XDA mobile application powered by Tapatalk
the policys are for automated controls, so its meant to turn off after 15 mins or whatever, i keep it as a widget so i can turn them on and off manually as i generally have the wifi or 3g on all the time for gtalk etc
i turn the 3g off when going under ground, sleeping or in a meeting where i wnt be needed it. its easier to do manually then wait for the automated to kick in in my oppinion
TurkzZ said:
the policys are for automated controls, so its meant to turn off after 15 mins or whatever, i keep it as a widget so i can turn them on and off manually as i generally have the wifi or 3g on all the time for gtalk etc
i turn the 3g off when going under ground, sleeping or in a meeting where i wnt be needed it. its easier to do manually then wait for the automated to kick in in my oppinion
Click to expand...
Click to collapse
i do want it automatically turn off the wifi for me. i think my problem is that even i set it to "after 15 mins", the wifi is still on even after 20 or 30 mins after i turn off the screen.
Usually it will stay off until you awaken the screen (phone) by which time it will try to re-enable itself for your convenience.
Sent from my HTC Desire using the XDA mobile application powered by Tapatalk
i tried the setting in Nexus as well. In Nexus, it is not "after 15 mins", but "when screen turns off". unfortunately, even you check the wifi status after you turn off the screen 10 mins later, the wifi is still on.. totally no idea how that is supposed to work..
How are you checking whether the WiFi is on? By waking it up again, or seeing whether it is connected to your router?
TurkzZ said:
have the wifi and 3g on off buttons as widgets on one of the home screens, and turn them off easily when not needed, like sleeping, takes a few seconds to reconnect, saves alot of battery for me
Click to expand...
Click to collapse
Yes that works for me to, just a simple quick press on or off and no worries about it using battery life when you dont want it to.

Tasker - Profiles

Hey everyone
Does anyone here use tasker or have any recommended profiles to help save battery life?
Sent from my GT-I9100 using XDA Premium App
Try Juice Defender with 3g control enabled.
I have mine set to enable every 30mins with good results..
With LOTS of syncing enabled, i get roughly 1% an hour decrease whilst on standby!! Unplugged at 1am on 89% when i went to bed, at 9am when i got up it was at 81%...
Hope this helps!
Dickie
Check WIKI on Tasker site,data profiles created by "brandall" from XDA
Tasker data profiles are better than Juice Defender
JuiceDefender has some annoying bugs in it at the moment (some like issues it has with lockscreen/display timeout) have been around for 4months+ and they still haven't sorted them out) so I've switched to Green Power which seems to do the job very well. Simple and no fuss.
Hi. Anyone here good at creating profiles?
I would like some help. If i want a profile that:
IF screen has been locked for 1 minute, i want WiFi to shut down.
And when i unlock the phone again, i want it to turn on.
But - i don't just want a "toggle wifi by hitting powerbutton"-function,
I only want this to apply if i had wifi on in the first place.
The reason i want this profile is:
If i forget to charge the phone at night, and have wifi going, i have 20% less battery when i wake up. Or if im at a friends house, connected to a wifi... well, same here. If it just lays in my pocket connected to X, i want it to shut down when screen is off. Saves alot of juice.
mrBira said:
Hi. Anyone here good at creating profiles?
I would like some help. If i want a profile that:
IF screen has been locked for 1 minute, i want WiFi to shut down.
And when i unlock the phone again, i want it to turn on.
But - i don't just want a "toggle wifi by hitting powerbutton"-function,
I only want this to apply if i had wifi on in the first place.
The reason i want this profile is:
If i forget to charge the phone at night, and have wifi going, i have 20% less battery when i wake up. Or if im at a friends house, connected to a wifi... well, same here. If it just lays in my pocket connected to X, i want it to shut down when screen is off. Saves alot of juice.
Click to expand...
Click to collapse
why dont you use tasker for that,
you can do almost anything with that app.
Creating profiles in tasker isn't a huge difficult task, its easy, Just use trial n error to see if it works.
rudolf895 said:
why dont you use tasker for that,
you can do almost anything with that app.
Creating profiles in tasker isn't a huge difficult task, its easy, Just use trial n error to see if it works.
Click to expand...
Click to collapse
That's what i'm using, and I'm asking for help to create that profile =)
mrBira said:
Hi. Anyone here good at creating profiles?
I would like some help. If i want a profile that:
IF screen has been locked for 1 minute, i want WiFi to shut down.
And when i unlock the phone again, i want it to turn on.
But - i don't just want a "toggle wifi by hitting powerbutton"-function,
I only want this to apply if i had wifi on in the first place.
The reason i want this profile is:
If i forget to charge the phone at night, and have wifi going, i have 20% less battery when i wake up. Or if im at a friends house, connected to a wifi... well, same here. If it just lays in my pocket connected to X, i want it to shut down when screen is off. Saves alot of juice.
Click to expand...
Click to collapse
Why don't just use the stock android checkbox in settings that's there for that? o_ô
Go to settings/network and wifi/wifi settings/hit the menu button and tap advanced parameters/wifi sleep politic/check "when screen goes off".
It does exactly what you described...
reggaemanu said:
Why don't just use the stock android checkbox in settings that's there for that? o_ô
Go to settings/network and wifi/wifi settings/hit the menu button and tap advanced parameters/wifi sleep politic/check "when screen goes off".
It does exactly what you described...
Click to expand...
Click to collapse
Okay, i'll try to find a way on my own..
The reason i don't use androids built-in thing for that is because it drains battery for some strange reason.
One of maaaany sources: Here
mrBira said:
Okay, i'll try to find a way on my own..
The reason i don't use androids built-in thing for that is because it drains battery for some strange reason.
One of maaaany sources: Here
Click to expand...
Click to collapse
Well mine is working fine, no draining at all (wifi on 24h24 with this option checked and my phone drain only 1% every 5 or 6h if the screen is off). The thing is that it shut off the wifi only if no app needs it, so my bet is that those who have a battery drain just have some apps that don't let the phone going in deep sleep.
mrBira said:
Hi. Anyone here good at creating profiles?
I would like some help. If i want a profile that:
IF screen has been locked for 1 minute, i want WiFi to shut down.
And when i unlock the phone again, i want it to turn on.
But - i don't just want a "toggle wifi by hitting powerbutton"-function,
I only want this to apply if i had wifi on in the first place.
The reason i want this profile is:
If i forget to charge the phone at night, and have wifi going, i have 20% less battery when i wake up. Or if im at a friends house, connected to a wifi... well, same here. If it just lays in my pocket connected to X, i want it to shut down when screen is off. Saves alot of juice.
Click to expand...
Click to collapse
Hi, if you try LLAMA app instead I could talk you through it (as your not getting an answer you want).
As far as I can tell, LLAMA can do everything that tasker and locale can do but its free. It's also very good on your battery and can use cell towers instead of gps for location.
Sent from my GT-I9100 using Tapatalk
Not sure if I'm in the right place, new to smartphones. Got myself a Galaxy S2 and rooted it. Main point,
I'm using Tasker and I'm trying to have it set so that it's in Airplane Mode when I have an Alarm set so I get no calls/texts during my slumber.
So far, best thing I've done is the phone goes to Airplane Mode between 00:00 and 0600 everyday as well as when light levels are between 0 and 28 - not sure if the light levels are like, set too low.
So far I love Tasker but very little support online and Tasker Wiki doesn't really help. Trying my best with the trial and error method.
Thanks
mrBira said:
That's what i'm using, and I'm asking for help to create that profile =)
Click to expand...
Click to collapse
I will make u one and upload it when i get home (in about an hour).
Edit: Profile uploaded
Sent from my GT-I9100 using XDA App
Grevane said:
JuiceDefender has some annoying bugs in it at the moment (some like issues it has with lockscreen/display timeout) have been around for 4months+ and they still haven't sorted them out) so I've switched to Green Power which seems to do the job very well. Simple and no fuss.
Click to expand...
Click to collapse
Good shout on Green Power. I've had some issues with Juice Defender Ultimate lately and Green Power seems to do more or less the same without the issues.
£1.50 well spent - cheers for the tip
Guitarfreak26 said:
Hey everyone
Does anyone here use tasker or have any recommended profiles to help save battery life?
Sent from my GT-I9100 using XDA Premium App
Click to expand...
Click to collapse
hi,
i'm using "setting profiles".
in the market you have a free and a payment app.
the developers answer the emails at decent speed...

How to disable sleep mode ???

Under display and gestures option I have sleep set at never turn off and Stay Awake is checked also , under developer options I have stay awake checked. Under wifi I have high performance mode and keep Wifi on during sleep chosen. And still this POS keeps going to sleep. Does anybody have a solution for this ? thanks
Why would anyone want the phone to stay awake and drain the battery?
Stay awake is only for when charging. If you have the display Timeout set to never and it is still turning off you have problems.
Sent from my Galaxy Nexus using xda premium
There's an app by runks on the play store called stay awake. It'll do what you ask.
I leave my display on with a recipe up so I don't have to keep unlocking it with floury hands
Sent from my Xperia Play using XDA (HOX RMA'd)
just answer or don't post
DARKKRAKEN said:
Why would anyone want the phone to stay awake and drain the battery?
Click to expand...
Click to collapse
What do you care why they want to do this? If you don't have helpful information don't post! Geeesh, I'm sick of wasting my time reading these types of posts on forums, it just makes finding answers difficult and time consuming.

[Q] Push notifications on data mobile network

Hi guys, I hope some of you are experiencing the same issue and can help me to figure this out. Here it is what is happening.
My WiFi in advanced settings is set up to be always on only when plugged in. So the phone goes to deep sleep, turns off the WiFi and turns on 3G data on network. The problem is after that the phone doesn't pull off messages and push notifications (Gmail, WhatsUp etc) and when I wake up the phone and he connect to WiFi
he is pulling the messages. And that is happening only if I am in range of remembered WiFi network. If I am not in range on some saved WiFi network the 3G data pulling works as it should (pulling the messages as they arrives).
I tried to put the phone in Normal Mode under Power manager but nothing is changing.
So any of you guys noticed something like this?
deep sleep
Same issue...wifi or only 3g either.:crying: no idea and i hate it... i turn off the screen and after 15 min it goes to deep sleep and no notifications but just...once or twice a day....strange. i checked every energy management option but ...dunno.
/sry for bad english/
marilllyo said:
Same issue...wifi or only 3g either.:crying: no idea and i hate it... i turn off the screen and after 15 min it goes to deep sleep and no notifications but just...once or twice a day....strange. i checked every energy management option but ...dunno.
/sry for bad english/
Click to expand...
Click to collapse
update to B125 firmware. Check index thread for download links.
goce.nakov said:
Hi guys, I hope some of you are experiencing the same issue and can help me to figure this out. Here it is what is happening.
My WiFi in advanced settings is set up to be always on only when plugged in. So the phone goes to deep sleep, turns off the WiFi and turns on 3G data on network. The problem is after that the phone doesn't pull off messages and push notifications (Gmail, WhatsUp etc) and when I wake up the phone and he connect to WiFi
he is pulling the messages. And that is happening only if I am in range of remembered WiFi network. If I am not in range on some saved WiFi network the 3G data pulling works as it should (pulling the messages as they arrives).
I tried to put the phone in Normal Mode under Power manager but nothing is changing.
So any of you guys noticed something like this?
Click to expand...
Click to collapse
marilllyo said:
Same issue...wifi or only 3g either.:crying: no idea and i hate it... i turn off the screen and after 15 min it goes to deep sleep and no notifications but just...once or twice a day....strange. i checked every energy management option but ...dunno.
/sry for bad english/
Click to expand...
Click to collapse
warea said:
update to B125 firmware. Check index thread for download links.
Click to expand...
Click to collapse
This happened to me last night, I'm on B512 and it hadn't happened before. Did you ever fix this, @goce.nakov, @marilllyo?
Is this supposed to happen in deep sleep? Unlike your case, my Wi-Fi was off and I always have a good data connection, but I only got the notification when I turned the sreen on, about an hour after the notification were supposed to get to my phone.

Categories

Resources