yashsingh1/xdaforums huggingface dataset:
[BetterBatteryStats] baiosss:
I just enabled screen off to current option before sleeping 22.00pm and when I woke up at 5.00am made the dump file. What went wrong and shows nothing in battery consumption etc?

Some days ago, I did the same thing and worked fine. Uploaded the dump and you could see everything in it.
[BetterBatteryStats] Diesmiling:
Thank you :)
[BetterBatteryStats] Diesmiling:
Wakelocks

I am on pocof1, LOS 17.1, no root, stock kernel, very very few apps and pico gapps.

Can someone please see what is keeping my device awake?

Please ignore the total usage and percentages as I update the app and now its showing those numbers but the dump file is taken before I updated the app.

The hours shown are correct though.

Please help
[BetterBatteryStats] TNSMANI:
As I said, the dump covers only 20 seconds and that is why the stats are not complete. May be the screen switched on because of a notification or something else and then switched off, 20 seconds before you took the dump.

Instead of 'screen off to current', set a custom reference before going to bed and lock the screen. Then capture the dump in the morning for 'custom to current".
[BetterBatteryStats] baiosss:
I know what happens now you mentioned it. I have enabled auto bed time mode for 23.00 pm every night. So this switches the screen on as a notification.
[BetterBatteryStats] TNSMANI:
The dump you have posted is not an idle dump. It has more than 4 hours of screen on time.

Please read the first page of this thread and provide an idle dump for us to analyse.
[BetterBatteryStats] Diesmiling:
Will this work?

I disabled finger print but still there is wakelock
[BetterBatteryStats] pjadec:
Still same what TNSMANI said.

Too much SOT, this should be less than 20s

Like this sample
[BetterBatteryStats] cincilleo:
Hello guys,

I have "others" on battery apps that drains my battery and i can't go till the end of the day with a full charge.

Here my dump, can you help me?

Thanks
[BetterBatteryStats] Diesmiling:
Ohh okay, so no touching my phone at all. Damn that will hard.

But its for the greater good. Thank you
[BetterBatteryStats] pjadec:
Too much SOT time. This dump cannot be analysed. Read OP post how to do proper dump one. Then do another dump.
[BetterBatteryStats] anurag_aks:
Hello dev

Please help me out here...

The ideal drain while screen off is quite high 2-3% on avg☹️..My battery drains quickly...I recently installed the rom and rooted my device a few days back.

Here is my dump file:

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

I was not able to upload the txt file here directly...so plz check this link...
[BetterBatteryStats] TNSMANI:
The dump is hardly for 3 and odd hours. It should be for not less than 6 hours. Please take another dump.
[BetterBatteryStats] cincilleo:
Thanks for the reply, how to reset and restarts statistics?

I cant restart the timer
[BetterBatteryStats] pjadec:
When you charge your phone battery statics will be reset.

Read OP little more careful next time
[BetterBatteryStats] anurag_aks:
Yeah sure..Thank you..I will do it today

Please take a look at this file sir

https://drive.google.com/file/d/10FiaqDbSIMU3VhQot7joaS16qFpkBce6/view?usp=drivesdk
[BetterBatteryStats] cincilleo:
Sorry i will repost tomorrow.

Thanks
[BetterBatteryStats] TNSMANI:
Screen on time too much. Should be in seconds, not minutes or hours.
[BetterBatteryStats] anurag_aks:
This dump file should do .. Please take a look

https://drive.google.com/file/d/10_bQT2au-sZup_bhulOMBXqQBms02ttH/view?usp=drivesdk
[BetterBatteryStats] baiosss:
Should I need to do something to reduce consumption or is it normal?
[BetterBatteryStats] pjadec:
Battery drain was normal. Only app behave bad was files by Google cleaner over 25 min wakelock
[BetterBatteryStats] baiosss:
Any solution about this?
[BetterBatteryStats] pjadec:
Something is wrong in your phone. Battery drain was not good. Android systemui use too much time. I don't know why. doze_time_tick 1/min not good, but I don't know how fix it. Then background updates drain battery. Suggest you take new battery dump

