Keep ON wireless in standby mode - P3300, MDA Compact III ROM Development

Do you know if it's possible avoid turn-off wireless in stand-by???
I'd like to use VoIP with my Artemis (with hand-free and wireless connection), but it's impossible becouse after 1 minute (my pda is set to turn-off after 1 minute) the phone goes in stand-by mode and plugs off the wireless antenna.
Can I set "Always on" to wireless connection???

as yet i failed to accomplish this. all i can do so far is turn off the monitor to save a bit power. not the same as standby mode at all though.

I've got this tweak from somewhere, I'm not sure (maybe wiki page):
"AUTO DISCONNECT WHEN GPRS IDLE
you can edit the registry key ...
HKey_Local_Machine/Comm/ConnMgr/Planner/Settings/CacheTime
Change from 600 to 60
it will disconnect after connection is idle for 60 seconds ...
There's also another key needed to be set. Otherwise, my PDA still has always on 3G data connection.
HKey_Local_Machine/Comm/ConnMgr/Planner/Settings/SuspendResume
Change from ~GPRS! - Always on
to GPRS_bye_if_device_off - switch off after timeout"
It may help if you make the changes THE OTHER WAY ROUND. For you the desired value in 'HKey_Local_Machine/Comm/ConnMgr/Planner/Settings/SuspendResume' is '~GPRS!' And the cache time value should be set to '0' (as infinite), if it doesn't work, set to a high value (i.e. 3600 - it means 1 hour).
I'm not sure it helps but it's worth to give it a try...

i guess he was talking about WLAN connection, not gprs or 3G. however, i might be wrong.

soardiac said:
i guess he was talking about WLAN connection, not gprs or 3G. however, i might be wrong.
Click to expand...
Click to collapse
You are right, sorry. I've just misunderstood the problem, paying not enough attention to the first post...

So the only way is disable auto sandby and swith-off screen?
I thought a way to solve this situation could be keeping active OS during VoIP connection, just to avoid standby...

Its not enabled for a very good reason, it consumes so much power your device would last just a few hours before running out of power.

dannyoneill said:
Its not enabled for a very good reason, it consumes so much power your device would last just a few hours before running out of power.
Click to expand...
Click to collapse
that is true. however, they could still give us the option
i think the real "problem" is that WLAN needs the OS running to work. the GSM unit is working differently.

Using S2U is a solution for me
Using S2U2 is the only solution for me.

vlad48 said:
Using S2U2 is the only solution for me.
Click to expand...
Click to collapse
It seems to be what I want, an application that avoid standby mode but preserve battery (setting lcd off, various device option off...)
I'll try it!
Thanks

Skype
I am not sure if this is still relevant, but in skype i think to have seen an option that says: "disable stand by mode when connected to Wlan" or something like that...
however of course the "batteryproblem" will still be there...
Please post your experiences with S2U2 once made, thanks!

Don't mean to "thread jack" but how can I tell the difference between the screen just being off and the phone being in standby mode?
I'm asking because I'm having a problem with my phone when I turn on Flight mode. Usually I turn on flight mode at night or in a meeting but I'm finding that the battery is still draining (rather quickly too) when I'm in flight mode and the device is off all night. If I'm at 40% batt level at 11:00pm and put the phone in Flight mode, by the morning about 6:30am, the battery is down to like 5%! And there are no programs running at all, screen is off, device is untouched all night. So when I saw this thread, I started to wonder if the phone was in really in standby or if the screen was just off.

Is S2U2 the option to keep the WLAN enabled when in standby mode?
I know i can disable going in to standby but would be nice if it can be done without this.
The power drain is most peoples concern but if i'm at work i have it plugged into the power anyway but would like to use one of the WLAN's here that isn't being monitored

Related

WiFi on while in sleep mode

