yashsingh1/xdaforums huggingface dataset:
[BetterBatteryStats] eddi0:
Any benefit from installing BBS as a system app now? I know in previous builds it was.
[BetterBatteryStats] x.trinity:
Its written on the OP.

No further needs for applying BBS as sys.app.
[BetterBatteryStats] shaggyskunk:
Yeah I must have missed the hockey app update for 2.3 - But I've got it now and I have the paid version ?

Sent from my SM-G955W ??
[BetterBatteryStats] westingham:
Switching to the beta version has finally solved my issue of no stats being collected.
[BetterBatteryStats] murti52:
It did..? Sadly it didn't solved in mine.. still no stats in kernel wakelocks.. OnePlus One Los 7.1.2, boeffla Kernel.
[BetterBatteryStats] unimke:
Hi everyone, I'm having PWL from Google play music... Really draining battery. Anyway to fix this??? Currently running Lineage OS 14.1 nightly on OnePlus 3t. Stock kernel.
[BetterBatteryStats] M7mdA7md7sein:
Can someone help me regarding this log ?

I can barely get 1.5 hours of Screen-on-time on my LG G4 .. while it should get 4 hours easily on YouTube testing videos !!

I also installed "DS Battery Saver" to minimize battery loss during sleeping time.. shall I better deactivate it before recording another log ?
[BetterBatteryStats] githyanki:
Please get a idle log, you need a 6+ t period with less than 1 minute screen on. You had over an hour screen on time in this log.

Screen On (): 1 h 18 m 13 s 9.5%
[BetterBatteryStats] DB126:
- clear GPM cache/storage and reboot

- if problem persists install/use Greenify to hibernate GPM when not in use
[BetterBatteryStats] dilruk:
[MENTION=4138220]fossils-n-dents[/MENTION] Hey buddy can you take a look here. Oreo update is killing my battery. Tried clean flashing too.
[BetterBatteryStats] birdie:
--delete--
[BetterBatteryStats] BigFuzzyBush:
I bought this years ago. Where can I opt into it?

*UPDATE* Disregard, found it...
[BetterBatteryStats] TNSMANI:
Wakelocks from Truecaller.

Kernel wakelocks from wifi (which seems to be on for the whole time, you can set it to 'never' while in sleep and see if it changes for the better). In addition, reset your wifi by switching off the router for about 10 seconds and then switching on. Also try to set static ip for the phone.

Snoozehelper (alarm) fired 4057 times. Don't know what it is. If it is part of Doze, don't touch it. If third party, disable it and check. Appwidget set off alarms 29 times. See whether you require such activity while asleep. Another drainer: com.tommasoberlose.anotherwidget (): Wakeups: 63 (10.2 / h). Tame it.

com.facebook.lite (): Wakeups: 11 (1.8 / h) notorious for drain. Another one: com.estmob.android.sendanywhere (): Wakeups: 7 (1.1 / h)

Apart from these, Google Play Services had a download of about 1 MB and Android system also contributed. A lot of download activity by all kinds of apps is also seeen. Unless you control these, the drain will likely continue. And then your sensors!

No wonder you have drain.
[BetterBatteryStats] kryzeK:
Please add adaptive icons support
[BetterBatteryStats] stackz07:
Figured it out
[BetterBatteryStats] Carter07:
Hi, I did an overnight monitoring with BBS beta (aero mode, no wifi, no gps) and I lost 3% battery in 7:36h with an awake time of 0:45h.

PowerManagerService.WakeLocks is only 4 minutes so the sum of partial wakelocks is low, Alarms are also very low...so what's keeping my device awake for almost 1 hour?

Thanks a lot!

http://i66.tinypic.com/2up8wvc.png

http://i66.tinypic.com/2eoung4.png

http://i67.tinypic.com/wvoadd.png

http://i67.tinypic.com/2sbwief.png

