Battery drain is too high - what rom/kernel should I use? - Nexus 6 Q&A, Help & Troubleshooting

I've been running Nitrogen Oreo for months with Elemental Kernel, I am also on Project Fi. Recently I've noticed my phone wont go into deep sleep and EX reports idle battery drain is ~8% / hour which is way too high.
I don't run any mods etc. My battery health is also good. Should I try another rom/kernel and if so which one. I was thinking of the new Pie roms but I don't think they are fully stable yet esp for things like wifi calling which I depend on.

Usually, it's an app or some special rom setting keeping the phone awake. If you can find out what, it's usually simple to fix.
Sometimes, the stats in settings->battery will tell you what is using the power. Or try app betterbatterystats.
If you can't locate the problem, then an app like greenify may help by forcing the badly behaving app to sleep. Or clean flash without restoring all your current apps.
And yes, stay away from pie if you need WiFi calling.

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.

How can I fix this battery drain?

According to BBS, https://m.imgur.com/gbpwAIy,ARaAKEw,YhEGL7w,8rCXPAf,ekGOuPM
Android has a very high alarm count, and it's also partially preventing my phone from entering deep sleep. I somehow forgot to provide a screenshot of bbs's main screen, but IIRC it was awake 27% of the time and deep sleeping the rest. I'd absolutly love to achieve the 0.0%/hr. drain. Plus, I don't use gapps. I also have few xposed modules for battery saving, but I'd really love to fix these. I tried doing a ddg (and google) search on the alarms from Android, especially PKT_CNT_SAMPLE_INTERVAL_ELAPSED, but no luck. Other than that, I have absolutly 0 partial wakelocks and I, obviously, have a few kernel wakelocks. Without any kernel wakelocks, the device wouldn't even work, but even then, the kernel wakelocks barley even exist. I'm currently running minimal os 5.1.1 with the v13 monster kernel. Thank you in advance.
I have a similar problem in stock rom (http://forum.xda-developers.com/moto-g-2014/help/android-os-wakelock-hell-t3390342)
A question:
Do you use "Ambient display" (screen wakes up when you get a notification)?
rafaelrgi said:
I have a similar problem in stock rom (http://forum.xda-developers.com/moto-g-2014/help/android-os-wakelock-hell-t3390342)
A question:
Do you use "Ambient display" (screen wakes up when you get a notification)?
Click to expand...
Click to collapse
No I don't. I've had it in several different roms.
sonic64 said:
According to BBS, https://m.imgur.com/gbpwAIy,ARaAKEw,YhEGL7w,8rCXPAf,ekGOuPM
Android has a very high alarm count, and it's also partially preventing my phone from entering deep sleep. I somehow forgot to provide a screenshot of bbs's main screen, but IIRC it was awake 27% of the time and deep sleeping the rest. I'd absolutly love to achieve the 0.0%/hr. drain. Plus, I don't use gapps. I also have few xposed modules for battery saving, but I'd really love to fix these. I tried doing a ddg (and google) search on the alarms from Android, especially PKT_CNT_SAMPLE_INTERVAL_ELAPSED, but no luck. Other than that, I have absolutly 0 partial wakelocks and I, obviously, have a few kernel wakelocks. Without any kernel wakelocks, the device wouldn't even work, but even then, the kernel wakelocks barley even exist. I'm currently running minimal os 5.1.1 with the v13 monster kernel. Thank you in advance.
Click to expand...
Click to collapse
Revert back to stock rom and update to marshmallow, from this you will be able to get deep sleep mode easily and the rom will be much stable. then for any customization use xposed framework. also use greenify app in boost mode you will get maximum out of your android. cheers.

Battery Life and Wakelocks

Hi guys,
so i newly setup my phone recently with OOS 4.0.3 in order to have a clean phone for the most efficient use.
For my surprise, for the first time using the 3T my energy efficiency was very good, i managed to get 4,5h SOT with the first 50% because i had almost no drain when the screen was turned off.
I attached the screenshots.
Basically, i just flashed OOS 4.0.3 and the newest franco kernel and magisk for root. I didnt use greenify (which i usually do), just the strict standby option in the android settings.
So far so good, but now to the part i cant understand.
I installed gsam battery monitor and gave it root access, so i can have detailed battery information.
From that point, i experienced again the standby drain combined with wakelooks, as u can see in the screenshot starting around 60% of the battery.
So far i uninstalled the app, i used greenify, but i cant get back when i had no wakelocks.
Is it really because of Gsam Battery? How can get away the standby drain without setting up the phone completely new?
PS: I also deactivated some of the access rights of apps, especially for play services.
Is it possible that they regain the access by themselves or that google play services is draining the battery
LazerH said:
Hi guys,
so i newly setup my phone recently with OOS 4.0.3 in order to have a clean phone for the most efficient use.
For my surprise, for the first time using the 3T my energy efficiency was very good, i managed to get 4,5h SOT with the first 50% because i had almost no drain when the screen was turned off.
I attached the screenshots.
Basically, i just flashed OOS 4.0.3 and the newest franco kernel and magisk for root. I didnt use greenify (which i usually do), just the strict standby option in the android settings.
So far so good, but now to the part i cant understand.
I installed gsam battery monitor and gave it root access, so i can have detailed battery information.
From that point, i experienced again the standby drain combined with wakelooks, as u can see in the screenshot starting around 60% of the battery.
So far i uninstalled the app, i used greenify, but i cant get back when i had no wakelocks.
Is it really because of Gsam Battery? How can get away the standby drain without setting up the phone completely new?
PS: I also deactivated some of the access rights of apps, especially for play services.
Is it possible that they regain the access by themselves or that google play services is draining the battery
Click to expand...
Click to collapse
Don't deactivate app rights of play services. It would break the functionality randomly and u won't know what happened. Just enable and reboot. Next time something happens, check the stat in gsam battery monitor. It's a good app and I am using it from 3 years.
It's not gsam I've had it installed on every phone for years and I always get amazing battery life.
I dont use google apps at all besides gmail and maps sometimes. But ill try around if it makes a difference.
I also cant believe that GSAM really is the problem there, but i didnt change anything else, i was just surprised of the good battery life and wanted to see the characteristics of battery statistics when i have a normal standby drain.
And immediatelly from that point on, the standby drain changed as u can see on the screenshots, even after uninstalling GSAM.
I now get 2h SOT with 50%, not 4,5.
So, is it possible that anything influencing that is changing by itself?
I didnt install any app or changed any setting, all i use was setted up in the beginning (franco, magisk, viper, all apps)
Yes google play store and google play services if you downloaded it and installed it that way? Google ruins battery life very randomly. If you restored a titanium backup or sideloaded the app then I have no clue. Even if you didnt do anything different there are a ton of things that can go wrong with android in the background. Recharge and reboot and start over.
954wrecker said:
Yes google play store and google play services if you downloaded it and installed it that way? Google ruins battery life very randomly. If you restored a titanium backup or sideloaded the app then I have no clue. Even if you didnt do anything different there are a ton of things that can go wrong with android in the background. Recharge and reboot and start over.
Click to expand...
Click to collapse
tried everything already + wiping cache/dalvik
I just now wiped also system and dirty flashed the ROM + the stuff i need. Ill see it that solves the deal.
I just cant accept to not have the control over my phone as thats one of the advantages of rooting. I got the same battery life with same usage with my 2,5 year old OnePlus One.
I run the same apps on every phone and this phone has doubled the performance and battery compared to my nexus 6 note 5 and nexus 6p. First phone I've owned that actually sleeps when I turn off the screen.
954wrecker said:
I run the same apps on every phone and this phone has doubled the performance and battery compared to my nexus 6 note 5 and nexus 6p. First phone I've owned that actually sleeps when I turn off the screen.
Click to expand...
Click to collapse
The OPO with CM back then was a dream.
Are u using any apps or adjust settings in order to tweak that behavior?
LazerH said:
The OPO with CM back then was a dream.
Are u using any apps or adjust settings in order to tweak that behavior?
Click to expand...
Click to collapse
I've been on CM13 since the day it came out Dec 11th. I was getting amazing battery and standby on stock since I got the phone late November. I use xposed for tweaking everything but no modules or apps or settings for battery savings.
LazerH said:
Hi guys,
so i newly setup my phone recently with OOS 4.0.3 in order to have a clean phone for the most efficient use.
For my surprise, for the first time using the 3T my energy efficiency was very good, i managed to get 4,5h SOT with the first 50% because i had almost no drain when the screen was turned off.
I attached the screenshots.
Basically, i just flashed OOS 4.0.3 and the newest franco kernel and magisk for root. I didnt use greenify (which i usually do), just the strict standby option in the android settings.
So far so good, but now to the part i cant understand.
I installed gsam battery monitor and gave it root access, so i can have detailed battery information.
From that point, i experienced again the standby drain combined with wakelooks, as u can see in the screenshot starting around 60% of the battery.
So far i uninstalled the app, i used greenify, but i cant get back when i had no wakelocks.
Is it really because of Gsam Battery? How can get away the standby drain without setting up the phone completely new?
PS: I also deactivated some of the access rights of apps, especially for play services.
Is it possible that they regain the access by themselves or that google play services is draining the battery
Click to expand...
Click to collapse
I found 4.0.3 would get wakelocks from location service. I have installed firmware from OOS 3.5.4 and used Leandroid, since then I've had my old battery life back.
damiensturdy said:
I found 4.0.3 would get wakelocks from location service. I have installed firmware from OOS 3.5.4 and used Leandroid, since then I've had my old battery life back.
Click to expand...
Click to collapse
I like that app, but its only fully functional with SuperSU. Do u know if there is any similar app also working with Magisk?
LazerH said:
I like that app, but its only fully functional with SuperSU. Do u know if there is any similar app also working with Magisk?
Click to expand...
Click to collapse
Which app? Magisk?
Magisk has its own root now. Fyi
Navi44 said:
Which app? Magisk?
Magisk has its own root now. Fyi
Click to expand...
Click to collapse
I know, but the app still asks for root permission with SuperSU for all the foot options
LazerH said:
I like that app, but its only fully functional with SuperSU. Do u know if there is any similar app also working with Magisk?
Click to expand...
Click to collapse
Some parts of it only work with SuperSU, sure. The important bit that fixes the MRa big does unfortunately.
Not found a magisk equivalent, but I'm eager to find one!
I just recently got my 3T two weeks ago running OOS 4.0.3 and I also notice a lot of wakelocks, especially when on mobile data (3G/4G).
I am still tinkering to figure out what are the root causes for wakelocks in this case.
I suggest you install BetterBatteryStats from XDA, it does provide a lot of good info. GSAM is good too but I prefer BBS. You can grant it permissions to Battery_Stats if you are not rooted.
Here are my findings so far:
Google Services likes to access the GPS a lot, so I turned of Location History. This resulted in fewer wakelocks when the screen is off.
I have changed the GPS and set it to GPS Only so that it doesn't use the cell towers and WiFi to help determine a location. I am not sure if this makes a difference for wakelocks yet.
I know Nougat has doze, I am not sure how well it works...fortunately there is Aggressive Doze in the battery section of the settings. I have not tested this yet but this is something I will look into once I have determined all others aspects that may be causing wakelocks.
I do have the LED notification light enabled and I am using LightFlow to manage it. It works in conjunction with the built-in LED settings from OOS. This is fine, but I do believe this may cause wakelock issues.
Once again, in my experience, I get a lot of wakelocks when I am on mobile data compared to being on WiFi and I am not sure why there is a difference.

"OS System" and "Android OS" CPU Usage

I've been experiencing massive battery drain from CPU Usage by "OS System" and "Android OS" in multiple ROMs, including Stock. It uses CPU for a long time (6+ hours) to a point that my phone is pretty much awake all night if i leave it unused. I cannot last 1 day on standby without even using it. This is getting incredibly f**king annoying. I've tried flashing custom ROMs, custom Kernels, going to privacy guard and revoking permission to keep device awake, removing app permissions and more. This just started out of the blue and is intolerable now. Anyone has a clue about how to stop this apart from just selling the phone?
Been running into the same issue as well. Pretty much tried all of what you've stated along with disabling most of the google syncing apps to no avail. I ended up turning off doze/aggressive doze on OOS 7.1.1, and use greenify (aggressive doze+automated hibernation) on every single apps except for whatsapp/textra (or any other apps I don't mind wakelocks on) and I can get through a night of 8 hrs on wifi with about 2-3% drain. This include greenifying system apps like chrome or playstore. This also helps with the standby time tremendously during daytime when phone is on mobile data. One thing I've read that helped quite a few people is also disabling google backup which seems to be one of the major culprit along with facebook/snapchat. Saying all that, Android OS and OS system still constantly top the lists of battery drain for me, but my standby time has been decent with greenify.
Probably some app updates , I use to have that problem , no more with 7.1.1
Sent from my ONEPLUS A3000 using Tapatalk
Are you sure this is not just the new background optimization doing its work slowly in the background, this feature was introduced in 7.1.1 from what I've heard. As long as you don't flash a new ROM every day, the second day after you should have normal usage when the optimization is done.
I had that exact same problem as well. I forget what I did to solve it though. It appeared for me right after updating to Nougat. Try flashing a custom ROM (since you have the 3T, try using this rom. It's the one I use and I get 7+ hours of SOT with it), preferably with no gapps at all, and no root and leave it like that for a day or two. I'd say after a full 24 hours you'd be able to judge whether the phone is still having battery issues or not. Use the phone as you normally do as well. Don't deviate from your normal usage. And make sure you get at least one full 100% charge in as well during that time period.

Too Much overnight Drain

Guys i am experiencing A high amount of overnight battery drain.Almost 15% battery gets depleted every night.
I am on OOS beta 10 with Ex Kernel... Android OS always consumes 13-15% battery..
Can anyone provide a solution ?
It might be one of your apps that keeps waking the device overnight. Get a Wakelock detector, look for the app that might be the cause, uninstall it and see if it helps.
It might also be the kernel I'm not sure why but EX was draining a lot of battery for me as well, but it seems to be working just fine for others. So you might also want to switch to stock kernel for a bit and see how it goes
Also, a bit unrelated, but putting your phone on Airplane Mode while you're asleep can help also. (IF you don't get any important messages or calls overnight that is) I lose no more than 1-2% over 8 hours on Airplane Mode. Plus, it's good for your health as well.
Mizart said:
It might be one of your apps that keeps waking the device overnight. Get a Wakelock detector, look for the app that might be the cause, uninstall it and see if it helps.
It might also be the kernel I'm not sure why but EX was draining a lot of battery for me as well, but it seems to be working just fine for others. So you might also want to switch to stock kernel for a bit and see how it goes
Also, a bit unrelated, but putting your phone on Airplane Mode while you're asleep can help also. (IF you don't get any important messages or calls overnight that is) I lose no more than 1-2% over 8 hours on Airplane Mode. Plus, it's good for your health as well.
Click to expand...
Click to collapse
Airplane mode didnt help....
Wakelock detector didnt show any specific app....
Maybe EX issue....but why dont others have this issue ?
Varun hellboy said:
Airplane mode didnt help....
Wakelock detector didnt show any specific app....
Maybe EX issue....but why dont others have this issue ?
Click to expand...
Click to collapse
I'm not quite sure about that. I only used EX once. Once you're certain that EX is whats causing the drain, you can go ahead and ask in the EX Thread. Hopefully someone will be able to point it out. And if you're not certain, I'd say flash stock back and get only the apps you really need and see if it still drains.
And if you're in to custom business, I'd suggest you try out Paranoid Android once as well, the new build is pretty solid and i'm getting a considerably better battery life than i did on OOS, both active and idle
I'm losing 1% per hour, it seems normal for this device.
I've tried factory reset and various kernels.
SultanXDA CM13 is giving the least idle drain with this device. Rolled back to M for now, until i get best battery performance N ROM on this device.
Sent from my OnePlus 3T using Tapatalk
AKA_India said:
SultanXDA CM13 is giving the least idle drain with this device. Rolled back to M for now, until i get best battery performance N ROM on this device.
Sent from my OnePlus 3T using Tapatalk
Click to expand...
Click to collapse
yeah....MM is more battery friendly than Nougat...i have seen on many devices

Categories

Resources