Battery drains on Maclaws CM11 - Galaxy S III Mini Q&A, Help & Troubleshooting

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.

Related

Why does not Note get into sleep mode?

I have a galaxy note, upgraded to the last version of 2.3.6 (JPLA1).
After upgrade i relized that the battery life has decreased. Then i made a factory reset. However, my phone does not stay in deep sleep mode very long. Actually it stays awake during whole night.
What could be the cause of this problem???
I have taken screen shots, attached...
ardicli2000 said:
I have a galaxy note, upgraded to the last version of 2.3.6 (JPLA1).
After upgrade i relized that the battery life has decreased. Then i made a factory reset. However, my phone does not stay in deep sleep mode very long. Actually it stays awake during whole night.
What could be the cause of this problem???
I have taken screen shots, attached...
Click to expand...
Click to collapse
the best although a bit demanding way is to check with BetterBatteryStats,
you could also try disabling not-absolutely-necessary features (GPS, some data syncs etc.) to check which decreases battery consumption,
there's also Autorun Manager with which you can disable unnecessary startup apps (lots of them are set to autorun after device start, some may try to update over the net too frequently)
I wonder what firmware you're on... mine (LB1) shows wifi status on the summary screen as well. my phone used to stay awake all night too, until I started turning off wifi for the night (FYI, I shut down the cell data connection when I arrive home, so it's not on for the night either)
leppo said:
I wonder what firmware you're on... mine (LB1) shows wifi status on the summary screen as well. my phone used to stay awake all night too, until I started turning off wifi for the night (FYI, I shut down the cell data connection when I arrive home, so it's not on for the night either)
Click to expand...
Click to collapse
Mine is LA1.
And my wifi is off as well as data connection during the night.
Also i realized something wierd. If i activate 3g, Android OS drains battery more than 70% percent. If i activate 2g, then Android OS drains only 10-15%. DAta connection is on for both. There could be a problem with the LA1 kernel maybe but i am not sure.
From what i've read, while (really) sleeping, the note shouldn't take more than 5%, and that seems normal/logical to me. But in my case, it drains 70% and it seems even in plane mode, i just don't get it...
p107r0 said:
the best although a bit demanding way is to check with BetterBatteryStats,
you could also try disabling not-absolutely-necessary features (GPS, some data syncs etc.) to check which decreases battery consumption,
there's also Autorun Manager with which you can disable unnecessary startup apps (lots of them are set to autorun after device start, some may try to update over the net too frequently)
Click to expand...
Click to collapse
+1 betterbatterystats
Sent from my GT-N7000 using XDA
Try disabling Fast Dormancy, it does generate wakelocks on my SGN as my network doesn't support the feature.
Dial *#*#9900#*#* and select "Disable fast dormancy".
That's good for reducing some wakelocks anyway.
knightnz said:
Try disabling Fast Dormancy, it does generate wakelocks on my SGN as my network doesn't support the feature.
Dial *#*#9900#*#* and select "Disable fast dormancy".
That's good for reducing some wakelocks anyway.
Click to expand...
Click to collapse
If I dial that the phone just dials that number. Did I do something wrong here?
lukabike said:
If I dial that the phone just dials that number. Did I do something wrong here?
Click to expand...
Click to collapse
I tried it and it worked as expected. Are you entering the full string (both numbers & symbols) on the default phone dialer?
*#*#9900#*#*
two_handed said:
+1 betterbatterystats
Sent from my GT-N7000 using XDA
Click to expand...
Click to collapse
I installed betterbatterystats but i did not get it very much.
Should i check something or change some of the settings?
or the program does what is necessary by itself?
I think this is not the case because my phone still does not enter into sleep mode.
@knightnz
I disabled fast dormancy. But i like to ask something.
What is fast dormancy?
Edit: I checked my phone now. There left 75% battery after 10 hours less than normal use. Data and 3g is on. However i unchecked "backup my data". I think this made me gain 10 hours of battery life
BadAss Battery Monitor (free)
Press menu and "App sucker". Go to "wake ups" or something like that. Let the phone run in standby for some while before checking. I bet it's an app that won't go to sleep.
I used to get this quite often but I found a way to stop it. Basically when i disconnected the charger when the screen was off the phone always stayed awake the only way to put it back to normal was to reset the cache in download mode. So i tried disconnecting the charger after putting the screen on first ( unlock phone) and it never happened again.
sent from my galaxy note using tapatalk
LordManhattan said:
BadAss Battery Monitor (free)
Press menu and "App sucker". Go to "wake ups" or something like that. Let the phone run in standby for some while before checking. I bet it's an app that won't go to sleep.
Click to expand...
Click to collapse
I have installed BetterBatterStats. When i checked partial wakelocks, the higher count is for AlarmManager (Android System). And the higher percentage (0,5%) is for PowerAMP.
Does this mean anything?
May i ask, how many % does your note consume every x hours? Making a report with your kernel/rom would be good, don't you think? Maybe a poll?