http://i65.tinypic.com/1pxrp1.png
[BetterBatteryStats] DB126:
Not captured by BBS. My money's on a rogue sensor. Start with fitness (ugh..) and fingerprint. Good luck.
[BetterBatteryStats] stackz07:
Hi, I have a new RMA Pixel 2 that is getting around 4 hours SOT to achieve this I had to do device only GPS and stop auto syncing a lot of google syns and also evernote. My previous Pixel 2 has full settings (nothing turned off) and got 7.5 SOT. I set this up fresh but with the same exact program set. It shows Wifi On and Wifi Running both at 100% .. can someone please help me? I bought this device for good battery life and am not getting what I need out of it.
[BetterBatteryStats] RASTAVIPER:
Lately at Oreo I am receiving a lot of alarms from com.google.android.gms.gcm.ACTION_CHECK_QUEUE

Does anyone know what is this exactly doing and if I can disable it?
[BetterBatteryStats] TNSMANI:
Screen on for nearly 4 hours. An idle dump with less than a minute of screen on time is required.
[BetterBatteryStats] masri1987:
what is awake screen off? i have no correlated wakelocks to define this for me. also what's the latest BBS version ?
[BetterBatteryStats] githyanki:
Awake screen off means what it sounds like.

Your phone was awake, as in not sleeping, but you weren't using it because the screen was off.

It is a total of all awake time caused by apps, it will probably not be due to a single one. Some is normal.

Check the OP page for the latest version.
[BetterBatteryStats] RomainD2:
Hello,

I have a problem with my phone which stay awake almost all the time... In better battery stats, I have a Kernel Wakelock which is called ipc0000013a_dpmd and I think this is it which drain my battery....

However, I can't find any information about this process on the web. Do you have any idea which app cause my problem?

Thanks!
[BetterBatteryStats] Carter07:
In the past days I found that maybe the problem was whatsapp or its widget.

This night a different problem...I lost 11% of battery with only 5 minutes of awake time, how is that possibile? :confused::confused:

The phone was in aero mode, wifi and gps off.
[BetterBatteryStats] mac3001:
Can someone take a look at my BV8000 log? I've got many ttyC0 and NETLINK wakelocks. Phone is laying without SIM cards, SD card, turned off WiFi, location etc.
[BetterBatteryStats] TNSMANI:
The Awake (screen off) time is almost equal to the entire sleep time. Kernel wakelocks seem to be the main issue. They can be tackled by trying a different kernel. If your phone has other kernels available, try them.

Apart from that,

com.gangyun.beautysnap (): Wakeups: 42 (6.2 / h)

Alarms: 32, Intent: com.taobao.accs.intent.action.COMMAND

Alarms: 10, Intent: com.gangyun.beautysnap.intent.action.COCKROACH

Control these.

You can do very little for the others since most of them are required.
[BetterBatteryStats] Portgas D. Ace:
To be honest, I am not entirely sure about this one, but it should be related to Google Cloud Messaging (GCM). From what I remember, this one checks for pending push notifications coming from the GCM servers.

Disabling/limiting it will break push notifications (well, at least it will delay them drastically).
[BetterBatteryStats] patrickdrd:
I've got it limited (41400 seconds) for quite some time (in KK and LP though) without problems in push notifications
[BetterBatteryStats] Nekromantik:
Does this work on Oreo?
[BetterBatteryStats] RASTAVIPER:
Yeap, works fine at my OP3T.
[BetterBatteryStats] Khotu:
In BBS > Alarms - System is the biggest wakelock over 79% and when I click it it shows:

Alarms: 472, Intent: *job.delay*

Dunno how to deal with it, I'm using greenify, and aplify but I cant find this wakelock :(
[BetterBatteryStats] RASTAVIPER:
I.have the same issue at my OP3T but there is no permanent solution.

After upgrading to OREO this was reduced a lot.

Try also different custom kernels. Maybe it can help a bit.
[BetterBatteryStats] Nekromantik:
Anyone on Oreo 8.1 have issues seeing alarm stats?

I never have any stats under alarm. Even after full charge. Just says no stats collected. Partial wakelock works fine.
[BetterBatteryStats] yochananmarqos:
Enable Settings > Advanced > Alarms using API.
[BetterBatteryStats] M7mdA7md7sein:
Thanks a lot, here it is :))

