[Q]Heavy battery drain when on WiFi - Galaxy S Advance I9070 Q&A, Help & Troubleshooting

Hello everyone, there are many, many threads for our phone, so it is basically impossible to properly search and see if this question has been asked before and so here it goes.
I've tried many roms for my device (I call it Sir Hangsalot), and I have noticed that on almost every rom there is a huge issue for my device to keep itself in a deep sleep state when the WiFi is on. The ratio is approximately 70/30% awake vs. deep sleep (I am talking when the screen is off and the phone is not being used). Then I have tested with the WiFi off (mobile data still on, it is always on since I have an unlimited data plan) and the phone enters deep sleep as usual, but this time it stays in deep sleep and battery is discharging properly. From the moment I switch on the WiFi the same behaviour emerges again. This is the last night's situation. New battery (1 month old, 1700 mAh), fully charged at 1 AM, at 7 AM 54% left with the WiFi on. The night before, same conditions, WiFi off and mobile data on, at 7 AM 91% left.
So, my question is: what the hell is wrong with our WiFi which is causing this huge battery drain and is there a fix (rom, kernel, module, script, anything)?
Regards.

didije said:
Hello everyone, there are many, many threads for our phone, so it is basically impossible to properly search and see if this question has been asked before and so here it goes.
I've tried many roms for my device (I call it Sir Hangsalot), and I have noticed that on almost every rom there is a huge issue for my device to keep itself in a deep sleep state when the WiFi is on. The ratio is approximately 70/30% awake vs. deep sleep (I am talking when the screen is off and the phone is not being used). Then I have tested with the WiFi off (mobile data still on, it is always on since I have an unlimited data plan) and the phone enters deep sleep as usual, but this time it stays in deep sleep and battery is discharging properly. From the moment I switch on the WiFi the same behaviour emerges again. This is the last night's situation. New battery (1 month old, 1700 mAh), fully charged at 1 AM, at 7 AM 54% left with the WiFi on. The night before, same conditions, WiFi off and mobile data on, at 7 AM 91% left.
So, my question is: what the hell is wrong with our WiFi which is causing this huge battery drain and is there a fix (rom, kernel, module, script, anything)?
Regards.
Click to expand...
Click to collapse
Sorry for late reply.
Go to Settings > Wifi > Advanced settings and uncheck the box "Network notification" ( Notify me when an open network is available) in wifi settings, also uncheck "Scanning always available" .
Use Greenify app to freeze apps ( apps frozen will stay closed until you open them again).
These should reduce battery draining.

Thanks for the reply. I always turn off those things in wifi advanced settings, and regarding greenify I am not sure that it will help since I have this issue in every rom, even in a barebone rom without installing any app or gapps. I thought that maybe google play services could be the culprit here, but even without gapps I have a severe battery drain when wifi is on. When using mobile data everything is just fine. I really cannot find an answer for this.

didije said:
Thanks for the reply. I always turn off those things in wifi advanced settings, and regarding greenify I am not sure that it will help since I have this issue in every rom, even in a barebone rom without installing any app or gapps. I thought that maybe google play services could be the culprit here, but even without gapps I have a severe battery drain when wifi is on. When using mobile data everything is just fine. I really cannot find an answer for this.
Click to expand...
Click to collapse
Stock jb bloated should also drain much battery when there is a network connection.
I don't have more ideas... But why you keep wifi on overnight? Do you have facebook app/ what'sapp / viber / etc. ? These drain battery alot, that's why you need to greenify them.
And why you use wifi since you have unlimited data plan?
To be honest, my battery drain too when i have wifi on, but not so much. In this evening, i will put my wifi on and i will let you know how much battery i have left tomorrow.

It will be interesting to see your results, thanks. I do indeed have WhatsApp installed (after setting up my device completely) but the behaviour is the same regardless, even after fresh install and no other than the core system apps (stock, cm 10, 11, 12, aosp, carbon, vanir, LS, tried them all). Regarding leaving wifi on all the time it is the matter of habit. Since I've been using an android phone from the start (from cupcake on Huawei U8220 to lollipop on a few devices) and I have never had this kind of problem. Oh, well, I will try to keep it off and turn it on only when I need faster internet speed (my data plan is unlimited but it does not have download speed as my wifi).
Cheers!

didije said:
It will be interesting to see your results, thanks. I do indeed have WhatsApp installed (after setting up my device completely) but the behaviour is the same regardless, even after fresh install and no other than the core system apps (stock, cm 10, 11, 12, aosp, carbon, vanir, LS, tried them all). Regarding leaving wifi on all the time it is the matter of habit. Since I've been using an android phone from the start (from cupcake on Huawei U8220 to lollipop on a few devices) and I have never had this kind of problem. Oh, well, I will try to keep it off and turn it on only when I need faster internet speed (my data plan is unlimited but it does not have download speed as my wifi).
Cheers!
Click to expand...
Click to collapse
I tested two days. Wifi drain battery 15-20% for me. Hmm, maybe i have some wakelocks, not sure. I will check and i will let you know if i can solve this problem.

Related

Battery life in the last few days

