yashsingh1/xdaforums huggingface dataset:
[BetterBatteryStats] Neuz:
This my dump file.

Thank you!
[BetterBatteryStats] chamonix:
A dumpfile does not really help, especially as that one is not idle: you have been listening to music for more that one hour.

As the source code does not seem to have been published (thanks samsung) I see two options:

- you try to find a kernel for that phone on xda

- we proceed by elimination: for that you should start by providing an idle dump and please turn off wifi before letting your phone sleep as wifi would be the biggest known cause of drain in that reading
[BetterBatteryStats] Neuz:
Thank you for the reply.

Btw I've flashed a simplekernel (Galaxy s6 kernel). It's not official kernel.

Tonight try to stand by phone without wifi and tomorrow post a new dump.

Is there a guide for the interpretation of bbs dump?

Inviato dal mio SM-G920F utilizzando Tapatalk
[BetterBatteryStats] PIRATA!:
Hey guys, I'm not able to see nothing in BBS, everything is empty, and my app is installed as system app!!

What can I do?

Tnx.
[BetterBatteryStats] a103:
If you're on 5.1.1 ROM please use the latest version from the op. Once you install that as system app, restart the device and install the app again. After that open the app. It should work.
[BetterBatteryStats] chamonix:
http://better.asksven.org/bbs-how-to/
[BetterBatteryStats] PIRATA!:
I'm on 5.0.1.

The procedure you explain is to copy/past last version in priv-app and set permissions to 644, and then install .apk regularly over it?

Otherwise please explain me.

Tnx.
[BetterBatteryStats] Sami Jildeh:
Did you install it again after you installed it as system app.

You need it install it again.

I'm on 5.1.1 and it works, but it give high rate after reboot.
[BetterBatteryStats] godlesplay:
anyone? I have so often this wakelock
[BetterBatteryStats] marknoll:
Umm..which one?

---------- Post added at 11:03 AM ---------- Previous post was at 11:01 AM ----------

In order to grasp battery usage, u have to go to others screen and compare screen on time and actual sleep
[BetterBatteryStats] MoeBD:
hello all, i need help pinpoint what's the reason for this crazy drain on my battery (10% every hour)

it's Says GPSD, keep it awake for 9 hours

find attached the dumped files

can you help me pinpoint what's the case of this?

thanks
[BetterBatteryStats] mdamaged:
Why did you go and zip the txt file? Sometimes, It's like you're trying to make it as hard as you can for us to help.
[BetterBatteryStats] MoeBD:
i am sorry, i meant to include all the files (one file is json extension)

i have added the txt file
[BetterBatteryStats] mdamaged:
Ok, you have been using the phone during this dump period, you need to charge the device, then let it sit idle for 3-4 hours (i.e. do not use it at all), then repost a dump.
[BetterBatteryStats] MoeBD:
ahh i see, oops my bad then

actually when i turn off my phone last night and start up this morning problem is gone

i will try to make it reoccur and do exactly what you said

thanks mdamaged
[BetterBatteryStats] godlesplay:
"fingerprint_scanner_static"
[BetterBatteryStats] Osid:
How about implementation of a timed watchdog?

Example: check every n minutes, after screen off, if awake pct is > m % and, if true, display a notification and/or vibrate.

Why? Often, screen off time is long, and also battery drain is consistent.

An active alert could be useful to check smartphone and find and fix temporary big alarms/wakelocks.

A notification during screen off is useful because it can be notified through 3rd party apps on wearable hw (like miband).
[BetterBatteryStats] chamonix:
it's on the list: #489
[BetterBatteryStats] madboymatt:
I have read through this entire thread, trying every single way to install this app. It works almost perfectly, except it won't display kernel wakelocks. This is all I get:

Everything else seems to work fine. I've copied the app to priv-app, set permissions to 777, installed, installed as system app, rebooted, installed again...nothing. Also tried 644, didn't work.

Could this be an issue with my rom? I never had this problem until I went to lollipop.

