yashsingh1/xdaforums huggingface dataset:
[BetterBatteryStats] Primokorn:
"Since 4 m 42 s " Seriously? Read OP to post a proper log.
[BetterBatteryStats] patlun:
hey¨,

""Since 4 m 42 s " Seriously? Read OP to post a proper log

cool down

sorry it was the wrong file,
[BetterBatteryStats] 11knypek11:
tf300tg

hi,

I have huge battery drains on my tf300tg. I tested many different roms (4.4.4, 5.1, 6.0 (few different revisions)) and on every one battery drains in same speed. In attachement is dump file. Tablet was unplugged and left for 7 hours in sleep mode. Lost like 35% of battery, that is 5% per hour which is quite a lot. If any1 is able to help I would be gratefull.

ps. If I need to make other tests pls reply and I'll to them.
[BetterBatteryStats] Perseus:
According to this line in your log,

"deleted_wake_locks" (): 46 m 23 s Cnt:(c/wc/ec)2541/0/0 10,8%

You probably removed one or more apps that did not remove cleanly and left stuff behind. Can you please wipe dalvik and cache then boot back to homescreen ? Once that is done, either set a custom Marker at that time or reboot a second time for BBS to start logging. After that leave the phone alone for at least 3 to 5 hours. Post a log after that idle period.
[BetterBatteryStats] 11knypek11:
Thats weird because i didnt uninstall anything. I just instaled few apps and thats it. Earlier i even made a test with only clean rom and the problem also occured. But with Your sugestion I will wipe cache delvik and leave th tablet for todays night and tomorow I ll post new dump fle. Thx.
[BetterBatteryStats] Perseus:
Please make sure to do that second reboot or the log would be wasted.
[BetterBatteryStats] floepie:
Everything seems to be working just fine without the system helper app installed. I don't have the xposed app either. Has something changed?
[BetterBatteryStats] 2phazt:
Nice app - working fine on mm.
[BetterBatteryStats] Erik Rye:
Nexus 6 stock rooted(2.71) Project fi mostly wifi and decent battery life but wondering if it could be better. Attached a few logs if anyone has a minute to see if anything looks out of line. I cant be sure but looks pretty darn good. I'd still like to be sure. Thanks in advance!
[BetterBatteryStats] 11knypek11:
OK this is my second dump file after wipe cache/delvik and second reboot. Again more than 5% per hour of battery was drained. The pad was all time in sleep mode.
[BetterBatteryStats] Perseus:
Turn off GPS if you want even better. Also if you are willing to sacrifice hangout notifications or don't use hangouts, look for [MENTION=4355376]Karpfenhai[/MENTION]'s mod earlier in this thread. It talks about reducing GCM related wakeups.

Nothing big jumps out to be honest. Try turning off gps completely. Look for FasterGPS app on the play store or here on xda. It will allow you to configure gps service for your geography.

Is your battery too old ? Could it be dying do you know ? If the battery is fine, can you do factory reset, remove bloat and then install all the app without restoring any backups ? I know that will be a pain but might clean out any residual effects on battery. It will also help you nail down any errant apps.
[BetterBatteryStats] 11knypek11:
Disabling localization in settings is equal to turning off gps? If yes I did that earlier without any results.

Battery might be dying because this pad is like 4-5 years old but if it drains so badly in sleep mode how long would it last when operating it activly? It should be empty within minutes and thats not happening. I can use it for few hours before charging is needed.

I don't quite understands what do You mean by factory reset. Should I reset battery somehow or just reinstall the ROM? If You mean reinstalling everything without restoring apps I already did that before. I just installed clean ROM and battery was draing with the same speed. So my assumptions are that some ROM process is killing the battery.
[BetterBatteryStats] Perseus:
I am not talking about Localization. I am talking about Location Service or GPS. There is a clear on/off switch for Location Services. It might be 3 way switch but it can be turned off.