Thanks for your time..
[BetterBatteryStats] pokipokipxorn:
I remember this had to do with system or some apps trying to do backup, run scheduled jobs, background sync etc, do a search in this thread

Some jobs will keep on retry due to no network connectivity

Disable system auto backup or sync, u can always sync manually

---------- Post added at 09:43 AM ---------- Previous post was at 09:37 AM ----------

Ditch google, use microG or nanomod, u can always install any google apps later from playstore

MicroG allows custom gcm sync intervals (in minutes), it has way less background services

When i tried to disable some google services using myandroidtools, it has hundreds of background services! Hundreds!!!
[BetterBatteryStats] Portgas D. Ace:
I know about microG and have it installed on most of my devices. You should quote the user I replied to instead of me.
[BetterBatteryStats] githyanki:
Your Wifi was very active, that's the major issues keeping your phone from skeptically. Looking at the network usage, I was wondering how you can have so many social networking apps installed. You need to trim these find a way to tame these apps..

10152 (Wifi) (com.whatsapp.WhatsApp): 43.0 MBytes 84.4%

10006 (Wifi) (Google Play services): 3.0 MBytes 6.0%

10147 (Wifi) (com.facebook.katana.Facebook): 1011.0 KBytes 1.9%

10386 (Wifi) (org.telegram.messenger.Telegram): 745.0 KBytes 1.4%

10295 (Wifi) (com.halo.wifikey.wifilocating.WiFi Master Key): 363.0 KBytes 0.7%

10154 (Wifi) (com.estrongs.android.pop.ES File Explorer): 345.0 KBytes 0.6%

10148 (Wifi) (com.facebook.orca.Messenger): 329.0 KBytes 0.6%

10367 (Wifi) (com.mapswithme.maps.pro.MAPS.ME): 327.0 KBytes 0.6%

0 (Wifi) (0): 308.0 KBytes 0.6%

10210 (Wifi) (com.instanza.baba.SOMA): 226.0 KBytes 0.4%

10331 (Wifi) (com.instagram.android.Instagram): 147.0 KBytes 0.3%

10135 (Wifi) (jp.naver.line.android.LINE): 131.0 KBytes 0.2%

10345 (Wifi) (com.gameloft.android.ANMP.GloftFWHM.Sniper Fury): 95.0 KBytes 0.2%

10346 (Wifi) (com.viber.voip.Viber): 92.0 KBytes 0.2%

10167 (Wifi) (com.lenovo.anyshare.gps.SHAREit): 91.0 KBytes 0.2%

10114 (Wifi) (com.google.android.youtube.YouTube): 87.0 KBytes 0.2%

10310 (Wifi) (org.kustom.wallpaper.Kustom LWP): 75.0 KBytes 0.1%

10138 (Wifi) (com.alibaba.aliexpresshd.AliExpress): 60.0 KBytes 0.1%

10217 (Wifi) (com.truecaller.Truecaller): 53.0 KBytes 0.1%

10151 (Wifi) (com.imo.android.imoim.imo): 51.0 KBytes 0.1%

10235 (Wifi) (com.facebook.lite.Lite): 51.0 KBytes 0.1%

10385 (Wifi) (com.etisalat.My Etisalat): 46.0 KBytes 0.1%

10391 (Wifi) (it.tolelab.fvd.FVD): 46.0 KBytes 0.1%

10115 (Wifi) (com.google.android.apps.maps.Maps): 45.0 KBytes 0.1%

10366 (Wifi) (com.twitter.android.Twitter): 34.0 KBytes 0.1%

10178 (Wifi) (com.gbwhatsapp.WhatsApp): 30.0 KBytes 0.1
[BetterBatteryStats] hypern0va:
I'm facing a problem, every time I go check for kernel wakelocks there is none and I see the message "No statistic has been gathered yet" (or something similar, I'm translating from Italian). I even tried deleting the app's data, reinstalling the app, forcing the use of the API in order to get kernel wakelocks (in Settings -> Advanced) and checking the textual log, but still I haven't found any information about kernel wakelocks.