No deep sleep -> how to identify the cause?

Hey guys --
I did a search and while there is much discussion of deep sleep problems, there is no clear way I could easily find to identify the cause.
I have CM7.20, the MiRaGe latest build on my NC, with the settings listed in my thread (see the sig). Recently I noticed that it is not entering into deep sleep, indicated by losing ~20% battery while it is asleep overnight in about 8 hrs. Battery results tell me it's "WiFi" taking like 30% of the battery, which seems quite odd, since I had it set to turn off WiFi while the screen off unless connected to the charger.
Any clues on how to identify the problem with deep sleep?
As for usage, I am using my NC 99% of the time with the following apps:
Moon+ Reader (probably 70% of time)
YouVersion Bible app (most of the rest of the time)
Dolphin Browser HD (maybe 2% of the time)
Enhanced Email and MailDroid - very occasionally but they are checking mail on 15 min intervals when wifi is on.
I have a ton of other apps installed but I almost never use them except for these.
Any help on how to determine what is causing the NC to not go into deep sleep will be immensely helpful. I have a 2-week Euro business trip coming up next month and I would really like to solve this before then.
Thanks!
Better Battery Stats might help. Try turning off sync before bed and see if you still lose 20%. If so, it's definitely some app that's the culprit. Grab something that will tell you what program is using data and how much/how often and you should be able to isolate it pretty quick.
mr72 said:
Hey guys --
I did a search and while there is much discussion of deep sleep problems, there is no clear way I could easily find to identify the cause.
I have CM7.20, the MiRaGe latest build on my NC, with the settings listed in my thread (see the sig). Recently I noticed that it is not entering into deep sleep, indicated by losing ~20% battery while it is asleep overnight in about 8 hrs. Battery results tell me it's "WiFi" taking like 30% of the battery, which seems quite odd, since I had it set to turn off WiFi while the screen off unless connected to the charger.
Any clues on how to identify the problem with deep sleep?
As for usage, I am using my NC 99% of the time with the following apps:
Moon+ Reader (probably 70% of time)
YouVersion Bible app (most of the rest of the time)
Dolphin Browser HD (maybe 2% of the time)
Enhanced Email and MailDroid - very occasionally but they are checking mail on 15 min intervals when wifi is on.
I have a ton of other apps installed but I almost never use them except for these.
Any help on how to determine what is causing the NC to not go into deep sleep will be immensely helpful. I have a 2-week Euro business trip coming up next month and I would really like to solve this before then.
Thanks!
Click to expand...
Click to collapse
envygreen said:
Better Battery Stats might help. Try turning off sync before bed and see if you still lose 20%. If so, it's definitely some app that's the culprit. Grab something that will tell you what program is using data and how much/how often and you should be able to isolate it pretty quick.
Click to expand...
Click to collapse
OK, but it should be turning off wifi, and therefore sync for ALL apps, when it is asleep. Can an app override this setting? That's my guess, is some app is doing this. How can I ID that?
mr72 said:
OK, but it should be turning off wifi, and therefore sync for ALL apps, when it is asleep. Can an app override this setting? That's my guess, is some app is doing this. How can I ID that?
Click to expand...
Click to collapse
Like envygreen said use that app to track wakelocks. Even if wifi is off, some app may be applying a wakelock to try to sync.
leapinlar said:
Like envygreen said use that app to track wakelocks. Even if wifi is off, some app may be applying a wakelock to try to sync.
Click to expand...
Click to collapse
Alright, I'm on it
So last night I finished charging it and read for a couple of minutes, then put it to sleep to see how it went overnight.
My Wi-Fi sleep policy is set to turn off wifi when the display is off.
When I got up this morning I checked it and it had lost over 10% battery over night, and I checked BetterBatteryStats and I think it is going into deep sleep but maybe not shutting off wifi.
I have attached the screenshots from BetterBatteryStats, and I think I need help interpreting them and finding the cause.
ok, so here I am replying to my own thread... If I am reading this right it seems to be looking like my wifi is on the entire time, not only when the screen is on. Is this the right way to read this? In this case, it looks like "Wi-Fi sleep policy" being set to "When screen turns off" is not actually working... right?
mr72 said:
ok, so here I am replying to my own thread... If I am reading this right it seems to be looking like my wifi is on the entire time, not only when the screen is on. Is this the right way to read this? In this case, it looks like "Wi-Fi sleep policy" being set to "When screen turns off" is not actually working... right?
Click to expand...
Click to collapse
It sure looks that way to me too. It says wifi on 8 hours. Did you try toggling the setting a few times? Also you are on Mirage and he may have done something in his tinkering that messed that setting up.
leapinlar said:
It sure looks that way to me too. It says wifi on 8 hours. Did you try toggling the setting a few times? Also you are on Mirage and he may have done something in his tinkering that messed that setting up.
Click to expand...
Click to collapse
yeah I did toggle the setting on and off, and in fact before I had it set to "On during sleep if plugged" for a long time, recently changed it, thinking maybe this was the cause.
But it does appear that maybe this is what is killing the battery. There doesn't appear to be any network activity when the screen is off, just looks like the wifi radio is powered up.
Any advice?
mr72 said:
yeah I did toggle the setting on and off, and in fact before I had it set to "On during sleep if plugged" for a long time, recently changed it, thinking maybe this was the cause.
But it does appear that maybe this is what is killing the battery. There doesn't appear to be any network activity when the screen is off, just looks like the wifi radio is powered up.
Any advice?
Click to expand...
Click to collapse
Switch to CM7.2 stable?
leapinlar said:
Switch to CM7.2 stable?
Click to expand...
Click to collapse
Hmm. that seems like an extreme step, but maybe ... wonder how much of the snappiness I will lose.
EDIT: OK I switched to CM7.2 stable. Nice I didn't seem to lose any settings. Let's see how it goes. Thanks for the advice, I'll report back here if it still does the same thing.
Also uninstalled beautiful widgets... figured maybe that could be causing an issue.
Oh, and I probably had a SOD kernel patch applied... perhaps that was the problem too
guess I should change only one variable at a time for a good test, but in reality I just want to get it fixed and not really diagnose it.
I was having a similar problem...what I did was run the V6 supercharger script, granted i am running CM9 atm but it took care of any problems I had with battery life and wifi signal.
Question: does having WiFi on keep the phone from going into deep sleep at all?
I have found that my phone is not going into deep sleep. I checked what is holding wake locks, and the time with wake locks is way less than the time the phone has the screen off, so it appears it is not deep sleeping, even though there are not wake locks.
I have an extended battery, so I get good battery life, but always interested in improving it. But I also have this thought that if I have to turn everything off, and only synch when I turn the screen on, that is not ideal either.
ewingr said:
Question: does having WiFi on keep the phone from going into deep sleep at all?
I have found that my phone is not going into deep sleep. I checked what is holding wake locks, and the time with wake locks is way less than the time the phone has the screen off, so it appears it is not deep sleeping, even though there are not wake locks.
I have an extended battery, so I get good battery life, but always interested in improving it. But I also have this thought that if I have to turn everything off, and only synch when I turn the screen on, that is not ideal either.
Click to expand...
Click to collapse
Get CpuSpy free on play store. It will tell you exactly how much deep sleep you are getting.
Having wifi on all the time should not prevent deep sleep. Only when things use it does it come out of deep sleep.
leapinlar said:
Get CpuSpy free on play store. It will tell you exactly how much deep sleep you are getting.
Having wifi on all the time should not prevent deep sleep. Only when things use it does it come out of deep sleep.
Click to expand...
Click to collapse
I have CPUSpy Free, and that is how I know I am not getting deep sleep. My challenge now is to identify why.
OK, so it seems that CM7.20 stable definitely fixes things. I didn't flash the SOD fix, so maybe the SOD fix was preventing deep sleep before, or maybe something else in the kang build was preventing deep sleep with wifi on when the screen is on.
However the better battery stats still seems to say my wifi is never actually going off. I am not sure I am interpreting the results correctly. It looks like the wifi is on all the time even though it's set to turn off when the screen is off. But I can let the NC sit on my night stand overnight and lose only a couple of % where it was like 10+% before. I still think my problem was due to some app that updated and not the ROM because the problem started weeks after I last updated the ROM.

