Related
Hi,
I have flashed my N1 with CM6.1.1 around 2 weeks ago. I'm really satisfied with this ROM.
However, I have noticed my Wi-Fi has gone a little bit weird after flashing CM. Regardless of the Wi-Fi sleep policy setting, my N1 won't turn off the Wi-Fi after it's locked. When I unlock my N1, I can watch the wi-fi icon disappear and then re-appear after a few seconds.
Now I have to manually turn off the Wi-Fi before locking my N1 to conserve the battery. Does anyone know how to get rid of this bug?
Thanks.
i will give you one tip which is its better to leave wifi ON when your phone goes to sleep because it's much better for battery life. if you let wifi turn off during sleep, the phone switches to 3g data which drains far more battery than leaving it on wifi.
now about the disconnect issue, i'm not quite sure what you're seeing. i have a problem with cyanogen 6 where my wifi disconnects for about 3 seconds, and this happens about every 10 minutes or so. its very annoying. but when my phone goes to sleep, i wake it up and still see wifi connected. so no issues there for me.
Wildmonk has some kernel just to address the WiFi issues.
I suggest WM kernel with CM ROM anyway
The problem occurs randomly. Sometimes my phone "knows" it should turn the wi-fi off when it's locked. But most of the time it doesn't...
I think I will live with it.
Anyway. Thanks for the reply.
My WiFi still disconnects every few minutes, then re connects again. It drives me nuts. Cyanogen 6.0
to momomok,
I think you have misunderstood the word "sleep" for Wifi, here sleep means when you are not using your phone the Wifi will turn off temporarily instead of infinitely. It's more like a nap. As you unlock the phone, Wifi will get awake. That's why you will see it re-appear after a few seconds.
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.
Anyone came across the situation that the system suddenly show wifi is on inside battery page but is actually off and I haven't turn it on manually?
It seems to be on inside the battery page sometime in the midnight but I double checked the wifi page it is off, and I am sure I have turned it off before I went to sleep.
And yes I have checked previous posts and my situation is:
1) as seen from the battery page, wifi use turned to positive some time in the midnight when I haven't touched it, and kept on until I notice it.
2) confirmed unchecked scanning always available, also wifi on during sleep turned to charging only and I was actually not charging last night
3) I habitually turn off wifi by default and only manually turn on wifi. The wifi page also shows the wifi is off
4) the wifi bar on battery page goes away after reboot, without me changing any setting. And I want to know if there is any other way to do it.
5) battery usage seems to drop like wifi is really on, i.e. quicker than when it is off.
So the problem is, how do I know if wifi is really on, when battery page say it is and wifi page say it isn't? And what possibly triggered this irregularity?
zhaoyun said:
Anyone came across the situation that the system suddenly show wifi is on inside battery page but is actually off and I haven't turn it on manually?
It seems to be on inside the battery page sometime in the midnight but I double checked the wifi page it is off, and I am sure I have turned it off before I went to sleep.
And yes I have checked previous posts and my situation is:
1) as seen from the battery page, wifi use turned to positive some time in the midnight when I haven't touched it, and kept on until I notice it.
2) confirmed unchecked scanning always available, also wifi on during sleep turned to charging only and I was actually not charging last night
3) I habitually turn off wifi by default and only manually turn on wifi. The wifi page also shows the wifi is off
4) the wifi bar on battery page goes away after reboot, without me changing any setting. And I want to know if there is any other way to do it.
5) battery usage seems to drop like wifi is really on, i.e. quicker than when it is off.
So the problem is, how do I know if wifi is really on, when battery page say it is and wifi page say it isn't? And what possibly triggered this irregularity?
Click to expand...
Click to collapse
I discovered that bug months ago, also related with a high battery drain with Google Play Services.
Sometimes is there, sometimes it's not; haven't found a workaround.
Yes you helped me earlier with the Google play services in another posts. Now I have upgraded to the stock 5.1.1 and basically the google play services now stabilized (in a sense that it drains me battery but not as harsh as before ). So I think my current case may not be related to google play services. I just don't understand why different pages can show different wifi status, particularly when it started during a night time when no one has toggled it.
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. ? ?
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.