Older Batteries don't just die immediately their charge holding starts to reduce. In which case the time they can stay on goes down slowly. So for example, previously if you could use the tab for 12 hours straight, now it will only be used for 8 hours before charging again.

If you have a choice of Rom, can you install some other Rom and the apps without restoring them ?
[BetterBatteryStats] 11knypek11:
I made a translation mistake - I was thinking about location not localization. I disabled location service and it didnt help.

Yes thats understandable that with time battery capacity gets lower and lower. But I just dont believe that in sleep mode its like 5%/hr and in normal usage its li 15%/hr. The difference is too small...maybe im wrong.

As i wrote earlier I tried many Roms and every time I did full format and never restored any apps - always new installation of apps from google play. Tommorow I'll install 5.1 version from Omniroom. You want me to install BBS right after Rom is flashed and make drain test?
[BetterBatteryStats] 11knypek11:
This is fresh install of Omnirom 5.1. Only BBS installed and the result is in attachement. This rom is not so stable so I'm going back to KK6.0. But the battery drain on this rom is also the same (5%/hr). I wonder about "com.google.android.gms.persistent" process because it was active all time when pad was in sleep mode. Could it be the problem of battery drain, if so can i do anything about it or is it core android process and it must stay as it is?

Maybe its just the problem of old battery and nothing can be done...
[BetterBatteryStats] simgunz:
Need help in reading log

Hi,

first of all, very nice app.

I've used it some months ago to debug a battery drain on my Nexus 4, and I've managed to figure out the app causing the wakelock.

Now I'm again experiencing huge battery drains, but I cannot figure out from the app what is causing it. Can you help me in this? Here's the dump after a full day of usage.

I cannot attach anything or post link, my dump is on the floowing pastebin:

pastebin com GFgVwfad

Thanks
[BetterBatteryStats] TNSMANI:
An in-use dump will not help anyone to deduce your phone's issues.

So update BBS to v.2.2.0.0B6 and post an idle dump.
[BetterBatteryStats] lugiank:
Is it possible to filter wakelocks to display only the "screen off" ones?

Inviato dal mio SM-G935F utilizzando Tapatalk
[BetterBatteryStats] simgunz:
That makes sense.

Here is a dump after one night in idle state, just after unplugging. I hope it will be more useful.

pastebin com cQteduU3
[BetterBatteryStats] TNSMANI:
You have some alarms and kernel issues.

If possible change kernel and check.

For the alarms, install Amplify paid version and limit the wakelocks/alarms as recommended in this excellent guide:

http://xdaforums.com/android/general/guide-0-0-hour-idle-battery-drain-stock-t2973588
[BetterBatteryStats] simgunz:
Thanks for the hint. Actually I'm running Franco Kernel 3.4.88. By switching to this kernel I've resolved the battery drain months ago, and now I have it again (I've never upgraded androis in the meanwhile). Can reinstalling it help? What other kernel for Nexus 4 do you suggest?

---------- Post added at 04:14 PM ---------- Previous post was at 04:11 PM ----------

By the way, I'm also running greenify but it doesn't help much. Can it be the cause of some wakelocks for some reason?
[BetterBatteryStats] samuraix21:
I checked the specs on the LG G Watch R on gsmarena and wikipedia and they both said it's 4.0 / LE (low energy) bluetooth.

I read the bug report and some user said the BT issue got fixed via uninstall GasBuddy. I have a hard time to believe such an app causes this issue but I'm going to uninstall and see if I get the bluetooth wakelock or not.
[BetterBatteryStats] Akomack:
Is it normal for the app to request SU permissions after every time I wake my phone? I've only recently noticed this
[BetterBatteryStats] drewski_1:
No, and I'm not seeing this on any of my devices.
[BetterBatteryStats] TNSMANI:
For kernel, you can check out the HellsCore and Quanta.

If you have Greenify also, checkout this guide, another excellent one covering both Amplify and Greenify:

http://xdaforums.com/android/general/guide-extreme-battery-life-t3095884

Greenify is an excellent app and can not be draining your battery unless your setup is wrong. In Greenify, you should not greenify every app, only those which drain your battery. Frequently used apps also should not be greenified.
[BetterBatteryStats] kryshnakishore:
These are the only things waking(in kernal wakelock) while charging:

1.qpnp-charger-ee254800

2.PowerManagerService.Display
[BetterBatteryStats] a1exus:
I'm not sure if it's OK to ask my here (I created a separate thread just in case), but if it OK, please take a look, otherwise delete my post. Thanks!

Partial Wakelock - Android System *backup* = NO deepsleep/doze mode
[BetterBatteryStats] IronTechmonkey:
EDIT - Deleted complete deep posted in wrong thread, but the idea is the same. Something may be causing BBS to crash....or maybe this relates to widget activity. In any case - logs.
[BetterBatteryStats] Diamorphoses:
Hi,

Thank you so much for this tool, and thank you for maintaining and improving it for over 5 years :)
[BetterBatteryStats] TNSMANI:
Don't worry about alarms/wakelocks while charging.
[BetterBatteryStats] Kingofknights:
i1082.photobucket.com/albums/j374/kingofknights-Saber/Mobile%20Uploads/Screenshot_20160423-210043_zps4ph4x2t8.png

