yashsingh1/xdaforums huggingface dataset:
[BetterBatteryStats] TNSMANI:
Poor mobile signal for nearly two hours and moderate signal for the rest of the time. This is usually a very big drainer. If you get better signal elsewhere, please locate the phone there while taking the next dump.

You have a major issue with AOD:

And another major issue with IMS:

And widget updates are also on the high side. Either control them or reduce the number of widgets.

Location/scanning seems to be on. Do you require it while sleeping? Geofence has been set up? It also drains.

Facebook is another drainer.

Background downloads/uploads by apps also happened. The more number of apps you have, the more the drain.

If you can set the above right, please post a fresh dump after doing so.
[BetterBatteryStats] maximus81:
Thanks heaps. Mobile signal is a problem on this device. Never had the issue on my S21U.

Could you please advise what is IMS? Which apps use this? I noticed this as well and cleared the cache of IMS service but didn't help at all.
[BetterBatteryStats] TNSMANI:
We need only the .txt file from the dump.

Nothing jumps out as a culprit. You seem to be using a later version of BBS. Go back to ver, 2.5.341 or 2.5.344 simce you are on Android 11 and on Samsung. You may get a more informative dump.

And how old is the battery?
[BetterBatteryStats] dtoxic47:
battery is not even a year old,8-9 months,ill do the whole procedure again tonight with the mentioned version,but 10-12% seemed drastic in comparasaion with how it was and it happened over night,ill post the logs tomorrow maybe we will find something else
[BetterBatteryStats] TNSMANI:
IMS is by Samsung. I think the expansion is Instant Messenger Service or something like that, I am not sure.
[BetterBatteryStats] Codrea:
hello I am in pixel 4a stock android 11 and unroot

grant permission through ADB

and have this dump no data has been collected yet.

this is my dump file overnight.

sorry if I am doing it wrong. haven't do this for a long time

--------

edit I am using version

Version 2.6-382​

might try to change to

2.5-341 and try back latter.​

also how do I post the right dump file latter?

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

edit I found it

Before posting a dump please make sure that the references for kernel wakelocks and alarms were processed correctly. Reading a dump takes a few minutes and it would be great if you could not waste the time of whomever studies it, aiming at helping you.

Generally a dump "since unplugged" is better than "since charged". When you start your analysis make sure to follow following procedure:

- enable watchdog processing in BBS settings

- verify from/to references is checked under custom views

- full charge device then let it run down to ~95%

- put device to sleep for at least 6 hours (no touchy!)

- wake device and launch BBS

- adjust from/to references to 'screen off' and 'screen on'

- save dumpfile from share menu

- post resulting log to this thread (or provide cloud link)

I will not reply to posts with incomplete dumps

---------

please ignore this dump file below will come back latter
[BetterBatteryStats] dtoxic47:
@TNSMANI Just and update on my situation,everything is back to normal and strangely enough i haven't touched a thing,so i decided to let the phone drain to about 30%,charged it back up,and it was idle for the usual 7+ hours now it lost only 3%, my assumption is either Samsung with the latest update was compiling something in the background since every app is starting to use cash for faster start (i am getting a lot of apps to clean using SD Maid,witch where never offered as an option to be cleaned before) and that could not be reported to BBS or Battery stats window? or ill never solve this mystery...anyway everything is back as it should
[BetterBatteryStats] dlads:
Where is BBS?

Just to be clear it's not available in the play store..I have paid for it but it's no longer there.

Grabbed the xda edition and it can't grab app ops?

Assuming this is a limitation with android 11.

Any way round it?

Or where's the play store app lol, bit crap to pay for something then it gets pulled.
[BetterBatteryStats] Lughnasadh:
Read Post #2
[BetterBatteryStats] dlads:
I have read it, it states it has been pulled, then it goes on to say it IS on the store?

Furthermore, these builds are free. I paid for it as I'm sure many others did..

The 2nd post makes no sense.

Either way, it would appear that it doesn't track apps anyway due to appops permissions, even whilst rooted.

Unless I'm missing something..

Either way I'm going to walk away from this entire project now..wish I'd never bought it
[BetterBatteryStats] Lughnasadh:
You can still get it through AppCenter, as stated in Post #2.
[BetterBatteryStats] dlads:
Yea dude like I said it's not working as it should.. and again I've read 2.. you're not helping by saying read 2.