Did anyone ever face this problem or knows what can I do?
[BetterBatteryStats] Nekromantik:
Im slightly confused here,

Im on Oreo 8.1 Stock with Magisk Root.

I am running latest XDA edition of the app.

Do I still need to make it a system app and use magisk module?

Every few days I see no stats messages and other times I see stats fine.
[BetterBatteryStats] taxi92111:
gpio_kp wakelock

Hi

how did you solve gpio deep sleep problem in your phone? I have the same problem
[BetterBatteryStats] M7mdA7md7sein:
Will try to hibernate most of them using Greenify and recheck .. thanks a lot :))
[BetterBatteryStats] peterlee928:
i am having issues saving dumpfiles... any thoughts on how to fix? much thanks in advance.
[BetterBatteryStats] chamonix:
As the name says gtalk reconnecting and gtalk sending keep alives.

If you don't use gtalk make sure to log off and delete cache/data. If you use it there is no way to act on the behavior as it's closed source.
[BetterBatteryStats] chamonix:
BMW triggers an, alarm to collect samples and the frequency can be set in the prefs. One sample every 5 minutes are 1440/5=288 wakeups a day. That are the costs of active monitoring.

About android: tap on the entry, it should show you more details
[BetterBatteryStats] chamonix:
https://github.com/asksven/BetterBatteryStats/issues/110
[BetterBatteryStats] chamonix:
No I don't, have fun if you do.

I like the requirement and there are some pre-requisites I am working on:

- timed snapshots / references: wakelocks and other data have no time reference so I will need to collect data regularly. By doing this bbs becomes an active monitoring tool and I will have to be careful about the caused overhead (bbs is passive now)

- digest and drill down on data: this requires a new navigation / ux concept to show / digest / navigate complex data

If you have some ideas on how to show the data or if someone with ux experience is willing to help we could start mocking up some stuff
[BetterBatteryStats] fknfocused:
Thanks for the quick reply and explanation in regards to my question. Still trying to educate myself on the information being provided by your app. Aloha from Hawaii! \m/
[BetterBatteryStats] Icey34:
Hello, having insane drains when wi-fi is on and the phone is idle for the most part (just text) here are my logs and screenshots: (from the previous 3-5 days) Using the 2100mah battery from verizon on the Galaxy Nexus 4g (4g isn't even working trying to get that fixed, but still horrible idle drains on 3g)

Here are phone stats:

-4.0.4 Stock ROM nothing changed, just an unlocked bootloader.

-WiFi on when at home, off when using 3g/4g.

-NFC On.

-No syncing, everything updates when I open app (twitter, weather)

-Gmail is set to push, atleast I think so. It notifies me of a new email every time.

-48% Screen Brightness

-Signed OFF from Google+

Help! :)
[BetterBatteryStats] glennkaonang:
So, here's what I got with signing out from GTalk.

I got around 350 wakeups from gtalk reconnect overnight.

I'm sorry I don't have the dump file because my phone has just rebooted.

After rebooting, I tried clearing Gtalk data, stopped and disabled it. Then I also uninstall it from my device.

To my surprise, after several minutes not having Gtalk installed, I still got wakeups from it.

My settings are:

Sync off, backup off, market notification off, google admobs and analytics off.

I think that I have done enough to keep my phone from contacting Google's servers, but there are still wakeups from it and it's draining my battery really fast.

I noticed that there are networklocationservice and google messaging service running under google services. I stopped them all, but there are still wakeups.

What should I do now?

I'm confused because other people didn't have this kind of problem.
[BetterBatteryStats] Karpfenhai:
Hi Glenn,

i personally think GTALK isn't your issue, could you please post a dump of BBS too?

Sure, 350 are way too much, but do not explain the heavy drain, i think your phone does not sleep very well ;)

It seems you're running ICS on your phone,if its not a Nexus then it must be CM9, which is still highly experimental... could you verify you're phone is deep sleeping at all? Use CPUSPY to drill it down.