Can someone tell me what are these *launch* wakelocks? Other wakelock only has like 2s max and this one has over 31mins. Thanks
[BetterBatteryStats] Donnie Sins:
How come I can't see any Doze stats in the BBS app? I've seen several screenshots with Doze displayed, so I decided to search for an option to enable this, but I couldn't.

To be clear: I've used the search function in the XDA app first, as well as looking for an answer at Google, but I didn't find anything that could help me. I'm on Marshmallow, with the latest version of BBS.

Sent from the Matrix
[BetterBatteryStats] alireza_simkesh:
I am sorry if its a noob question, but what app did you use to get the process details as shown by the screenshots above?
[BetterBatteryStats] kryshnakishore:
Its showing under kernal wakelock, not worried but phones is getting heated while charging becoz of these wakelocks before it was fine & no wakelocks
[BetterBatteryStats] TNSMANI:
QPNP is part of Qualcom's battery management system. It keeps a watch over the charging process and so will run while charging. It should not heat up your phone.

The power manager display is the sum total of your screen on times. By itself it does not keep any thing on.

So search for something else which is heating up your phone, like your charger, cable etc.
[BetterBatteryStats] kryshnakishore:
Thank u,. Will check with opo chargers
[BetterBatteryStats] Irule88:
Hey, just wanted some help interpreting these dumps, and also took some screenshots of both BBS and wake lock detector.

View attachment BetterBatteryStats-2016-04-25_114017159.txt

View attachment dmesg-2016-04-25_114017707.txt

View attachment logcat-2016-04-25_114017485.txt
[BetterBatteryStats] amokkatxda:
Is that normal I have no kernel wakelocks? HTC One m9, android 6.0, root, BBS installed as system app. Partial wakelocks showing ok.
[BetterBatteryStats] kryshnakishore:
It's too good
[BetterBatteryStats] amokkatxda:
Ok, I meant BBS does not show them.
[BetterBatteryStats] alireza_simkesh:
Can anyone kindly help me with this please? :)
[BetterBatteryStats] Irule88:
Thats Better Battery Stats I'm pretty sure. While I'm posting, could someone take a look at the screenshots and dumps I posted on the last page?
[BetterBatteryStats] Portgas D. Ace:
From your BBS log:

Screen On (): 41 m 54 s 13.2%

Try to produce an idle log file so we can help you pinning down your issues. How to produce an idle log file: see this thread for example, especially post #6.
[BetterBatteryStats] alireza_simkesh:
Are you sure its BBS?

Because I am not able to find an option in BBS that would produce a categorized list for different apps which shows autoruns in different categories, as shown by the shots.

