Anyone have any issues with Smart Actions and Wifi? I am running ICS .232. Recently i've been noticing my battery draining and my system is telling me that my Wifi has been on for 7 hours. I check the Wifi settings and it's set to off. I turned it on and off to be safe. The only thing I can think of was Smart actions not shutting it off as it states it was. I just removed the rule to turn wifi off and on depending on my location. It's suppose to turn off wifi while at work to conserve battery but it seems to be draining my battery instead. I just checked it now and the solid bar is short at the end indicating it is no longer on. Wondering if anyone has the same issue? BTW I've been at work for the past 8 hours so Wifi should have been off. Location is flaky in my area even with GPS as there is a dead spot close by. I work out in the country..
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.
Guys, tonight I decided to switch off mobile data and WiFi when I went to sleep. Now noon, when the battery was almost over I decided to analyze some attention to battery depletion statistics and realized that even turning off the WiFi it continued to appear that spent the whole night on. Also, see that shortly after I slept network operator turned yellow. How to explain? My carrier has the much more stable network overnight just by reduced use and the absence of network overload.
He had the 3g network enabled, less mobile data.
It happens to me too. I guess it's only a visual issue, I dont think wifi is draining battery life.
Due to Wi-Fi scanning always available. Its actually keeping the Wi-Fi on if that option is chosen in Wi-Fi advanced options. Turn that off and you'll see that your Wi-Fi actually shuts off.
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.
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.