---------- Post added at 12:30 PM ---------- Previous post was at 12:24 PM ----------

Sorry, but I don't use that app. You can freeze app in settings or something
[BetterBatteryStats] anurag_aks:
Should i format the data via recovery and then clean flash the ROM? Would that be helpful?
[BetterBatteryStats] pjadec:
IDK. You can try.
[BetterBatteryStats] baiosss:
What about Power Manager Service wakelocks in kernel wakelocks? I see 28 minutes. Is there any way to avoid this?
[BetterBatteryStats] jhobc:
I'm have a constantly wakelock "RingtonePlayer" (Android System)

On my search's across the web I didn't find any info about it.

Anyone know what could be triggering this?

On 3h I had more than 1000 occurrences

Mi 9T Pro - Latest MIUI EU Weekly
[BetterBatteryStats] anurag_aks:
Here is another dump file..I made thid day...i am worried and hoping for someone to help me

IDK what is the main reason of battery drain

https://drive.google.com/file/d/11B-7IfP3Qbnyf2lEDz0wFFq_COVG_5ko/view?usp=drivesdk
[BetterBatteryStats] DB126:
Wakelocks in the absence of drain or other undesirable behavior are irrelevant. Is there more to the story?
[BetterBatteryStats] @kitokit:
Here is my dump file

Is the drain normal?

https://drive.google.com/file/d/1-5Jj2gP_5pJ2fUFnCcrCWEhlpFL9x8Wo/view?usp=drivesdk
[BetterBatteryStats] pjadec:
Battery drain is bit higher. Normal battery drain should be 0.4 -0.7%/h. There are some background updates, these drain battery also. Take new battery dump.

---------- Post added at 07:30 AM ---------- Previous post was at 07:24 AM ----------

Same problem still occurred. Start from scratch, maybe

Idk
[BetterBatteryStats] TNSMANI:
Way too many wakelocks from all and sundry apps. Though individually they may show 0% drain, that 0% is not actually 0 but is something that is below the measurable number. Adding so many 0% wakelocks will result in a measurable number but I don't know how to do it. You seem to be having too many apps and that may be one reason for these wakelocks. Clean flash whatever ROM you are using with just the minimal Gapps (or the stock ROM alone) and take a dump. If that is ok, then the culprit is one or more apps which you subsequently installed on your phone. Install them one by one and take dumps for each install. Then you will know the culprit.

I know that this is a very painful way of finding out the culprit, but sometimes you don't have an option.

The system was trying to stop all activity so that the phone can sleep. But for nearly half an hour something was preventing it from happening. That is why you have so much 'awake screen off' and 'System UI'.

Was BT on? And Location/Scanning was also on? Shut them off while taking the dump.

You seem to have shut down mobile data. But the Network stats show many, many apps trying to connect to the internet through mobile data. Perhaps your wifi is having issues. Reset it by switching off the router for atleast 10 seconds and restarting it.

First, reset wifi, clean flash the current ROM with Gapps package, turn off BT, Location/Scanning, and take a dump. Let us see.
[BetterBatteryStats] anurag_aks:
Yeah sure... Thank you for taking your time to look into my problem...

I will make another dump with all the things keeping in mind which you said.
[BetterBatteryStats] anurag_aks:
I use AOD.. could that be the reason??
[BetterBatteryStats] baiosss:
What about that?
[BetterBatteryStats] pjadec:
Near normal drain 0,8%/h (normal 0,4-0,7%/h). Background updatest drain battery. Also https://play.google.com/store/apps/details?id=com.google.android.apps.nbu.files&hl=fi&gl=US run background job/tasks drain battery power.
[BetterBatteryStats] KZekai:
Can someone relay the request to dev to add a alarm ringtone when battery charge status reached the cut-off value defined in App Options? So I dont haveto have 2 apps one for stats and one for "Longer Life"
[BetterBatteryStats] Oswald Boelcke:
You can raise such a request yourself: https://github.com/asksven/BetterBatteryStats/issues
[BetterBatteryStats] Utini:
Sorry, will do that when I get home.