Is there an option/reg edit to enable WiFi in such a way that it is always on? I know that this drains the battery, but I was just wondering if I could let my PDA be online through WiFi while it is in sleep mode.
Cheers, E
I'm not sure but seem for me last week that the wifi was still on with my pda "powered" off BUT was connect to power supply ...
Any solutions
I wanted my wifi to stay on as well during sleep mode. Is this possible? I wanted it on for my VoIP.
my wifi turns off when switching to standby an when i reactivate the phone from standby it turns on again.
what i am doing is to turn of automatic standby switching to let wifi on. only thing is, that the battery runs dry very fast
any other ideas?
Lees said:
Is there an option/reg edit to enable WiFi in such a way that it is always on? I know that this drains the battery, but I was just wondering if I could let my PDA be online through WiFi while it is in sleep mode.
Cheers, E
Click to expand...
Click to collapse
PDA can not keep the Wi-Fi card on while sleeping. I have done lot of re-research in that area trying to switch on the wifi while in Sleep mode (building my first app rk-OSR). Technically while at ‘Sleep’ device is in ‘coma’ like state consuming very less power. Most of the applications which work in Sleep are not actually in sleep mode but in ‘Unattended’ mode. But it is not easy to get to unattended mode just by reg entries.
Since it would drain the battery so fast even if you manage the impossible, I would assume you would have to connect power cable and find a way to turn off the screen while connected to your wifi access point, may be the only option for you
Thanks dude. Guess I'll just have to use a VOIP phone at home, seams a bit handier then my PDA

WM6 dropping USB when put in sleep mode

