Wi-Fi not reactivating after sleep ? - HTC 10 Questions & Answers

I have a question. I have "keep WIFI on during sleep" option set to "Never".
-1. Wi-Fi is enabled. I put my phone to sleep.
-2. When I wake up my phone from sleep after 30 minutes or more of not using it, the wifi does not reactivate itself (it's off, no icon in statusbar), but when I go to settings, it says that Wifi is enabled. (look at the screenshot below)
I want to know if this is normal or what ? I am currently on stock Nougat, but this issue was happening to me even on previous Android.

Can someone please test this, I wonder if I am the only one with this problem

This should not be a issue. Since i even got warm about a thing called DFS in terms of WLAN. Check your routers log about a thing named similar: "DFS wait time".
If this was triggered you have to wait until they finished communicating and this would not have to do anything with your phone. That would be router setup related then. E.g. your WLAN's channel is to be freed by force in this special case.
Try statical in 5 ghz: 36 to 48 (not affected by DFS) e.g. 36 40 44 48
Be aware statical is not optimal and these channels are not optimum for high bandwidth.
It says "Tap to select network" meaning the network you were in before is not there anymore or has changed, out of range, gone to sleep - reduced bandwith since unused from router side possible?
Try additionally delete known network and add freshly and new.

Related

[Q] WiFi Autoconnect ?

am i going mad or did i imagine that my desire used to autoconnect to a remembered wifi network like the iphone ?
i'm pretty sure that my phone did this for a while before i upgraded to froyo.
Yes, mine works like this.
Just enable wifi and set it up auto sleep for 15 mins. When it is in a remembered network - it auto connects as per normal.
Yes, mine works like this.
Just enable wifi and set it up auto sleep for 15 mins. When it is in a remembered network - it auto connects as per normal.
Tander_ZA said:
Yes, mine works like this.
Just enable wifi and set it up auto sleep for 15 mins. When it is in a remembered network - it auto connects as per normal.
Click to expand...
Click to collapse
thanks, will give this a try. i assume that the connection stays up when connected and only drops after 15 minutes when it can't find a remembered network ?
try Y5
it enables wifi even automatically when you are close to known networks and disables it when you leave the area
snudel said:
try Y5
it enables wifi even automatically when you are close to known networks and disables it when you leave the area
Click to expand...
Click to collapse
How often does it scan for networks? Doesn't that affect battery life?
To OP: My connects to my remembered home network automatically. On both 2.1 and 2.2.
ferus said:
How often does it scan for networks? Doesn't that affect battery life?
Click to expand...
Click to collapse
It doesn't scan for networks at all. Essentially it uses cell location (note, not GPS) to determine if you are likely to be in range of a stored WiFi network, and switches off/on accordingly.
Regards,
Dave
foxmeister said:
It doesn't scan for networks at all. Essentially it uses cell location (note, not GPS) to determine if you are likely to be in range of a stored WiFi network, and switches off/on accordingly.
Regards,
Dave
Click to expand...
Click to collapse
I don't want to hijack this thread but I have 2 questions:
1. Can my network location be determined without having data connection enabled?
2. Is the network location accurate enough to use this application? On Google maps I can see accuracy at about 800 meters.
EDIT: Thanks Dave
ferus said:
I don't want to hijack this thread but I have 2 questions:
1. Can my network location be determined without having data connection enabled?
2. Is the network location accurate enough to use this application? On Google maps I can see accuracy at about 800 meters.
Click to expand...
Click to collapse
(1) Yes.
(2) Pretty much. Sure, if I leave my house and walk up the road, I'm still connected to the same cell, and so it won't switch off my WiFi. However, if I get in my car and drive elsewhere, it will switch my WiFi off. This fine for my purposes - the only way it could be more accurate would be to use GPS, but then you'd have to keep GPS switched on all the time and thus help to drain the battery further.
Regards,
Dave
Tander_ZA said:
Yes, mine works like this.
Just enable wifi and set it up auto sleep for 15 mins. When it is in a remembered network - it auto connects as per normal.
Click to expand...
Click to collapse
howto set autosleep for 15 mins?
thx
setting --> wireless&networks --> wifi-settings --> (menu) advanced --> wifi sleep policy
pieterv10 said:
setting --> wireless&networks --> wifi-settings --> (menu) advanced --> wifi sleep policy
Click to expand...
Click to collapse
for me, this select says
-When screen off
-never if charging
-never
i have selected "never" and i have no problems where connection was stablished, but
when connection is not established and screen if off and i enter into the area of any saved network, the phone autoconnects or not autoconnects and i not known the reason...
any ideas?

[Q] [HELP] Anyone experienced with Tasker can help me?

Hi all,
I just purchased Tasker and was trying to do a simple task that
automatically turn on/off the wifi when I'm at home. All I do is:
Contexts | Tasks
Cell Near | Turn On Wifi
Wifi Near | Turn Off Wifi (Exit task) (optional?)
I also have another profile that simply turn off the wifi when I lock
the screen.
The problem is that whenever I unlock my phone, the wifi is connected
correctly to my home wifi, but after likes 10-30s, the wifi turn
off itself so my phone back to use 3G network, and after 1-2min it
reconnect itself to my home wifi again, this seems to happen again
and again? So what is the problem here? Hope someone experienced with Tasker can help me.
Thanks
you can go to wireless setting -> advanced setting to manually disable wi-fi hibernation upon screen off, or you will be creating an "infinite loop" with your task being triggered repeatedly.
after all, I found this too much a perfect partner to my android, and it actually helps me getting rid a number of applications that likely consume RAM individually.
Done that too but no help. Sometimes when I unlock the screen and although all the requirements are met (Cell Near, Wifi Near), the wifi still not turned on, I go to the wifi setting to check and see that it keep displaying "obtaining ip address from ..." and sometimes it just says "error". Don't know if this is because I use JPE modem with JPY base? Maybe I will try flashing a correct ROM and see if this problem can be fixed.
Cell Near | Turn On Wifi
Wifi Near | Turn Off Wifi (Exit task) (optional?)
Click to expand...
Click to collapse
It appears to me that this what you have configured.
Cell Near (Cell tower near your home) - Turn on Wifi - Which works
Within range of certain WiFi Ap (Your home WiFi?) - Turn off WiFi - Which could be causing the WiFi to switch off in an endless loop?
Maybe you want to check your config logic?
fullerms said:
It appears to me that this what you have configured.
Cell Near (Cell tower near your home) - Turn on Wifi - Which works
Within range of certain WiFi Ap (Your home WiFi?) - Turn off WiFi - Which could be causing the WiFi to switch off in an endless loop?
Maybe you want to check your config logic?
Click to expand...
Click to collapse
I thought the Cell Near & Wifi Near go together as they're in the same profile. The logic should be if Cell Near & Wifi Near then Turn on Wifi else Turn off Wifi. The else part is the exit task of this profile. Even if I remove this exit task, the phone still turn wifi off by itself?
kennytung said:
I thought the Cell Near & Wifi Near go together as they're in the same profile. The logic should be if Cell Near & Wifi Near then Turn on Wifi else Turn off Wifi. The else part is the exit task of this profile. Even if I remove this exit task, the phone still turn wifi off by itself?
Click to expand...
Click to collapse
Remove the wifi near. If Cell near is true, then it means that you should be within range of your wifi and therefore the wifi near statement is redundant. If you are within range, wifi will automatically scan and connect to your wifi.
The exit task should only be to turnoff wifi. It is implied that exit task kicks in once you are out of range of your 'Home' Cell Tower.
fullerms said:
Remove the wifi near. If Cell near is true, then it means that you should be within range of your wifi and therefore the wifi near statement is redundant.
Click to expand...
Click to collapse
I don't think wifi near is redundant. Being within cells that cover my house doesn't mean that I'm actually in my house right? So I think the two layer Cell Near and Wifi Near is efficiently enough but why it can connect to wifi in the first place and seconds later the wifi is turned off and on and off and on... I don't know why?
kennytung said:
I don't think wifi near is redundant. Being within cells that cover my house doesn't mean that I'm actually in my house right? So I think the two layer Cell Near and Wifi Near is efficiently enough but why it can connect to wifi in the first place and seconds later the wifi is turned off and on and off and on... I don't know why?
Click to expand...
Click to collapse
I just guess when you leave your home, you are no longer in proximity of your own wi-fi access point so you just get your wi-fi off.
Though, as you leave further away from your home, your mobile begins to search for cell towers that are not supposed to be covered in your "cell near" context, and once your mobile get connected back to your home cell, your "wi-fi on" event would be triggered once again, and the process repeats.
I think the best way to solve this, apart from including more cell IDs, is to set the cooldown period of your first profile (in profile setting dialogue) to a certain value, saying 10 minutes (or a sufficient duration for your mobile to completely get away from your home towers)
ki1120 said:
I just guess when you leave your home, you are no longer in proximity of your own wi-fi access point so you just get your wi-fi off.
Though, as you leave further away from your home, your mobile begins to search for cell towers that are not supposed to be covered in your "cell near" context, and once your mobile get connected back to your home cell, your "wi-fi on" event would be triggered once again, and the process repeats.
I think the best way to solve this, apart from including more cell IDs, is to set the cooldown period of your first profile (in profile setting dialogue) to a certain value, saying 10 minutes (or a sufficient duration for your mobile to completely get away from your home towers)
Click to expand...
Click to collapse
I was staying at my home the whole time I was using this profile
Check the value following the / symbol
Are you using the scan function in Cell Near? It should retrieve the ID of the closest cell tower with a value following a slash:
CDMA: 99999 / 8
Try changing the value to a wild card:
CDMA: 99999 / *
I have been using the following to turn WIFI on and off:
Add a new Profile and select State. Then select Cell Near and click the Scan button to find which Cell Towers are near your current location. Check the Invert button. Add a Task to for WIFI and set to Off.
Duplicate this profile and uncheck Invert and set WIFI to On.
Confirm Cell Tower IDs
You can confirm the Cell Tower ID by downloading one of these free Apps:
Antennas
Cell Tower Locator
You will want to use the BSID number listed in one of these Apps in Tasker for Cell Near.

CM7 Data Speed

Is anyone else having major issues with Data Speed on CM7. My upspeed is fine but downstream everything is ****ed - like 50 kbps ****ed. I wiped/reflashed, redid apn, modded build prop, downgraded radio, upgraded radio, you name it - my downstream is soooo slow. the weird thing is on a fresh reboot it starts out normal but like 30 minutes later its down to 50kbps. I uninstalled every app except speed test and launcher pro to see if that may be the cause - still throttled - but i ahvent exceeded any cap. wtf?
Check in settings/wireless&networks/mobile networks/ and make sure that "Use only 2g networks" is not checked.
checked - its not. it was like the first thing i checked - that and correct apn and build.prop.
The reason I said check the 2g setting is because something was turning it back on automatically, like it was in battery save mode, but it stopped doing it, it was weird never did figure out what was turning that setting on.

Wifi after sleep?

I have a question. I have "keep WIFI on during sleep" option set to "Never".
When I wake up my phone from sleep after 30 minutes or more of not using it, the wifi does not reactivate itself (it's off, no icon in statusbar), but when I go to settings, it says that Wifi is enabled. Just like in the picture below...
I want to know if this is normal or what? Happens to me on both stock and custom rom.
EDIT :
I fixed this by putting my Wi-Fi frequency band from 2.4 GHz to "Automatic" in advanced wifi settings. Htc and google really need to fix their ****!
I also disabled ipv6 in my router settings, not sure if that helped
Sadly for you, it works as expected for me. I let my phone sit for about 40 mins hoping I wouldn't get a text. Picked it up and the Wi-Fi turned on and connected right away.
Stock Rom (1.91.617.1)
Root
Ex kernel .20 (stock except min perf 0% & GPU medium)
ivicask v17 performance
mosincredible said:
Sadly for you, it works as expected for me. I let my phone sit for about 40 mins hoping I wouldn't get a text. Picked it up and the Wi-Fi turned on and connected right away.
Stock Rom (1.91.617.1)
Root
Ex kernel .20 (stock except min perf 0% & GPU medium)
ivicask v17 performance
Click to expand...
Click to collapse
This is just plain weird for me. Not a real problem, but strange, maybe has something to do with my wifi connection (router).
Thanks for the reply!
Just confirmed that one other guy that just got the phone has the same issue.
I fixed this by putting my Wi-Fi frequency band from 2.4 GHz to "Automatic" in advanced wifi settings. HTC and google really need to fix their ****!
I also disabled ipv6 in my router settings, not sure if that helped
CroCop18 said:
I fixed this by putting my Wi-Fi frequency band from 2.4 GHz to "Automatic" in advanced wifi settings. HTC and google really need to fix their ****!
I also disabled ipv6 in my router settings, not sure if that helped
Click to expand...
Click to collapse
I have had the WiFi Frequency Band set to Automatic since I got the HTC 10. I came looking for this topic because of what mine does. When I wake up the screen, there is often a message on the screen "wifi has disconnected", and it will show connected to mobile data in the notification bar. It usually will reconnect to WiFi within a few seconds. But it is annoying, so I am looking for a fix, if there is one. I turned on the setting to keep it on WiFi during sleep a couple days ago, but it didn't change this behavior.
From what I am reading here, this sounds like it is common to the HTC 10 regardless of that setting. I am therefore thinking perhaps the "wifi has disconnected" message is actually left over and still on the display from when I turned the display off? But what I don't understand is that I get notifications such as incoming email and hangouts messages while the display is still sleeping. Unless those are coming via the mobile data connection. Perhaps I should try turning off mobile data and leaving wifi on to test if it still does that, but obviously leaving the mobile radio connection off is not desireable, even if that did help. Does the HTC 10 silently always switch to a mobile connection and turn off wifi whenever the screen is off, meaning that keep wifi on setting is flawed?
Zoandroid said:
I have had the WiFi Frequency Band set to Automatic since I got the HTC 10. I came looking for this topic because of what mine does. When I wake up the screen, there is often a message on the screen "wifi has disconnected", and it will show connected to mobile data in the notification bar. It usually will reconnect to WiFi within a few seconds. But it is annoying, so I am looking for a fix, if there is one. I turned on the setting to keep it on WiFi during sleep a couple days ago, but it didn't change this behavior.
From what I am reading here, this sounds like it is common to the HTC 10 regardless of that setting. I am therefore thinking perhaps the "wifi has disconnected" message is actually left over and still on the display from when I turned the display off? But what I don't understand is that I get notifications such as incoming email and hangouts messages while the display is still sleeping. Unless those are coming via the mobile data connection. Perhaps I should try turning off mobile data and leaving wifi on to test if it still does that, but obviously leaving the mobile radio connection off is not desireable, even if that did help. Does the HTC 10 silently always switch to a mobile connection and turn off wifi whenever the screen is off, meaning that keep wifi on setting is flawed?
Click to expand...
Click to collapse
No. You probably have "Auto-switch to mobile network" enabled in advanced wifi settings.
CroCop18 said:
No. You probably have "Auto-switch to mobile network" enabled in advanced wifi settings.
Click to expand...
Click to collapse
Thank you for replying. The only 3 boxes I have checked in WiFi > Advanced are as follows:
WiFi Notification
Show Wi-Fi pop-up
Hotspot sign-in
All the other check boxes are blank.
So I have similar problem. When I leave the house it switches to mobile network just fine. When I come back home it doesn't auto connect until I turn on the screen. My advanced wifi settings are below with basically nothing checked.
I agree this is a serious problem and for me I have no mobile network at home and depend on wifi and hangouts for voice calls.
Just curious what firmware is everyone on? Mine is 1.91.617.1.
This thread discusses it quite a bit, mentioning different settings changes to try.
http://forum.xda-developers.com/htc-10/help/wifi-issues-htc-10-weak-signal-fail-t3368165
I tried some of these changes, and things seemed better today for awhile, until I found out my phone actually wasn't getting the internet over the solid WiFi connection to my network. :/ I had to undo all the changes so I could get back online with it.
CroCop18 said:
I fixed this by putting my Wi-Fi frequency band from 2.4 GHz to "Automatic" in advanced wifi settings. HTC and google really need to fix their ****!
I also disabled ipv6 in my router settings, not sure if that helped
Click to expand...
Click to collapse
Interesting. Mine was already on Automatic. I never touched it.

Bad idle power consumption

I am using my new G7 Play with a Mint Mobile SIM (T-Mobile MVNO). I am seeing much worse battery performance than my G4 Play on T-Mobile prepaid SIM, even though its battery is several years old now. I tested the Mint SIM for half a day in the old phone, before I punched it down from micro to nano SIM size. I didn't notice any significantly different battery consumption during that time, but I didn't try to carefully test for an entire discharge cycle.
I have tried to configure them the same way, with the same basic apps and battery optimization settings. For reference, the G4 Play can last 5+ days with my light usage patterns. The G7 Play seems like it cannot even last for 1.5 days. The battery ran down over 25% overnight. In the same time period, my G4 Play only showed a 2% drop.
This is with WiFi on and in range for most of the hours in the day (at work or at home). Signed into GMail, Hangouts, and Slack. Location toggled off. Bluetooth toggled off. And OSMAnd+ installed from f-droid. One difference is that I am still using the default Moto launcher on the G7 Play. I replaced it with Nova Launcher on the G4 Play in order to get rid of the annoying Google search/assistant widget that was not removable in the Nougat update. Both have Moto Display and Moto Actions active, but all the gesture/camera actions are turned off. It just has the notification peeking and active display when you bump or pick up the locked phone.
I have disabled Google Music, Movies, News, and Drive to try to match the config on the G4 Play. I also am not logged in with Chrome nor Photos but those apps are not disabled. I am still searching the Android 9 settings menus, but I don't see any more things I can adjust for efficiency. The battery usage details does not seem to tell me why it is going down so fast.
I am not sure what else to try, except to blindly experiment with disabling other built-in apps/services. There seem to be many more in the G7 Play than on the G4 Play, but I don't want to accidentally cripple the phone. Another possible difference is the G7 Play is using the 5 GHz WiFi channels instead of only the 2 GHz channels. But would that explain such a difference in power draw?
Same problem here, single sim G7 play on t mobile. Tried running in safe mode for a few hours and the drain is the same. The issue seems to be running wifi and cellular radio at the same time. Wifi signal is strong, on 5 GHz. Running only on cellular reduces the drain significantly, even with my crappy -112 dbm signal. I am guessing this is some sort of bug - on a related note, if I turn on airplane mode, and then turn on wifi, the cellular radio also turns on, and cannot be turned off via *#*#4636#*#* diagnostics screen.
Current build is PPY29.105-36
Strange. I put my phone in airplane mode and then turned WiFi back on. It indicated that cellular data was off and showed no phone network status. I then turned on WiFi calling and it showed that I was on T-Mobile WiFi Calling in the lock screen status. I left it idle like this for 20 hours and the battery discharged from 100% to 93%. Today, I will try the opposite, turning off airplane mode and WiFi and using just the cellular network.
Before this test, I did play store updates, rebooted, and then fully charged the phone. There were updates to Phone and Google apps right before I rebooted. My Phone app is at version 31.0.241960258 and my Google app is at version 9.51.10.21.arm. My phone is on US Retail channel and build PPY29.105-36.
Did your cellular radio stay off the whole time? Mine will toggle back on right before my eyes. My google app is at version 9.51.8.21.arm, phone app is the same as yours.
It stays off. I'm only looking at the toggles in the pull-down status menu at the top of the phone screen. I also have bluetooth and location toggled off. Maybe you should try changing some of the location/background scanning options? I turned off those sorts of things when I first got the phone.
Yesterday, I rebooted, recharged, and tested the phone for about 8 hours w/o WiFi, but with phone and data service on. It used a lot more power than WiFi-only from the previous day. It was projecting about 2 days left when I interrupted the test.
Then, I toggled off cellular data service. For the next 9 hours, the power consumption graph flattened out a bit. It's down to 85% now bit it is projecting 3 days left instead of 2.
Ok, figured out the cellular radio turning back on, it was having wifi calling enabled, which doesn't seem to make sense, but I digress.
So you turned on wifi calling, and the power draw was still low? Can you check your cellular radio status with the wifi radio and wifi calling on with the *#*#4636#*#* diagnostics screen?
If I remember, I rebooted with wifi calling off, put it into airplane mode, turned wifi back on, then thought to enable wifi calling. It definitely did not show the cell antenna signal icon in status, and showed "T-Mobile WiFi Calling" in the lock screen. I tested it by calling the number from another phone, and it did ring.
Today, I have continued using the phone with cell modem on for calls and wifi on for internet (but cellular data toggled off and wifi calling still disabled since before last reboot). It is now down to 79% power after 25 hours of operation and predicting 4 more days at this rate. This is more like I expected originally, and not so far off from my old G4 Play.
I am pretty confused by the terrible behavior in the beginning. It may have something to do with booting up with WiFi calling enabled. Or it might be some other strange state that cleared after a few reboots?
If I remember, I'll try to put it back in the wifi-only mode next time I am back on my home network to check that status screen you mentioned. But, I am nearly sure it is going to indicate cellular modem OFF and wifi ON using 5 GHz band.
The phone info screen behind that dial code shows this regardless of whether I am in airplane mode or not: Voice Service: In Service; Mobile radio power: on; VoLTE Provisioned: on; Video Calling Provisioned: on; Wifi Calling Provisioned: on. Because of the differences in other fields and in power usage, I don't believe the indicator about radio power means anything here. The Settings->Phone Info->SIM status screen says "Mobile network state: Disconnected" and "Service status: Voice In Service/Data In Service" when I am in airplane mode w/ wifi calling active.
From the 4636 code phone info screen, these fields change:
- Airplane mode w/ wifi calling active: Signal Strength: -1 dBm 99 asu; Data Service: Disconnected; Voice Network Type: Unknown; Data Network Type: IWLAN.
- Cell on w/ wifi calling active: Signal Strength: -112 dBm 28 asu; Data Service: Disconnected; Voice Network Type: LTE; Data Network Type: IWLAN.
- Cell on w/ wifi calling disabled but wifi on: Signal Strength: -113 dBm 27 asu; Data Service: Disconnected; Voice Network Type: LTE; Data Network Type: LTE.
- Cell on w/ data on and wifi off: Signal Strengh: -110 dBm 24 asu; Data Service: Connected; Voice Network Type: LTE; Data Network Type: LTE.
And the IMS status screen further down under the three-dot menu changes:
- Airplane mode w/ wifi calling active: Voice over LTE: Unavailable; Voice over WiFi: Available.
- Cell on w/ wifi calling active: same as previous.
- Cell on w/ wifi calling disabled but wifi on: Voice over LTE: Available; Voice over WiFi: Unavailable.
- Cell on w/ data on and wifi off: same as previous.
It's only in the 4th config that I actually see "LTE" on the network signal icon in the phone status bar on the home screen.
I should also note that I set the wifi calling settings to wifi preferred/wifi for both choices.
Thanks for all of the troubleshooting info.
I guess this shoots down my simply both radios on theory. You still get bad drain when wifi and cell data are both on?
I gave it about 18 hours to find out. But no, it now seems to have little effect to turn on cell data and wifi together. The phone is continuing to have a pretty good standby power drain with WiFi, cell voice, and cell data turned on.
I'm down to 52% battery and it has been 3 days it was last charged. The power graph shows nearly the same slope over the last couple days whether I turned cell functions on or off. Where there were dips, I think it may be partly that I took the phone away from WiFi, so it started actually using LTE data, and also that I had the screen on some around those times to look at settings and respond to some texts etc.
I'll keep playing with it for a while, but I am also running out of ideas. What's frustrating is that the battery consumption info listed just cellular standby as the originall high power use, not some other app or OS function that would be easier to explain as software-caused.
Just about the only settings I have left to re-test are WiFi calling (with cell modem on), Bluetooth, and Location. I suspect that the location was on constantly in the first day because I wasn't used to the Pie status bar. In my G4P running Nougat, the location icon would be visible in the status bar whenever it is on. But on the G7P, it doesn't seem to indicate anything unless you open the drawer and look at its toggle state.
I worked my way all the way back to having everything toggled on... cell voice, cell data, wifi, wifi calling, and location. It dropped from 100% to 96% in 12 hours overnight, and estimates 10 days remaining. This is far different than the 20-25% drop I saw in the first days.
The only explanations I can think of for this whole experience so far:
1. The power use was due to application behaviour, but the usage details screens were not assigning blame correctly.
2. The battery charge estimates themselves were wildly incorrect in the first days.
3. The phone is configured to waste power out of the box, and has to "learn" to conserve power when idle.
So, the phone seems to do quite well now. I just hope it doesn't decide to switch back to its high consumption mode when I am depending on its battery to endure like it is right now...
lightuser said:
2. The battery charge estimates themselves were wildly incorrect in the first days.
Click to expand...
Click to collapse
We know that would be an issue for sure, but the question is whether that's the only issue. I'm hoping it is.

Categories

Resources