If it never sleeps, then pull your battery once, this should solve the sleep problem. (don't ask me why.. but confirmed by CM9 Users)

Just as information, most of misbehaving battery consumption is not caused by an application, but by a bad combination of modem + kernel. Which Kernel are you using and which baseband? Since CM9 is still experimental, use an older build, (see CM9 Thread) Users are reporting battery drains on newer builds. You can exchange any modem file, just figure out which fits for you! Try to find an alternative Kernel if possible yet..;)

Good Luck!
[BetterBatteryStats] glennkaonang:
Thanks for your help.

Yes it's Nexus S i9023. I have checked with CPU Spy and it says that my phone is in deep sleep while idling. I'm using CM9 2.1 with matr1x 16.5 kernel. I did try many combinations of ICS ROMS & kernels but the results are similar. That's why I think there is something wrong with gtalk. As for the radio, it is XXKI1, the default for ICS I guess. I never tried flashing other radio as I still don't get what the best radio for my phone is, so I stick with the default. I live in Indonesia btw.

I didn't get the time to dump the BBS as my phone rebooted.

I did a google search, I found in a forum someone talking about killing some parts of google services framework using Autorun Manager.

I tried installing the app, I killed some parts of Google Services Framework which have 'gtalkservice' on them.

I can confirm that Market is doing fine after I've done this and so far I haven't seen gtalkservice giving me wakeups.

But do you think it's a good idea for me to do this?

What I mean is, do people have to do this (killing parts of GSF) in order to get good battery life?

Thanks again.
[BetterBatteryStats] Karpfenhai:
regarding the reboots:

Maybe this helps?

The other Dump is quite hard to read for me, but chamonix may be able to help.. just wait for him ;) Since he owns a Nexus too, he could probably recommend a kernel + Modem configuration or you start a search within the nexus subforum.

It should normally not be necessary to kill certain apps to gain better battery life.. :p

Get the dump out! ;) wish you will succeed soon.. :D
[BetterBatteryStats] ralfkof119:
Sorry for being a noob but may I ask how to deinstall/freeze a running application?

Does this app have the ability to do so, or does it just show app/battery statistics?

Thanks again
[BetterBatteryStats] glennkaonang:
As far as I know you can't uninstall or freeze a running app using BetterBatteryStats. You can do so, if you're rooted, using Titanium Backup (the free version does not have the ability to freeze, but still can uninstall an app).

CMIIW
[BetterBatteryStats] betoNL:
GNote happy user

What can I say ? After removing even more bloatware and freezing even more stuff, including Google services framework, the battery just wont drain :D:D:D

And I can live without Google crap.....my gmail emails I check on demand via web on my phone or Laptop...

I don't use Google Calendar, only My Calendar which I synchronize with my lap via MyPhoneExplorer app.

I dont need Google maps, Aura Sygic is doing just fine

And If I need to go to the Market, I just power defrost Google services framework, re-add my google account and when I am done I freeze it again... worthwhile workaround cause without all that crap, my phone is flying on Speedmod kernel k1-5 and CriskeloNOTE Rom..:):):):) and more energy-efficient than ever !

Thanks again for the app and tips :) ( Just when I decided to slow down the donations, I am feeling compelled again :D)

Oh yeah, I am keeping 'fast dormancy" disabled, just in case....

I will post a dump tomorrow, just reset bat stats yesterday
[BetterBatteryStats] glennkaonang:
Oh boy, I have solved the gtalkservice wakeup problems by disabling some parts of GSF. But now I have wakeups from WhatsApp.

I really don't get this, I have good signal quality but why it says it reconnects many times.

Here is the dump file.

Somebody help? Thanks.
[BetterBatteryStats] Karish1989:
Hey all,

Can someone look to mine battery stats and tell me what is killing my phone :| .. Mine battery drain is 2% in 5 min (screen of) Mobile data and wifi are on @the same time :)

Tnx
[BetterBatteryStats] Karpfenhai:
come on, seriously??

have you even read the thread?

almost all your issues have been discussed again and again several times! please do your homeworks and post another dump afterwards, thanks!