Anyone notice a change in their battery life in the past few days? My girlfriend and I both are going through our batteries in just over half a day with no use. It's like the phone isn't sleeping. Looking at battery use Display is using all of the battery. I'm running CM7.0.3 and she's on stock. Looking at mine right now the phone has been on battery for 1 hour 34 minutes, and Display is taking 57% of the battery and I'm down to 84% battery.
Yes! I've had my N1 since January 2010. I stayed stock until recently when I installed CM 7.1 RC1 shortly after it was released. Battery life had always been great, both stock and under CM7, especially with SS4N1. Then, a few days ago it just fell off a cliff. I now get only about 7-8 hours, even with little to no usage. Before I'd barely lose anything if the phone wasn't being used (a percent every couple hours).
Now the Nexus One Battery Calibrator application shows a drain of ~200 mA or more constantly.
I've been tearing my hair out for the last few days, uninstalling apps right and left, trying in vain to figure out what's causing this. I even considered a full wipe and reinstall of CM 7, thinking that some system setting somewhere had gotten horked.
I've always had WiFi set to never sleep, since I'm usually either at work or home. I've also had preferred network type (*#*#4636#*#* -> Phone Info) set to "GSM auto (PRL)" for months.
I've not made any other changes I can think of that would've had such a drastic impact on power consumption. I didn't track all the app updates that happened around the time it started, so I suppose it could be one of those. But I've uninstalled just about everything and it's still happening.
I have the same issue! Just in the past week or so. I have about 50% battery then a hour or so later it's dead! I was going to get a new battery today but maybe it's a CM7 issue. I use the nightly as soon as they hit the mirror.
An update on this... There may be a big issue going on with T-Mobile or some recent update:
http://www.tmonews.com/2011/07/t-mobile-g2-users-suddenly-suffering-from-huge-battery-loss/
Looks like other users on different phones have the same issue!
Thanks for that article, Lost Dog. Makes me feel a bit better. At least I know I'm not just going nuts.
My phone still has increased battery drain even if I put it in airplane mode though. It helps, but it's still much faster than before. This makes me really puzzled as to what the cause could be. How could the cell network still be causing increased drain if the phone's completely disconnected from it? Some sort of configuration information it received that persists even after the cell radio is turned off? EDIT: I may be wrong on this one, see below.
Last night I tried a complete wipe (using Temasek's full format "Format-signed.zip" first), and re-installed CM7.1 RC1 completely fresh. I installed only the minimal Google applications and a couple crucial tools (my password safe app). However, I'm still getting the same quick battery drain today.
I hope we (or T-Moblie) can figure out how to fix this. It really cripples my phone as a useful tool to have such short life!
EDIT: I'm going to try a workaround I've seen mentioned in comments on the TMoNews and Phandroid articles about this: limiting the cellular connection to 2G/EDGE only. It seems to have made a significant difference so far. I may have been incorrect then about airplane mode not having an impact. I'd only been checking current drain with the N1 Battery Calibrator app, and never left it in airplane mode for long. Anyway, I'll post back later this afternoon with results.
Ok, so switching to 2G-only for the cellular connection seems to have made a HUGE difference. The drain rate seems to be back at around what I'd expect. Everything else I left exactly the same (WiFi on, GPS enabled, same applications, etc.)
So, I'm starting to suspect something may be up with T-Mobile's 3G/3G+ service in some areas that's preventing phones from idling properly.
Anyone else want to give it a try?
Interesting, I'll switch over to 2G only and see how that affects my phone.
I've gone as far as wiping everything and that didn't help so if it really is a t-mobile issue then that would shed some light on the situation.
I see the same trend when switching to 2G only. Very steep power usage with 3G then a dramatic decrease in the discharge slope in 2G.
T-Mobile has an issue. The trick will be getting someone there to listen.
Sent from my Nexus One using XDA App
Here is my screenshot. You can clearly see when I turned on 3G. Dramatic difference. Looking on the T-Mobile forum there are many people seeing the same issue but there's mostly finger pointing and speculation as to the cause.
nir0th said:
Anyone notice a change in their battery life in the past few days? My girlfriend and I both are going through our batteries in just over half a day with no use. It's like the phone isn't sleeping. Looking at battery use Display is using all of the battery. I'm running CM7.0.3 and she's on stock. Looking at mine right now the phone has been on battery for 1 hour 34 minutes, and Display is taking 57% of the battery and I'm down to 84% battery.
Click to expand...
Click to collapse
I also got the same rapid battery drain since last Wednesday. At that time, I thought there may be a hardware/battery issue for my nexus one. To test this, I switched my rom from CM7 back to GB stock. After a few updates for the GB stock and used it for a day, same battery drain happened. So, I changed to use another backup battery yesterday. It did not help also. I thought it may be a real hardware issue.
Then, I found this thread and research a bit in the web. I found out it could be either caused by tmobile or google map updates. I first uninstall google map and reinstall the new version right from the market again. I also switch off 3G as well. No rapid battery drain for the entire day. The battery runs normally. When I came back home today, I turned on 3G, let it for a couple of hours, checked a couple of emails and received a 20min phone call. Everything seems to work fine. No noticeable rapid battery drain was observed. My conclusion so far is: this is caused by google map 5.8 update.
Try to uninstall it and reinstall the google map from the market to see if it helps.
Good luck.
ricky9237 said:
I also got the same rapid battery drain since last Wednesday. At that time, I thought there may be a hardware/battery issue for my nexus one. To test this, I switched my rom from CM7 back to GB stock. After a few updates for the GB stock and used it for a day, same battery drain happened. So, I changed to use another backup battery yesterday. It did not help also. I thought it may be a real hardware issue.
Then, I found this thread and research a bit in the web. I found out it could be either caused by tmobile or google map updates. I first uninstall google map and reinstall the new version right from the market again. I also switch off 3G as well. No rapid battery drain for the entire day. The battery runs normally. When I came back home today, I turned on 3G, let it for a couple of hours, checked a couple of emails and received a 20min phone call. Everything seems to work fine. No noticeable rapid battery drain was observed. My conclusion so far is: this is caused by google map 5.8 update.
Try to uninstall it and reinstall the google map from the market to see if it helps.
Good luck.
Click to expand...
Click to collapse
Well, I'm willing to give it a try, but I'm skeptical. If it were the Maps 5.8 application that was preventing the phone from idling correctly, or transmitting tons of data, wouldn't we expect it to happen regardless of whether the phone was using the 2G or 3G radio connection? Sure, there might be a slight difference in the drain rate, but we'd still expect to see it in both cases. And yet the accelerated drain is alleviated completely by using only 2G. I have the Maps 5.8 application and can fix the problem by using 2G only. That indicates to me it's not an issue with the application.
I'll try uninstalling Maps tomorrow (I'm using CyanogenMod, so it's possible to remove it completely). Then I'll put the phone back on 3G and report back on what happens.
I've been experiencing similar battery issues the past week or so too. It looks like turning on 2G only seems to fix it, but what I don't get is why I'm still getting horrible battery life?
I have tasker auto turn off my 3G all together whenever my screen is turned off, and yet I leave my phone on my desk untouched all day and I end up at 40% when I get off work.
Wouldn't turning off 3G via Tasker be the same (or close to it) as turning on 2G only in the settings?
Hope t-mobile gets this worked out pretty soon!!
Glad I saw this thread. My wife and I both have N1s and have each been noticing unusually fast battery drain just in the last 3-4 days.
Last night I charged both phones to the same percentage, turned off 3G on hers and let them both sleep for a while. The phones are configured pretty similarly (stock, latest Maps installed, similar push settings etc). After about an hour and a half, my phone had lost 11% of its charge and hers had only lost 2%. That's enough of a delta for me to point to the 3G usage as the culprit. I guess I will be leaving my phone on 2G when I'm not using it if I am going to be away from a charger for a while.
It's NOT the Google Maps update.
Well, I did my experiment yesterday to rule out the Google Maps 5.8 update as the cause of this issue.
I'm running CyanogenMod so it's possible for me to uninstall Google Maps completely, not just the updates. I did so on Saturday night. Still set to 2G only, I removed my phone from the charger Sunday morning. A few hours later I enabled 3G. Later that afternoon I turned 3G off again.
I think the screenshot speaks for itself. Again, this is without Google Maps installed at all.
I asked around this weekend, and my friend's wife (also here in Portland, OR) is experiencing the same issue on her G1 on T-Mobile. Reading online I've heard about the problem affecting the MyTouch 3G, the G2, and many here with the Nexus One. The common elements seem to be: T-Mobile 3G service, particular models of phones, and some particular geographic areas.
Bottom line (IMHO): T-Mobile has a problem with the configuration of their 3G service in some areas, and it's preventing many phones from being able to idle/sleep properly, resulting in huge battery drain.
Here's mine, I posted this several days ago in the TMONEWS thread.
keenerb said:
Here's mine, I posted this several days ago in the TMONEWS thread.
Click to expand...
Click to collapse
That's interesting. Even locking the phone to 2G/EDGE didn't have an impact? (not a Nexus One there it appears, what model?)
How did you go about disabling the 3G connection? I'm not sure if there are multiple ways to do it, but I used:
Settings -> Wireless Networks -> Mobile Networks -> Use only 2G networks
Really strange that even pulling the SIM didn't seem to make a difference. Or maybe that's not the same as turning off the cell radio entirely? Perhaps the issue is lower-level, like the radio constantly polling the tower or something even in the absence of being able to successfully register on the network for active use.
Does enabling airplane mode fix the drain issue for you?
Deliamber said:
That's interesting. Even locking the phone to 2G/EDGE didn't have an impact? (not a Nexus One there it appears, what model?)
How did you go about disabling the 3G connection? I'm not sure if there are multiple ways to do it, but I used:
Settings -> Wireless Networks -> Mobile Networks -> Use only 2G networks
Really strange that even pulling the SIM didn't seem to make a difference. Or maybe that's not the same as turning off the cell radio entirely? Perhaps the issue is lower-level, like the radio constantly polling the tower or something even in the absence of being able to successfully register on the network for active use.
Does enabling airplane mode fix the drain issue for you?
Click to expand...
Click to collapse
This is a G2.
2G has been much better than 3g, but still probably only 3/4 of my former battery life, optimistically. I checked "Use 2g networks only", same as everyone else. The graph above is a little misleading, since I really saw better battery life, that initial flat and quick drop actually averages out to "decent", rather than "horrific.
At the "Pulled SIM and SD card" mark I re-enabled 3g, so the drain afterwards is still 3g related.
Pulling the SIM doesn't disconnect it from the radio tower, you can still make emergency calls/etc. so it has to maintain a connection I suppose.
Twice I hard-reset the phone, pulled out SD and SIM, and still had huge huge battery drain. Powertutor said IDLE draw was 1437mw on average, no SIM, no WIFI, just sitting there on my desk.
In Airplane mode it'll last for days...
Wannagotopopeyes said:
I've been experiencing similar battery issues the past week or so too. It looks like turning on 2G only seems to fix it, but what I don't get is why I'm still getting horrible battery life?
I have tasker auto turn off my 3G all together whenever my screen is turned off, and yet I leave my phone on my desk untouched all day and I end up at 40% when I get off work.
Wouldn't turning off 3G via Tasker be the same (or close to it) as turning on 2G only in the settings?
Hope t-mobile gets this worked out pretty soon!!
Click to expand...
Click to collapse
I'm not familiar with Tasker. However, maybe it's just disabling cellular data use, not actually disabling the 3G radio? From what we've seen it appears the problem is very low-level, perhaps something to do with basic communication/negotiation between the cell radio in the phone and the towers, as there's no indication of particular application activity or significant data transmission that the Android OS is aware of.
In the T-Mobile support thread there are reports that T-Mobile is now acknowledging there's an issue with changes to their HSPA+ network in some areas.
I've had 3G off all day and my battery life is back to normal. I'm at 87% after at least 6 hours on battery. Yesterday I was down to less than 50% by this time. Luckily, I am able to be on Wifi at work so I don't have to deal with EDGE speeds, which make the Baby Jesus cry.
deliamber, you probably noticed this already but I'm also in the Portland market. It's gotta be a network issue.
I'm having the same issue on my N1 (I'm around the Portland area myself)
I did everything as well, 2g is the only thing that saves me..
Can't wait for a fix!