Cloudy G2. 3.3

Any further advice or tips would be awesome. I've always used this app to monitor/log battery, and I'd rather keep using it instead of splitting the duties with GSam, which displays kernel wakelocks without issue....but doesn't show partial wakelocks.

Thanks
[BetterBatteryStats] marknoll:
That's lp for ya. Kernel wakelocks seem to dwindle with droid version 5.0+

Mine does the same thing..consider yourself lucky.

?
[BetterBatteryStats] MoeBD:
okay i think my issue is that whenever i start GPS then turn it off, my phone stays Awake from certain app which i would like your help pinpoint it

find attached dump, i charged the phone before i sleep then this morning i generate this dump

thanks in advance
[BetterBatteryStats] madboymatt:
Right, I just find it odd that GSam will show kernel wakelocks, but not bbs.
[BetterBatteryStats] Perseus:
I see you have

GPSD (): 12 h 58 m 19 s Cnt:(c/wc/ec)0/0/0 100.0%

keeping the phone awake. From what I can see, you can change your network mode to either WCDMA only or to GSM only. Then reboot and look for this wakelock under Kernel Wakelocks. If its still there, you need to either take out and put the sim card in again properly or replace sim.
[BetterBatteryStats] godlesplay:
[MENTION=3639717]Perseus[/MENTION] could you help me with my problem?
[BetterBatteryStats] Perseus:
Had to look back for your Original post for the log. Your Log is In Use. Those are useful sometimes when you are looking for something. But more often, it is useful to have an Idle log so that we can focus on Idle/standby state drain. Preferably overnight.

From this log, I see you had games going on. Those are particularly draining. I see the Google Cloud messenger alarms. May I suggest looking for [MENTION=4355376]Karpfenhai[/MENTION]'s modifications earlier in this thread ? Make those changes to the Google play services.

