Tremendous battery drain on WIFI - OnePlus 3T Questions & Answers

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!

Related

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.

RILJ Nightmare

This RILJ wakelock on the dialer seems to be impossible to remove. I've tried everything from disabling all apps, turning off the phone and turning it back on with airplane mode, TWO factory resets, turning off all GPS and location services, and even shutting off my mobile data. I even did all of those steps at once and to no avail.
I'm running stock right now but I seriously can not use this phone when this wakelock is disrupting my phone every damn second. I don't know if this is the right section to post this, but is anyone else experiencing this issue? Is there even hope?
I've tried what feels like everything. I feel like this will drive me crazy to the point where I will just exchange the phone and claim battery problems. Again, sorry if this is the wrong section to post this in, and I feel like such a dirty leech making a help post as my first post. This is my first android phone and I have a lot of experience with java but I need to feel secure with my new phone before I start delving into development.
Are you talking about a wakelock you see in a battery monitoring program? Or an error that keeps popping up?
coobot said:
This RILJ wakelock on the dialer seems to be impossible to remove. I've tried everything from disabling all apps, turning off the phone and turning it back on with airplane mode, TWO factory resets, turning off all GPS and location services, and even shutting off my mobile data. I even did all of those steps at once and to no avail.
I'm running stock right now but I seriously can not use this phone when this wakelock is disrupting my phone every damn second. I don't know if this is the right section to post this, but is anyone else experiencing this issue? Is there even hope?
I've tried what feels like everything. I feel like this will drive me crazy to the point where I will just exchange the phone and claim battery problems. Again, sorry if this is the wrong section to post this in, and I feel like such a dirty leech making a help post as my first post. This is my first android phone and I have a lot of experience with java but I need to feel secure with my new phone before I start delving into development.
Click to expand...
Click to collapse
lampel said:
Are you talking about a wakelock you see in a battery monitoring program? Or an error that keeps popping up?
Click to expand...
Click to collapse
Yes I see the wakelock in both GSam battery monitor and wakelock detector.
coobot said:
Yes I see the wakelock in both GSam battery monitor and wakelock detector.
Click to expand...
Click to collapse
It's a normal wakelock? It's your radio. Turn on airplane mode, and you'll lose the 'wakelock'
MacHackz said:
It's a normal wakelock? It's your radio. Turn on airplane mode, and you'll lose the 'wakelock'
Click to expand...
Click to collapse
Yes I understand this, but the wakelock shouldn't be going off over 2000 times, right? I mean, I'm totally new to android but I've never seen this wakelock before. I'm in NYC and usually have great reception, right now I'm getting 4G LTE 3-5 bars constantly. Could it be a hardware issue with my radio?
coobot said:
Yes I understand this, but the wakelock shouldn't be going off over 2000 times, right? I mean, I'm totally new to android but I've never seen this wakelock before. I'm in NYC and usually have great reception, right now I'm getting 4G LTE 3-5 bars constantly. Could it be a hardware issue with my radio?
Click to expand...
Click to collapse
OK, so before I answer that, what sort of battery are you getting? What's your screen on time?
All android phones have this wakelock. It's not a hardware issue, 100%
Oh, I'm sorry but I also thought you meant a different wakelock xD RILJ wakelock is caused by having a lot of location services on, turn these off (Google Maps, Latitude, Weather constantly refreshing)
MacHackz said:
OK, so before I answer that, what sort of battery are you getting? What's your screen on time?
All android phones have this wakelock. It's not a hardware issue, 100%
Oh, I'm sorry but I also thought you meant a different wakelock xD RILJ wakelock is caused by having a lot of location services on, turn these off (Google Maps, Latitude, Weather constantly refreshing)
Click to expand...
Click to collapse
Here is the battery I was getting (can't post links yet, imgur is very safe): imgur_com/a/jCBG4 Thanks for the speedy responses btw.
I have essentially every single service off, only google's anonymous location service which is required for the weather app to work. All the sync stuff I can't turn off is set to refresh at the lowest intervals.
coobot said:
Here is the battery I was getting (can't post links yet, imgur is very safe): imgur_com/a/jCBG4 Thanks for the speedy responses btw.
I have essentially every single service off, only google's anonymous location service which is required for the weather app to work. All the sync stuff I can't turn off is set to refresh at the lowest intervals.
Click to expand...
Click to collapse
You're welcome. I have the same set up as you and I average about the same battery life, I think your device is fine. I would just stop looking at your wake locks and enjoy! Try flashing ARHD rom! The new base adds 2+ hours battery.
MacHackz said:
You're welcome. I have the same set up as you and I average about the same battery life, I think your device is fine. I would just stop looking at your wake locks and enjoy! Try flashing ARHD rom! The new base adds 2+ hours battery.
Click to expand...
Click to collapse
I didn't have this wakelock for those pictures. This thing is sapping my battery life causing an extra 1-2% drain an hour, which adds up quickly. It also doesn't let the phone enter deep sleep if I remember correctly.

[Q] Is my battery broken?

Hey I have just bought HTC One 2 days ago. Compared to my old Sensation XE battery life completly sucks. I usually use phone without battery saver, on auto brightness and with Wi-Fi/3g turned on only on demand. Today 8 hours after unplugging phone from the charger I only have 26%. Screen was turned on for 2 hours and 45 minutes only and Wi-Fi worked for 3 hours and 46 mins. I might also say that I did not charge my One before usage to 100% as HTC advised. Was that very crucial? Do you think that phone might be broken or I should just give him time to settle baterry better.
That's sounds like what I get. I turn off mobile data when using WiFi and vice versa. I always use power saver unless I'm 3D gaming. Which is only on the weekends.
I've had mine for 3 months now.
I've seen people get 7:00 screen time on stock unrooted.
I think my battery's broken too. I can barely reach 3 hours of screen time. With 2 hours I get like 11 maybe 12 hours of on time. Something's wrong with our phones...
Does anyone have any suggestions?
Search for BetterBatteryStats
Does anyone see a problem with my battery I have been on wifi the whole time with brightness at 20%.I never had this bad of a drain before and all I did was look at facebook for maybe 5 minutes.I also closed the app after I was done using it.
racingmatt1 said:
Does anyone see a problem with my battery I have been on wifi the whole time with brightness at 20%.I never had this bad of a drain before and all I did was look at facebook for maybe 5 minutes.I also closed the app after I was done using it.
Click to expand...
Click to collapse
Your battery stats seem on par with me and the OP. Seems that only a select few phones get decent battery life.
My kernel (android os) has been in the 25-35% range,it has never been that high before.
battery life lousy
I get pretty horrible drain too. I charged it to nearly full around 7:30 last night. I took about 2 minutes of video, sent one text, and checked my email 3 times. After that I went to sleep and the phone sat idle. At 6:30 this morning, I'm down to 9%.
Bradlees said:
I get pretty horrible drain too. I charged it to nearly full around 7:30 last night. I took about 2 minutes of video, sent one text, and checked my email 3 times. After that I went to sleep and the phone sat idle. At 6:30 this morning, I'm down to 9%.
Click to expand...
Click to collapse
Wow, that's real bad.. When my phone is off during night maybe 7% is gone. Then again I'm rooted and use greenify aswell as battery doctor if that has any affect.
On screen time seems like my battery drains pretty fast too though. After 2 hours of music and surfing and watching videos I guess atleast 40% would be gone.
My battery life became horrible, too. My phones loses 4% per unused hour. No App seems to be responsible for that drain. Flightmode or powersaving mode ain't making a difference. I hope we'll find a solution for our drain.
Rachorid said:
My battery life became horrible, too. My phones loses 4% per unused hour. No App seems to be responsible for that drain. Flightmode or powersaving mode ain't making a difference. I hope we'll find a solution for our drain.
Click to expand...
Click to collapse
need pics of BBS on kernel wakelocks / partial wakelocks / alarms. then i can give you a general idea of whats going on.
syaoran68 said:
need pics of BBS on kernel wakelocks / partial wakelocks / alarms. then i can give you a general idea of whats going on.
Click to expand...
Click to collapse
Here are the screenshots. I really hope you can help me
EDIT: oh, I forgot to change the language.. On the first screenshot is Google-Dienste = Google Services. The rest is in English.
syaoran68 said:
need pics of BBS on kernel wakelocks / partial wakelocks / alarms. then i can give you a general idea of whats going on.
Click to expand...
Click to collapse
Here's my screenshots...
racingmatt1 said:
Here's my screenshots...
Click to expand...
Click to collapse
@Racingmatt your power management services is on for quite a bit. do you have alarms.? i would bet that you either that maps location enabled or something of the sort. cause you also have NLPcollector on for around 40 minutes which is a bit much. also i would turn off GPS if your not actively using it.
@Rachorid how are you setting up your wifi? is it set to always be on? or set to turn off when screen off? you have alot of wifi wake. might be due to that. i know when i'm at home my wifi actively pings all devices connected which will force wake up my phone. yea its a bit annoying but i live with it. otherwise i just keep my phone plugged in.
if you both can get some SS of alarms i can give you a better idea. and when you SS the alarms make sure to click on the ones with the most wake lock so i can see the secondary screen that shows what the actual wakelock command is happening.
syaoran68 said:
@Rachorid how are you setting up your wifi? is it set to always be on? or set to turn off when screen off? you have alot of wifi wake. might be due to that. i know when i'm at home my wifi actively pings all devices connected which will force wake up my phone. yea its a bit annoying but i live with it. otherwise i just keep my phone plugged in.
if you both can get some SS of alarms i can give you a better idea. and when you SS the alarms make sure to click on the ones with the most wake lock so i can see the secondary screen that shows what the actual wakelock command is happening.
Click to expand...
Click to collapse
Here are the latest stats. As you can see many Google wakes.. removing Maps/Now/GMail/turning of Location (a few days ago) had no impact on my drain. The 2nd app on Partial Wakelocks was used actively.
I also disabled Wifi for about 2 hours.. no impact, too. Flightmode also had no impact (a few days ago).
syaoran68 said:
@Racingmatt your power management services is on for quite a bit. do you have alarms.? i would bet that you either that maps location enabled or something of the sort. cause you also have NLPcollector on for around 40 minutes which is a bit much. also i would turn off GPS if your not actively using it.
@Rachorid how are you setting up your wifi? is it set to always be on? or set to turn off when screen off? you have alot of wifi wake. might be due to that. i know when i'm at home my wifi actively pings all devices connected which will force wake up my phone. yea its a bit annoying but i live with it. otherwise i just keep my phone plugged in.
if you both can get some SS of alarms i can give you a better idea. and when you SS the alarms make sure to click on the ones with the most wake lock so i can see the secondary screen that shows what the actual wakelock command is happening.
Click to expand...
Click to collapse
The reason I didnt give you a alarm ss is because I didn't have any alarms when I went to the alarms section. I also had all locations services including GPS enabled but I just now disabled GPS but left network location enabled I'll give you a screenshot later so you can see the differences
I know exactly how you feel that's what happened to me,u was expecting so much from the battery and it turned out to be the worst..give ya some advice...3g drains the **** out of the battery ,so always jeep it off and turn it on only when you wanna use it...that way the battery will be acceptable... Also flashing a custom Rom would help...o recommend arhd
Sent from my HTC One using xda premium
BigJoey010 said:
I know exactly how you feel that's what happened to me,u was expecting so much from the battery and it turned out to be the worst..give ya some advice...3g drains the **** out of the battery ,so always jeep it off and turn it on only when you wanna use it...that way the battery will be acceptable... Also flashing a custom Rom would help...o recommend arhd
Sent from my HTC One using xda premium
Click to expand...
Click to collapse
I had awesome battery life a month ago with Wifi always on, auto. brightness and every app on hourly sync. (I have my phone since 7th of march) Sometimes I didn't lost a percent over night (8 hours) and I just don't know what it could be because I didn't install another app and no app seems to be responsible for that stanby drain. My on-screen battery life is still good. It also doesn't matter which ROM or kernel I'm using.
Here is my latest stats after 12 hours with 5 minutes of GPS use (turned off when not using)and network location on all the time with 3g/4g on all the time(turns off after a period of inactivity) . I can't give you a alarm stat because I'm not rooted.
Lithium-Ion batteries used in today's smartphones need atleast 10 cycles to show optimum power
so hold on until 2 weeks then you will get the full performance
i get 2 days of battery on my HTC One (since i dont have internet on my Simcard)
its 2G connection and auto Brightness and switched bloatwares off
i use Android Revolution HD 12.2
racingmatt1 said:
Here is my latest stats after 12 hours with 5 minutes of GPS use (turned off when not using)and network location on all the time with 3g/4g on all the time(turns off after a period of inactivity) . I can't give you a alarm stat because I'm not rooted.
Click to expand...
Click to collapse
with normal use 3.6%/h is pretty reasonable. how much screen on time was that including?

Battery drains on Maclaws CM11

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

Ridiculous battery drain on LN 14.1

I installed LN 14.1 on a Nook HD+ recently, and ever since then, the battery drain has been absolutely ridiculous. It goes from fully charged to dead in 20-30 hours at idle, with 95% of the battery usage coming from LineageOS System or Android System. In troubleshooting, I've removed a bunch of apps I had installed, particularly those known to drain batteries, used Greenify on a bunch more apps, and tried some other tricks like clearing the Google Services cache and disabling location services, but it's barely helped. I eventually tried a wakelock detector, and discovered that the CPU is in high power mode 65% of the time while idle.
The battery was perfectly fine on the Nook OS. What can I do to fix this?
Turning off WiFi while the Nook is not in use helps reducing battery drain.
Thanks for the tip. I actually finally traced the problem to the wifi yesterday. It seems the wifi driver prevents the CPU from going into deep sleep mode, resulting in 10x normal battery drain. I don't suppose there's any other way to fix it?
Same Problem
nimbulan said:
Thanks for the tip. I actually finally traced the problem to the wifi yesterday. It seems the wifi driver prevents the CPU from going into deep sleep mode, resulting in 10x normal battery drain. I don't suppose there's any other way to fix it?
Click to expand...
Click to collapse
Same Problem. Anyone have any ideas? A way to change / overwrite the wifi driver? Thank you.
ebrinkis said:
Same Problem. Anyone have any ideas? A way to change / overwrite the wifi driver? Thank you.
Click to expand...
Click to collapse
The only way I've found to fix it is as noted above. Open the Settings app, go to the Wi-Fi options, tap on the gear icon at the top and change "Keep Wi-Fi on during sleep" to "never". Battery drain gone!
nimbulan said:
The only way I've found to fix it is as noted above. Open the Settings app, go to the Wi-Fi options, tap on the gear icon at the top and change "Keep Wi-Fi on during sleep" to "never". Battery drain gone!
Click to expand...
Click to collapse
Your Battery drain must be a lot less than mine. If it is on, I lose about 1% battery every minute until it dies or I turn it off. New Battery, recalibrated, tried different Lineage OS versions, same thing.
ebrinkis said:
Your Battery drain must be a lot less than mine. If it is on, I lose about 1% battery every minute until it dies or I turn it off. New Battery, recalibrated, tried different Lineage OS versions, same thing.
Click to expand...
Click to collapse
It sounds like an app hogging the CPU maybe? Any information from task managers or a battery monitor?
nimbulan said:
It sounds like an app hogging the CPU maybe? Any information from task managers or a battery monitor?
Click to expand...
Click to collapse
Nope, all wake locks, battery drain programs sit in the 1-2% area, fully acceptable. I replaced the battery, nothing changed. Not sure what to try next. Thank you very much for your suggestions though.

Categories

Resources