And as I said, I'm done with this app now..I'll use something else.
[BetterBatteryStats] TNSMANI:
It is always a good practice to read the first and last couple of pages of large threads such as BBS (which it is impossible to read in full). If you had done that, you would have come across information relating to your issue. Specifically that the later versions of BBS may not work with Android 11 but certain earlier versions do work either fully or partly depending on your device and ROM. Please read the last couple of pages to find which versions are working and where to get them.

The other user was merely trying to help you and there was no need to snap at him.

Your expectation that an app paid for by you should continue to work for all time to come irrespective of developments beyond the control of the Dev, seems a little too much. Please respect the Devs and other users.

Hope you find a solution.
[BetterBatteryStats] Oswald Boelcke:
For me it looks that you have to blame Google and not the developer.
[BetterBatteryStats] beggar23:
As I got a new phone, I have downloaded BBS from AppCenter this morning, installed it, adb-ed it, granted system permissions which were asked for during the inital run and voilá - it works as expected and as I am familiar with. It's a Pixel 5 with stock Android 11. No problems here.🤷‍♂️
[BetterBatteryStats] dlads:
Again I'm aware of the 2nd post.

1st it's extremely unclear, initially says it's been pulled then goes on to list it!!! At absolute best that is simply confusing.

2nd on opening the app it isn't working as it did in the past, any version of it, even though permission has been granted and I have root access, if today was the day I was paying for it and it was in this state I would refund it immediately, check screen shots

Sorry but none of that is Google's fault (besides the changes to permissions) the very fact that this is /was a paid for app that I've paid for changes things also @Oswald Boelcke you should know that as a mod, if this was a freebie then that would be the end of it as there is no obligation due to it being provided as is.

3rd only reason I'm firing this back is the fact that you're not seeing it from my perspective for some reason? Even though I have a point.

My advice.... get rid of the broken Google play link, also a clear and concise method of getting the app working, if indeed it does.

For me I am not using it ever again, that's that, I don't need no more advice about it.

Some literature for paid for digital content

Problem with an app, software or download

Your right to a refund or repair if there’s a fault with digital content like software, downloads and apps

www.citizensadvice.org.uk
[BetterBatteryStats] dlads:
Again if this was a freebie then that's fine, it isn't I paid for it. So that's pants.

That's my opinion on an app I bought.

I'm aware on what's on the first few and last few pages..

You've missed my point and again I'm not going to be using this app..I've found other methods and already fixed my issue.

Furthermore I'm not snapping, that's quite presumption of you to say that..

Look let me do you a favour, leave it.

I don't want to use the app.

I'm confident most people didn't pay for it so won't care about it being in its current state, which for a paid for app is 100% unacceptable.

So you won't have to deal with what many people who have half a clue about what they should expect from a paid app and what is unacceptable
[BetterBatteryStats] Sh0X31:
Android 12 killt the battery history, you only see last 24h and not since last 100%. Thanks for your work!
[BetterBatteryStats] DiamondJohn:
I dont use the app, but there is a MAJOR difference between a paid for app, and a donation channel using the PlayStore. Are you certain its a paid for app and not a donation channel? Even if its a paid for app, its paid for on the PlayStore, so thats where your complaint would sit. Not here where it is distributed freely.

As for "confusing", the point others are making is that its not all that confusing, and you yourself admit its not confusing. Maybe you should rewrite the explanation and the app. I had a read, and I could work it out. I do not expect to be spoon fed.
[BetterBatteryStats] dlads:
Jesus.... Give me strength.

I never came to this thread initially, I went straight to the play store and bought it.

To me that's a paid for app.

Lastly this is not my thread, not my place to write a guide for others.

If you look at my previous posts you'll see I've written a tonne of guides for others, who don't need to be spoon fed but appreciate clarity instead of barely comprehensible content.

Was there a free version on the play store? I didn't think there was, iirc then yes that's considered a paid for app, searching for battery on the playstore would only show the paid for version?
[BetterBatteryStats] DiamondJohn:
call on all the deities you wish, but, the world still is not as YOU define it or believe it or wish to call it.
[BetterBatteryStats] dlads:
Pointless comment, pointless arguement, pointless user...

