Hello all. Today I picked up my phone after not using it for a few hours and noticed it'd gone from full to 25%. I checked BetterBatteryStats only to find really short wakelocks, nothing that would explain the drastic battery drain. Even stranger, BetterBatteryStats also reports the CPU was in "deep sleep" over 90% of the time, which is completely at odds with what Android's battery history tells me (see first attachment).
What is going on?
More information is needed about your setup, not just that your battery is dying quickly...
What kernal and ROM are you using? looks like stock...
If you want to logcat the drain, download Terminal Emulator from the market:
In terminal emulator, type:
su
logcat > /sdcard/logcat.txt
run your phone for a few hours, with terminal emulator in the background logging...
Yes, I'm using Stock unrooted. I'll edit this post when I run logcat after work.
SharpHawk said:
Yes, I'm using Stock unrooted. I'll edit this post when I run logcat after work.
Click to expand...
Click to collapse
Well it doesn't really matter if you're stock unrooted, unless you want to send the logcat to Samsung... anyways, go ahead and make one if you'd like, it would reveal whats going on, prob just a rogue app...
Diner see
Related
Hello, for some reason I am experiencing battery problems. I have a t999l with CM11 and the BMS kernel. So does my mom. This is important because she has been on her battery longer than mine and still has 90% while I have 39%. I know the problem. Under the battery stats my phone is always awake, and my Mom's isn't. See picture. I want to know mine it is always awake, and hers isn't. I have 6 hours with 39% and she has 7 hours with 90%. Doesn't make much sense. We both have the little "Okay Google" thing enabled too.
Sent from my SGH-T999 using XDA Premium 4 mobile app
Please Install BetterBatteryStats app. Look for its thread on how to pull a log. Post the log here or there.
Perseus71 said:
Please Install BetterBatteryStats app. Look for its thread on how to pull a log. Post the log here or there.
Click to expand...
Click to collapse
View attachment BetterBatteryStats-2014-04-03_164915647.txt
I hope I did it right. I've had this app installed for a while, actually, but never used it.
Umm almost there. Please Open BBS, go to Settings > Advanced. Check the box for Root Features. It will ask for Root privilege. Grant it. Reboot and get another log preferably Idle 3-4 hours.
Perseus71 said:
Umm almost there. Please Open BBS, go to Settings > Advanced. Check the box for Root Features. It will ask for Root privilege. Grant it. Reboot and get another log preferably Idle 3-4 hours.
Click to expand...
Click to collapse
My phone has been on since rebooting for an hour and a half now, I was using it mildly. For the next hour and a half, I will leave it be. About 12 hours with about 30% battery.
gilberts555 said:
My phone has been on since rebooting for an hour and a half now, I was using it mildly. For the next hour and a half, I will leave it be. About 12 hours with about 30% battery.
Click to expand...
Click to collapse
Please reboot again before leaving Idle. Otherwise BBS Reference points won't reset.
Perseus71 said:
Please reboot again before leaving Idle. Otherwise BBS Reference points won't reset.
Click to expand...
Click to collapse
Okay. I guess I'll have to use my Blaze in the meantime.
Perseus71 said:
Please reboot again before leaving Idle. Otherwise BBS Reference points won't reset.
Click to expand...
Click to collapse
Okay, done.
Are you sure that was Idle Log ? Assuming it was, there are quiet a few apps working in the background.
1. Google Calendar has Alarms going off. Did you have an Calendar indicator / Alarm ?
2. Media Scanner although low usage, has been active. Please use the app called Kill Mediascanner.
3. Facebook and Google + really should be removed.
4. Yahoo email client was active. Although it was low key in this log, it will become a menace.
5. Please freeze / Disable Google Search.
I would have posted directly to the PurpleDrake thread in development but the forum wont let me.. (New User)
Since rooting my G3 (D855 with 10e) the battery is draining really fast, even on standby.
When in use you can actually see the % battery going down.
All I have installed is Titanium, and Droid Mate App Ops.
The only things I have changed are a few permissions for Facebook, and a couple of games.
I've looked at running apps and the battery usage, and I can't see anything strange.
Any ideas, or should I un-root?
Cheers
Neo_Ge said:
I would have posted directly to the PurpleDrake thread in development but the forum wont let me.. (New User)
Since rooting my G3 (D855 with 10e) the battery is draining really fast, even on standby.
When in use you can actually see the % battery going down.
All I have installed is Titanium, and Droid Mate App Ops.
The only things I have changed are a few permissions for Facebook, and a couple of games.
I've looked at running apps and the battery usage, and I can't see anything strange.
Any ideas, or should I un-root?
Cheers
Click to expand...
Click to collapse
Most likely it's not your root causing the issue.
You might want to check this out
navlem said:
Most likely it's not your root causing the issue.
Click to expand...
Click to collapse
It was fine before rooting.
Neo_Ge said:
It was fine before rooting.
Click to expand...
Click to collapse
that will simply be a coincidence, there is nothing root itself can do that would cause battery drain.
The chances are it's some application or something you changed which is causing the battery drain like lennyuk said root won't cause battery drain at all.
daleski75 said:
The chances are it's some application or something you changed which is causing the battery drain like lennyuk said root won't cause battery drain at all.
Click to expand...
Click to collapse
I only installed Titanium and App Ops after root, and neither run in the background.
The only other change is I now have the quick circle case, which I fitted a couple of hours after rooting, but I can't see how that would have any affect.
Could the changing of permissions for Facebook etc with app ops. cause problems with battery life?
Maybe continuous polling for a response on a permission I blocked (like send sms). I will revert all the permission changes and see what happens.
Neo_Ge said:
I only installed Titanium and App Ops after root, and neither run in the background.
The only other change is I now have the quick circle case, which I fitted a couple of hours after rooting, but I can't see how that would have any affect.
Could the changing of permissions for Facebook etc with app ops. cause problems with battery life?
Maybe continuous polling for a response on a permission I blocked (like send sms). I will revert all the permission changes and see what happens.
Click to expand...
Click to collapse
Revert it on Facebook first as that's probably the biggest culprit I reckon.
Download wake lock detector and find out what's not letting your device go into deep sleep. Also download something that will allow you to monitor your cpu. If your cpu is running at high frequencies for long periods of time then there's an app somewhere that is causing this issue. Like others have said root can not cause battery drain. Root is not an app that runs in the background giving you admin privileges. It runs ones and that's it. Also the changing of the resolution isn't advised. I have my resolution set at its default and get about 5 hours screen on time with 15+ hours off the charger
Sent from my LG-D850 using XDA Premium 4 mobile app
High battery drain.
The same here!
After root my LG G3 D855 with purpledrake I note high battery drain.
I simply root my device, install TWRP recovery and made device complete backup.
I installed "supersu", "flashify" (to install recovery), "quick boot", "nexapp SDFix" (to fix KitKat SD write issue).
I gave root permission (by SuperSU) to ES File Explorer, Flasjhify, QuickBoot, SDFix.
No other change.......
Why battery drain so fast, now?
Thanks.
PS I see battery drain graph with "GSam Battery Monitor" (installed since I buyed my G3).
Edit 2. I install "wakelock detector" and I found "SuperSU" using screen for 8h 43m... The second was Torque with 12m 21s.
Why SuperSU use so more resources?
For some reason my M9 doesn't want to go into deep sleep much. Out of the 1 hour I have it off the charger, only 2 minutes were in deep sleep. I haven't used the phone at all in that 1 hour, so I'm not sure why it wouldn't be sleeping.
Does anyone have this problem or know how to fix it? Thanks
https://play.google.com/store/apps/details?id=nextapp.systempanel.r1
Buy, install, do proper settings, put it into monitoring mode.. then switch of screen and go sleep - in the morning see the activities what were happening during the night monitored..
jauhien said:
https://play.google.com/store/apps/details?id=nextapp.systempanel.r1
Buy, install, do proper settings, put it into monitoring mode.. then switch of screen and go sleep - in the morning see the activities what were happening during the night monitored..
Click to expand...
Click to collapse
I've used a very similar app. There are no wake locks. All it says is "Android OS" is using 100% of the screen off battery. Even in the normal HTC battery settings, android OS is using 100%. Thanks for the help though.
System Panel is neither similar nor showing you those funny wakelocks..
It thoroughly informs you about CPU usage last night..
jauhien said:
System Panel is neither similar nor showing you those funny wakelocks..
It thoroughly informs you about CPU usage last night..
Click to expand...
Click to collapse
Thanks, but all those apps are the same. They can only get a certain amount of info from the core system. There are apps that do the exact same thing for free, which is what I use.
As an update to my problem, rebooting the phone and clearing cache seemed to have solved the issue for now.
aooga said:
Thanks, but all those apps are the same. They can only get a certain amount of info from the core system. There are apps that do the exact same thing for free, which is what I use.
As an update to my problem, rebooting the phone and clearing cache seemed to have solved the issue for now.
Click to expand...
Click to collapse
If you run out of ideas on how to fix this, I'd say get root, get Xposed, and get Power Nap. Pretty much blocks all wakelocks at night and I see like 1% drain the next morning.
Cryosx said:
If you run out of ideas on how to fix this, I'd say get root, get Xposed, and get Power Nap. Pretty much blocks all wakelocks at night and I see like 1% drain the next morning.
Click to expand...
Click to collapse
Wait...xposed works on 64bit phones? Wow I've been missing out for nothing lol.
Yes, but make sure you use the xposed arm64 file.
This thread has the stuff
Here's the zip you want xposed-sdk21-arm64.zip
And you also need the alpha installer.
Hi,
I have an unrooted Note 4 that is updated to the latest marshmallow. Lately I have been having battery drain issues. I have GSam Battery Monitor to see if I could figure out what was going on. The only thing that it is telling me is that my phone is pretty much staying awake all the time. Unfortunately I cannot tell much more than that.
My question - is there any way at all for me to figure out the culprit? I looked online for a while and saw references to using Wakelock Detector on unrooted phones with a couple of ADB commands, but that doesn't seem to be an option with Marshmallow.
So, short of rooting, is there any way for me to figure out my battery issues and what's keeping it awake?
Ha! I'll answer my own question. It turns out that you can do this with GSam Battery monitor and a few ADB commands. I updated the app to the latest and went through the settings and it had a little tutorial built in. It took me just a couple of minutes and now I can view wakelocks, both app and kernel, in the app.
If only I could do this with wakelock detector. Still, I'm happy with GSam Battery Monitor.
I'm assuming that I'll have to redo this after every reboot, but that's cool
usmaak said:
Ha! I'll answer my own question. It turns out that you can do this with GSam Battery monitor and a few ADB commands. I updated the app to the latest and went through the settings and it had a little tutorial built in. It took me just a couple of minutes and now I can view wakelocks, both app and kernel, in the app.
If only I could do this with wakelock detector. Still, I'm happy with GSam Battery Monitor.
I'm assuming that I'll have to redo this after every reboot, but that's cool
Click to expand...
Click to collapse
did you calibrate your battery since your last update? is that when issue began ?im not on stock, but ive had major battery issues in the past. the issue was caused from flash . the solution ended up being charging phone to full then calibrating battery via an app i used root essentials but not applicable in your case
Hello everyone,
initially I had great battery life on my P6P. I then later started to root, add a 2nd SIM card and installed more and more apps (the same ones I already had on my P4 XL).
I can't really say when deep sleep stopped working, but it does not work at the moment.
I am at the stock ROM and Kernel atm, but rooted.
Usually I would start BBS and figure out which wakelock is preventing me from going to deep sleep.
However, BBS doesn't seem to work on Android 12. So I tries GSAM Battery Monitor.
Attached are screenshots from 2 days with GSM Battery Monitor.
It can be seen that the device does not go to deep sleep at all.
The only way to get it into deep sleep atm, is to enable battery saver.
This causes a huge battery drain over a whole day.
This post will contain the screenshots from day #1.
The next post will contain the screenshots from day #2.
Can anyone tell me how to figure out which wakelock / which app / feature / whatever is preventing my phone from going into deep sleep?
Thanks in advance!
And this is day #2 with more detailed screenshots.
@Lughnasadh @RetroTech07 Maybe you can help me here? :S
Thanks!
I also just "Force stopped" pretty much everything under Settings -> All apps (user apps and the few system/google apps that are in the user apps list).
Still no deep sleep
Utini said:
Still no deep sleep
Click to expand...
Click to collapse
BBS works.. sometimes. You need to stick with it and get the alarms tab to show stats. That should tell you what is keeping it awake. Kernel wakelocks are useless imo. Partial wakelocks and alarms and even network usage perhaps. I have it working but it's sketchy.
Finding a needle in a haystack.
Factory reset and don't restore backup.
bobby janow said:
BBS works.. sometimes. You need to stick with it and get the alarms tab to show stats. That should tell you what is keeping it awake. Kernel wakelocks are useless imo. Partial wakelocks and alarms and even network usage perhaps. I have it working but it's sketchy.
Click to expand...
Click to collapse
So you basically install it, grant it root, and then wait until somehow magically starts to show stats?
therock3181 said:
Finding a needle in a haystack.
Factory reset and don't restore backup.
Click to expand...
Click to collapse
Ye well there must be a way to troubleshoot this.
Can't just always factory reset because something gets bugged?
Utini said:
So you basically install it, grant it root, and then wait until somehow magically starts to show stats?
Click to expand...
Click to collapse
Haha, no I don't have root. I just grant the permissions via adb. But "magically" is the key word actually. Here are a few screenshots from just now. The first 2 are pretty usual for a few of the stats but that changes. The second 2 are what I can sometimes get although that varies as well. Every other stat on the app is like the first two, not stats collected. That's what I mean by you have to stick with it. It will magically show randomly. lol Unfortunately, this round didn't show partial wakelocks which means a bunch to me. Tomorrow morning it will show.
Thanks.. I just flashed kirisakura kernel from @Freak07 since I believe that it also block some wakelocks which are enabled on stock kernel. Will try that tomorrow together with AccuBattery.
If that doesn't work, then I will try to get magic by BBS.
Utini said:
Thanks.. I just flashed kirisakura kernel from @Freak07 since I believe that it also block some wakelocks which are enabled on stock kernel. Will try that tomorrow together with AccuBattery.
If that doesn't work, then I will try to get magic by BBS.
Click to expand...
Click to collapse
If your issue is caused by an app or service (which it sounds like it probably is) constantly running in the background flashing the kernel won't help at all.
Your best bet might be BBS, battery historian (you can take a bug report and then view it there, just google it) or maybe top command.
Freak07 said:
If your issue is caused by an app or service (which it sounds like it probably is) constantly running in the background flashing the kernel won't help at all.
Your best bet might be BBS, battery historian (you can take a bug report and then view it there, just google it) or maybe top command.
Click to expand...
Click to collapse
Well, for now it seems like your kernel fixed the issue though.
I am on 70% deep sleep while screen is off according to accubattery. So I will monitor this through the rest of this day and report back.
Utini said:
Well, for now it seems like your kernel fixed the issue though.
I am on 70% deep sleep while screen is off according to accubattery. So I will monitor this through the rest of this day and report back.
Click to expand...
Click to collapse
Flashing a kernel can't fix issues with apps or services getting stuck in the background.
I guess it was the reboot that helped in the end or whatever was stuck got updated or unstuck some other way.
Freak07 said:
Flashing a kernel can't fix issues with apps or services getting stuck in the background.
I guess it was the reboot that helped in the end or whatever was stuck got updated or unstuck some other way.
Click to expand...
Click to collapse
Hmm really weird. My deep sleep is now also slowly dropping (only at 50% now).
But will see how it ends up after a working day.
I did try reboots before already. It didn't help.
But maybe so far I was working with a mix of several wakelocks which I can now narrow down.
Will try battery historian as recommend by you. Just need to find a decent guide for it first
Utini said:
Hmm really weird. My deep sleep is now also slowly dropping (only at 50% now).
But will see how it ends up after a working day.
I did try reboots before already. It didn't help.
But maybe so far I was working with a mix of several wakelocks which I can now narrow down.
Will try battery historian as recommend by you. Just need to find a decent guide for it first
Click to expand...
Click to collapse
Install better battery stats ( only kernel wakelocks tab is not working)...to check wakelocks and alarms
whats the differencd between doze and deep sleep? and is there a way in accubattery to find out, if the device is sleeping?
cultofluna said:
Install better battery stats ( only kernel wakelocks tab is not working)...to check wakelocks and alarms
Click to expand...
Click to collapse
It didn't work for me at all and I just installed it and it still isn't working for me at all.
It has root and according to the permissions tab in the app everything seems to be granted.
I downloaded the RC 2.6-382 from here: https://install.appcenter.ms/users/...stats-xda-edition/distribution_groups/testers
I will let it run for a few hours and check again.
Edit: Oh I just noticed under the permissions tab:
STATUS: Failed: Transaction failed on small parcel; remote process probably died
Any ideas?
xflowy said:
whats the differencd between doze and deep sleep? and is there a way in accubattery to find out, if the device is sleeping?
Click to expand...
Click to collapse
In Accubattery under "discharging" check for "deep sleep while screen off".
Utini said:
In Accubattery under "discharging" check for "deep sleep while screen off".
Click to expand...
Click to collapse
just found it. is 37% of it, good?
Utini said:
It didn't work for me at all and I just installed it and it still isn't working for me at all.
It has root and according to the permissions tab in the app everything seems to be granted.
I downloaded the RC 2.6-382 from here: https://install.appcenter.ms/users/...stats-xda-edition/distribution_groups/testers
I will let it run for a few hours and check again.
Edit: Oh I just noticed under the permissions tab:
STATUS: Failed: Transaction failed on small parcel; remote process probably died
Any ideas?
Click to expand...
Click to collapse
Working for me properly... besides kernel wakelocks