Facebook is living upto its obnoxious self. See if you want to turn off the feed updates. (Or whatever they are called. Don't have Crapbook)
[BetterBatteryStats] godlesplay:
[MENTION=3639717]Perseus[/MENTION] I can't make idle log because I don't know when I will have this wakelock and I don't know why I have fingerprint wakelock on my s3 lte which doesn't have fingerprint sensor...
[BetterBatteryStats] Gizmundo:
fts_wakelock

Can somebody help with this wakelock? "fts_wakelock"

I've tried to look for it but cannot find anything about it. It has appeared with every kernel I tried.
[BetterBatteryStats] Perseus:
I understand, Do make Idle one for my sake. Also try the other suggestions I had made.

Change your Scheduler if your kernel permits. Your SQLITE database is corrupted or fragmented. Either do a factory reset, reflash and start clean without restore. Or if that's too drastic, use something to defrag your SQLITE Database such as [MOD][TWEAKS][SCRIPTS][2.3/5.1.1] eXtremeBoost™ V2.5.1 THE POWER OF THE TWEAKS!
[BetterBatteryStats] MoeBD:
This dump was generated while mobile data is off (i was asleep)

I will try to replace sim card

Thanks
[BetterBatteryStats] dorwoo:
Hi, why am I getting this wakelock?
[BetterBatteryStats] mdamaged:
Disable fast dormancy and reboot.
[BetterBatteryStats] bobo89:
What causes a massive battery drop of 5-10% instantly, not always at the same spot (this time occurred at 10 to 5 %) ?

Have calibrated and gone down to 0 multiple times with a recharge.
[BetterBatteryStats] Perseus:
Could be any number of things. That's why this app exists and lets you pin point the issue. A log would be helpful.
[BetterBatteryStats] orenzai:
I've been experiencing very poor battery life recently. I get about 1.5 hours - 2 hours of SOT when people using my rom claim to get 4-5 hours easily. Before this drain happened, I was also only able to get 3.5 hours max but that is still way better than 2 hours I'm experiencing now. For this attached log file, I had Spotify on for about 6 hours but with my screen on. I was connected to a wifi network for about 70% of the time hence all the more reason for it to last longer than normal

Here are my details if it helps. Let me know if anyone needs more details such as more log files or etc.

Phone: Mi3W

ROM: ParanoidAndroid
[BetterBatteryStats] Perseus:
In Use logs don't help a lot for identifying underlying issues.

You have some Google app like G+ or something that is extremely active. Overnight Idle log would help.
[BetterBatteryStats] orenzai:
Sorry if this sounds noobish, but what other states of log should I be produce to help you better understand the situation and how do I produce it?
[BetterBatteryStats] sirxdroid:
Feature suggestion

I think it would be very useful to break up the per hour battery drain % into two categories:

- idle (screen off) battery drain % per hr., and

- active (screen on) battery drain % per hr.

Here's an example:
[BetterBatteryStats] donpippo:
Hi, tonight my N5 was awake all night long. Somone can help me understand why?

thanks
[BetterBatteryStats] bobo89:
Running a Note 4 and only averaging about 2.5 hours of screen time, using a conservative governer, and underclocking to 1.9 from ~2.6.

I've used the app to figure out what was waking and now I get a solid 0.3%/h during sleep. Good.

However when I actually use the phone (auto brightness, -5) I still drain the phone in about 12 hours while other users report massively more, with almost double the screentime. I'm on wifi 8 hours a day with strong cell signal. I've noticed some apps seem to peg to processor at full frequency so I avoid those.

Also every charge cycle I get a massive crash of 10% in battery life, usually aroudn 15 to 5% instantly. It didn't happen in this log, but will try and catch it again. Log attached.
[BetterBatteryStats] coolfire:
Is it possible to elaborate more on fts_wakelock for knowledge's sake please? I'm also getting this with battery drain...
[BetterBatteryStats] Perseus:
Its explained in OP. You need to restart the phone at bed time and then leave it alone over night and pull a log first thing in the morning.

Essentially this wakelock indicates that pohne needs to be awakened or need to stay awake as retrieving data from storage is taking time as its been fragmented. Kind of similar to fragmentation that occurs on Windoz.
[BetterBatteryStats] setiawanjimmy:
Morning guys..

Here is my log for overnight.. I turned off locations, gnow and sync still i got 10% battery drain.. Is there anything i can do to get better stand by time? I know that probably its BBM thats keeping my phone awake..

Thanks..
[BetterBatteryStats] nicesoni_ash:
Hi guys,

I am using the latest version on kitkat. The app installed its apk in system and it's working fine. The only problem is other than boot, I don't have any other option. If I set a custom reference that works but that's it.

I connect and disconnect my charger cable to make it show since unplugged as stated in OP but that doesn't do anything. So I would really appreciate if someone can explain what I am doing wrong. Thanks.

Sent from my "GT-I9300/1+1" powered by Carbon Rom & Boeffla/ak Kernel

Fueled by 7000mAh ZeroLemon Battery
[BetterBatteryStats] Sincerity1993:
Here is my log from last night. I kept the phone alone for like 5 Hours, had sync, locations and WiFi off but still had 15% Battery drain.

When I use my phone with only Spotify on I somehow have 30% Drain per hour and I don't think that this should be normal. Any help is appreciated!

Also if you need any other files please just ask and I will provide them.
[BetterBatteryStats] chamonix:
first please verify that you are not using any tool that may suppress events / services to run at certain events : if something prevents bbs from being called upon unplug no reference will be saved. Once checked and if you found nothing please enable the debug logging in the advanced prefs, plug/unplug and save a logcat + dumpfile from the app right after for further analysis
[BetterBatteryStats] nicesoni_ash:
Thanks for your reply. I didn't disabled any event for this app but now checked and event for power disconnected was disabled. Enabled it and tried it again and it's working fine now. Thanks :)
[BetterBatteryStats] Perseus:
BBM Guilty #1. Crapbook Guilty #2. GCM Wakelocks #3. (See Karpfenhai's Mod earlier in this thread)
[BetterBatteryStats] setiawanjimmy:
Thanks. But I don't use Facebook. :)

