yashsingh1/xdaforums huggingface dataset:
[BetterBatteryStats] githyanki:
Top drainers:

travel.onthego.Google Trips - 17 m 4 s

azure.authenticator.Authenticator - 6 m 7 s

Try and scale back how many apps you have installed dramatically. Then go through the directions to remove/reduce analytics from google and other apps.

https://xdaforums.com/showthread.php?p=73693320#post73693320
[BetterBatteryStats] Tundraswan:
Thanks for the analysis, uninstalled those apps and will go through that guide.
[BetterBatteryStats] RASTAVIPER:
Good news!

How did you deactivate this?
[BetterBatteryStats] gerlium:
I lost 30% of the battery overnight (without using it) and 10%/hour during the day (much less than in the past with the same use). It doesn't happen when I set it on airplane mode. Any help? :( :crying: Thank you!

I made a dumpfile as described in the first post.
[BetterBatteryStats] githyanki:
Your drain seemed out of proportion with your log, is your battery getting old?

Largest drain was Google trips and google play. Uninstall trips of you don't need it, wipe data on google play and reboot to twrp and wipe cache. See if that helps and try getting new log.
[BetterBatteryStats] jonathan2020ec:
hello using this apk shows me two processes that consumes battery PowerManagerService.Display and 14400000.fimd-fb only those two processes are 100 percent do not use many applications is a clean rom there is a solution for that my device is an s5
[BetterBatteryStats] githyanki:
PowerManagerService.Display means your screen was on. That is normal for using your phone.

The other is possibly FaceBook. Up to you how you want to deal with that. I uninstall the app and use the web browser, others have recommended FB lite or metal.

Submit an idle log and someone should be able to help you more.
[BetterBatteryStats] patrickdrd:
agreed, documentation sucks big time regarding services, wakelocks and alarms,

everyone suggests a huge list ignoring what could be useful for a user or not
[BetterBatteryStats] RASTAVIPER:
Wrong attitude pal.

Noone is obliged to provide you any documentation.

You should be thankful for all kind of info that any users are sharing and not be negative and criticize the other members. No one owes you anything.

Sent from mTalk
[BetterBatteryStats] shaggyskunk:
Google is your friend ?

Sent from my SM-G955W ??
[BetterBatteryStats] patrickdrd:
I didn't criticize anyone, but anyone could suggest a "block this and that" list,

however, there are many side-effects that noone posting seems to care about,

anyway...

google is my friend? ok, tell me then where can you find info about PKT_CNT_SAMPLE_INTERVAL_ELAPSED,

go try yourself and tell me too ;)
[BetterBatteryStats] Oswald Boelcke:
Very quick search attached as screenshot after I read your post. And I fear that quite a few guys are refusing to support due to attitude and language - and I don't mean language skills.
[BetterBatteryStats] shaggyskunk:
It appears to be a Connectivity issue - From Google Search - 1st Page (Attached below)

View attachment 4327789

Sent from my SM-G955W ??
[BetterBatteryStats] patrickdrd:
oh really? and? what's that supposed to mean?

should we block it or not?