So far I can only provide a dumpfile from a full charge until now (14h later). Only 66% deep sleep :S
[BetterBatteryStats] Oswald Boelcke:
Might the wrong file be attached?

4'35" run time? With over 3 mins screen-on?
[BetterBatteryStats] Anas Rahman:
Can anyone have a look to see if my battery drain is normal? I feel like it's been draining a lot overnight

---------- Post added at 04:19 AM ---------- Previous post was at 04:17 AM ----------

https://drive.google.com/file/d/13b-Y2eCStzD97x0CQkrQlOgwRBTv3Muk/view?usp=drivesdk
[BetterBatteryStats] Obi8:
Hello guys,

i have a problem with the battery life of my Poco F2 Pro.

While I use the device to e.g. looking at the MIUI settings, surfing something in the browser, looking at a few pictures or listening to some music via Bluetooth, the device consumes a lot of power.

Please don't get me wrong, I understand that when I use the device, energy is also consumed but too quickly.

Performance-heavy processes are carried out. At least not from me.

I have the feeling that one or more processes in the background are using up the battery too quickly.

Above all, I noticed the rapid consumption of between 50% and 80% of the battery. Before and after that, the consumption of the battery is related to the use of the device.

Have already tried several versions of Xiaomi.

Xiaomi EU Weekly, Official Xiaomi etc.

At the moment I have Xiaomi.EU MIUI global 12.0.8 installed on me.

With the help of the tool 'XiaomiADBFastbootTools' I also uninstalled some pre-installed Xiaomi applications (MiShare, MiPay, GooglePay etc.).

I hope you can help me find the culprit. :)

Here's the dumpfile.

[MENTION=1330150]chamonix[/MENTION]: Thank you very much for the great app. :)
[BetterBatteryStats] Oswald Boelcke:
A battery drainage of only 0.7%/hour is not bad considering that your screen-on-time (SOT) was about 42 mins and the signal was only moderate for nearly the complete time you captured that dump.

But for a serious analysis please provide an idle dump in accordance with the procedure laid out in the OP i.e. SOT must be less than one minute. I additionally suggest to commence the idle dump at a battery level between 95 - 90% and to find a place where the device has a good signal for the time you're taking the dump.
[BetterBatteryStats] Obi8:
[/COLOR]

Thanks for the help.

I try the procedure in the first thread but for the point "full charge device then let it run down to ~95% " i play a game, then surfed in the browser to run down the battery to 95%.

Then i turn the screen off and didn't touch the smartphone for round about 6,5 h.

Can you please say me how i can drain the battery to 95% or 90% with a SOT less than one minute?
[BetterBatteryStats] Oswald Boelcke:
It's not about to drain battery with a SOT less than one minute. This should be possible. It's about to follow the procedure that you quoted before you edited your post:

I've highlighted above what's important before saving the idle dump.
[BetterBatteryStats] Obi8:
Sorry i didnt understand the steps in the first thread correctly.

This i must do for the dump.

Please correct me if i'm wrong.

1. Enable watchdog processing in BBS settings

2. Select in the left top dropdown "Summarry"

3. Select in the left dropdown "Unplugged" (From)

4. Select in the right dropdown "Current" (To)

5. Charge the phone to 100%

6. Unplugged the phone from charging

