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.
Related
Every time I put the Nook Color in standby, it loses my wireless. Upon taking it out of standby, it doesn't reconnect automatically- i am forced to actually go into settings- wireless before it finds my wireless network.
I have installed Spare Parts and set the Wifi sleep policy to never, but it still doesn't automatically connect to my wifi network. Even if I turn off my wireless and turn it back on via the widget I have on my desktop, it won't connect. I am forced to enter into Settings- wireless every time.
Thanks in advance.
bumping once- seriously nobody else has this problem?
Yes I have this problem too but don't know how to fix it. I just turn wireless off then back on.
No issues here at all, reconnected within seconds. Rarely do I even notice it was disconnected at all.
Are still on the 1.0.0 firmware? I had this issue, but since updating to 1.0.1 (which stated it improved wifi) I haven't had this issue.
Yeah, I see this too. I saw there was a hack somewhere to make it persistent. But that would certainly drain your battery more. It didnt bother me all that much, but if you need it for Gmail/texting/Google Talk, I could see why you would want it to be persistent for notifications. Didnt bother me, since I have a phone too.
By any chance did you install the wpa_supplicant to enable use of adhoc networks? I've only had the issue since I did that. More info below:
http://forum.xda-developers.com/showthread.php?t=868354
Gabryael said:
By any chance did you install the wpa_supplicant to enable use of adhoc networks? I've only had the issue since I did that. More info below:
http://forum.xda-developers.com/showthread.php?t=868354
Click to expand...
Click to collapse
Same here mine only does it since the install, but I knew that going into it as well.
I always had that issue, before the adhoc fix and after. Learned to livevwith it. Haven't upgraded yet... still on 1.0
Sent from my NookColor
Same exact thing is happening on mine. I have AutoNooter v1.01 currently and every time my device goes to sleep the wifi turns off, which hasn't been an issue until just recently.
In the past as soon as I would turn back on my device, the wifi would reconnect. Now I have to manually go to Settings> Wifi to get it to reconnect to the network.
I have tried the SpareParts fix, but it doesn't help. I have also tried on different wifi networks, but the connection issues still occur. Any feedback would be greatly appreciated. Thanks.
I also have the same problem, running auto-nooter. The only thing is that my signal never reconnects, I have to manually reset my internet router in order to get it back. Rebooting, or turning off Wi-Fi settings within the device doesn't help.
The only thing that works is never allowing my NC to fall asleep on it's own. If I manually put it into standby mode, it works fine.
I have the 1.0.1 update, and I called BN, but they only offered to replace it. I have it tricked out just the way I want it, so I'm just going to hold on to it for now.
CocoaGoddess said:
I also have the same problem, running auto-nooter. The only thing is that my signal never reconnects, I have to manually reset my internet router in order to get it back. Rebooting, or turning off Wi-Fi settings within the device doesn't help.
The only thing that works is never allowing my NC to fall asleep on it's own. If I manually put it into standby mode, it works fine.
I have the 1.0.1 update, and I called BN, but they only offered to replace it. I have it tricked out just the way I want it, so I'm just going to hold on to it for now.
Click to expand...
Click to collapse
I had the same issue as well on 1.0.1.
I've found that the wifi doesn't turn off for me if it is plugged in and charging. I did enable wifi to never sleep w/ spare parts, but it still turns wifi off when it goes into standby when not charging.
My wifi stays connected with the screen off, but some times when I turn the screen back on the wifi disconnects. I know this happens because I am listening to Tune in radio and it does not disconnect until I turn my screen back on.
Sent from my Nook color using the XDA app.
hxxp://nookdevs.com/NookColor_Keep_wifi_alive_by_preventing_sleep_mode
This also explains why the wifi doesn't kick out when a music player is playing. I don't have enough posts yet to post a real link :/
aho43 said:
hxxp://nookdevs.com/NookColor_Keep_wifi_alive_by_preventing_sleep_mode
This also explains why the wifi doesn't kick out when a music player is playing. I don't have enough posts yet to post a real link :/
Click to expand...
Click to collapse
Dang, I wish I would have found that app before I made and released my own.
http://www.appbrain.com/app/softlocker-free/otis8.softlocker
Mine does it.
I have to turn off then on.
This is only after the adhoc patch. I think I'm going back to infrastructure only.
I'm using wake timer:
http://www.appbrain.com/app/waketimer/schaze.waketimer
Same idea as SoftLocker but lets you also setup a timer where after a certain amount of time the system will actually sleep. Useful for night time or other extended periods of non use where you don't want to drain the battery.
Problem is that it does not activate on boot like SoftLocker and also after the timer expires and it goes into sleep, WakeTimer does not reactivate on wake.
Edit- after testing both programs I think SoftLocker is better. Running battery tests, there was not significant battery drain having SoftLocker on all the time. A few % overnight, probably related to the accumulation of e-mail, tweets, RSS downloads etc, but really minimal. Like that Soflocker can be checked to start on startup.
+1 for SmartLocker
This has happened for me as well. My remedy was to create a Tasker task where it's set up to connect to my SSID whenever it's detected.
colorado_al said:
I'm using wake timer:
http://www.appbrain.com/app/waketimer/schaze.waketimer
Same idea as SoftLocker but lets you also setup a timer where after a certain amount of time the system will actually sleep. Useful for night time or other extended periods of non use where you don't want to drain the battery.
Problem is that it does not activate on boot like SoftLocker and also after the timer expires and it goes into sleep, WakeTimer does not reactivate on wake.
Edit- after testing both programs I think SoftLocker is better. Running battery tests, there was not significant battery drain having SoftLocker on all the time. A few % overnight, probably related to the accumulation of e-mail, tweets, RSS downloads etc, but really minimal. Like that Soflocker can be checked to start on startup.
+1 for SmartLocker
Click to expand...
Click to collapse
Well, I'm the SoftLocker dev...so...I'm listening.
I saw the waketimer option for a timer and liked the idea...perhaps a future update?
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.
I have a strange problem. I set the 'Keep Wi-Fi on during sleep" to "Only when plugged in" but I see that Wi-Fi stays always on, also during sleep. In addition I noticed that the largest battery consumer is Android OS. Any ideas what's wrong?
amarguli said:
I have a strange problem. I set the 'Keep Wi-Fi on during sleep" to "Only when plugged in" but I see that Wi-Fi stays always on, also during sleep. In addition I noticed that the largest battery consumer is Android OS. Any ideas what's wrong?
Click to expand...
Click to collapse
Under Wifi Advanced Settings, you probably have the option for "Scanning always available" enabled. This keeps wifi available for location services, and makes it look like it's always on to the power monitor.
No. It is disabled
amarguli said:
No. It is disabled
Click to expand...
Click to collapse
Your battery usage doesn't look off. Android OS is almost always the biggest battery consumer on mine unless I'm using the phone heavily. wifi is typically 3-4.
I easily get through a day on a single charge. Usually I've got between 20-40% left at night depending on usage.
As for wifi I don't know. Perhaps there is another app keeping it on. I would try turning all location services off and see if that changes anything.
I'm curious why you'd want wifi off. generally it will default to the mobile signal which will use a lot more power. only reason to turn wifi off is if you don't have access to it.
I have disabled the scanning for WiFi and even when I have WiFi switched off it doesn't seem to be off. Its constantly on. Any idea what's the issue?
Sent from my XT1254 using Tapatalk 2
I have this problem too. I'm sure the wifi is off, everywhere else report that it is off, but the battery page say it is on.
I think it's a reporting issue. I sometimes see this. GSam will show Wi-Fi is off, and the Wi-Fi entry in the stock battery stats page will both say Wi-Fi was off based on the time on number it reports.
When you first turn on Google location services, there's a message that pops up that asks if you want Google to use wifi to determine your location. It also says that this means wifi will continue to look for hotspots even when it is off. If you said yes to this, that may explain why wifi still takes up battery when it is off.
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.