(the specific one is an example only, I'm not that much interested in that)

of course the answer is.. noone knows, just block it and see for yourself,

trial and error process, that's all ;)
[BetterBatteryStats] shaggyskunk:
Basically it looks like your phone is having difficulty getting a Cell / Data Signal - Going around blocking things that are affecting your battery is at your own risk - Best battery life is when you turn off your phone...

BBS isn't going to fix poor signal strength

Sent from my SM-G955W ??
[BetterBatteryStats] DB126:
Oy vey - entitlement issues.
[BetterBatteryStats] mrjuniork:
Boy, you should really work on your tone and attitude! Where do you think you are?
[BetterBatteryStats] shaggyskunk:
I think that it's Awesome that chamonix has developed this extremely useful tool and has made it available without any cost for people on XDA - Of course it's MORE than appropriate for people on XDA to support chamonix's continuing development ??

Sent from my SM-G955W ??
[BetterBatteryStats] patrickdrd:
it wasn't some sort of attitude, you understood it wrong, anyway, move on buddy
[BetterBatteryStats] RASTAVIPER:
Right. 3 different people got it wrong and u r the only person who is right.

You really think that u r somebody special, no?

If u r so special, u should know already the answer to what you are searching for.

Unleashed by ONEPLUS 3T rooted
[BetterBatteryStats] patrickdrd:
I didn't say anything like that, the tone was a ton different, anyway, how's alll this related to the thread?

why is it so difficult for some people to move on?

is there any reason you're so sensitive?
[BetterBatteryStats] DB126:
Best to just ignore indignant posts going forward. Not always easy; I too responded when silence would have been more effective.
[BetterBatteryStats] Eggleston11:
Nice guide,

I have already done most of what you have suggested. The one thing I have not done is the disabling of google services. Does this yield measurable benefits in battery drain? I have heard that disabling too much or not enough can lead to increased battery drain as certain disabled services will still be called. How true is it and how should I go about this?
[BetterBatteryStats] sewe:
This mmc0 wakelock is driving me crazy,i have search and search and tried everything I've found (which is for the most part just speculating) but i can't get rid of it.

Someone got some idea's?

And for the wlan wakelock, my note 3 isn't having the same problem
[BetterBatteryStats] jharvey31:
Request diagnosis help on long wcnss_filter_lock kernel wakelock

I have a Droid Turbo 2 running Nougat. Generally, the battery life is excellent, but I periodically notice a long running kernel wakelock called wcnss_filter_lock.

I have a screen shot from BBS, the BBS and logcat log files (dmesg gave me access denied; I am not rooted) as well as an Android bugreport.

However, I can't seem to find a way to attach any of this to my message, whether by URL or directly.

I'm pretty sure this is because I haven't posted more than once or twice. Is there a way I can submit my attachments for moderator review?

Thanks,

J
[BetterBatteryStats] Oswald Boelcke:
Your assumption is most likely correct.

Upload into the cloud and post the URL but omit the http:// or https://
[BetterBatteryStats] Maria_gr:
I am getting massive amount of Android wake up by alarms job.delay and job.deadline as well..

Can you please tell me how to get rid of those?

I do not have the app Google connectivity services installed in my phone...

I'm using an OnePlus 5 with Aosip 7.1.2 rom.

I would be very grateful !
[BetterBatteryStats] gerlium:
I don't think it's getting old because there's no drain in airplane mode and when I use it it always gets hot and sluggish, even if I'm just browsing Facebook (I don't have games).

AccuBattery measures a battery-health of 80% and in the last year I've charged it always till 80% to preserve it (except when I did the dumpfiles).

Greenify Pro and ForceDoze don't seem to help (I'm rooted).

Maybe it's the Bluetooth always on (I use a Mi Band with Smart Lock)? But when I deactivate it nothing changes.

I uploaded a new dump and 2 screenshots of AccuBattery.
[BetterBatteryStats] jharvey31:
Ok, let's try this out:

dropbox.com/s/fdrovti7ec24wtk/Screenshot_20171110-093312.png?dl=0

---------- Post added at 02:36 PM ---------- Previous post was at 02:32 PM ----------

That sort of works. Allow the link, but does not automatically look things up. Here are the links to my log files:

BBS log - dropbox.com/s/eaq0eq3gjbo565p/BetterBatteryStats-2017-11-10_092200463.txt?dl=0

logcat - dropbox.com/s/2p8v16tpoqipxng/logcat-2017-11-10_092200602.txt?dl=0
[BetterBatteryStats] Oswald Boelcke:
Log not usable for an idle analysis. SOT more than 1 1/2 hours.

Use search to find the right procedure (SOT MUST be less than one minute)

A 30 minutes log is definitely not usable. Search the thread how an idle dump has to look like e.g. at least six hours of idle (don't touch the phone at all during this time).
[BetterBatteryStats] VoltexYT:
Hey guys, I am not sure how to read a dump file because I am new to all of this, I am facing a battery drainage issue and please determine if i need a new battery or not, thanks!

Dump file:

https://docs.google.com/document/d/1BUxIi8vCrm_F5C7PkPtadSTVnTtkCxyywY-l23cjBoA/edit?usp=sharing
[BetterBatteryStats] mrjuniork:
This is not a proper dumpfile.

Use search function for submitting a proper dumpfile (minimum 6hrs of idle without using the phone, less than 1min SOT; over night)
[BetterBatteryStats] Oswald Boelcke:
Replied in your thread here.
[BetterBatteryStats] iceberg3696:
Excellent work! Just what Gingerbread needs. The very best of luck with the app!

Thank you.
[BetterBatteryStats] jebise101:
Need some help determining the wake up's on my Sony Android TV. The TV constantly wakes up from deep sleep as explained here.

I setup everything according to this, seems like the app has proper permissions when I checked the logs but do not see any partial wakelock sleeves, definitely can see it in the kernel logs but have no idea which app it is. Is there a way to record wakelocks on a charged(always plugged in TV) DEVICE.? I tried a few options in settings but got no where fast.

I'd post logs/dumps but one of the other major annoyances is not having write access to any external usb/SD.

Please note I'm running Android 7.0.
[BetterBatteryStats] kodiak:
I'm always getting the No stats have been collected yet on my LG g6 supersu rooted.

Any idea why?
[BetterBatteryStats] shaggyskunk:
Have you Granted BBS Permission?

Sent from my SM-G955W ??
[BetterBatteryStats] kodiak:
Yes. All permissions granted
[BetterBatteryStats] VoltexYT:
I have created another dump here which is 7hours long

https://docs.google.com/document/d/1QZv81s6emgt6qihyE0XBoe_2A8W2aorLxe09B7pbzzE/edit?usp=drivesdk
[BetterBatteryStats] Oswald Boelcke:
As the log rests on a Google server unable to retrieve it.

EDIT @VoltexYT: Google requires me to log in; something I certainly refrain from doing.
[BetterBatteryStats] VoltexYT:
I dont understand what you mean, the link is publicly available for everyone to view
[BetterBatteryStats] TNSMANI:
Facebook, Instagram and this: com.ld.free.wifipwd.recovery (): Wakeups: 73 (10.1 / h)

These are your major drainers and you can control them.

The screen was on for more than 3 minutes before saving the dump. Next time, try and keep it below 1 minute.
[BetterBatteryStats] VoltexYT:
I am very sure I kept my phone open for less than 1 minute, but for some reason my dump says 3 minute

And also, before I downloaded these apps on the phone, the battery still goes down quickly
[BetterBatteryStats] kodiak:
Yep.

Always like this..

https://drive.google.com/file/d/1MgaBT7DuDIijBJ4lmpNAAMFFlCxz2XIQ/view?usp=drivesdk
[BetterBatteryStats] bigknowz:
Pixel blues

Can't get much battery life out of my Pixel 2XL. Last night's test may have been a flop. Systemui has been the culprit other days as well. Phone was flat on a table all night. Thanks in advance.
[BetterBatteryStats] bigknowz:
NVM
[BetterBatteryStats] RASTAVIPER:
I am using 2.2.2 version and lately it freezes all the time. Usually during the first 3 seconds after I open the app. The statistics though look correct.

Superuser rights are granted every time normally.

Clearing of cache didn't help

OP3T

Stock 7.1.1

Custom kernel

Any idea?

Unleashed by ONEPLUS 3T rooted
[BetterBatteryStats] Sam Nakamura:
A logcat of the freezing would be probably the best way to sort this out...
[BetterBatteryStats] npt122p2:
Kernel wakelock- SMB1351

Hi,

I am getting this wakelock on my Lenovo P2. See https://xdaforums.com/lenovo-p2/help/battery-awake-charging-t3698192

Please help in stopping these.

Android- 7.0
[BetterBatteryStats] githyanki:
Try disabling quick charge.
[BetterBatteryStats] npt122p2:
how can i disable quick charge?
[BetterBatteryStats] RASTAVIPER:
Logcat is produced through the app, right?

Then I can't have it, since the app is freezing and then I have to force close it.

Unleashed by ONEPLUS 3T rooted
[BetterBatteryStats] Sam Nakamura:
No, you can use something like Matlog to record the errors, it's usually the first choice to produce a logcat when apps FC...
[BetterBatteryStats] veer.killerboy:
Can you help me? Here is logcat... Mine idle battery drain is 4% /hr
[BetterBatteryStats] Oswald Boelcke:
Sam Nakamura asked RASTAVIPER to produce a logcat due to the FC's of his BBS.

You should provide a BBS idle dump in accordance with the guidelines quite often already published in this thread. From my point of view you logcat isn't really useful to analyse your drainage issue.
[BetterBatteryStats] Sam Nakamura:
This! :highfive:
[BetterBatteryStats] veer.killerboy:
So should i wait again to reach it till 1% battery. After a night cycle or after idle state?
[BetterBatteryStats] Mister_Diamond:
Hi @fossils-n-dents (and everyone else which could be able to investigate :) )

I turned off almost all Google syncs (calendar, Keep, Documents and so on)

I restricted background data to many apps (also to Google Play Services and Play Store!)

I keep all apps in battery optimization/Doze.

Now lets see two similar BBS’s logs (which I attach to this message)

In the first log (9h_19m_BetterBatteryStats-2017-11-16_111941880), as we will see, the Alarms section is full, but in 9 hours I only lost -3% of battery.

in the second log (10h_47m_BetterBatteryStats-2017-11-17_105110442) the Alarms section is less full, but I’ve lost -10% of battery.

In the first log ( 9h_19m_BetterBatteryStats):

Awake (Screen Off) (): 21 m 43 s 3,9%

GCM_CONN_ALARM (Google Play Services): 3 m 19 s Count:106 0,6%

-------------------------------------------------------------------------------

Level lost [%]: Bat.: -3%(94% to 91%) [0,3%/h]

Voltage lost [mV]: (4269-4197) [7,7%/h]

In the second log (10h_47m_BetterBatteryStats):

Awake (Screen Off) (): 34 m 58 s 5,4%

GCM_CONN_ALARM (Servizi Google): 2 m 34 s Count:112 0,4%

-------------------------------------------------------------------------------

Level lost [%]: Bat.: -10%(66% to 56%) [0,9%/h]

Voltage lost [mV]: (3923-3887) [3,3%/h]

I cannot figure out because I lost -10% of battery in the second log... Furthermore the first log has worse entries, but I lost less battery...

Full logs below:
[BetterBatteryStats] RASTAVIPER:
Here is the link of my log.

I hope that I saved it correctly.

https://drive.google.com/file/d/1ns9ZABb_S3oLGtP9gET2X5QB7hUQ56lx/view?usp=drivesdk

Unleashed by ONEPLUS 3T rooted
[BetterBatteryStats] lucfig:
Hi,

I have the Google Play store version of BBS and I'm running Nougat 7.0 in a LG V20 rooted with Magisk.

All features of BBS work as expected, except for detection of alarms. I always receive the "No stats have been collected yet" message.

As you can see in the screenshot attached, I already gave permissions and also installed BBS as system app.

Do you guys have any recommendation of what shoud I try next to get it working?

Best regards,
[BetterBatteryStats] DB126:
Historically LG phones/ROMs have presented unique challenges for BBS which the developer has addressed in previous posts. That said, other devices and ROMs also have issues on Nougat. I am penning this on a 3rd gen HDX running and otherwise flawless build of AospExtended 4.6. Unfortunately, all partial wakelocks have the same duration which is obviously wrong. Problem is not confined to BBS as GSAM and WLD also report identical wakelock data. Bottom line: it's probably your ROM vs an issue with BBS.
[BetterBatteryStats] lucfig:
Thanks. I expected this was an LG issue. Regret purchasing this phone since the first week. Lol.

Great hardware but can't stand the software.

I will to one last thing that is the App Systemizer Magisk module and report back.

Enviado de meu LG-H990 usando Tapatalk
[BetterBatteryStats] Oswald Boelcke:
Negative. That's NOT the correct procedure. It's all explained in the OP; however, I assume you just didn't see it when you read the OP prior to posting.

But here is another procedure how to obtain a suitable idle dump.
[BetterBatteryStats] TerrorApple:
Can someone have a look at my dump? I'm having pretty frequent wakeups from Deep Sleep triggered by android alarm. 23% awake time seems very high. Seems like most of it comes from *job.delay* and *job.deadline*... Would be much appreciated! :)
[BetterBatteryStats] andrea.ippo:
Had the same issue on my OP3 running Paranoid Android 7.3.1 and Magisk 14.0.

This fixed it for me :
[BetterBatteryStats] lucfig:
Thanks. I figured that out.

Do you know if there are any side effects of toggling these options?

Sorry I cannot thank your post. Have reached the limit.

Enviado de meu LG-H990 usando Tapatalk
[BetterBatteryStats] xtexistenz:
S5 Plus battery drain on LineageOS

Does anyone know what's going on here? I charged my phone to 100% removed my sim card from the phone and put it in another phone so I didn't touch it at all for a day, airplane mode on, everything else off and it drained to 78% by doing basically nothing (or atleast that's what I would expect). Attached screenshots from BetterBatteryStats, but it doesn't say much to me. The only apps that I have running are facebook messenger, whatsapp and instagram, I hibernate everything else with greenify, should've hibernated those too but I doubt they are the ones draining that much.

Is there any other way to debug this stuff better to actually see what is running in the background to be using so much battery? I'm on the latest LineageOS weekly build on an S5 Plus (kccat6) with the latest baseband and bootloader from Sammobile. I never had any problems on the stock Kitkat 4.4.4 rom (no drain at all with airplane mode on overnight).

Thanks!
[BetterBatteryStats] TNSMANI:
Instead of screenshots, please provide the dump file from BBS. Plus your phone was on for nearly 15 minutes before you took the screenshots. The proper procedure for taking a dump is as follows:

Charge your phone to 100%, unplug and leave it idle for 6+ hours, unlock screen, save the BBS dump and post it here. The dump should be saved within one minute of unlocking the phone. You can take two different dumps, one on airplane mode and the other with wifi and sim enabled, in order to compare the drain in both states. Also take screenshots, immediately after saving the dump, of the Battery stats page in Settings and also the History details page. Post all of them here and someone will respond.
[BetterBatteryStats] partcyborg:
Something is obviously very wrong with my BBS install..

Unless my BBS is on some serious speed ?

See attached file. Any ideas?
[BetterBatteryStats] westingham:
I'm still getting the message "No stats have been collected yet" despite giving the app all the permissions listed here: https://xdaforums.com/showpost.php?p=67819528&postcount=4
[BetterBatteryStats] xtexistenz:
Alright, I remade the test, attached screenshots and the BBS log, one for airplane mode on (sim card out of the phone) and everything else off and one with mobile network and wifi on (I screwed up a bit on this one, I forgot to refresh in BBS and I got a screen time of almost 4 minutes because I had to save the log again, but this shouldn't make any difference.. maybe just 0.5% battery drain).

So first test drained the phone to 88% in 14 hours by doing absolutely nothing (everything was hibernated with greenify in the background) and the second test drained it to 86% in 14 hours with network and wifi on, so just a 2% difference.

Can someone please tell me what is draining my phone? My battery is good, I replaced it with a new one and it was not that.

Thanks!
[BetterBatteryStats] DB126:
This is the pertinent detail from the airplane log:

Level lost [%]: Bat.: -12%(100% to 88%) [0.8%/h]

Voltage lost [mV]: (4340-4150) [13.1%/h]

Deep Sleep (): 14 h 24 m 58 s 99.7%

Awake (Screen Off) (): 2 m 39 s 0.3%

Screen On (): 18 s 0.0%

Doze Interactive Time (): 18 s 0.0%

Screen dark (): 18 s 0.0%

Device was awake for <3 min or ~0.3% of 14½ sampling window yielded an asymmetric 12% loss on a 2800 mAh battery. During the brief wake time device idled at the lowest CPU frequency for 134 of 159 seconds (~91%). Effectively it was doing nothing. Either the BBS stats are wrong, battery is bad or there is a parasitic hardware drain that has nothing to do with the installed ROM. Also possible the kernel has not been optimized for this device which was released in 2014 and engineered for Android 4.4 (KitKat). Bottom line: There is little you can do other than trying another battery (non OEM replacements tend to be shady) or rolling back to an earlier kernel/ROM build that *may* be more compatible with your hardware.
[BetterBatteryStats] xtexistenz:
I have 2 original batteries, one from 2015 (when I bought the phone) and one from 1-2 months ago, and the drain is the same. On 4.4.4 I never had any drain, so you're saying this could be the kernel doing something wrong with my hardware, is there no way to "debug" it to figure out what part of my hardware is draining the battery for no reason? I think there is no way to install a different kernel on LineageOS, right?

Thanks a lot!
[BetterBatteryStats] Oswald Boelcke:
There's nothing to add to what @Davey126 stated. I'm personally convinced your going to find a custom kernel suitable to the Samsung S5 and your LOS. We own three Samsung Galaxy S3 LTE (GT-i9305) that are even more mature than your device; one is running with RR-M-v5.7.4-Sammy, the other with RR-N-v5.8.5-final and the last on AICP v12.1 but all are on custom kernel. I'm convinced a search will drag you to one or more kernel you could try especially as one of the kernel gurus himself, Lord Boeffla, built a kernel for the S5 with LOS but it has now reached end-of-life: https://www.boeffla.de/
[BetterBatteryStats] DB126:
Will leave it to you and others to sort the details. Intent of my response was to set a correct course vs spinning off in a non-productive direction. Best of luck.
[BetterBatteryStats] xtexistenz:
Thanks for the help guys! I checked Boeffla but it doesn't have one for my phone (S5 Plus G901F). Do you guys recommend any other custom kernel?
[BetterBatteryStats] ssauger:
Bluesleep Wakelog

Hi guys,

i hope this great community can help me.

Since a few days my wive (Nexus 4 LOS14.1) and i (Nexus 5 LOS 14.1 CAF) are using a ID107 HR fitnesstracker whatch. Now i keep my bluetooth always on, as my wive did it too since a longer time for the hands free connection to our car. When i look at here phone, deepsleep in most cases is around 94-97% and no strange wakelogs. But when i keep bluetooth on, i got a lot bluesleep wakelogs. It does not matter if the clock is connected or not, the app for the watch is installed or not. The trigger for the bluesleep wakelog on my side is - let bluetooth on :(

I did a nandroid and a clean install yesterday - set up my google account, installed the app for the watch and i could see, that the bluesleep wakelogs are gone. Then i did a clean install again and let restore my apps from google - bluesleep wakelogs are there again. So i restored my nandroid to save my time for setup the whole phone and apps again.

Attached is a dump from tonight, so maybe someone can help me finding the reason.

Thanks in advance
[BetterBatteryStats] gorandroid:
Are google play store and xda edition any different?
[BetterBatteryStats] shaggyskunk:
I don't think so - But from what I remember you can support the Dev by getting the Paid version from the Store (it's been a while since I first installed BBS) On the Store it shows up as Installed - but I think that I'm updating it from the xda Thread - like I said it's been a while ?

Sent from my SM-G955W ??
[BetterBatteryStats] gorandroid:
Yes i do understand that, i just wondered if they are the same version of BBS ☺ Cheers.
[BetterBatteryStats] jelive:
PS paid has newer beta version 2.3-109 available.
[BetterBatteryStats] shaggyskunk:
Yes - They are both version 2.2.2.0 ?

Sent from my SM-G955W ??
[BetterBatteryStats] shaggyskunk:
Where are you seeing this?

Sent from my SM-G955W ??
[BetterBatteryStats] murti52:
You need to buy the paid version from Playstore and then opt in for the beta program to install the beta version..