Enjoy your day John.
[BetterBatteryStats] IronTechmonkey:
@dladz. Several very experienced and knowledgeable people took the time to attempt to answer your questions and guide you without casting any insults. The worst thing anyone did was disagree with you in points of fact and turn your own snarky comments into humorous replies that were significantly less snarky than your own. You on the other hand are refusing to accept any responsibility for your own fate and complaining about having access to free resources including apps and knowledge which make up for the lacking of the paid product, as you insult those who attempt to help. Give your unfettered disdain a rest and prove yourself a person of your own word by actually taking it elsewhere instead of continuing to insult people here. Since you will not use the app and you have already declared this to be so several times there is obviously no need for you to reply to this post.
[BetterBatteryStats] dlads:
Haven't insulted nobody lad and help? No not really lol far from it actually.

I've tried to walk away from this topic several times and each time another bot turns up and tries to be clever, bringing me back, enough already ok!! I do not need this app, it's a learning curve for me, I've always paid for apps but I'll be sure to see if there's a free alternative in the future.

Plus you can't pipe in when it's nothing do with you and not expect me to say something back.

Let it go....it's boring and going nowhere as I said before pointless.

Let it go.
[BetterBatteryStats] IronTechmonkey:
No really. Be of your word and actually walk away. Please "pointless user" please!
[BetterBatteryStats] Watanabe_You:
Anyone mind checking out this log? Lost 10% overnight.

Link since I can't attach files: https://pastebin.com/q9mmFC1S
[BetterBatteryStats] IronTechmonkey:
Having recently switched from rooted LOS devices to a combination of un-rooted and rooted stock moto devices, and having seen many posts over the past few months suggesting installing an older version of BBS, I've installed BBS v2.5.341 on an unrooted Moto G Power (2020) running stock Android 11, and on an unrooted Moto G Power (2021) running stock Android 10, and set permissions via ADB. All seems well but I do have a question about the requirement to allow the persistent notification for BBS. I know that notification is required to keep the BBS Event Processing service running but I disable the notification anyhow and I've not been able to determine what I'm missing for having done so.

So, so the question is: In practical terms, what stats or app potential would be missing/lacking without the persistent notification? IE, if the notification is enabled/disabled what differences would there be in the gathered stats to reflect that change?

[EDIT] To be more specific, I don't seem to be missing the references and stats mentioned as reasons the service is required here https://xdaforums.com/t/app-2-2-05-oct-v2-4-betterbatterystats.1179809/post-80005501.
[BetterBatteryStats] TNSMANI:
I have this turned off. It doesn't seem to affect the dump in any way. I remember to have read somewhere in this thread that it can be safely turned off, but not able to locate it. As the post linked by you says, it seems to be related to creating references but they do get created irrespective of the setting.

In short, you may not lose anything by its being turned off.
[BetterBatteryStats] TNSMANI:
You seem to have BT and scanning on. Can you not turn both off while sleeping? I think that it is the reason for the Netlink kernel wakelocks and BT wakelocks:

Additionally Location too seems to be on and is draining battery. And this:

Whatsapp, Shealth and Tasker also contributed to the drain.

Background uploads/downloads also happened for about 200 MB.

And taking the dump from 100% also might have skewed the results. It would be preferable if it is started around 85%,
[BetterBatteryStats] Prototype18:
Maybe im wrong to reply here but wanted to ask about sar sensor. On my f3 stock rom its on all the time. Is there a way to disable fix or anything ? Or a reason why it should stay on?
[BetterBatteryStats] TNSMANI:
May be it is by design. Since it helps in reducing radiation from the mobile when a body is detected, it makes sense. But I am not sure.
[BetterBatteryStats] Prototype18:
I disable some things and the battery overnight got to nearly full deep sleep 6:47 out of 7 hours and 3-4% drain.

Services used are sar_detector(non stop) and gplay gyro and accel when device was stationary all night(yes dtw and raise to wake are off), alarms keep alive manager and wifi schedule periodic scan timer. Can i dive deeper into this wakelocks and sar service or leave it?
[BetterBatteryStats] TNSMANI:
I presume that you are on Android 11. If so, a drain of about 0.5% per hour is ok. No need to meddle. If you want to check further, there is an option in Developer Options>Quick Settings Developer Tiles>Sensors Off. Note that all your sensors will be blocked with unintended consequences.
[BetterBatteryStats] Prototype18:
Ah cool. I will try tonight and check results again with sensors off. If it works maybe create a task to turn them off after midnight.