7. Drain the phone to 95% better to 90% in less then one minute ( i dont know how :( )

8. Turn the screen off (sleep mode)

9. Dont touch the phone for round about 6 hours (better more)

10. Wake the phone and start BetterBatteryStats

11. Select in the left dropdown "Screen off" (From)

12. Select in the right dropdown "Screen on" (To)

13. Save the dumpfile
[BetterBatteryStats] baiosss:
Just let your device to drain the battery to 95 or 90% and then follow steps 8 to 13.
[BetterBatteryStats] Obi8:
I make two dumpfiles. I hope this time it is correct.

In the first i only have 1% (8 hours wait) batterry drain and in the second 4% (13 hours wait) drain.

In booth dumpfiles i have activated wifi and deactivated mobile data.
[BetterBatteryStats] pjadec:
Sorry, but both of those dump(s) are garbage.

1 only Since 13 s

2 only Since 6 m 25 s

Take new dump.

Thx
[BetterBatteryStats] TNSMANI:
I will try to help you for the idle dump. In your quoted post, (1) is ok. (2) to (4) not required.

(5) & (6) ok.

In (7), drain the battery. You can take as much time as you want to do it.

Before (8), tap the three button menu on top right. Select 'set custom reference'.

(8) to (10) ok.

(11) Select the left drop down and choose 'custom'. (12) Select the right drop down and choose 'screen on'.

(13) Ok.

The trick is to open BBS and to save the dump file in under one minute ie. (11) to (13) in under a minute.
[BetterBatteryStats] Obi8:
I have another dump file. But for this i can only choose screen off to current.

I will try today another round with youre steps.

Thank you for the help.
[BetterBatteryStats] pjadec:
Battery drain was 0.2%/h and that was excellent. Nothing seems to be extraordinary, but my opinion battery drain was little low and it's only my opinion. Normal battery drain is between 0.4 - 0.7%/h.
[BetterBatteryStats] DB126:
0.2% idle drain is quite achievable with radios off, modern OS, healthy battery and quality app portfolio. Can also trim heating bill by maintaining a 10°C interior temp. Pick your poison wisely ;)
[BetterBatteryStats] pjadec:
Yep. My tablet Tab2 can reach 0.1% / h battery consumption. So 1% lasts 2.5 days in sleep mode
[BetterBatteryStats] ziedje:
Hey,

I have a rooted oneplus 8 pro, android 11 with ElementalX kernel.

(Thanks to servicely and naptime) when I use my phone the battery is great, if I don't turn off my phone and continue using it I get SOT of 7-10 hours.

The problem is when I turn my screen off. Every night I wake up with -11% (was even higher but with naptime and servicely I managed to decrease this). Also during the day my battery drains more quickly than I want when the screen is turned off. Can anyone figure out what's causing this?

The dump is when my phone was 98% (also tested it with 95% and 90% with same result, but lost the files)
[BetterBatteryStats] umartariq:
Any advice on this please?

BATTERY_STATS status: Success

============

Battery Info

============

Level lost [%]: Bat.: -4%(45% to 41%) [0.8%/h]

Voltage lost [mV]: (3816-3812) [0.8%/h]

===========

Other Usage

===========

Deep Sleep (): 4 h 42 m 42 s 92.2%

Awake (Screen Off) (): 23 m 22 s 7.6%

Screen On (): 34 s 0.2%

Wifi On (): 5 h 6 m 40 s 100.0%

Wifi Running (): 5 h 6 m 40 s 100.0%

Bluetooth On (): 2 s 0.0%

Doze Interactive Time (): 34 s 0.2%

Doze Powersave Time (): 3 h 48 m 47 s 74.6%

Doze Idle Mode Time (): 4 h 44 m 31 s 92.8%

No Data Connection (): 4 h 25 m 26 s 86.6%

Screen dark (): 34 s 0.2%
[BetterBatteryStats] TNSMANI:
Your mobile signal strength is not great and this usually drains battery fast. This also may be the reason for the difference between daytime and night time use. Perhaps at the place where you are at night, the mobile signal is bad.

BT was on and Location/scanning also seems to be on with a lot of alarms. Nearby also caused wakelocks. Do you require these to be on even while sleeping?

You have a kernel wakelock

.

As per the posts in THIS page, it is related to BT.

Urbandroid also caused some drain.