Also, it appears from screenshots that the app allows to enable/disable autoruns for each category, something that I do not think BBS would be able to provide.
[BetterBatteryStats] Donnie Sins:
Anyone..?

Sent from the Matrix
[BetterBatteryStats] chtioui_khaled:
Is it normal that I have Wifi Running 100% of the time even when I'm not connected to an ssid ?

The always search option in the advanced wifi menu is unchecked
[BetterBatteryStats] rpr69:
Screenshots 3 and on are from the app Wakelock Detector, the first two are BBS.

---------- Post added at 10:25 AM ---------- Previous post was at 10:23 AM ----------

Normal? Not sure. I have the same issue, I believe it is a bug in Android, there is an open ticket with Google, but I don't think they have acknowledged it as a bug. It's one of my biggest battery drainers.
[BetterBatteryStats] Irule88:
Let it charge fully and idle while I slept, here's the new log files
[BetterBatteryStats] chtioui_khaled:
Wifi almost running, and 3 Kernel Wakelocks

I have an LG G4 Dual. The phone has about 5/6 hours of SOT, I think it's great. But in Standby mode it's so different. Look at this screenshot, the wifi was ON but I was on cellular data, I wasn't connected to a SSID. But BBS show that the wifi was all the time RUNNING.

There are 3 Kernel Wakelocks

Any help ?
[BetterBatteryStats] rpr69:
Sorry, I have the same thing, with no resolution.
[BetterBatteryStats] chtioui_khaled:
What about the kernels ?
[BetterBatteryStats] rpr69:
Nexus 5 with both stock kernel and blu_spark, same issue.
[BetterBatteryStats] chtioui_khaled:
What about using Amplify to block wakelocks ?
[BetterBatteryStats] chamonix:
32k downloads of b6.... I think it's time for a B7.

I am sorry I have been missing quite a lot lot lately but my say job is stressful these days and I prefer to spend my spare time with my family, no offence to you guys ;)

Just wondering because I have not had time to test myself: has anyone tested bbs on the preview 2?
[BetterBatteryStats] Donnie Sins:
If I am connected to wifi at, for example, my home, and then leave the house without unchecking it first, that's when the bug appears at my phone(s). If I just make sure I uncheck wifi before(!) I loose the wifi signal (when I'm outside and my 4G turns back on automatically), I have no problems at all.

Both my Nexus 5 and 5X have this, and maybe for you it works the same.

Sent from the Matrix
[BetterBatteryStats] Portgas D. Ace:
Screen On (): 4 m 9 s 1.1% -> try to reduce this time to less than a minute, save the BBS log right after you turned on your screen

Furthermore, you lost a lot of battery, your phone did not enter idle mode at all:

Awake (Screen Off) (): 6 h 8 m 51 s 98.9%

Sensors (): 1 h 44 m 5 s 27.9% -> seems that some of your sensors (proximity for example) have been active for quite some time

system (Android System): Uid: 1000 Sys: 1 h 50 m 21 s Us: 3 m 27 s Starts: 0 -> Android System was running nearly two hours

mediaserver (1013): Uid: 1013 Sys: 13 m 24 s Us: 25 m 38 s Starts: 0 -> mediaserver was active, playing media files (ringtones, alarms)

Alarms: 27, Intent: com.facebook.rti.mqtt.e.f.ACTION_INEXACT_ALARM.MqttLite.com.facebook.orca

Alarms: 8, Intent: com.facebook.analytics.service.a.ACTION_ALARM

Alarms: 5, Intent: ALARM_WAKEUP123500905

Alarms: 22, Intent: com.facebook.rti.b.e.h.ACTION_INEXACT_ALARM.FBNS.com.instagram.android

-> lots of alarms (related to FB, Instagram, Google) that can be tamed by using Amplify

Nevertheless, all those things do not explain why your device did not enter idle mode at all. If you use Google Now hotword detection, you could deactivate it and produce another idle log file. Maybe it is related to this.