Will check the mod.
[BetterBatteryStats] emariu:
I have the same problem and I don't know how to check event for power disconnect and enable..Please tell me how to enable since disconnected analisis.Thx
[BetterBatteryStats] nicesoni_ash:
I use Autostarts application as shown in attachment. You can search for similar apps that can change receivers like system tuner or xposed modules like receiver something, search for them.

Sent from my "GT-I9300/1+1" powered by Carbon Rom & Boeffla/ak Kernel

Fueled by 7000mAh ZeroLemon Battery
[BetterBatteryStats] xn0live:
Hi all

here are a lof of experts

and I hope you can help me

I do not use my phone (2 hours)

If i check whatsapp or other thinks i make the lockscreen and then came the error

Unfortunately, System UI has stopped

I do not no why

WHo can checked the logcat I posted the BBS version and the os monior file
[BetterBatteryStats] nicesoni_ash:
That's not an issue of BBS. If you use a third party theme, try to change to stock and try again. If use xposed, try disabling your modules.

Sent from my "GT-I9300/1+1" powered by Carbon Rom & Boeffla/ak Kernel

Fueled by 7000mAh ZeroLemon Battery
[BetterBatteryStats] jumpily:
My awake time is much higher than my screen on time, however when I look under partial wake-locks I don't see anything.

Anybody know why? Tried 1.16, 2.0, 2.1B5 device is Moto G2 with CM 12.1

Thanks!
[BetterBatteryStats] Luigi91:
It seems to be impossible for me to get this app installed correctly...I am using Blisspop on my Nexus 6. I downloaded the APK from the OP, opened it, it told me to install as system app, which I did. I then reboot, click the icon for BBS, and it only tells me this is the 'companion app for permission purposes' and there is an uninstall button. I have no idea what I am doing wrong...
[BetterBatteryStats] xn0live:
I post now all BBS file

Can a expert please look about that and saif me why I get the Error "Unfortunately, System UI has stopped "

Its allways, if the mobile are for 2 hour off and i start it, lock the lockscreen the error came again and again :(
[BetterBatteryStats] LiquidT:
Can anyone tell me what the latest version of BBS is?
[BetterBatteryStats] v7:
Stable PlayStore version is 2.0.0.0.There are few Beta editions available in the OP.Latest Beta release is 2.1.0_b5

Tapped from my furious dogo ;)
[BetterBatteryStats] LiquidT:
Yes I found it on the OP. Thanks
[BetterBatteryStats] Nimueh:
And again someone doesn't even bother to look through this thread or simply use the search ... :rolleyes:

Install as system app, reboot, install the apk AGAIN = works.
[BetterBatteryStats] Dan33185:
Can someone take a look at this log and see if there's a reason why I'm losing 10.6% per hour? It's been like this for about a week, previously I hovered around 4-5% and haven't really changed anything.
[BetterBatteryStats] nicesoni_ash:
Seriously? Did you even check my last reply?

Sent from my "GT-I9300/1+1" powered by Carbon Rom & Boeffla/ak Kernel

Fueled by 7000mAh ZeroLemon Battery
[BetterBatteryStats] SOLheel:
Cata 5.1.1?!?!?

Is it possible to use this on the latest cata rom?

I've installed as I should but it does not work. It only comes up with the companion app that does nothing. Even when using the 1.1.1.0 cwm installer zip :(

Thanks in advance, sorry if it's well known and I missed it
[BetterBatteryStats] FernBch:
Install the app again.
[BetterBatteryStats] Nimueh:
You couldn't even bother to read THREE posts before yours :confused:
[BetterBatteryStats] TheAKAlias:
Hey Guys! BBS is a truely useful app - thanks for it - and for the support in this thread :)

I charged my phone completely and then left it unused for 7-8 hours over night. Turns out it was only in deep sleep for 1 hour (though screen on is 28 minutes).