Edit: there is no sensor off option there
[BetterBatteryStats] ShazidMashrafi:
This is happening on my X01BDA (Running in A11).

How to fix?

Device rooted by magisk.
[BetterBatteryStats] TNSMANI:
May be ROM dependent. I have it on Havoc 4.9 Android 11.
[BetterBatteryStats] chamonix:
Candidate for blacklist together with gomarks (Google bookmark sync) and a Google talk updater that I identified and noted the name somewhere. Good work guys!
[BetterBatteryStats] DrunkFuX666:
Hey thanks for replying nobnut... I was trying to reply last night but my battery died as I was about to press send... damn battery drain :p

anyway I was trying to say it'd the latter... the app works great... just too bad im an idiot... lol

So it seems I get how the app works... I was actually uploading the pics and stats from last night so you could see that... but I think that wasn't that great to guage by cuz I had been using the phone alot and was only like a one n a half hour period the phone was idle yet was continuously awake...

Tho after my battery died last night... I charged it up and turned it on... didn't really start up any apps and turned on the phone... and it was idle for 6 hours not used at all pretty much... and lost 20% battery... seems handcent is doing most the issue but it never did before I felt :s
[BetterBatteryStats] nobnut:
Hi, there is good news and bad news here. First the bad news...

Looking at your stats, there is something pretty nasty happening. I don't think it is Handcent.

You have severe problems with:

ActivityManager-Sleep

Com.rageconsulting.android.lightflow.util.WakefulIntentService

Alarm Manager

Managewakelock: partial

EventLogger

Now the good news... we can fix it ;)

I strongly suspect that it is your notification app causing this... Lightflow LED. If you read the Market comments, you will see that other users have complained about battery drain.

It is a BADLY CODED app! Uninstall it and use the BLN app or just don't bother with one. It is causing the other wake problems you can see in your list.

I bet your battery stats improve massively after you uninstall this :)

Again, a reminder for everyone... always read the Market comments before you install an app!!

@Chamonix, you have another app for the blacklist ;)
[BetterBatteryStats] steslatt:
Sorry no I did not google it but I did search this thread and nothing came up before I had posted. When you say coarse location what do you mean?
[BetterBatteryStats] nobnut:
Google is your friend... use it ;)

Coarse location is 'network location' ie the phone determining your location using triangulation from your local cell towers. As opposed to finding your location using a GPS fix.

Weather apps etc use location services, as well as Google Maps. In fact lots of apps use it... check, you will be surprised.

EDIT: You can check which apps use location (Coarse and/or GPS) by going to Settings > Applications > Manage Applications > All Applications. Then click on the app and scroll down to see permissions at the bottom. Screenshot attached.

:eek::eek::eek::eek::eek::eek::eek::eek::eek::eek::eek::eek::eek::eek::eek::eek::eek::eek::eek::eek::eek::eek::eek::eek:
[BetterBatteryStats] steslatt:
Thanks for the info. Just read about the auto starts as well, thats good to know. Now I can stop apps from starting that I dont use much but seem to run a lot.
[BetterBatteryStats] nobnut:
Ha! By this time next week, your phone battery will be lasting for a month! ;)
[BetterBatteryStats] nobnut:
Just some common sense tips for everyday Android use:

1. Always use the back arrow to exit an app instead of the Home button (if the back arrow doesn't work, kill the app manually after you have finished.

2. DO NOT USE Task killers

3. Always read the comments on Market before you buy or install an app

4. Take control over the autostart feature that many apps have

5. Use Google to learn new things rather than asking for help with the easy stuff

6. DO NOT USE Juice Defender or any other 'battery saving' apps... they are not needed if you set your device up correctly and actually use more power than they save

7. Decide whether you actually NEED or WANT that app (do you need a 'fart' app which uses location and data services? - Just make your own 'fart' sounds naturally :p)

8. Regularly review which apps are running in the background and check your battery stats

9. After installing new apps, check to see what they are doing behind your back

10. When setting up sync schedules, use some common sense (do you need to update your weather app every 5 minutes?)

11. How many email accounts do you need or want? For example, I have 6 accounts but I forward 4 of them into my Gmail account. Now I only need to sync one Gmail account and 1 Exchange account ;))