Battery drains on Maclaws CM11

I'm opening this thread to clean up the Dev thread, since the most probable cause of battery drains are software/configuration related.
Here's my own experience with this matter.
Most of the drains I've seen are related to Location settings and Google Now. It seems Google's Location Reporting and Location History keep pinging WiFi for the location at a fairly high rate, so keeping the phone Awake and/or the WiFi running all the time. An usual indication of this is that in BetterBatteryStats you get:
1) Screen On % very low
2) WiFi On 100% of the time
3) WiFi Running 100% of the time.
4) Awake with moderate-to-high %.
To test it, here's what should be done:
1) Get BetterBatteryStats (BBS), enable Root, install it as system app (in advanced settings). Reboot.
2) Disable WiFi and GPS completely, preferably leaving Data Network also off. You may go all the way and just turn on airplane mode.
3) Leave the phone idle for at least 1h and check that there is no battery drain.
If you get any considerable drain (more than 5%/h), check Kernel Wakelocks and Partial wakelocks, or try again with 2G networks only. You may have a baseband problem. Consider this step as your "control group" as it ensures nothing in the hardware or in the ROM is wrong.
If there is no drain, enable WiFi and GPS again, but make sure all this settings are UNCHECKED:
1) Settings->WiFi-> Advanced: "Network notification", "Keep wifi on during sleep" set to "Never", "Scanning always available".
2) Settings->Location->Google Location Reporting: "Location Reporting" set to off and "Location History" set to off. Or just disable Location completely.
3) Check Settings->Security -> Device Administrators -> Disable at least Android Device Manager. If you can, disable everything else in this screen, such as Airdroid, Cerberus, etc
4) App drawer -> Google Settings -> Search -> Set Google Now to Off. You can also configure Android Device Manager here.
Leave the phone idle again for 1h and check BBS. In theory you shouldn't need to recharge completely, just enable the watchdog in BBS. Always check the wakelocks too.
You should get this on BBS:
1) Screen On % very low
2) WiFi On 100% of the time
3) WiFi Running with low % (anything less than 50% is ok, depending on Sync settings and background apps)
4) Awake with low %.
5) Deep Sleep with almost 100%
Go back enabling stuff as needed, one by one, leave the phone idle and check BBS. Rinse and repeat until you find the culprit.
One thing, make sure you do this after letting the phone sync some of the stuff. Don't do this immediately after a setting up a Google account.
Some people also reported that doing a factory reset solves the drains. It's always recommended anyway.
Any other hints are also appreciated.
For people with trouble making BBS work, Try getting the latest version, enable Root in Settings->Advanced and them System App, also in Settings-> Advanced.
Also:
1) When the phone is charging it WILL BE AWAKE WITH BOTH CORES, ALL THE TIME. Depending on the governor used, both cores may even stay at full speed (aka 1GHz). This is BY DESIGN and stock ROMs does that too. So any measurement while the phone is charging is useless.
2) Most "calibration" procedures are myths and don't have any effect. Erasing batterystats.bin also does nothing to increse battery life or remove drains (but may solve some charging issues, still unclear).
Very interesting.. Good thread and good options to test our battery drain ! thanks for the post.
I'll try this when I get home from school, thanks.
Weird thing happened last night, I thought the battery drain was gone when I recalibrated, but my phone discharged over night, weird thing is my settings show the phone didn't go to sleep once during the entire night, even though it was on airplane mode and I had already used it for like 3 or 4 hours with no apparent brain
There is a lot of battery drain only when WiFi in on. Even if the phone is idle.
I'm on:
Maclaw CM 11.0 [20131210]
I8190XXAMJ2
I'll do the exact tests and post my results.
Do you get notifications with wifi set to never during sleep?
RodHQ said:
I'll try this when I get home from school, thanks.
Weird thing happened last night, I thought the battery drain was gone when I recalibrated, but my phone discharged over night, weird thing is my settings show the phone didn't go to sleep once during the entire night, even though it was on airplane mode and I had already used it for like 3 or 4 hours with no apparent brain
Click to expand...
Click to collapse
Use the 1st step I wrote above with BBS. Check Kernel Wakelocks and Partial Wakelocks. You will be able to pinpoint exaclty what is keeping your phone awake.
I was about to start a thread on the same topic but my problem is with Carbon Rom 4.4.2 . The phone never goes into deep sleep and is awake 100% of the time. I'm attaching what I see as the culprit in B.B.S. I already disabled sync and yet the wakeclocks are sync related I hope anyone can help me with this.
i just changed to peagusq everything is fine
BBS How-to
ArtCar said:
I was about to start a thread on the same topic but my problem is with Carbon Rom 4.4.2 . The phone never goes into deep sleep and is awake 100% of the time. I'm attaching what I see as the culprit in B.B.S. I already disabled sync and yet the wakeclocks are sync related I hope anyone can help me with this.
Click to expand...
Click to collapse
Maybe BBS How-to will help you
http://forum.xda-developers.com/showpost.php?p=15869904&postcount=3
If not than post screens and collected dumps on BBS thread
gimme link to maclaw 4.4.2 for s advance
Sent from my GT-I9070 using xda app-developers app
Link
Here you are
http://maclaw.pl/downloads/
same here
eswarvf said:
i just changed to peagusq everything is fine
Click to expand...
Click to collapse
+1
ArtCar said:
I was about to start a thread on the same topic but my problem is with Carbon Rom 4.4.2 . The phone never goes into deep sleep and is awake 100% of the time. I'm attaching what I see as the culprit in B.B.S. I already disabled sync and yet the wakeclocks are sync related I hope anyone can help me with this.
Click to expand...
Click to collapse
Notice that the Count is 0 on both GoogleServices related wakelocks. To me this seems that Chrome and something else (maybe G+?) are trying to sync (perhaps the first one?) but are not getting enough network time/bandwidth to do so. I suggest you connect to an wifi, turn on the sync, and leave the phone awake for a while (try not to use the network very much). See if that solves. If not, backup and factory reset are your friends.
rcoacci said:
Notice that the Count is 0 on both GoogleServices related wakelocks. To me this seems that Chrome and something else (maybe G+?) are trying to sync (perhaps the first one?) but are not getting enough network time/bandwidth to do so. I suggest you connect to an wifi, turn on the sync, and leave the phone awake for a while (try not to use the network very much). See if that solves. If not, backup and factory reset are your friends.
Click to expand...
Click to collapse
I fixed my problem by switching back to dalvik and now my phone only looses about 5% battery overnight.