I've attached my dump. Which I am most concerned about is the kernel wakelock wlan_wow_wl and the partial wakelock BBM. Also got quite a few alarms form whatsapp etc...

The main reason I am posting this is, because I do not know how to proceed. I guess there's no way to prevent the partial wakelocks (messenger apps) if I want to stay connected? And I do not have a clue what the wlan_wow_wl process is about. 25% Drain in 8 hours over night is quite horrible

Thanks for any input!
[BetterBatteryStats] manpildo:
Try greenifying BBM.
[BetterBatteryStats] TheAKAlias:
Won't that prevent BBM from receiving messages while not in foreground?
[BetterBatteryStats] manpildo:
Yes, but if you're not gonna try then you don't know what's eating your battery.
[BetterBatteryStats] inspi83:
Hello all,

I'm using my HTC One M7 with Custom ROM Android Revolution HD 92.0 (Android 5.0.2) since one month.

My phone is draining 40-60 % battery life a day when I do not touch it once a day. It's horrible. I had much (!) better battery life with HTC stock ROM.

I did not install many apps. Just Xposed with 2 plugins and a few other apps. Seems like my phone doesn't sleep very much at night :(

You can find BBS logs (with and without bluetooth activated) here:

http:/ /w621nmh6g.homepage.t-online.de/BBS/.index.php

I'm not allowed to paste links or files, please remove the space in the link to make it working ;)

Hope you can help.

Best regards
[BetterBatteryStats] xn0live:
Problem/Error: Unfortunately, System UI has stopped

I/23:01:40.765 ActivityManager( 485)

Process com.android.systemui (pid 623) has died.

I post only the logcat from the process: „com.android.systemui“

I hope a expert ca help me and said what I do now

I am not a expert but i found that in the log

E/23:01:36.875 AndroidRuntime( 623)

java.lang.OutOfMemoryError

How ist hat possible?
[BetterBatteryStats] sydeu:
I have a problem with partial wakelock *alarm*. A few different apps starts one *alarm* and then they all just keep going like that. Often with the exact or nearly exact same time. They also show up in androids battery stats as "keep active" for a few hours everyday. Different apps different days.

Searched the thread and found a few people with the same *alarm* problem but didn't really find any solutions unfortunately.

I'm of course willing to get a logcat and screenshots and such but maybe this is something stupid that I'm just missing because I don't know what *alarm* means?

The partial wakelock *alarm* even continues when I close all apps and then doesn't touch the phone.
[BetterBatteryStats] milojoseph:
It's been a while I posted here generally like to post in different threads to get some opinions all around.
[BetterBatteryStats] gwindlord:
Hi all,

Using BBS for a while but just a couple of days ago noticed weird thing - graph shows that Bluetooth and GPS are turned on every time I turn the screen on, and the charger is shown as plugging in and out constantly and some ipc_rtr_q6_ipcrtr wakelock happens really many times (UberCM ROM with [MENTION=4800121]Sultanxda[/MENTION] CAF kernel). Could anyone please help?.. Thinking of it and experimenting for several days already (going crazy, 1st thing I do after waking up is checking the battery level), happens even on a clean wiped system, which has just Gsam and BBS user applications (and gapps) installed.
[BetterBatteryStats] mdamaged:
Looks fine, no issue here, enjoy your device.

@ you other people not posting dumps, read the OP and post a proper dump if you want help.
[BetterBatteryStats] inspi83:
I need ten posts to be allowed to upload files/dumps. That's why I uploaded them to another place :/
[BetterBatteryStats] mdamaged:
You can paste to a post, and use hide tags.

Like this

Like that^^^^
[BetterBatteryStats] inspi83:
Hi,

thx for the hint :o

But the log is too long to post it here. Was spamming two posts to off topic :o

I'm using my HTC One M7 with Custom ROM Android Revolution HD 92.0 (Android 5.0.2) since one month.

