I mainly work at home, so pretty much on wifi all of the day except for the odd hour or so to do school runs. I noticed that with WIFI on, i'm getting terrible battery life - less than 24hrs. This is with most things disabled (location history, google now, etc) but wifi and mobile data on all the time and GPS enabled. Of course mobile data doesn't kick in until i leave my wifi zone. Unfortunately even with location services off, Samsung doesn't have a option to disable the always scanning totally. This means ONLY when you are out of wifi connectivity will the always scanning option turn off (assuming you have the "allow always scanning" in the wifi settings turned off). Lo and behold with this setting (always allow scanning - when wifi on only) and spending more time on mobile data i notice my battery life is infinitely better. I went from the usual 30° battery drain slope to a flat line barely draining battery. So with no other change in apps/settings/etc, and just turning my wifi off, so LTE kicked in and phone in same location in the house i practically doubled battery life.
So then i started looking and reading. Finally it is clear it is my router/wifi draining the bloody battery so i started delving deeper. Now i have an asus ac68u with stock firmware. I changed the DTIM as follows under Wireless->Professional tab - (i can't post links or images so use the below in your browser)
193.104.35.163/asus.png
Now i'm back to a flat line drain on wifi.
May work for others.
(sigh)...my router doesn't let me configure those settings (ea9200). Still getting the drain
There could be multiple reasons for battery drain so this is not the holy grail for battery drain issues.
However the router issues is easy to identify. If you're getting battery drain for no reason at home/work where you are on wifi coverage, just switch wifi off and go onto your mobile plan (assuming you have reasonable 3g/4g/lte service) and look at your battery graph before and after. If you go from a ski slope to a flat line, then you have wireless problems. Otherwise look elsewhere. Remember your 'always allow scanning' setting should be set for 'wifi only' for this test.
This fix worked wonders for me. I immediately noticed 10x better battery life on par with having wifi disabled.
iforgotmyusername said:
193.104.35.163/asus.png
Now i'm back to a flat line drain on wifi.
May work for others.
Click to expand...
Click to collapse
hi..could you perhaps upload the pic to dropbox and share the link here? you could use a url shortener as well
qpalcb said:
hi..could you perhaps upload the pic to dropbox and share the link here? you could use a url shortener as well
Click to expand...
Click to collapse
I don't have a dropbox account, and i can' t post links yet so neither of that would work. Just put h t t p in front of that and it will work fine (and it's not a click bait, popup adverts, etc)
iforgotmyusername said:
I mainly work at home, so pretty much on wifi all of the day except for the odd hour or so to do school runs. I noticed that with WIFI on, i'm getting terrible battery life - less than 24hrs. This is with most things disabled (location history, google now, etc) but wifi and mobile data on all the time and GPS enabled. Of course mobile data doesn't kick in until i leave my wifi zone. Unfortunately even with location services off, Samsung doesn't have a option to disable the always scanning totally. This means ONLY when you are out of wifi connectivity will the always scanning option turn off (assuming you have the "allow always scanning" in the wifi settings turned off). Lo and behold with this setting (always allow scanning - when wifi on only) and spending more time on mobile data i notice my battery life is infinitely better. I went from the usual 30° battery drain slope to a flat line barely draining battery. So with no other change in apps/settings/etc, and just turning my wifi off, so LTE kicked in and phone in same location in the house i practically doubled battery life.
So then i started looking and reading. Finally it is clear it is my router/wifi draining the bloody battery so i started delving deeper. Now i have an asus ac68u with stock firmware. I changed the DTIM as follows under Wireless->Professional tab - (i can't post links or images so use the below in your browser)
193.104.35.163/asus.png
Now i'm back to a flat line drain on wifi.
May work for others.
Click to expand...
Click to collapse
I have the same router as you and I went to the professional tab. Then what do I do with the IP you posteD? I think this solution is the right one guys but I haven't figured it out yet
edit: Did not work
mrlooolz said:
I have the same router as you and I went to the professional tab. Then what do I do with the IP you posteD? I think this solution is the right one guys but I haven't figured it out yet
edit: Did not work
Click to expand...
Click to collapse
Paste the IP in your browser to show the screenshot he took with the settings he changed. Basically you need to set the DTIM Interval to 3 and the Beacon Interval to 300 for both the 2.4 GHz and 5 GHz bands.
Related
I wonder if anyone else has noticed this oddity.....
I use my i9000 with three different wireless routers.
(1) Linksys WRT54G running latest DD-WRT
(2) O2 Thomson TG585-V7 (Wireless Box II)
(3) Belkin F5D7634-4A-H
I've done this testing multiple nights from midnight to 6am. No other apps running. The I9000 is fully charged by midnight.
With (Router 2) I will lose about 1% per hour overnight.
With (Router 3) I will lose about 3% per hour overnight.
But with (Router 1), I will lose (10 to 15%) per hour overnight.
All of the routers are running the same channel and default antenna power. I can't see any difference between the routers, power wise.
I am beginning to wonder if this disparity is responsible for some users having unpredictable battery drain with their Galaxys.
Has anyone come across an app that will let me log all of the wireless connection activity?
I believe that, as for 3g connection, a stronger and cleaner wifi signal reduces battery drain. If it is so it looks to me quite normal that a good quality router (cisco/linksys) gives better results than a cheap device..
I believe you may have mis-read the results. The Linksys gives the worst battery drain. Anywhere from 60 to 80% in six hours.
The O2 Thomson gives the best overall. That or I've mis-read your answer....
finally i found someone with (almost)the same problem as me!!
except i am experiencing the direct opposite - when im using the stock wrt54g my battery only drains 1-2% per hour, but when im using my main router, the dir 615, it can drain up to 10% per hour.
i did almost everything i could to reduce the battery drain with my dir 615 router but it just doesn't work! i removed the security password for the router and even changed the speed mode to wireless B + G only but still it still drains crazily! wtf?
i've searched high and low for this problem but no one else ever posted about this problem. i've even posted this issue on another forum but didn't get any solution.
the problem is my phone doesn't go to sleep ("time spent without sleeping" in battery history is always very high - like a few hours off from "time spent with screen on") whenever i am connected to my home router. BUT when i am using some other connection like one at public or at work the "time spent without sleeping" in battery history is very close to "time spent with screen on". so clearly something is preventing my phone from sleeping whenever i am at home. i just can't figure out what it is.
i posted this issue on hardwarezone as well. link is below
hxxp://forums.hardwarezone.com.sg/showthread.php?p=50910987
if anyone could help id be greatly appreciate it cuz i don't want to change my damn router just to fix this thing.
HELP! AND SORRY IF I AM HIJACKING!
My bad, I read your post too fast thinking the first drain % was about first router and so on. Still I belive connection "quality" (signal strenght & noise absence) does affect battery life.
Btw, assuming that connection configuration is the same (b/g/n, wpa, wpa2, wep or whatever), you should check somehow (even with a laptop, I think) what kind of differences the 3 router wifi signal have (in terms of S/N).
Interesting, I checked and my drain while connected to the router at home is appalling as well - I thought it was just the new firmware getting something wrong. Luckily I just got a new router so I'll try that out and see if there's any improvement.
Barkotron said:
Interesting, I checked and my drain while connected to the router at home is appalling as well - I thought it was just the new firmware getting something wrong. Luckily I just got a new router so I'll try that out and see if there's any improvement.
Click to expand...
Click to collapse
any news on the results? what are the models of the new and old routers?
Sent from my GT-I9000 using XDA App
salivaman said:
finally i found someone with (almost)the same problem as me!!
except i am experiencing the direct opposite - when im using the stock wrt54g my battery only drains 1-2% per hour, but when im using my main router, the dir 615, it can drain up to 10% per hour.
i did almost everything i could to reduce the battery drain with my dir 615 router but it just doesn't work! i removed the security password for the router and even changed the speed mode to wireless B + G only but still it still drains crazily! wtf?
Click to expand...
Click to collapse
Just a thought - the SSID isn't hidden on one of the routers, is it? I've known that to cause strange issues in other wifi situations...
Many routers, specially old ones, don't support the "power save" option that some laptops feature, in this case, probably SGS has problems when entering save mode on the routers which don't support the power saving feautre of the device.
Maybe setting your phones wifi to the never sleep policy might affect in your performance, try it out guys, I hope it helps.
hiroshige said:
Just a thought - the SSID isn't hidden on one of the routers, is it? I've known that to cause strange issues in other wifi situations...
Click to expand...
Click to collapse
SSID is not hidden on both routers.
gtluis said:
Many routers, specially old ones, don't support the "power save" option that some laptops feature, in this case, probably SGS has problems when entering save mode on the routers which don't support the power saving feautre of the device.
Maybe setting your phones wifi to the never sleep policy might affect in your performance, try it out guys, I hope it helps.
Click to expand...
Click to collapse
my results have been tested using the "never sleep" policy. i always have that turned on so that 3g won't be switched over when the screen is off.
Could be the Beacon Interval of the routers.
http://wireless-nets.blogspot.com/2008/07/beacon-interval-impacts-on-battery-life.html
http://www.technologyreview.com/printer_friendly_article.aspx?id=25651
I believe you may be onto something here. I researched Beacon Interval and DD-WRT (Router 1) and found multiple instances of people having connection, latency and speed issues with DD-WRT that were fixed by changing the Beacon Interval on the Access Point.
I will check out the Linksys router later today to see what the default Beacon Interval is set at and report back.
tc80tc80 said:
I wonder if anyone else has noticed this oddity.....
I use my i9000 with three different wireless routers.
(1) Linksys WRT54G running latest DD-WRT
(2) O2 Thomson TG585-V7 (Wireless Box II)
(3) Belkin F5D7634-4A-H
I've done this testing multiple nights from midnight to 6am. No other apps running. The I9000 is fully charged by midnight.
With (Router 2) I will lose about 1% per hour overnight.
With (Router 3) I will lose about 3% per hour overnight.
But with (Router 1), I will lose (10 to 15%) per hour overnight.
All of the routers are running the same channel and default antenna power. I can't see any difference between the routers, power wise.
I am beginning to wonder if this disparity is responsible for some users having unpredictable battery drain with their Galaxys.
Has anyone come across an app that will let me log all of the wireless connection activity?
Click to expand...
Click to collapse
Hi!
This is some interesting facts you have encountered, regarding an app to log wifi activities I would reccomend Shark together with Shark reader, not the native mode version of Shark as it doesn't work on the Galaxy. It's not an easy to use program but it should be able to tell you what goes on in the network of your device.
You are very welcome to present your findings in my YADB - Yet Another Battery Drain thread, hope it's ok that I post a link to this thread from mine.
If you or anyone else want to visit YABD, there is a link in my signature.
Although my phone is a Desire HD I need to share my experience with you guys.
I have the AirTies RT-204 router and since I started using my phone the battery life when wifi was always on had been horendous (about 5-10% per hour on idle).
However, about 5 days ago my router was restarted and my battery has been excellent from that point on (about 1% even less per hour on idle).
Last night the router has been reset again and the big battery drain has come back again.
What this tells me is that the model of a router is not the culprit for the big battery drain. It has something to do with the IP changing when restarting it. Now, I am not an expert on routers etc but I believe this seems as a logical assumption.
Could some of you having this problem try restarting your router and see if it helps? Remember that maybe it will not have an impact the first time you restart and you will have to do this multiple times.
If u have anyhting more on this please post your thoughts.
Thanks
Hey all,
Does anyone else notice that they get better battery life while on LTE/HSPA rather than on WiFi? I decided to leave my WiFi off yesterday to see how well the phone does while using the GSM radios. To my surprise, the GSM radios were more efficient. I also noticed that on the stock battery app there were way fewer instances of the phone being "awake". With 11hrs off the charger,1.5 hour of SOT, 45 minutes of music I had 73% battery left. To me this is solid battery life. With the same exact routine and WiFi on I have about 65% battery left. Not a huge difference but enough to where I don't feel the need to juice up during the day if I am going out at night. I'm doing the same thing today to see if it is an anomaly but so far it looks like it is the same as yesterday. Anyone else seeing this?
Variables:
Stock, unlocked, not rooted.
brightness set to 1/3
T-Mobile $30 plan.
This is in NYC which has great T-Mobile service, that being said the bars in the battery life menu are "yellow" indicating the signal is "ok"....mostly because the testing was done indoors.
Google Now enabled.
GPS set to battery savings
Scanning always available (in wifi settings) turned off.
Greg Tolan said:
Hey all,
Does anyone else notice that they get better battery life while on LTE/HSPA rather than on WiFi? I decided to leave my WiFi off yesterday to see how well the phone does while using the GSM radios. To my surprise, the GSM radios were more efficient. I also noticed that on the stock battery app there were way fewer instances of the phone being "awake". With 11hrs off the charger,1.5 hour of SOT, 45 minutes of music I had 73% battery left. To me this is solid battery life. With the same exact routine and WiFi on I have about 65% battery left. Not a huge difference but enough to where I don't feel the need to juice up during the day if I am going out at night. I'm doing the same thing today to see if it is an anomaly but so far it looks like it is the same as yesterday. Anyone else seeing this?
Variables:
Stock, unlocked, not rooted.
brightness set to 1/3
T-Mobile $30 plan.
This is in NYC which has great T-Mobile service, that being said the bars in the battery life menu are "yellow" indicating the signal is "ok"....mostly because the testing was done indoors.
Google Now enabled.
GPS set to battery savings
Scanning always available (in wifi settings) turned off.
Click to expand...
Click to collapse
I agree. I just turn off wifi, use LTE only.
But I have to turn on wifi when I download something or update, I have limited data plan :crying:
If I have unlimited data plan, I will completely turn off wifi
Same here today. All day with data (tmobile) and had wifi off. Was getting better SOT on data vs wifi.
Is there a way to enable/disable WIFI automatically based on location? through an app or native os function?
This probably had something to do with the n5 having only one main antennae for cellular connections. The phone isn't connected to LTE and gsm at the same time, just LTE and switches back to gsm when a call comes in. Therefore when only connected to a cellular network only one radio is on. In contrast with Wi-Fi on that is another radio consuming power. Someone correct me if this is incorrect.
I've noticed this recently but my situation is because when I was on wireless I was getting a lot of wlan_Rx_wake wakelocks. I obviously wasn't getting it when on LTE alone. I've managed find the issue on my network at home . now I have to figure out what the issue is on my hotspot. My phone has been sleeping like a bear in the winter now. I imagine a lot of people are probably getting a lot of these wakelocks. I wonder what makes this phone susceptible to it and not the other nexus devices.
Sent from my Nexus 7 using Tapatalk 4
shiz222 said:
Is there a way to enable/disable WIFI automatically based on location? through an app or native os function?
Click to expand...
Click to collapse
This app is pricey but amazing.
shiz222 said:
Is there a way to enable/disable WIFI automatically based on location? through an app or native os function?
Click to expand...
Click to collapse
Tasker does the same and it is way cheaper.
Sent from my SGH-M919 using Tapatalk
there's a wifi bug that is supposed to be fixed in the next update which is probably 4.4.1
-Cupper- said:
This app is pricey but amazing.
Click to expand...
Click to collapse
Soldier 2.0 said:
Tasker does the same and it is way cheaper.
Sent from my SGH-M919 using Tapatalk
Click to expand...
Click to collapse
10 bucks is ridiculous. I found Llama that does practically the same thing (if not identical). I've set it up to disable WIFI as soon as i leave "home" and enable it when i get to "work", as well as set up other actions (quite mode after midnight etc) within the profile.
and its free
rooted, ART, franco kernel , all LTE (Hong kong). light usage: facebook, chrome web browsing, whatsapp only. no games
Sent from my Nexus 5 using xda app-developers app
shiz222 said:
10 bucks is ridiculous. I found Llama that does practically the same thing (if not identical). I've set it up to disable WIFI as soon as i leave "home" and enable it when i get to "work", as well as set up other actions (quite mode after midnight etc) within the profile.
and its free
Click to expand...
Click to collapse
If you're comparing lama to tasker specifically, llama does about 10% (being generous) of what tasker does. Although there's a lot of learning to be done.
I'd pay 100 Bucks for tasker
-----------------------
Sent via tapatalk.
I do NOT reply to support queries over PM. Please keep support queries to the Q&A section, so that others may benefit
Well the nexus5 utilises envelope tracking when ring on LTE. Maybe it's doing its job... http://androidcommunity.com/nexus-5-getting-battery-boost-from-qualcomms-envelope-tracking-20131101/
>^·^< Sent From Meow LG G2
An interesting question in this forum post but does this not really depend on the strength of the wifi/LTE signal? For me on wi-fi at home I can easily get 6 hours+ SOT. On a normal day with a mix of LTE & Wi-Fi I generally after between 4 and 5 hours SOT. My wi-fi signal at work is stronger than the LTE signal so I generally use the strength of the signal as a rule of thumb as to which will provide better batter rather than just the signal itself.
shiz222 said:
Is there a way to enable/disable WIFI automatically based on location? through an app or native os function?
Click to expand...
Click to collapse
Hi, I just made this app:
https://play.google.com/store/apps/details?id=com.sdev.autofi&hl=en
Basically uses GSM/CDMA and GPS Locations to automatically turn on/off your Wi-Fi. The app is for free.
Note, this is my first app, so if app crashes please submit the report so that I can fix it.
Leaving my phone over night with no wakes showing it will lose 3x as much battery idling with the screen off then on WiFi.
This was using "turn WiFi off during sleep" option to test if I could further minimize over night battery loss. I lose about 3% over 8 hours of idle, but on my data connection it lost 9%.
When the WiFi turns off the Data connection turns on, and vice versa. So only one is only ever being used at one time.
Hello everyone.
I just wanted to get your attention on a major Android OS (Kitkat) bug in the interaction between Wifi -> Advanced -> Wifi Always Scan and the Location Service. Clearly the bug doesn't happen every time, but sometimes it does, and obviously I'm talking about stock rom / kernel / no root / locked bootloader.
Althought I can't prove it, this might also be the cause of the current GPS / Navigation issues, currently being reported here.
What makes me link this to that issue? Because when Wifi Always Scan bugs out, it prevents my phone to acquire a location even from the 3g network.
That would explain why in that thread many people report that they could navigate with Device Only, which doesn't use 3g or wifi for location, but they had major issues with High Accuracy, which uses all three sources.
Please take a minute to star the issue so that Google will hopefully fix it faster.
https://code.google.com/p/android/issues/detail?id=64597
Thank you,
TD
Just turn it off, all it does is waste battery anyway
Sent from my Nexus 5 using Tapatalk
Ben36 said:
Just turn it off, all it does is waste battery anyway
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Thanks for your useful contribution.
It doesn't waste battery, it saves it. It enables to use the wifi location using a lower power state of the wifi chip compared to actually turned on wifi (which is also more accurate by miles than 3g location, works indoors in clubs where there is no 3g or gps signal, and not as battery expensive as gps location).
Also, people use that option for many things, I for one use it in MANY Tasker tasks flawlessly, whether the alternative (wifi periodic toggle and polling) would rape my battery.
Wifi automatically Turned off. Built in feature?
I kept my wifi on, and the had not used it basically just left the device in the room and had run off.
When I retured, the wifi was on in the power control widget but the wifi signal indicator icon in the notifications bar was absent.
is this normal/intended?
My wifi / internet connection is weak but continuous and my device is about ten to twelve feet away from the modem / router.
Can anybody help?
Although I have not a Nexus 5, my problem seems to be the same. I'll tell you if perhaps serve as any indication.
In my HTC EVO 3D, I've been running since the summer with CM10.2 (Android v4.3.1) with location mode set to "Network & WiFi" and "WiFi Always Scan ON". During this time the location was very accurate, location history left a fairly detailed trace. In Google Maps, was located immediately, as in Google+. If activated the GPS, even better. Summarizing, 0 issues with the location.
On January 1, I decided to upgrade to CM11 (Android v4.4.2), I set my location mode to "Battery Saving" & "Wifi Scan Always ON". During the first 10 days everything was perfect, the location history trail was so detailed as CM10.2 and battery consumption a little better. Google Maps and Google+ also positioned themselves almost immediately. Suddenly, on January 11 the location seems to stop of using WiFi networks and began guided only by the Network Cells (being rather more vague). Also when for some reason failed to position (being out of range of Network Cell), the phone started to not enter Deep Sleep Mode and the battery started to discharge at high speed. Google Maps, Google+, 1Weather ... were unable to obtain the current location or showed the last known location of hours before. Rebooting the phone sometimes temporarily solved the problem, but sometimes not.
I tried to change the placement options; abroad, with "high accuracy" mode, the location worked well, but indoors the GPS was not able to find satellites (logical) and still the same problems. I enabled and I disabled the location, nothing. Factory reset, no change.
To rule out a hardware failure, I returned CM10.2. Everything about the location worked smoothly... Return to CM11, again the same problems.
In short, my impression is that this is a software bug, as in versions prior to v4.4 Android location "Network & WiFi" + "Scan Always ON WiFi" works correctly. Moreover, not only occurs in the Nexus 5.
I have marked with a star your ticket.
I'll keept testing.
I get this problem when I use tether with WiFi always scan enabled.
When I disabled tethering, I have to manually enable WiFi to fix the location reporting issue.
With WiFi scanning not enabled, I do not get this problem
Sent from my Nexus 5 using XDA Premium 4 mobile app
I think I have similar problem and I really hope smbody can help me.
On my stock nexus 5(4.4.2) wifi location don't work in google maps and ingress, when I turn it on instead of gps location.
But in other apps wifi location works( yandex.maps, 4square)
Only reboot helps
Hello again.
I just updated Google Maps to version 7.6.0 and Google Play Services to version 4.2.39 and all the problems I had with the location are gone, everything is okay again, as it did in CM10.2. So it looks like it is confirmed that it was a software bug.
Sorry, I know this post is quite stale, but I came across it doing a search about this very same problem I've seen on my LG G4 (stock). I have a Tasker task that uses WiFi near state and I use the "Allow Wifi scanning..." option in my Advanced WiFi settings. Whenever I would use WiFi tethering and then later turn it off, I noticed my Tasker task would not detect the WiFi networks it was supposed to. If I turn the "Allow scanning" option of and back on, or just turn on WiFi altogether, it starts working again.
So, after more than a year and a half, and on a newer version of Android and it still doesn't work right. Who knows; maybe it's a Tasker problem.
-SR-
I'm having a strange issue with my Exhibit . I'm running CyanogenMod 11 20140714-UNOFFICIAL although I think I saw this earlier too. When I'm home on my WiFi, battery use it great. Under 2%/hour. When I'm at work on the WiFiit is pretty bad, around 6-7% per hour. If I turn off WiFi, it gets much better (maybe 3% per hour). Same thing if I forget the WiFi network at work. Sometimes in my battery use graph I can see it get flat for and hour and then get bad again -- I think this is losing the WiFi connection for a bit and then reconnecting.
Work recently moved and the results didn't change enough though my data service strength changed a lot. So I'm pretty sure it has to do with the WiFi network. Other people at work don't notice a drain when using WiFi, so I'm guessing it is a combination of the work WiFi and the phone.
The work WiFi is running tomato 1.27, which I administer. I sniffed the WiFi traffic with my laptop and saw a lot of ARP requests for 'who has address' for address not on the WiFibut on our unsecured network. So I separated that with a VLAN and that helped a bit but not a ton, and the ARP requests are much lower (maybe a ~1 / minute). Signal strength is as good or better at work than at home and at home there is way more congestion of neighbor's WiFi.
I know it isn't my phone usage as I would reboot my phone and not touch it for 3 hours and look at the battery drain at both work and at home and see these differences.
Any ideas on what makes the WiFi at work with a tomato router (vs some netgear wifi router) worse on battery than my home network. Work has maybe 7 clients connected at a time, vs probably just the phone at home. Any ideas on how to troubleshoot / debug. Packet sniffing on the WiFi didn't show anything that stood out.
Thanks!
exhibit679 said:
I'm having a strange issue with my Exhibit . I'm running CyanogenMod 11 20140714-UNOFFICIAL although I think I saw this earlier too. When I'm home on my WiFi, battery use it great. Under 2%/hour. When I'm at work on the WiFiit is pretty bad, around 6-7% per hour. If I turn off WiFi, it gets much better (maybe 3% per hour). Same thing if I forget the WiFi network at work. Sometimes in my battery use graph I can see it get flat for and hour and then get bad again -- I think this is losing the WiFi connection for a bit and then reconnecting.
Work recently moved and the results didn't change enough though my data service strength changed a lot. So I'm pretty sure it has to do with the WiFi network. Other people at work don't notice a drain when using WiFi, so I'm guessing it is a combination of the work WiFi and the phone.
The work WiFi is running tomato 1.27, which I administer. I sniffed the WiFi traffic with my laptop and saw a lot of ARP requests for 'who has address' for address not on the WiFibut on our unsecured network. So I separated that with a VLAN and that helped a bit but not a ton, and the ARP requests are much lower (maybe a ~1 / minute). Signal strength is as good or better at work than at home and at home there is way more congestion of neighbor's WiFi.
I know it isn't my phone usage as I would reboot my phone and not touch it for 3 hours and look at the battery drain at both work and at home and see these differences.
Any ideas on what makes the WiFi at work with a tomato router (vs some netgear wifi router) worse on battery than my home network. Work has maybe 7 clients connected at a time, vs probably just the phone at home. Any ideas on how to troubleshoot / debug. Packet sniffing on the WiFi didn't show anything that stood out.
Thanks!
Click to expand...
Click to collapse
try adjusting some of the settings in the wireless advance settings also make sure your wifi is using the least crowed possible channel and 1,6,and 11 can overlap without interference. easy way to find the best channels is to use an app on a laptop or smartphone with wifi.
Android Wifi Analyzer Free in app store
windows insidder 3 free
Linux LinSSID free
*NOTE too much interfernce may cause network delays which in turn force rechecking connection due to lost packets. also it after trying the above the second thing it could be is possible routers wifi is slowly going out. I've had a linksys router do that. new ping was awesome for e.g playing league of legends 81 when wifi notice her wifi connection kept droping. rebooted router and it worked fine for a a while then did it again and slowly became more frequent ping also increased to 106. replaced router with a new one and ping dropped to 73 and 0 wifi drops or slow downs. hope this helps
I'm pretty sure it isn't interference. At home there are 15 strong WiFi stations across all channels. At work, there are only 2 other WiFi stations and mine is at a channel far from them, so the X-talk from WiFi is way better at work. Also when work moved, I saw no change (although WiFi wasn't crowded at only location either) so I think it has to do with the WiFi network and not the environment.
did you test to make sure wifi isnt dropping packets either as well as check routers wifi intervals
did you test to make sure wifi isnt dropping packets either as well as check routers wifi intervals
Click to expand...
Click to collapse
How would you test if wifi is dropping packets? Just a ping on my phone? I can ping wireless consistently from my desktop, but that is over ethernet.
What do you mean by "wifi intervals"? Is that a setting I should see on my tomato firmware? "Beacon Interval" is set to 100, but I don't claim to understand that. "DTIM Interval" is set to 1.
Thanks,
exhibit679 said:
How would you test if wifi is dropping packets? Just a ping on my phone? I can ping wireless consistently from my desktop, but that is over ethernet.
What do you mean by "wifi intervals"? Is that a setting I should see on my tomato firmware? "Beacon Interval" is set to 100, but I don't claim to understand that. "DTIM Interval" is set to 1.
Thanks,
Click to expand...
Click to collapse
yes that is correct for wifi intervals in the tomato firmware. look at This for better info for what each setting is for. the 3 main ones i would be adjusting as needed is Beacon Interval , Fragmentation Threshold and Interference Mitigation.To test pack loss anything thats on wifi and can ping router. So yeah your phone will work. just make sure you ping the routers ip address e.g for linksys 192.168.1.1
I haven't changed any of the wireless settings yet, but I do have more data. My phone sometimes is on the wifi and has normal (low) battery usage. Today from 9:30 - 12:30 it was great, but after 12:30 there was a discontinuity in the battery vs time graph as the slope decreased by over a factor of 3. Not sure what changed -- I don't see different devices on the wireless or higher wireless utilization. I'm thinking something in the wifi trips a setting or something on the wifi isn't completing on the phone and is draining the battery.
Hi everyone
I have a profile that that kicks in every 30 mins from 8 am to 9pm, to sync my account. I have set it up to use wifi first, but if there is no wifi connection it will go to my mobile data instead.
Now here is the problem if my phone is on standby it always connects via mobile data regardless of a wifi connection is available. But if I am using my device at the time when the task runs then it will connect to wifi. I have checked my, keep wif on in sleep option and it is set to always.
Could anyone explain as to what this is happening?
Thanks in advance
What is your Android version?
I am currently using a custom rom called exodus which is currently based on marshmallow.
Check if Tasker is excludied from Battery Optimization and whether Wi-Fi is not deactivated while the phone is in sleep mode in Settings/Wi-Fi/Advanced/Keep Wi-Fi on during sleep.
yep tasker is excluded from battery optimisation and the allow wifi during sleep policy is always.
If you're turning wifi on with tasker action wifi turn on, try instead of that shell script "svc wifi enable".
Ok thanks, I will let you know the out come of this. I was using secure settings to enable Wifi as the command built in tasker, is not compatible from kitkat and onwards if I remember correctly.
I found out "svc wifi enable" command does exactly the same thing
Discovered I'm having the very same problem on cm13 and the batch jobs have been done by initialized mobile data. Finally found out a solution to initialize wifi instead of mobile data. I've no limited data plan, but wifi is more battery friendly.
taisto said:
Discovered I'm having the very same problem on cm13 and the batch jobs have been done by initialized mobile data. Finally found out a solution to initialize wifi instead of mobile data. I've no limited data plan, but wifi is more battery friendly.
Click to expand...
Click to collapse
Care to share the solution?
After all this is a community that people use to, find solutions to problems and to get the most out of their device. Which also help others who experience the issue for future reference.
Does anyone else know a solution to this?
HatchetEgg said:
Does anyone else know a solution to this?
Click to expand...
Click to collapse
Do you actually wait for wifi to connect?
Does your phone do the low power screen off wifi thingy?
rignfool said:
Do you actually wait for wifi to connect?
Does your phone do the low power screen off wifi thingy?
Click to expand...
Click to collapse
Yes under normal circumstances it takes about 20 seconds to connect.
No because for some reason my wifi will only switch on if the screen is on.
I also have uninstaled my custom kernel, but this issue still appears from time to time.
There's a setting in wifi connection settings that you can set to that says "keep Wi-Fi on during sleep"
This same setting is often repeated in battery apps like powernap, naptime, better battery saver etc.
Even though the wording is the same, I don't believe they are all touching the same setting so go find those apps if you have them installed.
Also, disable all native battery savers (including Samsung 2 or 3 different ones,, doze, battery optimization etc etc just to see if your problem goes away.... Which it will. At least you'll know though
I have the same problem with Wi-Fi connection.
I have a profile to turn Wi-Fi on and try to connect when certain conditions meet and the screen is off in that case.
It seems that the phone has difficulties turning Wi-Fi on and connecting to it when screen is off. Tasker does manage to turn Wi-Fi on but the phone somehow does not connect *reliably* in all cases.
Tasker is excluded from battery optimization, Wi-Fi on during sleep. I tried turning cpu on for a short time hoping that it will connect, but still no result.
The only possible solution might be turning the screen on briefly at that moment.
If anybody has a better idea, you are more than welcome to share!
alienyd said:
I have the same problem with Wi-Fi connection.
I have a profile to turn Wi-Fi on and try to connect when certain conditions meet and the screen is off in that case.
It seems that the phone has difficulties turning Wi-Fi on and connecting to it when screen is off. Tasker does manage to turn Wi-Fi on but the phone somehow does not connect *reliably* in all cases.
Tasker is excluded from battery optimization, Wi-Fi on during sleep. I tried turning cpu on for a short time hoping that it will connect, but still no result.
The only possible solution might be turning the screen on briefly at that moment.
If anybody has a better idea, you are more than welcome to share!
Click to expand...
Click to collapse
I can certainly say that turning the screen on will enable wifi, as I have resulted to this as well. But unfortunately I do not know any other solutions to try.
loogielv said:
There's a setting in wifi connection settings that you can set to that says "keep Wi-Fi on during sleep"
This same setting is often repeated in battery apps like powernap, naptime, better battery saver etc.
Even though the wording is the same, I don't believe they are all touching the same setting so go find those apps if you have them installed.
Also, disable all native battery savers (including Samsung 2 or 3 different ones,, doze, battery optimization etc etc just to see if your problem goes away.... Which it will. At least you'll know though
Click to expand...
Click to collapse
My Wifi is set to always "keep wifi on during sleep"
I'm going to resort to flashing stock rom again and see if that helps. As I am only using doze and amplify to save battery, all settings for that has been adjusted to the guide I found.
HatchetEgg said:
My Wifi is set to always "keep wifi on during sleep"
I'm going to resort to flashing stock rom again and see if that helps. As I am only using doze and amplify to save battery, all settings for that has been adjusted to the guide I found.
Click to expand...
Click to collapse
Before reflash, just disable xposed and see what you get... I will bet half of this soft taco I'm eating your problem disappears with greenify and or amplify. I'm not saying don't use them at all... Just make sure it works without them. I used to have some serious battery apps, but found after disabling, my battery was IMMENSELY better. And I had no config to deal with. But first things first... IT'S without a doubt, no question, a battery app setting or a system app that's being put to sleep that should be white listed