There is no network stats recorded in the dump to know about the drain caused by background downloads.

Rectify all the above to the extent possible and try another dump.
[BetterBatteryStats] TNSMANI:
Your mobile signal strength seems to be patchy which is usually a huge drainer.

BT and Location/scanning were on and consumed battery.

Wifi router has an issue. Reset it by switching it off for >10 secs and then switch it on. If you have other devices, especially printers connected to wifi. switch them off.

My observation relating to BT in my previous post applies to you also.

Too many app widgets refreshing themselves. Either reduce the number of widgets or their refresh rate.

Location related Geofence was one of the major culprits.

As is usual, many Samsung apps like push, accessory, email, rubin etc. caused a large number of alarms. Facebook also did this.

Whatsapp had background download/upload of about 356 MB.

As a general observation, if you enable all the bells & whistles offered by the device, you should be prepared for such drains. Unless you are prepared to sacrifice some of the convenience features, there is no point in wasting time on containing battery drain. This applies not only to you, but to all those who fret about the drain.
[BetterBatteryStats] DB126:
:svetius::svetius: truth :svetius::svetius:
[BetterBatteryStats] veekay:
Maybe I'm just crazy, but wasn't/isn't there an option that lets you output the stats for every % drop?

I checked the three options that can be shared, but didn't see it there - unless it was for the one that failed dmesg: klogctl: Permission denied

Battery stats were doing just fine, 96% with over 12 hours. Then suddenly dropped down to 83% with no usage change
[BetterBatteryStats] DB126:
Nothing to do with apps; refresh issue or (far less likely) voltage crash.
[BetterBatteryStats] veekay:
No idea about what a voltage crash is. Just trying to figure out why the battery life sucks after switching to another phone. Have basically the same setup on a custom rom, but barely got 4 days of battery life versus the average of 6-7 days on my last phone. Doubt the 200mah less battery would cause that.

Right now I'm at 36 hours and down 33%.
[BetterBatteryStats] DB126:
Post an idle log for analysis/commentary. Far to many variables and unknowns to offer any meaningful guidance (other than noting a 'sudden' drop of 13% on an otherwise healthy battery is not app/rom driven).
[BetterBatteryStats] veekay:
Is the dumpfile the idle log?
[BetterBatteryStats] Oswald Boelcke:
An idle log is a dumpfile but - and that's of utmost importance for a proper analysis - must at least cover 6 hours with less than 1 minute of screen-on-time i.e. let the phone rest untouched for at least six hours, and after picking it up and turning the screen on immediately take the dumpfile. More precise procedure available in the OP.
[BetterBatteryStats] mroneeyedboh:
Hey guys when I hit the three dots in the upper right, I see " Set Custom Ref", I click that. But then when I go to save my dump, I dont see the option on the right menu ( under summary ) for Screen On. I only see Current on the right side menu. Any idea?

Under settings I do have the From/To References selected as well.
[BetterBatteryStats] veekay:
Thanks. Since it said it to do it from a full charge then I will try and remember in a few days. Aside from that large jump, it has gone back to good usage. Should hit 4 1/2-5 days at this rate.
[BetterBatteryStats] TNSMANI:
The 'Custom' reference will be shown on the left menu ie. 'from' and not on the right menu. For the right menu, the only options are 'screen on' and 'current'. While saving the dump, choose 'custom' on the left menu and 'screen on' or 'current' on the right menu. 'Current' would be better and avoid any system induced screen on during the night.
[BetterBatteryStats] TNSMANI:
Dump file reading should start at about 90 or 95% and not from 100%.
[BetterBatteryStats] mroneeyedboh:
When I choose Custom, there is no information on the screen, it disappears. Im talking about thing information such as Screen on, Wifi On, Wifi Running etc. I have to shoose Screen on from the left menu and then current on the right menu.

Are you sure I should select Custom on the left menu and Current on the right menu?