My phone is draining 40-60 % battery life a day when I do not touch it once a day. It's horrible. I had much (!) better battery life with HTC stock ROM.

I did not install many apps. Just Xposed with 2 plugins and a few other apps. Seems like my phone doesn't sleep very much at night.

Between 5 and 90% awake in three logs. But also with 5% awake horrible battery usage.

Best regards
[BetterBatteryStats] Karpfenhai:
could you clean your USB port with care and bend the pin holder slightly back to the center?

See if that fixes your issue.

Regards

---------- Post added at 01:14 AM ---------- Previous post was at 01:11 AM ----------

Any chance you're using lollipop on an “ancient“ device?

If this is the case, try to get familiar with repartitioning your internal storage. Also try clean data for system Ui.

Regards.
[BetterBatteryStats] xn0live:
hi i have mokee rom 4.4.4 kitkat
[BetterBatteryStats] Quadrider10:
What are these top 3 wakelocks caused by in play services?
[BetterBatteryStats] gwindlord:
Let me try it, thank you!

The thing which still confuses me is that no other app says anything about that (have Gsam which shows screen off taking more battery than the screen on, BatteryMonitorWidget, service menu and default battery statistics); also not sure how the dirty pin holder can influence GPS and Bluetooth turning on and off...

EDIT: just bended pin holder to the center with a wooden stick and left for 10 minutes, then checked the statistics for these 10 minutes (in history) - nothing changed unfortunately :(
[BetterBatteryStats] manpildo:
I'm no expert, but judging by the log there is nothing out of the ordinary. The phone was over 96% of time in deep sleep. It's possible that your battery is baked.

Btw, I noticed this:

No or Unknown Signal (): 1 h 8 m 57 s 16,4%

Are you in a place with bad reception?
[BetterBatteryStats] D3VILG3N3:
Bad reception

At home i am, at work i'm not... the drain is the same at work.. :) i could make a new log at work if you think it's the main reason for the drain though...

Thx for replying;)
[BetterBatteryStats] manpildo:
Can you make a screenshot of your battery graph? It shows when you had bad or no signal and how drastically it impacted your battery life.
[BetterBatteryStats] D3VILG3N3:
Battery Graph

hmm should've done this this morning... meanwhile i already had to recharge, battery was at 12% after i used it 30 minutes.

So i don't have access to the battery graph anymore;) i'll try to make a new "idle" log today at work and i'll also take a screenshot of my battery graph;)

Thx:D
[BetterBatteryStats] gwindlord:
Excuse me interrupting you, but what does this particular variable mean?.. I always have it 100% wherever I am, but my cell network and WiFi meters have signal values from medium to high.
[BetterBatteryStats] coolfire:
Sorry to trouble again, but which scheduler should I change to, in order to stem the fts_wakelocks, please?
[BetterBatteryStats] gwindlord:
Fun fact: when I've set up the location to "GPS only", the GPS graph disappeared at all, but the battery and Bluetooth ones are still present. Appears to be some software thing (at least I strongly hope so).
[BetterBatteryStats] Dark-Coder:
Kernel WakeLock Check Error.

Getting "File Could not Be Read" ??? Any Solution ??
[BetterBatteryStats] NOSTALGIA:
can someone help me on this? why is this showing? i flashed the zip file instead coz i thought installing the apk was the problem but im getting same message on the app itself
[BetterBatteryStats] jukyO:
I see no obvious reason for 10% drop overnight. No wifi, no mobile data, no sync.

Logs:

https://www.dropbox.com/sh/6fesfc634vybdvd/AAA2r9cVpNKlhQvDUf3TC7LHa?dl=0
[BetterBatteryStats] Mirlin89:
Falsh the zip file, reboot and then install the apk again!

Worked for me! ;)

EDIT: also check if in system the app is installed, if not do it manually with a file manager then reboot again!

Inviato dal mio Nexus 5 utilizzando Tapatalk
[BetterBatteryStats] Sincerity1993:
Can somebody please analyse the log I posted days ago?