[Q/Issue] Deep sleep with wlan on?

Hi!
I just noticed that my phone does not go to deep sleep if I have wlan on. Though I do not have any long wakelocks according to BetterBatteryStats, just some minutes total while the device have been awake for much more.
Stock .534 unrooted, newly repaired with _only_ BetterBatteryStats and CPU Spy installed. No accounts added etc.
Wlan/Advanced: "Always on"
Location-based wlan: "on"
Low battery mode: "on"
STAMIN mode: "off"
Location based services "on" / "off" tested.
When I have wlan on CPU Spy reports as Deep sleep unused, and instead most of the time is spent in 300 MHz.
Any of you that can reproduce?
Have the same problem. Is that normal that it doesnt goes to deep sleep ?
muslim187 said:
Have the same problem. Is that normal that it doesnt goes to deep sleep ?
Click to expand...
Click to collapse
No, it's absolutely not normal. Something is keeping the device awake, probably a bug.
I left the device over night,
wlan kernel wakelock for 7h, but no long-standing partial wakelocks. I don't get it, how can something keep wifi awake without actually issuing a wakelock?
Bah I have suddenly been afflicted with this issue since yesterday. Noticed battery drain from 100% to 33% with minimal use between this morning and lunchtime while at work. Currently it is charging off my laptop but only holding its own, not increasing. Only had it a week, very little installed on it.
Battery life was fine for the first week of ownership, today it lost 75% with little or no use in 5 hours, then it did not charge when connected by USB to laptop it merely held the same charge, before quickly discharging again when disconnected.
No deep sleep all day
https://www.dropbox.com/s/b19ixx16dgnqrcb/2013-10-07 17.46.20.png
Inquitus said:
Battery life was fine for the first week of ownership, today it lost 75% with little or no use in 5 hours, then it did not charge when connected by USB to laptop it merely held the same charge, before quickly discharging again when disconnected.
No deep sleep all day
https://www.dropbox.com/s/b19ixx16dgnqrcb/2013-10-07 17.46.20.png
Click to expand...
Click to collapse
Hi, can you please verify that you indeed do not have any wakelocks caused by any other third-party programs you have installed? Just to knwo that we are in fact experiencing the same issue. You could also try to disable wlan (and mobile data (I haven't tested to turn that on, as I do not yet have a data plan).
The application needed to test that is Better Battery Stats, available here on XDA (or on Play): http://forum.xda-developers.com/showthread.php?t=1179809
Exry said:
Hi, can you please verify that you indeed do not have any wakelocks caused by any other third-party programs you have installed? Just to knwo that we are in fact experiencing the same issue. You could also try to disable wlan (and mobile data (I haven't tested to turn that on, as I do not yet have a data plan).
The application needed to test that is Better Battery Stats, available here on XDA (or on Play): http://forum.xda-developers.com/showthread.php?t=1179809
Click to expand...
Click to collapse
Today's issue on my phone was driven by several hours of a "bam_dmux wakelock."
edit: and no partial wakelocks so no idea of the driver.
Inquitus said:
Today's issue on my phone was driven by several hours of a "bam_dmux wakelock."
edit: and no partial wakelocks so no idea of the driver.
Click to expand...
Click to collapse
Ok. So it might be the same issue then, though I don't really know what the "bam_dmux" wakelock is.
FYI Mine is back to normal today. Lost 3% in 3 hours of light use. Only thing I have changed is I deleted a Wifi network from my preferred list that the phone was having trouble connecting to, may or may not be related.

[Q]Heavy battery drain when on WiFi

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.

Tremendous battery drain on WIFI

Hey guys, I am running stock 4.0.3 rooted with supersu and using the latest franco kernel. I am getting massive drains even while using the phone on wifi and keeping it on standby, while connected to wifi. Getting drains about 3.3-4% per hour on standby on wifi. This is absolutely crazy. I tried some older suggestions mentioned here https://forum.xda-developers.com/showpost.php?p=62074306&postcount=118 . But even that doesn't work. Battery drain is normal on mobile data, but when connected to wifi it absolutely goes crazy. Can anyone provide any insight? There are no rogue apps, I have been checking through better battery , wld , accu battery, etc.
You've probably already turned it off, but I'll just point it out in the rare instance, but make sure scanning is off. However, I did notice that you said it is when wifi is on and your phone is sleeping when you get that drain. A fix is to go into wifi settings and under "Keep Wi-fi on during sleep", pick the only plugged in option. Ideally, you should get to the bottom of this issue, but if you don't have the time and no one else figures it out, this may help.
EDIT: I wonder if smart wifi switcher has anything to do with it? Wifi connectivity fluctuates and if you have two connections that have very similar signal strength, would your phone constantly switch between the two networks in a futile manner? If this does happen, I can see that draining your battery significantly, but this is based on the premise that the switcher does not have some type of buffer zone where it does not switch if the difference is negligible.
Inflection said:
You've probably already turned it off, but I'll just point it out in the rare instance, but make sure scanning is off. However, I did notice that you said it is when wifi is on and your phone is sleeping when you get that drain. A fix is to go into wifi settings and under "Keep Wi-fi on during sleep", pick the only plugged in option. Ideally, you should get to the bottom of this issue, but if you don't have the time and no one else figures it out, this may help.
Click to expand...
Click to collapse
Yep, I always keep scanning off! And i did try with that suggestion too, I changed the setting to never and it still drained battery. Wifi stayed on for sometime even though i set it to never and then finally turns off after a period of time, but i think that could potentially drain more battery? Are you using wifi all the time? What are your stats?
I have all those settings turned off, smart switcher, ipv6, scanning, etc
Anomaly65 said:
Yep, I always keep scanning off! And i did try with that suggestion too, I changed the setting to never and it still drained battery. Wifi stayed on for sometime even though i set it to never and then finally turns off after a period of time, but i think that could potentially drain more battery? Are you using wifi all the time? What are your stats?
I have all those settings turned off, smart switcher, ipv6, scanning, etc
Click to expand...
Click to collapse
Last thing I can think of is trying to use stock kernel to see if it is FK that is the culprit. FK shouldn't be the issue, but perhaps something screwed up during the flashing process? Now I'm essentially just asking you to do trial and error
Inflection said:
Last thing I can think of is trying to use stock kernel to see if it is FK that is the culprit. FK shouldn't be the issue, but perhaps something screwed up during the flashing process? Now I'm essentially just asking you to do trial and error
Click to expand...
Click to collapse
Nah man, I trust FK more than stock
I have had similar issues with stock as well.
What are your battery statistics?
Anomaly65 said:
Nah man, I trust FK more than stock
I have had similar issues with stock as well.
What are your battery statistics?
Click to expand...
Click to collapse
Note that I'm in Beta 3 and running its stock kernel so I don't really see the usefulness of giving my battery stats, but yes, battery life for me has been good and unaffected by wifi draining.
Inflection said:
Note that I'm in Beta 3 and running its stock kernel so I don't really see the usefulness of giving my battery stats, but yes, battery life for me has been good and unaffected by wifi draining.
Click to expand...
Click to collapse
Whoa, how the hell do you even get 2 hours 17 mins sot with 85% still remaining?
Is it really just me suffering from this wifi drain bug?
Anomaly65 said:
Whoa, how the hell do you even get 2 hours 17 mins sot with 85% still remaining?
Is it really just me suffering from this wifi drain bug?
Click to expand...
Click to collapse
It's most likely not just you, but based on my perusal of the 3T forums (especially on the FK thread because that's most relevant to how you set up your phone), not many people are facing this issue. Does betterbattery stats not show anything funky or out of the ordinary? Can you post a screenshot of your betterybattery stats including the kernel wakelocks, alarms, and partial wakelocks page?
Inflection said:
It's most likely not just you, but based on my perusal of the 3T forums (especially on the FK thread because that's most relevant to how you set up your phone), not many people are facing this issue. Does betterbattery stats not show anything funky or out of the ordinary? Can you post a screenshot of your betterybattery stats including the kernel wakelocks, alarms, and partial wakelocks page?
Click to expand...
Click to collapse
Check these out. I am totally fed up. I think I might have a faulty unit.
Getting 4% drain on standby!
Anomaly65 said:
Check these out. I am totally fed up. I think I might have a faulty unit.
Getting 4% drain on standby!
Click to expand...
Click to collapse
I'm beginning to think it's not wifi, but the app Saavn. It may act differently when on wifi vs on cellular data and remain active constantly when on wifi. I google searched the app and its potential of being poorly optimized app, and there are reports of it never turning off and running in the background. If that is the case, it should be showing up on BBS as more of a drain, but for some reason it isn't. Still, try uninstalling the app and see what happens.
In the end, if this doesn't solve the issue, I'm beginning to think a factory reset maybe in order. I wish you also gave me BBS alarm wakeups page because that would help see if Saavn is constantly firing off alarms or not.
Go to your "Location settings" and into the 3 dot menu in upper right. Turn everything off.
do you have wifi calling on? turn it off and see
smajlo said:
Go to your "Location settings" and into the 3 dot menu in upper right. Turn everything off.
Click to expand...
Click to collapse
I have them turned off since day 1
masri1987 said:
do you have wifi calling on? turn it off and see
Click to expand...
Click to collapse
Where exactly is the setting to turn it off?
Anomaly65 said:
I have them turned off since day 1
Where exactly is the setting to turn it off?
Click to expand...
Click to collapse
settings > sim and network > look towards the bottom
masri1987 said:
settings > sim and network > look towards the bottom
Click to expand...
Click to collapse
I don't have any option to turn off wifi calling in there. I am running the beta 7.1.1 now though. But the problem still persists. Too much drain when using wifi, it's being shown as android system drain. I've seen many people reporting it, so it's not just me. But for the life of me, I can't figure out what's causing it!
Issue resolved with latest 4.1.0 and some usage pattern changes. Mod, please close the thread. Thank you!

Categories

Resources