@glenn, imho it looks not that bad, the audio out thing is a bug in ics (afaik) try disabling haptic feedback sounds, it should be way better then.

Swyped from my GT-I9100 using XDA App.
[BetterBatteryStats] glennkaonang:
I think the audio is caused by me playing some music. Because I did played some music at that moment.

What I'm questioning is another weird reconnect wakeups, this time from WhatsApp.

I previously fixed gtalk, but now comes another problem.

Silly phone or silly me?
[BetterBatteryStats] Karpfenhai:
we should wait for the experts, they will have a closer look onto your dump ;-) but seriously try to disable the haptic feedback for a while just to see the difference.

Swyped from my GT-I9100 using XDA App.
[BetterBatteryStats] chamonix:
I'm sorry but most of this post is useless because there is too much information and part of it is contradictory.

- You mention horrible drain and your screen shows that the awake time compared to total time (exclusing screen on) is not that high.

- the logs you attached are incomplete because you didn't let BBS the time to take a reference for alarms / kernel wakelocks

Please take some time to provide contextual data, observations and dumps, if possible based on a reading without a mix between screen on and sleep time (leave your phone 2 hours alone after unplug and post the stat "since unplugged" together with your observations for that run
[BetterBatteryStats] chamonix:
You should be really carefull about uninstalling / freezing gapps. That may result in even higher wakelocks because of unhandeled error situations.

Now from your alarms I don't see much and especially I can't see a high count of anything.

Please provide a dump as looking at the alarms should never be an entry point (we want to know if alarms are important before looking into them)
[BetterBatteryStats] gaich:
7th Android can cause such issues. Try to save dumps in private folder - there`s an option in settings.
[BetterBatteryStats] kovacszj:
need some help

hi all,

I would like to reduce idle battery drain a bit more, that's why I'd like to find out what is causing extra drain. Right now I'm having over % drain per hour, probably there is a way to get better idle drain. That's why I'd like to ask for some advice.

Thanks in advance for the help.
[BetterBatteryStats] mrjuniork:
Pls create another dumpfile with less than 1min SOT!

You've got 33min and that it way too much for analyzing and identifying your possible culprits.
[BetterBatteryStats] kovacszj:
Thanks. I'll charge the phone and leave for a night idle without sot. Then post the dump file.
[BetterBatteryStats] Khotu:
What is this wakelock "4-0048"? Somewhere I read that this is edge feature but I'm on S7 flat with SuperMan rom and I've disabled edge feature. Look at these high numbers :o

Please help
[BetterBatteryStats] peterlee928:
hi all... i know my dumpfile isnt perfect (i usually go with [MENTION=5488402]Davey126[/MENTION] method)... but would it be possible to take a look and provide any suggestions to reduce idle drain? much thanks in advance :)
[BetterBatteryStats] DB126:
I owe you one. Overall no big offenders; pretty much as expected on a Verizon XL running 8.1 and Google's suite of services. Still room for improvement:

- give some thought to reoccurring L Speed tasks...too much going on there and likely a contributor to extending wake times

- standard WhatsApp caveats for readers of this thread; always a balance of functionality vs efficiency

- same for Gmail although it seems better contained (no action needed IMO)

- fair bit of other Google/GAaps background activity; nothing out of the ordinary

- abbreviated sampling window likely skewed drain stats; ±1% loss in either direction dramatically changes %/hr calculation

- 0.4-0.6% loss per hour is reasonable given device, carrier and config; you are not going to *consistently* get much lower without impacting functionality/usability

- enjoy your Pixel rocking (rooted!) Android 8.1; keep it clean and it will serve you well; resist the temptation to over manage/optimize :)
[BetterBatteryStats] peterlee928:
the man himself! to quote jules: "would've been satisfied... with some freeze-dried Taster's Choice. Right? And he springs this serious gourmet **** on us."

very much appreciate your review! quick question on l speed - i use the battery profile... but i also set the i/o tweaks and lnet optimizer to "battery" also... would you recommend i disable the i/o tweaks and lnet optimizer?

*bowing down humbly before the master*