Mobile Radio Active being the main reason of discharge

Hello, I bought my Oneplus 3T recently and I'm using stick ROMwith ElementalX. The main problem I found is that everytime I look at what consumed the highest percentage of my battery are things like WA, Google Play Services, etc. If I click on the to see what is happening, I always get the Mobile Radio Active working like pretty much all the time.
For example, in a normal use for me which is between 26-30 hours until I decide to charge my phone(between 10-20%), I get a SoT of 4 hours and a half more or less. The problem is that from the total percentage of battery used, these applications which have the Mobile Radio Active problem drain between 10-15% of the total amount of battery, while my screen is like 7% of that total value.
Researching on XDA, I couldn't get any solution to this problem. I call this a problem because, every day I see new photos from people with between 7-9 h of SoT in maybe 20 hours of use. Of course, you can't really call this a bad performance of my phone but I think that this difference of hours with screen on is greater than the amount of time my phone stays with my screen off.
As a consequence, I wanted to know if there is a solution or some tips to reduce that Mobile Radio Active bug in order to extend the time between charges.
Thnk you very much.
Additional information: I cleaned flash stock today + ElementalX kernel + SuperSu to see if this kind of bug dissappears.
To "solve" the Mobile Radio Active bug you must take some extreme steps:
First, Root your device. This MUST be SuperSu unfortunately, as the app I'm going to suggest doesn't allow you to toggle the required settings with Magisk or Phh.
Install LeanDroid.
In settings, allow disabling of Wifi, Cellular Data, Bluetooth, Network Location and GPS Location.
Set to "0 min" after screen off. Click "Except".
Configure this screen to your taste, but I have "Except if tethering", "Except if charging (AC). Under Wifi I have "Except if connected to <my home WIFI>" and I have "Except if active: Limit" set to 100KB/s.
Bluetooth "Except if connected"
Location "Except if GPS in use"
and "Network Mode except if original strength OK."
Go back to the main panel.
Restore "After Screen Unlocked"
"Every 60 MIN after screen off" (Configure this to your liking)
With SuperSU and the above, turning the phone screen off disables the data modem when the transfer rate is low, this effectively shuts down the radio and prevents the Mobile Radio Active bug.
Run this with tools like Greenify and ForceDoze to really pump your battery life.
It's not unusual for me to see 8 hour screen on time with these apps and the above configuration.
and without root?
Just curious, how is the status of this bug ? I followed that Bug for like 1.5Years...since Lollipop i think. I myself tryed several things in Sultans ROMs in a OnePlusOne, but no Solution so far ;-(
Bug is still active. As far as I can tell, it remains active in Oero too.
The only option if you are not rooted is to close all apps and toggle airplane mode before you switch the screen off. This only solves the issue until the next time data is accessed by any app, though
THX for reply. Jepp on Wifi i get 4-5days @3-4h SOT. On Mobile only 2 days
Dressiel said:
THX for reply. Jepp on Wifi i get 4-5days @3-4h SOT. On Mobile only 2 days
Click to expand...
Click to collapse
Obviously, it takes more power to send/receive signals to a cell tower 10 miles away, versus a WiFi router that is 20 feet away.
Also using WiFi doesn't ensure the modem is Switched off. Modem power doesn't mean data.
damiensturdy said:
Bug is still active. As far as I can tell, it remains active in Oero too.
The only option if you are not rooted is to close all apps and toggle airplane mode before you switch the screen off. This only solves the issue until the next time data is accessed by any app, though
Click to expand...
Click to collapse
This this bugs even remain active in Oreo i will never use android again.
It's existed since Lollipop and I doubt Google will fix it any time soon.
To get 7 hours of on screen time, you will of course have to sacrifice something, the laws of physics are always with us, reminding us from day to day things that can and can't be done. But hey, if you live in a cardboard box next to a cell tower should give you much better battery time without sacrificing the phone-part of your smart device. ? ?

Multiple Wifi issues.

For sometimes MI 5 battery was acting a bit weird time to time.
Clean flashing to LOS seemed to solve the battery issue, but I discovered another issue while checking up with ampere.
When wifi is on, battery drain is abnormally high. (-870 ma on average in ampere). Even in idle time, there can be 20-30% drain when the phone is virtually nothing. And in addition to that, the heating was a bit high too, with wifi on.
I tried everything I could to solve these. Tested different roms (Xiaomi.eu, LOS, RR, Paranoid), firmwares, tried wavelock blocking and all that.
Of course, I tested the battery drain on a fresh rom - and the issue persisted. So it's not some rouge 3rd party app, unless one of the Gapps is the culprit. But, of course, I even tried disabling some of the gapps like gp service and play store, just to be sure. Yes, the problem exists even with synch and location off, and those wifi scanning and other settings doesn't do anything either.
However, with wifi off, battery was quite good (-100 ma drain on average in ampere)
Recently the issue started escalating. Not only was there the abnormal high drain with wifi on, but toggling wifi crashed the device and started a reboot, after which the device connected.
The only major thing I had remaining to be done - is fastboot. I did even that. Fastbooted into official roms, older 6.0 Xiaomi.eu roms which worked fine in the past ....but the issue persisted. In fact it started to escalate further. More reboots when I try to switch on wifi. Sometimes got stuck in a reboot loop ...and so on.
Right now, wifi is not even connecting. It just stays at 'saved'. Oddly enough, enabling bluetooth and trying to reconnect seems to allow the connection to take place. The drain is still here. (The solutions in this thread: https://forum.xda-developers.com/mi-5/help/wifi-connectivity-problem-t3517777 isn't helping me either)
I don't think this is a router issue either. I did tweak router settings, channels, and all that. I rebooted it and all. No help. And, other devices are working fine with the same router. But, the most definitive evidence that it's not a router problem is that I faced the same issues when trying to connect (with wifi) to a hotspot created from a mobile network from another device.
Do you think it's the worst case scenario: a hardware malfunction?
JRC1995 said:
For sometimes MI 5 battery was acting a bit weird time to time.
Clean flashing to LOS seemed to solve the battery issue, but I discovered another issue while checking up with ampere.
When wifi is on, battery drain is abnormally high. (-870 ma on average in ampere). Even in idle time, there can be 20-30% drain when the phone is virtually nothing. And in addition to that, the heating was a bit high too, with wifi on.
I tried everything I could to solve these. Tested different roms (Xiaomi.eu, LOS, RR, Paranoid), firmwares, tried wavelock blocking and all that.
Of course, I tested the battery drain on a fresh rom - and the issue persisted. So it's not some rouge 3rd party app, unless one of the Gapps is the culprit. But, of course, I even tried disabling some of the gapps like gp service and play store, just to be sure. Yes, the problem exists even with synch and location off, and those wifi scanning and other settings doesn't do anything either.
However, with wifi off, battery was quite good (-100 ma drain on average in ampere)
Recently the issue started escalating. Not only was there the abnormal high drain with wifi on, but toggling wifi crashed the device and started a reboot, after which the device connected.
The only major thing I had remaining to be done - is fastboot. I did even that. Fastbooted into official roms, older 6.0 Xiaomi.eu roms which worked fine in the past ....but the issue persisted. In fact it started to escalate further. More reboots when I try to switch on wifi. Sometimes got stuck in a reboot loop ...and so on.
Right now, wifi is not even connecting. It just stays at 'saved'. Oddly enough, enabling bluetooth and trying to reconnect seems to allow the connection to take place. The drain is still here. (The solutions in this thread: https://forum.xda-developers.com/mi-5/help/wifi-connectivity-problem-t3517777 isn't helping me either)
I don't think this is a router issue either. I did tweak router settings, channels, and all that. I rebooted it and all. No help. And, other devices are working fine with the same router. But, the most definitive evidence that it's not a router problem is that I faced the same issues when trying to connect (with wifi) to a hotspot created from a mobile network from another device.
Do you think it's the worst case scenario: a hardware malfunction?
Click to expand...
Click to collapse
Could you provide battery apps and hardware usage stats and graph?
My prediction it caused by Google location service that try to lock location but was unable to get GPS lock, so it tried to used WIFI scanning to get location lock.
Try to disable WiFi and Bluetooth scanning option on Location - Tri dot menu on top right - scanning
Sent from my MI 5 using Tapatalk
masruri03 said:
Could you provide battery apps and hardware usage stats and graph?
My prediction it caused by Google location service that try to lock location but was unable to get GPS lock, so it tried to used WIFI scanning to get location lock.
Try to disable WiFi and Bluetooth scanning option on Location - Tri dot menu on top right - scanning
Sent from my MI 5 using Tapatalk
Click to expand...
Click to collapse
I can provide the stats later. My device has been offline (normal condition) for quite a while...so there's not much stat to share as of now. I will collect and share them later.
However, I have checked them before. There wasn't anything too interesting. The graph very vividly showed how it fell only when wifi is on...but other than that, most battery was taken by device, idle state or something like that. I didn't find anything interesting in betterbatterystats either. Other than that I did checked the frequencies with kernel auditor too. It seemed normal overall. Though once, I did notice high spike in CPU usage. IIRC, the phone was in deep sleep for most of the time too. Not sure, what the current state is, because new issues are coming up now. So I have to recheck the condition.
I always keep wifi scanning, bluetooth scanning off anyway. So that's not the issue. 'I will again check in the china rom (no gapps), this time more rigorously,....that should clear gapps out of suspicion, if they are innocent.
masruri03 said:
Could you provide battery apps and hardware usage stats and graph?
My prediction it caused by Google location service that try to lock location but was unable to get GPS lock, so it tried to used WIFI scanning to get location lock.
Try to disable WiFi and Bluetooth scanning option on Location - Tri dot menu on top right - scanning
Sent from my MI 5 using Tapatalk
Click to expand...
Click to collapse
Check the screenshot
In a freshly fastbooted MIUI global stable rom (with wifi scanning off, and wifi always on off), I got 1% battery drain (100% -> 99%) overnight (6 hours approx)
But, only in a few minutes battery went down to 91% when wifi was on.
The device was idle in both cases.
In past I have assured that it was in deep sleep. Similar rate drain in chinese rom (so no rouge Gapps), and same drain in custom roms.
The hardware usage was taken after I used the device for a while, which is why drain due to screen on is high. Anyway, even before using the device, the maximum drainage was attributed to 'idle phone' so there isn't really any interesting info. One thing to note, that the hardware battery drain states doesn't consider wifi to be the cause of high drain, however the drain is still clearly correlated with active wifi.

Abnormal battery consumption in wifi

Hi, I'm noticing an abnormal battery consumption when the phone is connected in wifi (about 7-10% per hour in standby) and I can see the lower arrow of data connection always on, so some apps are constantly download data. I have tried to close several apps manually (even system app) but nothing has changed. In 4G instead all is fine. Do you have any idea what the problem might be?
I did notice this, too in the newest firmware.
Did even check if there is much traffic (can see it per app in adguard), but nothing.
Workaround for me is to disable wifi if in standby.
(Doesn't help if in usage of cause...)
XDynamite said:
Hi, I'm noticing an abnormal battery consumption when the phone is connected in wifi (about 7-10% per hour in standby) and I can see the lower arrow of data connection always on, so some apps are constantly download data. I have tried to close several apps manually (even system app) but nothing has changed. In 4G instead all is fine. Do you have any idea what the problem might be?
Click to expand...
Click to collapse
What apps are showing at the top in battery usage?
Have you thought of installing BBS, there is a version that runs on non-root.
Does RCSService show up in battery usage?
Just in case it might help our op:
After 1day 12 hours (35min SOT):
Standby 11%
Mobile net in standby (sorry need to translate it) 6%
Deezer 6%
AdGuard 4%
Android OS 4%
Android-System 2 %
Bluetooth 1%
Display 1%
--> This should make 35%, but well, the phone shows 60% left, so still 5% are missing (I suppose it's just "other" apps >1%).
Phone still showing 2 days 4 hours to go.
Didgesteve said:
What apps are showing at the top in battery usage?
Have you thought of installing BBS, there is a version that runs on non-root.
Does RCSService show up in battery usage?
Click to expand...
Click to collapse
I can see: Google Play services, RCS, Google Play Store, Android Operating System, Chrome, Wifi, Memory.
For installing BBS, for what I could read, you need to install via adb and for now I don't do it.
However, if I reboot the phone when I see this strange behavior, keeping always wifi on, then the phone returns to normal operation, and the battery consumption is normal. The problem starts when I turn on the wifi manually, with the phone already switched on.
Hi,
i have this problem too (not rooted, last firmware).
About 6% / hour if connect the xz1c to wifi.
If i simply restart the phone (with wifi on), it decreases to less than 1% / hour.
Did someone find the cause or a solution?
Thank you.
I opened discussions in Sony Mobile forums:
International
Italian
If you want, write about your issue there.
Maybe it will help to be solved.
Thank you.
Same problem here. I replied in the RCS thread, but on the latest 2 firmwares I lose about 7%/hr (idle drain) with wifi on and less than 1%/hr with wifi off. My phone also gets hot when I keep wifi on while idle. I've solved the problem by keeping wifi off except during large downloads, and I have a high enough data cap for that to be a reasonable option. Still annoying though.
Has anyone checked if there is a difference when WiFi scanning is disabled?
Good day.
I do not currently own a xz1C, but in my Galaxy S8 had the same issue, until i turned off "WiFi scanning" like user 'pseudonym58' said.
I have WIFI scanning OFF.
(the one in wifi-settings and the one in google-localization)
XDynamite said:
Hi, I'm noticing an abnormal battery consumption when the phone is connected in wifi (about 7-10% per hour in standby) and I can see the lower arrow of data connection always on, so some apps are constantly download data. I have tried to close several apps manually (even system app) but nothing has changed. In 4G instead all is fine. Do you have any idea what the problem might be?
Click to expand...
Click to collapse
nospherato said:
I did notice this, too in the newest firmware.
Click to expand...
Click to collapse
jrbmed08 said:
Same problem here.
Click to expand...
Click to collapse
Hansoliv said:
I do not currently own a xz1C, but in my Galaxy S8 had the same issue, until i turned off "WiFi scanning" like user 'pseudonym58' said.
Click to expand...
Click to collapse
Hi guys,
yesterday i tried to see if Play Store in XZ1C was updated.
(play store, setting, tap on version)
It wasn't.
Tapping on version, it downloaded last version (8.9.24)
I rebooted the phone.
Battery drain on Wifi seems reduced (with my two modems) or maybe solved.
I'm monitoring the situation and i'll let you know.
Strangely it's 2 or 3 days the problem seems gone, I don't know if the reason for the change is the updating of some app or service. Play Store has been updated yesterday but the problem was already gone before. For now all is ok.
@aerofan
What version is installed now on your device?
(Btw I can press the version 100 times, it always tells me it downloading a new version )
aerofan said:
Tapping on version, it downloaded last version (8.9.24)
Click to expand...
Click to collapse
I have 8.9.24.
This is what i did:
I tapped on version.
It said "google play will be updated" (or something similar)
I waited for a while (no notifications or messages appeared)
I came back on google play and tapped on version and it said it was updated.
I rebooted the phone.
Strange, I had an older version installed but it would not update.
I uninstalled all updates for the playstore and searched again: 8.9.24
Edit: Didn't fix the battery consume
I am experiencing the same issue. I have not checked on the google playstore version yet.
As soon as I switch wify on my battery loss is about 5-6% an hour when doing nothing. There is also no program standing out in the battery menu. When adding the consumption times there is a huge gap that cannot be explained. RCS phone shows up, but only with minor usage.
I will be back to you after checking the version of google playstore. Hopefully it does the trick.
Edit: I disabled automatic updates of google playstore and rebooted the phone. Battery consumption looks normal now. I then switched on auto update again. It still looks good.
Edit: Battery drain can temporarily be fixed with rebooting the device. Updating the playstore or disabling automatic updates did not work for me. Any other ideas?
Hi,
I have same problem with my battery life, it's quite fitfully.
I've checked that my battery can stand 3 days and 7h of screen on, but on the other hand sometimes my battery only can stand 1 days and 2'5h of screen on.
I make a very undemanding and very similar daily use of the XZ1 Compact
I have my xz1 Compact totally updated: Firmware v.47.1.A.12.119 PlayStore v.9.4.18 and disabled all of uncommon scannings (Wi-Fi,BT,Location,etc..)
My router has 2.4ghz band only enabled and WPA-PSK security, during the night I specially have good and strong Wi-Fi signal in XZ1 Compact.
So...Does anyone know what may be happening? I really appreciate your help.
Thanks.
Wifi battery drain was improved on the past few firmwares for me, but it's now back with a vengeance. This is on 47.1.A.12.235 (July patch). Absolutely massive drain during the times when wifi was on, with almost no screen use during that time. I resorted to turning wifi off.
jrbmed08 said:
Wifi battery drain was improved on the past few firmwares for me, but it's now back with a vengeance. This is on 47.1.A.12.235 (July patch). Absolutely massive drain during the times when wifi was on, with almost no screen use during that time. I resorted to turning wifi off.
Click to expand...
Click to collapse
The 5Ghz band uses a lot of juice, maybe the latest firmware pushes the phone to use that frequency by default. To test this try seperating the 5Ghz and 2.4Ghz frequencies on your home router and joining the 2.4 with your phone.
This is just a hunch on my part, but I can't back it up with any proof.

Categories

Resources