thanks!
[BetterBatteryStats] TNSMANI:
Yes. First before allowing the phone to go to sleep, click the three button menu and click the 'set custom reference'. Then allow the phone to sleep. After setting the Custom reference, don't use the phone. While saving the dump file choose Custom on left menu and Current on the right menu and then save.
[BetterBatteryStats] Honda ef8:
I think it's looking good. On 11056 here in usa on KB2005 unlocked and rooted. It just started optimizing today. I guess the factory system takes a week to optimize but I've never had zero drain over night! And I'm getting 7-8 sot!
[BetterBatteryStats] Sir.Bran:
Hello everyone! Can someone please look at my log? I hope I did it right, if necessary I'll do another one as soon as possible.
[BetterBatteryStats] pjadec:
Something, maybe or not is wrong your phone kernel and radio interface. Since there is no information on the signal strength, a more detailed analysis cannot be made. Reboot phone and take new dump.

Thx
[BetterBatteryStats] Oswald Boelcke:
Slightly late due to lot of different things related to the transition to Xenforo but as usual I'd like to share my monthly idle dump now that I already took 4 days ago. Very excited about the 0.3% per hour drainage.

Bluetooth enabled 24/7 due to the (German) Corona Warn app. I think this proves that quite a lot of Google PS comments regarding this app are wrong that this app would (extremely) drain the battery - or they don't know about what they are talking. Another possiibity would be that these people have GPS permanently enabled what the app doesn't require at all. The app only requires location permission to be granted but not an enabled GPS or a GPS location.

EDIT: System didn't allow me to upload the txt-file. I had to zip it first.
[BetterBatteryStats] siang930615:
Hello Can someone please look at my log? cell standby kinda high thanks
[BetterBatteryStats] TNSMANI:
Please attach an idle dump.
[BetterBatteryStats] siang930615:
sorry any idea why i cant upload

*me upload to

http://www.mediafire.com/file/rwqkhs92h8c2veo/BetterBatteryStats-2020-12-08.txt/file
[BetterBatteryStats] Oswald Boelcke:
I had the same issue; please see my post just above. Together with the admins we already figured out the BBS probably formats the txt-file in a way or might use characters that don't allow the dump to be simply uploaded.

I suggest to simply zip the txt and to upload the zip.
[BetterBatteryStats] TNSMANI:
What you have uploaded is not an idle dump. Screen was on for more than half an hour.

Please read the OP and the first few posts and post an idle dump.
[BetterBatteryStats] veekay:
Any way to make the fallback work when using the text widget? If my devices reboot, the stats always stay empty on the widget (fallback boot). The larger one with the circle displays fine, but is too big.
[BetterBatteryStats] jmh033089:
Just got the LG wing and I can't seem to get bbs to install keep getting

/system/bin/sh: adb: inaccessible or not found

What am I missing? Thanks
[BetterBatteryStats] WordsworthESP:
I haven't used BBB since Jelly Bean, but with the battery on my relatively old S7 Active draining faster than my old car battery w/bad alternator, I wanted to see if this would still work on Android 8.0.

tl;dr: What is the most recent version of Android this app is compatible with?

P.S. Please forgive my ignorance, as it's been awhile since I've frequented these forums. I most certainly tried to use the search feature and it continually brought me here.
[BetterBatteryStats] TNSMANI:
It will work upto the current Android version 11. May be on some devices some functionalities may not work.
[BetterBatteryStats] drezz2:
Hello I used version 2.3.248 in a previous terminal in which I was root, and at that time in addition to giving it root permissions, I made it a system application, this is no longer necessary, right? would it install, give root permissions and nothing else? the latest version is 2.5-341 (98)? (https://install.appcenter.ms/users/...stats-xda-edition/distribution_groups/testers)

What does the number 98 mean?

in the first message the last one I see is 2.3.248
[BetterBatteryStats] ronnysusi01:
I have a Mi 10 Pro and i think my standby drain over night could be better. I attach an idle dump file. How can i improve my standby drain more?