Wifi Stuck on "Turning off..." - HD2 Android Q&A, Help & Troubleshooting and Genera

Hello,
I am using MDJ Froyo Sense 2.3 on S2 Kernel (with zImage and both modules), and my wifi keeps turning itself off after it has been left on for an unspecified period, maybe about a couple hours. The problem is that the turning off process can never be completed and the wifi status just says "turning off..." in grey, and all I can do is to reboot the phone. The wifi control shortcut is unresponding and displayed in grey.
I don't think this is a kernel issue because I tried MDJ#15, S1, S2, and R2 and the results are the same. I was also able to reproduce the issue with or without Juice Defender + Ultimate Juice on easy or advanced mode. Setting the wifi sleep policy to "never" did not help either.
Changing the windows mobile registry entries regarding enabling power management for AsyncMac1, PPTP1, L2TP1 as well as SD and SD High Capacity made no difference either.
The interesting thing is that I notice this problem only when the phone is NOT charging. If I keep the phone on the charger it's fine for hours with wifi on.
I'm hoping to have Juice Defender activating and deactivating my wifi regularly for syncing to email and other services with my phone screen off but this problem is essentially crippling wifi. Any ideas why this keep happening?
Thank you.
Oh and I'm using Energy Rom Nov 2 build on a TMOUS HD2 with 2.15 radio.
EDIT: I found that rebooting usually freezes the phone during both cold and hot reboots. Does any has a similar situation going on?

Related

WiFi kills battery when Universal is switched off?

Hi there,
With my BlueAngel I could leave the WiFi on all night as when the phone was switched off it did not eat up the battery - when the phone was switched on it would spend a couple of seconds reconnecting to the wireless point.
The Universal seems to behave in the same way, yet it eats up all the battery overnight even when I have switched the phone off and it is not connected to the WiFi access point.
Is there some setting or registry key I can alter to fix this?
Cheers,
Quilty
@Qulity, if you don't close PIE I have found the battery can be drained. I assume overnight you are using Flight Mode.
Are you closing the flip and presuming that the device gets turned off or have you actually set your device to turn off after a fixed period of inactivity in the power settings?
If it is the former, then the device actually does not turn off if there is any activity in the background like active GPRS or WiFi etc. A simple solution to this would be to press the hard-ware on/off button once you are done irrespective of whether wfi is active or not in the background.
Try it out and post your results here.
My device is set to turn off after 2 mins on battery power, but I made a special point of turning it off with the hardware button before testing last night. As I said before my BlueAngel never behaved like this.
my jasjar was turned off yesterday, and every 5min i heard sound for new wifi network!! same problem, i solved it with turnig wifi off!! any other solutions?

Wifi wont turn off in sleep mode