I have upgraded to WM6 using the AT&T official release. WM5 used to maintain my ActiveSync connection when I turned the screen off (by momentarily depressing the power button - sleep mode). Now WM6 drops the USB connection. I performed a hard reset - no change. I reinstalled WM6 - no change.
It appears that for applications, the 'sleep mode' is acting more like a power-down mode (just doesn't reboot when you power up again).
>>>Follow-up - I tested the bluetooth connectivity and it appears to stay up during sleep mode. So it looks like just USB is affected when going to sleep.
>>>Follow-up #2 - Media Player continues to play (and the speaker is active) when in sleep.
This is normal behavior. Have you experienced otherwise in the past?
Probably normal as when its plugged in via usb its powered and doesn't need to go into sleep mode.
Did you guys not even read his original post at all? He had it working with WM5 and now it's not. Which would mean it is NOT normal. Not to mention you can still use sleep mode while having it plugged into a USB port so I don't know why the last poster would say it doesn't need sleep mode. Of course it doesn't need sleep mode. It's being charged. That doesnt mean he wouldnt still want the screen to turn off while it's plugged in. I charge my phone right next to my bed if I had that damn bright screen on while I tried to sleep I'd go crazy. Point being neither of those posts were worth a damn. sheesh.
Edit: For the record mine disconnects activesync when in sleep mode as well. I don't remember if it did so in WM5 or not but I'm pretty sure it did cause I recall being a bit surprised when it disconnected when I hit the power button. Now we just need some real help with real answers.
surrept said:
Point being neither of those posts were worth a damn. sheesh.
Click to expand...
Click to collapse
And your post really helped to solve this "problem", didn't it.
I'm sure he just didn't want a program to turn his screen off, as anybody with half a brain could find a freeware cab to do that. How about searching google for screen off pocket pc freeware
Call down surret... calm down. No need to take it so personal.
Just because it works in WM5 does not mean it will act the same in WM6. I was not giving a definite answer about sleep mode but maybe an idea as to why.
When I plug my phone into the wall it still charges fine in sleep mode. When I plug my phone into my computer it charges in sleep mode but the usb does not stay connected. I was suggesting that since sleep mode is to save the battery life that when your connected the battery is not being used and hence not really required. Also in sleep mode in order to save battery it needs to turn off as much as possible. It looks like the USB connection is one of them.
There are other options like a screen toggle as per the post above and there is also a setting that you can use to turn off the backlite when the device is plugged in and not put it into sleep mode. I think thats in the power saver settings somewhere.
I do not know of a registry hack or anything to make it work the way you want but I am letting you know that it seems like thats the way it works on WM6.
Thanks to all who responded. I'm relieved to learn that this is normal for WM6.
Since WM5 allowed me to sleep while charging/syncing and WM6 didn't, I was afraid that my 8525 was developing problems.
I will simply have to change my behavior to accomodate WM6. After all, if all WM6 did was add support for SDHC cards, it would justify the inconvienence.
One thing to note too that I noticed...
Even though its in sleep mode and not connected (even though its plugged in) I notice my phone still wakes up and does a sync every now and then. Might want to check that. Maybe it still sync's ona timed interval but doesn't stay connected.
Knockz said:
One thing to note too that I noticed...
Even though its in sleep mode and not connected (even though its plugged in) I notice my phone still wakes up and does a sync every now and then. Might want to check that. Maybe it still sync's ona timed interval but doesn't stay connected.
Click to expand...
Click to collapse
That was one of the annoying things - when put to sleep when it is in the cradle, the 8525 would wake up after a short period, reconnect, and resync.
So even when you put it to sleep it wouldn't stay asleep (if connected to a powered on PC). If the PC is powered off the 8525 stays asleep until you manually wake it up or a event occurs (incomming call, reminder, scheduled backup, etc).

Wifi Setting switching itself off?

Hey,
I've noticed my wifi keeps getting set to "off" seemingly at random. It works fine when it's on, however a few times a day, I'd find that the wifi switched itself off (even while in range of a working wifi signal, say even if left at home on a table all day) and I'd have to reenable it via the communications settings screen.
It's somewhat annoying and chews up my mobile internet when I don't noticed wifi's off.
Anyone else have a fix/noticed this?
Thanks !
It usually goes off when the device enters standby. Have a look into this thread for how to keep it on in standby mode. Beware that this might eat your battery http://forum.xda-developers.com/showthread.php?t=524490
Kork said:
It usually goes off when the device enters standby. Have a look into this thread for how to keep it on in standby mode. Beware that this might eat your battery http://forum.xda-developers.com/showthread.php?t=524490
Click to expand...
Click to collapse
Ah I read that but I think you misunderstand what I meant, I know it goes off during standby, however when it comes out of standby, WiFi should automatically renable itself, which it does - sometimes.
I believe I figured out what the problem is, whenever I plug the TP2 into my PC, it uses my PC's net connection(?) and disables WiFi. When I remove the phone form the PC, it doesnt restart Wifi.
Any fix on that?

Battery Savings - WiFi Sleep Policy

Edit: Use at your own risk, it worked for me but people seem to be saying it's not true.
I figured I would share this tip because it worked so well for me. When I first got the Nexus and connected it to my WiFi, the battery was draining at an absurd rate, even at idle. I want to use WiFi because we don't have LTE out here, so turning it on and off was a pain. Then I remembered the Sleep Policy, and there it was set to keep the WiFi on, even during sleep. I'm assuming Verizon did this to help reduce congestion on their network and save them money. After changing this to "only when plugged in" my battery graph at idle flatlined.
Hopefully it will help someone else!
Steps:
1. Settings
2. Wifi
3. Menu -> Advanced
4. Keep WiFi on during sleep
5. Pick an option best for you. I chose Only when plugged in.
From what I have read, keep wifi on during sleep was always the most power efficient. Maybe you have a weak wifi signal?
I'd like to hear what other people have to say on this one.
That's definitely interesting to hear. I'm usually one floor away from my wireless-N router which yields 3 or 4 out of 4 bars consistently. I guess I'll have to see if this works for anyone else then.
This is wrong.
You should set it to Always.
http://www.androidcentral.com/android-101-save-battery-keeping-wifi-alive
Because initiating wifi connection every time you turn on your phone will consume more power.
compywiz said:
I figured I would share this tip because it worked so well for me. When I first got the Nexus and connected it to my WiFi, the battery was draining at an absurd rate, even at idle. I want to use WiFi because we don't have LTE out here, so turning it on and off was a pain. Then I remembered the Sleep Policy, and there it was set to keep the WiFi on, even during sleep. I'm assuming Verizon did this to help reduce congestion on their network and save them money. After changing this to "only when plugged in" my battery graph at idle flatlined.
Hopefully it will help someone else!
Steps:
1. Settings
2. Wifi
3. Menu -> Advanced
4. Keep WiFi on during sleep
5. Pick an option best for you. I chose Only when plugged in.
Click to expand...
Click to collapse
Well it significantly reduced my idle battery use (like at night), so I'll put a warning at the top but I'll keep mine the same.
I guess you haven't turned on the mobile data cause if you do, then this consumes more power than wifi for sure.
Sent from my Galaxy Nexus
Generally, radio management on the Nexus sucks. I want a setting where if it's in standby, ALL RADIOS ARE OFF except for base phone and text messaging. So this helps a little.
Sure, it uses more power initially to turn whatever on, but no where near as much if you don't use your phone for hours, and don't constantly need to be in sync with everything (like when you're at a computer all day, and you can check your gmail, yahoo mail, have gchat and skype and whatever).
I'd even like a setting policy which only turns on data or wifi when you have an app open that uses them.
I may be using my "phone" (my wife said about her Stratosphere, "I forgot I could use this thing as a phone") differently than most people with smartphones. I need it to be my computer and social device when I'm away from a computer, and only when I take it out of my pocket and turn it on.
Wifi set to always on, while at home. Slept for 9 hours, went down from 100% to 94%
andy2na said:
Wifi set to always on, while at home. Slept for 9 hours, went down from 100% to 94%
Click to expand...
Click to collapse
Same here, with WLAN on my Nexus Prime drops about 6% over night.
Interestingly I just lost about 10% in 2 hours with the phone in stand-by but then I remembered I had to change my IP ~7 times in this time frame which likely caused a lot of WLAN activity and used up quite some energy.

wifi goes sleep even setting policy to "Always On"

I have set the Wifi policy to "Always on".
Many times (but not every time) when my One X goes into sleep mode, all data connections don't work. I notice it because I feel so strange there is no notification from Whatsapp and Line as usual. So, I press the power button and see no data connection at all. After a few second, 3G data connection appears but no wifi. Wifi then replaces 3G a few second later.
It usually happens and I feel so annoyed as I lost communication with my colleagues when One X is sleeping.
Is there somewhere in "Setting" that can override the "Always on" in Wifi policy? If I miss it, please let me know.
I feel very disappionted with my One X as it contains a lot of bugs.
jackie_jerk said:
I have set the Wifi policy to "Always on".
Many times (but not every time) when my One X goes into sleep mode, all data connections don't work. I notice it because I feel so strange there is no notification from Whatsapp and Line as usual. So, I press the power button and see no data connection at all. After a few second, 3G data connection appears but no wifi. Wifi then replaces 3G a few second later.
It usually happens and I feel so annoyed as I lost communication with my colleagues when One X is sleeping.
Is there somewhere in "Setting" that can override the "Always on" in Wifi policy? If I miss it, please let me know.
I feel very disappionted with my One X as it contains a lot of bugs.
Click to expand...
Click to collapse
It's happening to me too, it's very frustrating because when turned on it show as connected while it's false.. and i'm unable to browse/etc without re enabling wifi manually.
Same issue on the One S. This is most likely a driver related problem or something. I think the next firmware update should fix this, but if anyone of you can provide a hotfix or something I wouldn't be sad
Getting the exact same problem.
I have not noticed this so far.
same problem with wifi....and in the nights my Data also gets switched off after sometime of inactivity...couldnt find any setting related to that....do any of you know any hidden setting for it?
Yeah it happening to me as well. It could be kernel related.
Same Here
Mine is opposite, I want it to sleep on screen off but it keeps reverting to always on. Quite frustrating as it is the major cause of my battery loss
Sent from my HTC One X using XDA
Mine uses less battery with wifi on then normal 3g/4g
vallandil said:
Mine uses less battery with wifi on then normal 3g/4g
Click to expand...
Click to collapse
yeah same here, i've tested both over night and less battery used on wi-fi than 3g
I cant connect to my home wifi, it show connected then disconnect immediate
it no usaable now in my house
I just noticed this, too. Really annoying when you suddenly stop getting any notifications for E-Mails etc.
This is also not fixed in 1.28 :/.
I seem to only have this during the night hours, though. Like there is some sort of "Quiet Hours"-function but they forgot to put it in the settings >_<
I think this is the special Sleep Mode kicking in, and the WiFi Always-On is overridden by it.
When I turn the screen off, I can still ping my One X over the network. However, after some time (maybe 5-10 mins) it no longer responds and has dropped its WiFi connection.
The Always-On WiFi option has only ever applied to when the screen is off. The sleep mode thing is new and not related to android itself - an HTC hardware thing by the look of it.
Maybe it's fixable in the driver software, but I believe the "WiFi always on" function is behaving correctly - it's the new sleep state that is breaking it.
I could be wrong, but that's what it looks like.
If someone has the time, try setting up a PC to continuously ping the One X and see if it keeps it from going in to sleep mode.
Dave Trouser said:
I think this is the special Sleep Mode kicking in, and the WiFi Always-On is overridden by it.
When I turn the screen off, I can still ping my One X over the network. However, after some time (maybe 5-10 mins) it no longer responds and has dropped its WiFi connection.
The Always-On WiFi option has only ever applied to when the screen is off. The sleep mode thing is new and not related to android itself - an HTC hardware thing by the look of it.
Maybe it's fixable in the driver software, but I believe the "WiFi always on" function is behaving correctly - it's the new sleep state that is breaking it.
I could be wrong, but that's what it looks like.
If someone has the time, try setting up a PC to continuously ping the One X and see if it keeps it from going in to sleep mode.
Click to expand...
Click to collapse
Hello Dave,
Your analysis is quite impressive,
I also started dealing with this from "Special Sleep Mode" perspective.
I have got the FOTA, find data in my signature, and still suffering from the same issue.
To summarize my findings let me brief it:
When I first got the update, the problem seemed to be solved
I kept connected to my home WiFi router for several hours and got notifications from Whatsapp and Twitter
I thought the problem was solved and the bug was fixed, as I kept seeing my OneX on the WiFi Client on my router's managing interface on my PC
I shut down my phone, WiFi was on, and turn it back on
WiFi kicked in and connected with no problems,
An hour after, I sensed something wasn't good, notifications were silenced
I unlocked my phone and checked the status bar to find there were no DATA connections at all, nothing, no WIFi no Mobile Data, the usual bug
Now I started to think,
I Have got this problem after a full shut down, and at a battery below 15%
One thing to add,
I turned my phone off with WiFi enabled and when turned it on WiFi kicked in.
Now I am monitoring on the following basis.
I clicked all WiFi hot spots previously saved on my OneX and chose to "FORGET"
Connected to my preferred hotspot
Monitoring the WIFI, with battery over 15%, seems to be very healthy, more than an hour on sleep mode, and WiFi is on, uninterrupted and VERY CONNECTED
I will keep monitoring the behaviour till battery fall under 15% and will report back
I'll make sure to turn off WiFi before shutting down my phone if I have to, this is to eleminate the other variable and keep concentarting on one variable "Battery percentage"
A point to add:
On my previous Gingerbread SensationXE, there was an option on Settings> Battery to control phone's behavior and stop background sync and other activities when battery fall below a pre-defined percentage.
Default was 15%
I can't find this option on my One X, IceCream Sandwich
That's why I started to analyse the problem from the perspective of "Special Sleep Mode - Below 15%" bahaviour.
I will report back as soon as I have results.
Thank you
Update:
Started to experience same issue when battery falls below 50%.
All DATA gone down, no WiFI and no Mobile Data.
Charged my phone to 73%, "Forget" all WiFi network.
WiFi off
Monitoring Mobile Data only.
Mobile data gone down after 30 minutes sleep mode, 73% battery
Connecting to WiFi, and started monitoring WiFi
WiFi + Mobile Data gone down after 30 minutes.
Power down phone, and then on, 73% Battery, WiFi off
Monitoring Mobile Data only.
Failed, and disconnected
Failure
I've done a Factory Reset !!!
Update:
No problems on WiFi, nor Mobile data whatsoever for the whole day until battery falls below 10% !!!
WiFi disconnected after exactly 15 minutes, Mobile data kicks in, then disconnected as well !!!
I turn on the screen after 20 minutes to find NO DATA CONNECTION of any kind.
Mobile data kicks in, WiFi replaces mobile data, and start receiving all data dependent notifications!!!
I have the same problem, wifi is turned off sometimes when screen is locked.
Pabson said:
I have the same problem, wifi is turned off sometimes when screen is locked.
Click to expand...
Click to collapse
Hello Pabson,
Thanks for sharing.
Would you provide more information about your phone's software number, your location (Region, not specific).
Thanks again.
Same here, tried several roms and the same happens with every ROM out there. What is more, I cannot connect to WIFI at work (WPA PSK) but I can connect perfectly to my home WIFI network.
Hopefully this is not a hardware fault and will be fixed.
Monrad said:
Same here, tried several roms and the same happens with every ROM out there. What is more, I cannot connect to WIFI at work (WPA PSK) but I can connect perfectly to my home WIFI network.
Hopefully this is not a hardware fault and will be fixed.
Click to expand...
Click to collapse
If it happens on every single rom you you installed, then apparently this is a hardware fault.
What "Base" do the Roms, you installed, created on?!
I mean based on what version of RUU?
same problem here.
I mis the "power saving mode" options like in android 2.3
It might idd have something to do with power savings mode kicking in.

Categories

Resources