Beside this, I would recommend to head over to one of the great battery saving threads (thread #1 or thread #2) and to flash a different custom kernel, because losing nearly 5% battery per hour isn't funny at all.
[BetterBatteryStats] Irule88:
So really weird, but I had an unrelated issue with the Play Store, so I disabled it, and then it asked if I wanted to install the factory version of it, so I said yes, and now the battery is great again, and it is going into Sleep mode. To be fair, this is while I was working, so the screen on time is very low, only 38 minutes, but it did not stay awake the whole time, and right now, with 78% battery, it has 1 day 3 hours estimated left, a far cry from yesterdays 10 hours it would say. If the problem arises again, I'll do another dump with minimal screen on time, and take a look at those threads. Thanks!
[BetterBatteryStats] drewski_1:
I'm seeing this on my Shield Tablet. Partial OK. Kernel has no stats.

I don't think it's normal. All other devices show both fine.
[BetterBatteryStats] gothy.gothy:
Hi guys,

Please help me whit an explanation: what exactly could mean "sensors"? They started to consume for 2+ hours in conditions that I don't have active NONE of the below:

- ambient

- adaptive

- location

- proximity sensor (I mean is not triggered by any application - anyway, none that I know at least)

- scanning for location

Thanks for any hint / help
[BetterBatteryStats] Skick3:
How can i define does all data and stats not delete after smartphone restart?

I defined. Listing all data after unplugged, full charching, manuel define, but i restart my phone and all data lost. Why?
[BetterBatteryStats] neonixxx:
Please, no need to apologize. Thank you so much for all you do with this app as it is! I'm sure I speak for everyone on XDA when I say we all greatly appreciate it. Hope things go well at your job and get less stressful for you. :)
[BetterBatteryStats] TNSMANI:
AFAIK, at present there is no way to save the previous data once you reboot the phone.
[BetterBatteryStats] alexxutzu:
Can anyone help me? I use XtreStoLite DeoMod Edition 3.2 rom with arter kernel 14 and f2fs format. When I try to open BBS I get "The batteryinfo service could not be accessed. If this error persists after a reboot please contact the dev and provide your ROM/kernel version" and "BetterBatteryService could not be contacted".

Any advice?
[BetterBatteryStats] Skick3:
Pity!
[BetterBatteryStats] Nightshadow931:
How do I solve backup partial wakelock?

It won't let my phone sleep at all.

I've cleared cache/art from recovery, and it was gone for a day, but then it appeared again.

Turning backup off in backup & restore is workaround, but I don't want to loose it.
[BetterBatteryStats] nETPOBu4:
Need help decoding BBS output in file attached. I see 1:30 awake and 1:30 screen on in overview screen, okay. Go to kernel wakelocks and see PowerManagerService.WakeLocks with over 1 hour, I guess that's reason for 1:30 awake. Next goto partial WakeLocks and there's only com.bubblesoft.upnp.mediaserver.MediaServer with 30 mins. Question is where's the rest half an hour?
[BetterBatteryStats] alexxutzu:
Men, how can I install BBS? I can't make it work!
[BetterBatteryStats] Portgas D. Ace:
Download the .apk file, put it onto your device's storage and install it.
[BetterBatteryStats] alexxutzu:
Is not working! I get this message: "The batteryinfo service could not be accessed. If this error persists after a reboot please contact the dev and provide your ROM/kernel version" and "BetterBatteryService could not be contacted".
[BetterBatteryStats] Portgas D. Ace:
Then provide a proper log file to the developer so he can have a look into this.
[BetterBatteryStats] TNSMANI:
First update BBS to 2.2.0.0B6 and then take an idle dump and attach it here.

In use dump will not help anyone to help you.
[BetterBatteryStats] Im333:
Can't access Kernel Wakelock

Hi

Just installed the latest version. I'm running stock android marshmallow 6.0.1 on my shiny new nexus 6p.

When I select Kernel Wakelock, the message in yellow states Kernel Wakelock could. It be accessed neither by file nor api.

Why? And what is wrong?

Thanks in advance,

Im333
[BetterBatteryStats] alireza_simkesh:
I had the same problem with backup partial wakelock, and couldn't find a solution for it.

Ended up disabling it in the settings.
[BetterBatteryStats] Nightshadow931:
Disable backup, restart phone, enable backup.

Didn't believe it would work, but it did the trick.
[BetterBatteryStats] Bautinho88:
How can I see what alarm is it in detail with com.google.android.gms? I think 42 alarms per hour are too much. Any idea?
[BetterBatteryStats] TNSMANI:
Tap 'com.google.android.gms'
[BetterBatteryStats] Nightshadow931:
Use amplify to limit those wakelocks.
[BetterBatteryStats] Hawtpants:
Can you guys help me with this idle overnight report? I feel like my battery life could be waaaaay better... Something is draining it fast :(

View attachment logcat-2016-05-01_095820816.txt

View attachment BetterBatteryStats-2016-05-01_095820766.txt
[BetterBatteryStats] optimummind:
[MENTION=1330150]chamonix[/MENTION] Are you able to make a version of the app that can reveal most stats without root? The author of Wakelock Detector made a non-root version that shows wakelocks on a non-rooted phone by enabling something on the phone via adb. The command is: adb tcpip 5555

Here is the link to wakelock detector lite:

https://play.google.com/store/apps/details?id=com.uzumapps.wakelockdetector.noroot
[BetterBatteryStats] kryshnakishore:
I am on latest cos13.

Wakelock Detector shows while charging only these two are awake

1.qpnp-charger-ee254800(100%)

2.PowerManagerService.Display(48%).

Any solution for this? No problems I am facing but Phone is getting heated little bit while charging & many of us dnt have this wake issue while charging
[BetterBatteryStats] kryshnakishore:
This
[BetterBatteryStats] Winder89:
My battery life has been bad lately, I'm pretty sure I could improve it by a good margin. I'm on CM12.1 with an LG G3.

I'm saying it's bad because I often finish the day with ~40-50% left for about 1h15 SOT during the day.

Lately I finish the day at 10-25% for the same SOT. I feel like rebooting will help for a day or two then it goes bad once again.

View attachment BetterBatteryStats-2016-05-05_125925358.txt

Can anyone help me identify anything that is draining my battery?

Thanks
[BetterBatteryStats] TNSMANI:
Give us an idle dump from BBS, not an in use dump.

You can use Amplify and limit many of your wakelocks/alarms.
[BetterBatteryStats] castor_t:
Help me save battery

I got fed up with my Android battery life and thought I should use it only when really required. Hence, I installed minimum number of apps. I have runtastic, runkeeper, gps status toolbox, mentronomics beats for tracking my runs and also Whatsapp which I use from time to time in a day. The rest of my apps are microgproject, unifiednlplocation, nova launcher, titanium backup. I froze all the running apps and whatsapp using Titaniumbackup and unfreezing before I use. Using amplify i also lmited some wakelocks as suggested in other threads on xda. I also have naptime, Power nap for dozing and blocking background activity on screen off. I have greenify, but not enabled.

I marked a custom reference using BetterBatteryStats last night when going to bed and checked in the morning. Battery level lost is 1.6% in 7 hours 16 minutes. Out of this my phone was in deep sleep for 7 hours 11 minutes. So, 5 minutes of activity consumed 11% of my battery. I am not sure what is eating my battery. Could you guys help me figure out and block it. Ideally, since I don't use my phone a lot, I am hoping that the discharge percent is less than 1.

I am pasting my idle BBS dump from last night. Since I am a newbie and cant attack here, I am pasting the dump here. Sorry
[BetterBatteryStats] Hedied4me:
I don't necessarily think its a bug but I have keep continuously getting the toast where BBS is getting root permission. I may not see it for a while and then its every few (like 3-4) minutes. Perhaps this is required, but I do not know.