Hi Guys,
I got my HD2 today and i have to say i am impressed!
I only have one problem which i am not able to resolve.
When i turn on WiFi, it wont turn off during sleep mode (when i turn off the screen). i need to manually turn it on or off. this is how it came out of the box.
I wonder if other HD2 users are having the same problem / found a solution?
I tried advanced config tool, and i unchecked the "wifi during sleepmode" setting, but after each reboot the settings just come back.
Any help would be appreciated.
Hi mate, you should look this
http://forum.xda-developers.com/showthread.php?t=582108
I thought that guy just want to keep WIFI on but you did.
thanks man but it does not help me with my problem. I cant seem to be able to get WiFi to auto turn off when in standby. the reg tweak will work until you reboot the device. after reboot the WiFi again won't turn off when in sleep mode unless I manually turn it off.
Bump.
Can any other HD2 owner please confirm if this is happening on his device too?
Same problem.
HDtweak and AdvanConfig does not work. After soft reset, wifi-on-standby is back ON (checked).
Been trying to find a Auto-Disconnect for GPRS(HSDPA) but the above 2 apps does not work too.
have you tried to change wifi power settings to high? I think it does work then. I guess the medium setting is something special...it keeps the wifi connection alive in standby, but also doesn't consume much power. I have an exchange connection active, so i always need an internet connection. The moment i turn on wifi at home, it stays on, even in standby, and my data connection over 3G disconnects. My exchange still works perfectly...and no huge power drain! My wifi power setting is on the medium setting...
Yes, I can confirm I'm encountering this issue too - on my HD2.
Strange, 'cos I wasn't at first, I'm sure - I remember the wi-fi notification icon flashing when resuming from sleep.
glenner05, can you confirm that you can get wi-fi to sleep please?
Hmm.. thought it might be connected to the htckeepwifionwhenunattended registry value but mine's set already to 0.
There're others trying to do the opposite!
(http://forum.xda-developers.com/showthread.php?t=524490)
Anyone else found a solution?
I think HTC made this by design. If you turn GPRS data off and leave Wifi on while in standby you will be surprised how low the power utilization is.
I tested and with GPRS data off and Wifi ON, in standby you lose about 2% battery per hour...that's nothing.
It seems that on the HD2 the Wifi power consumption is really optimized so no real need to turn
I think HTC made this by design. If you turn GPRS data off and leave Wifi on while in standby you will be surprised how low the power utilization is.
I tested and with GPRS data off and Wifi ON, in standby you lose about 2% battery per hour...that's nothing.
It seems that on the HD2 the Wifi power consumption is really optimized so no real need to turn
Mine is on default Wi-Fi settings and when it goes into standby, wi-fi goes off.
Paul
Yeah goes of in sleep mode, if you get wifi toggle, you can choose to keep it on or turn it off when you like .
Shame the grps is still a problem....
pgamble and jrvenge: you really mean wifi switches off on the device when it goes to sleep? Ie. you see it disconnect from your router or something?
jrvenge: what did you mean by, "if you get wifi toggle"?
clubtech: when I read your post I agreed with you, maybe. I can't now be certain I remembered correctly that I'd seen wifi reconnect. And yes, the power consumption does seem low
There is a cab floating about here that enables you to force the wifi on always or turn it off.
If you forc on it stays on, if you turn of it goes off.
Return to normal and the hd2 does its power saving thing, so im all sorted there, just need a timeout on the gprs now.
If you cant find it let me know. It works a treat.
can youplease post the cab ? I have been looking for something like this .
Sure pm me your mail and i will send it
GPRS Disconnecting software here fella's, tested and working on my HD2 100%
May also turn off wifi but i've not loked yet, just about to leave for work so will check later!! lol
http://forum.xda-developers.com/showthread.php?t=587018
Ok just tried and it does not do what we want with WiFi
Yes ... if device goes to standby, when it comes out .. you see wi-fi searching to connect again ... so it definitely disconnects and the reconnects when it comes on again.
Paul.
Yup your right!
If it's in balanced or best battery mode then it turns off in standby and reconnects/searches again when you press a button to bring up the lock screen.

Found Small Problem After 3.2 Update

I always have had my tab set to turn off wifi when screen goes off,
and it has performed flawlessly.
Now - after the 3.2 update - When the screen goes blank,
the wifi does not turn off and it stays connected.
Does anyone else have this problem ? is there a fix ?
My issue is the tablet is set to turn wifi off when screen turns off.
Always worked perfectly.
Now after 3.2 when you wake it the wifi does not turn on, says out of range.
You have to click wifi on/off to reconnect.
Fix one thing and break another.
Stock tablet.
confirmed.
My tab is also set to turn off wifi when screen is off.
Same deal, it does not reconnect. Sometimes it does reconnect but he status bar says no internet connection.
Had the same problem after updating to KMM and now again with the new KMM (KMN).
But since wifi standby consumes almost no battery, I just leave wifi on "always on" (network notification switched off). It's only a workaround but with no real drawbacks.
I'm on Task 6.1 rom and its all good no wifi issues.
Question? How do u know if it turns off or not.
network scan
Same problem here.
After I turn on my tab, it does not reconnect immediately. Have to wait 1-2 minutes, then it reconnected.
Faster is to manually turn wifi off and on again.
Sent from my HTC Desire using Tapatalk
Same here. Just upgraded the other day, have to leave wifi on or manually switch it off and on. Nice update samsung
Yep. Same issue here. I'm thinking of leaving wifi on all the time and checking the difference in battery life.
3.2 has had issues with wifi since day one. Use one of the custom rom, I use Task 6.1 and the problem went away. You can always revert to 3.1

[Q] Bluetooth GPS Disconnecting when screens off

Running a Nook Color with CM7.1 stable. Kind of an odd issue here, I have two different Bluetooth GPS devices, and when they are paired to the Nook and I turn my screen off and then back on, it loses the connection. The only way to reconnect the devices is to restart the Nook, as it fails to connect after the screen is brought back up. I have found that if I have the Nook plugged in for power, this issue does not happen. I have tried multiple GPS apps, reflashed CM7.1 multiple times, but still have no success unless I have the Nook plugged in, or I just ensure the screen doesnt go to sleep.
I really need this to work, as I'm using this as a pilot, and I can't have the screen on the entire flight as it will drain the battery quickly. I swore it used to work before, but I know I had issues with it, and maybe now realize what was causing those issues. On a side note, my friend has also tested everything I have done, but his works consistently and reliably regardless if he leaves the screen off, or turns it on and off repetitively. Hopefully someone may have an idea!!
Thanks in advance.
So noone has any thoughts or ideas at all?
Well seeing as it doesn't happen when your plugged in that would make me think that it has something to do with the fact that WiFi turns off when the screen is turned off. The Bluetooth and WiFi are on the same module i do believe. The default setting for WiFi is to stay on all the time while plugged in and turn off when the screen is turned off while on battery.
My suggestion would be to turn the WiFi to stay on all the time and see if that changes anything. Go to WiFi settings --> menu --> advanced --> WiFi sleep policy -->never. That would be my suggestion, hope that works for ya!
jgore43 said:
Well seeing as it doesn't happen when your plugged in that would make me think that it has something to do with the fact that WiFi turns off when the screen is turned off. The Bluetooth and WiFi are on the same module i do believe. The default setting for WiFi is to stay on all the time while plugged in and turn off when the screen is turned off while on battery.
My suggestion would be to turn the WiFi to stay on all the time and see if that changes anything. Go to WiFi settings --> menu --> advanced --> WiFi sleep policy -->never. That would be my suggestion, hope that works for ya!
Click to expand...
Click to collapse
That's what I was thinking too. It seems that when NC goes into deep sleep Bluetooth will lose connection. By removing deep sleep you should be able to stay connected, although your battery will drain faster than with deep sleep on, it should have a better life with screen off than on.
Well I appreciate both of your responses. However, I should have mentioned that I do already have Wi-Fi set to always stay on/never sleep. Any other suggestions?

Wi-Fi Not Allowing Deep Sleep

So I posted this in a different thread but figured I would post it here to see if anyone could duplicate my findings. I have a Note3 from T-Mobile and for whatever reason leaving the Wi-Fi on will not allow the phone to go into deep sleep mode. I noticed when I was down to 40% battery after 10 hours with only one hour of screen on time. After running some tests I had only 2 minutes of deep sleep those entire 10 hours (tested using BetterBatteryStats) I tried setting "Keep Wi-Fi on during sleep" to Never and unchecking "Always allow scanning" under advanced network settings but neither of them fix the issue. In fact, after several tests I concluded that setting never for "Keep Wi-Fi on during sleep" wasn't even functioning as my access points still showed the client connected while the phone was asleep.
Can anyone else confirm this issue is actually a bug and not just my phone being defective?
Here's my original post on the topic regarding how I found the problem and what I have tested so far:
OK so after only 2 days of owning this phone (got it late Monday night, the T-Mobile variant) I finally figured out why I'm getting such bad battery, and I suspect the same thing may be happening for the other people in this thread. Hopefully this information helps at least one person.
My battery stats was almost identical to all the other users in this thread that had bad battery, I would get barely around 10-12 hours on the phone with less than 2 hours of screen on time. After using multiple apps to track down the issue I finally got what it was.
Wireless. Yes, wireless was my cause. But the thing is Wi-Fi didn't show up at all in any of the battery apps so I assumed it was a non issue. I've had other phones and have always kept the wireless turned on the entire time without problems. The basic problem is not that Wi-Fi is using power itself but it's that by default the phone cannot enter deep sleep while connected to Wi-Fi. This is why trying to use apps like BetterBatteryStats will lead you nowhere initially (though they were useful in finding out what was causing the issue) You can discover this by turning on Wi-Fi and connecting the phone to a charger, then disconnecting it so your BBS information will reset. Then power off the screen and power it back on after 10 minutes. You'll notice in the other section that deep sleep will have less than a minute time while awake probably has close to 9 minutes, if not more. This is with everything else turned off, almost no apps, and no special Samsung stuff enabled.
Under Apps > Settings > Wi-Fi > Menu > Advanced there are two options that should help this: "Keep Wi-Fi on during sleep" and "Always allow scanning" I set the "Keep Wi-Fi on during sleep" to Never and unchecked Always allow scanning and rebooted the phone. And low and behold...nothing. Yes, these options don't work (at least not to fix this problem) The phone still won't enter deep sleep mode while the wireless is enabled. Based on my company's wireless devices I can see that even with the screen off for well over 10 minutes it still shows connected as a client meaning the wireless is not turning off properly while it's in sleep mode. Or perhaps it can't go into sleep mode because the wireless is on which stops it from going into sleep mode and turning off the wireless. My guess is that it's a Samsung bug.
The reason why there's so many people here to get good battery usage is because they're either used to turning Wi-Fi on only when needed and keeping it off. You'll also not notice it if you have more than 6 hours of screen on time because you could easily assume that it would make sense that you phone would only last 10 hours total with that much screen on time, even though it should have technically lasted 20+ hours with only 6 hours of screen on time if the phone could have entered deep sleep.
So what's the real fix for this? Unless it's by design my belief is that it's a bug and won't be fixed until Samsung/T-mobile notices. I can't test to see if the same thing happens on other carriers so if someone feels like testing this theory out it would help.
For now, I guess we're just left to manually turning Wi-Fi on only when needed and leaving it off in all other cases. For those that have the T-mobile variant, make sure you also go into Settings > General > Backup and reset > Collect diagnostics and uncheck the "Allow Diagnostics" as that will probably be the highest offender of Partial Wakelocks (it'll show up as com.carrieriq.tmobile.wakelock or System Manager Application)
If anyone wants more information on my testing let me know!
Click to expand...
Click to collapse
That's because the 'Keep WiFi during sleep: Never" setting only disconnects, it doesn't shut down the WiFi radio.
You're going to have to use a manager (Like Deep Sleep Battery Saver).
Or just hit the toggle yourself... If you're going to keep it disconnected in sleep anyway, just swipe down the notification bar and hit the bloody toggle.
ShadowLea said:
That's because the 'Keep WiFi during sleep: Never" setting only disconnects, it doesn't shut down the WiFi radio.
You're going to have to use a manager (Like Deep Sleep Battery Saver).
Or just hit the toggle yourself... If you're going to keep it disconnected in sleep anyway, just swipe down the notification bar and hit the bloody toggle.
Click to expand...
Click to collapse
The problem is that it doesn't disconnect, the access point 100% shows it is connected and transferring data every now and then. But the real issue isn't weather it disconnects or not but it's the fact that Wi-Fi will not allow the phone to go into deep sleep mode. For now I am fine with switching Wi-Fi off and on as needed, but with no other phone have I needed to do this before and definitely seems like a bug.
But regardless, what I'm trying to figure out if this is a legit bug that I should submit to Samsung/T-mobile or if it's just my phone and I should ask for a replacement. If anyone has BetterBatteryStats and could test this with their Note3 that would help.
My stupid phone has just started this same issue!!!! Freaking annoying, after only 8 hrs from 100% charged state, the battery is at 46% with only 26 mins screen ontime, I checked out that the phone never goes into deep sleep. What is going on and what can be causing this? Did you manage to resolve your issue?
PS I checked out wakelock detector but doesn't tell me a thing, as what program is keeping the phone awake all the time. Starting to hate this phone and miss my S3
What is your GPS accuracy setting set to? GPS, Wifi or Networks? Try setting it to GPS only.
GameBoiye said:
So I posted this in a different thread but figured I would post it here to see if anyone could duplicate my findings. I have a Note3 from T-Mobile and for whatever reason leaving the Wi-Fi on will not allow the phone to go into deep sleep mode. I noticed when I was down to 40% battery after 10 hours with only one hour of screen on time. After running some tests I had only 2 minutes of deep sleep those entire 10 hours (tested using BetterBatteryStats) I tried setting "Keep Wi-Fi on during sleep" to Never and unchecking "Always allow scanning" under advanced network settings but neither of them fix the issue. In fact, after several tests I concluded that setting never for "Keep Wi-Fi on during sleep" wasn't even functioning as my access points still showed the client connected while the phone was asleep.
Can anyone else confirm this issue is actually a bug and not just my phone being defective?
Click to expand...
Click to collapse
Well, your issue looks pretty similar to mine, which I solved with this Xposed mod (you could give it a try if you're on KitKat): http://forum.xda-developers.com/xposed/modules/mod-wi-fi-deep-sleep-t2752947. I was experiencing that even when "Keep Wi-Fi on during sleep" is set to Never, Wi-Fi still was awake most of the time according to battery stats.

Categories

Resources