12. Click Chamonix's Thanks Button regularly ;)
[BetterBatteryStats] DrunkFuX666:
Thanks alot dude... ill try that out... tho im pretty sure I had suspected that so had uninstalled it for a while yet kept having the issue... will try it again and keep you posted :)
[BetterBatteryStats] nobnut:
If you have uninstalled it, there is a problem. It is still running in your services as you can see. I have never heard of this happening before. Best to check again ;)
[BetterBatteryStats] DrunkFuX666:
No I meant I uninstalled it for a while but seemed to still have the wake so I installed it again cuz didn't think that's it... ofcourse now the picks I sent it is installed... uninstalled it now tho :)

Let's see what happens...

Tho a question... bln wont work for me since i'm on a Atrix not Samsung... and the reason I was using lightpro or whatever its called was so I can assign colors to various apps for the built in LED notification light... know any other apps which may be good... without the drain ofcourse ;) lol
[BetterBatteryStats] nobnut:
Sorry, I haven't tried any as I don't bother with that sort of customising. Maybe try looking or asking around in related threads on XDA, or just look at Market and read the comments. When you install one, just check your stats to make sure it is behaving.
[BetterBatteryStats] jbdeq:
Gotta love this site :)

Much appreciated
[BetterBatteryStats] CekMTL:
Nobnut you da man, U are everywhere :)

Much respect to you and your continuous help ;)

Enviado desde mi GT-I9100 usando Tapatalk
[BetterBatteryStats] nobnut:
Screenshot now posted to explain autostart permissions control using Gemini here.
[BetterBatteryStats] chamonix:
Point me to a thread on how I can access the leds on atrix and I'll add to betterln :-P
[BetterBatteryStats] chamonix:
Don't forget to hit nobnut's thanks button

Edit: typo removed, sense added
[BetterBatteryStats] gramps50:
Making real progress here up to v0.0.0 :D

Seriously great app thanks for all your work on it. Has helped me find some rouge programs eating my battery.
[BetterBatteryStats] CekMTL:
Sure thing and of course thanks to you too, with that lovely program of yours, and specially the latest instruction you found, i was able to hunt down the bad boy that were out of line!!!!! :)

Enviado desde mi GT-I9100 usando Tapatalk
[BetterBatteryStats] ithehappy:
First of all Thanks to Chamonix for his continuous support and update to the app.

I installed the latest version and can see the Red/Blue graphs, but please tell me what are their purposes, I know it may have been discussed already, but really don't have time to read them atm. And also why the Wakelocks option is changed to Partial Wakelocks? Any specific reason?

Thanks in advance.

Regards.
[BetterBatteryStats] drrkgupta:
No Answer???? Here is the dump file which I created after data was on! This is how I use my cell except I left it undisutrbed while checking this log.

Please help!
[BetterBatteryStats] sohebq:
Awake (): 23 m 3 s (1383 s) Ratio: 3.0%

Screen On (): 14 m 29 s (869 s) Ratio: 1.9%

The difference is less than 10 min, so what is there to be worried ?
[BetterBatteryStats] jeremysherriff:
One suggestion: disable backup to Google, and use a local backup solution instead.

It is difficult to understand what is background activity versus your own usage, if you would like more help then please charge, then unplug the charger, then leave the phone idle for a period of time (2 hours or more) before making a "dump to file" with the view set to "since unplugged".

---------- Post added at 11:12 AM ---------- Previous post was at 11:09 AM ----------

Hi, your dump file is incomplete, please check the contents before posting.

There is no information for kernel waks, processos, or alarms.

Regarding your previous post, there is very little wakelocks etc to improve. Do you have a battery drain problem, or are you simply looking to get things as good as possible?
[BetterBatteryStats] chamonix:
I test mostly on ICS but I see there is a difference between the version I run and the one I built for xda. I will recheck on that and post a RC2 if required
[BetterBatteryStats] takeheart:
Here is the dump file I just created. My phone's battery has been getting murdered while it should be sleeping and I have been unable to find the exact culprit. Let me know if there is any other information I can provide.

Thanks in advance.