yashsingh1/xdaforums huggingface dataset:
[BetterBatteryStats] olidie:
I would turn it off but entering the code results in this same message over and over: "Connection problem or invalid MMI code". Don't know what I am doing wrong. I tried with data activ, 2G, 3G - always the same result. Do I need root for that?

Sorry: too slow typing ;-)
[BetterBatteryStats] raphustla:
Is it needs root ?
[BetterBatteryStats] chamonix:
The next version will change default stats/type to other/since unplugged but even if since charged doesn't seem to make sense it may for some users. That's what analytics are for and I may start using those to change defaults and get rid of unused code while moving to 2.0

But still I'd like to fix the "full charged is not 100%" riddle :-)
[BetterBatteryStats] chamonix:
Bbs does not need root except for accessing alarms
[BetterBatteryStats] chamonix:
3 minutes awake in 10 hours. From the perspective of awake/wakeups there is nothing you can do to improve.

Assuming you battery is like mine 1650 mA that would still be a drain of about 55 mA/h. 4 days without airplane mode would be a drain of about 17 mA/h.

Questions you need to ask yourself:

- is your battery damaged, is there a problem of calibration?

- could your radio / coverage be responsible? Remember that that is a part of your phone that never sleeps
[BetterBatteryStats] noke955:
I think, you don't have any problem with wakelocks, your awake time is only 0,5%, which is really good.

I'd rather think, your problem is your battery. Is there any chance to test an other one?

edit: 1 minute to late...
[BetterBatteryStats] jeremysherriff:
In my experience this is going to be radio. Its easy to check - set the phone to "2g only" for one over-night test - if the battery drain stops, voila! If not, set it back, end of test.
[BetterBatteryStats] olidie:
In fact the Nexus S battery is only 1500 mA. The 4 days were an absolute exception. As I wrote earlier I usually charged every other night ( so two complete days and one night) with well over 20% battery remaining.

I was thinking about a possible damage of the battery, too. Still I do not see a significant change during the day. For example today: battery went down 20% in 10 hours with 4:16 Minutes phonecalls, quick use of maps, some browsing in pictures and a barcode scan. Not bad compaired to loosing the same without doing anything over night. I just saw that a new batters is less than 10 Euro. Maybe worth a try.

I don't know what is meant by radio / coverage. You mean reception? A green line indicates that I have very good reception during the night.

My phone's always, well most of the time and so during the recent tests, in 2G. Only if needed I switch on 3G.
[BetterBatteryStats] jeremysherriff:
So how often do you charge now?

Sweet. Do you have a quick/easy way to change that setting, like a widget or something? I'm looking for one :)
[BetterBatteryStats] olidie:
Since I've been trying a lot I can't really say. I charged yesterday evening, lost 25% over night, charged this morning and will put the phone down now, bedtime, with 73%.
[BetterBatteryStats] jeremysherriff:
So it sounds like you lose about 25% every 8 hours, both day and night? I would swear it's poor cell reception. There should be a way to get the cell reception level info, do this:

Settings->About Phone->Status: about 5 entries down should be Signal Strength in dBm.

Edit: the numbers are negative, and the "higher" 9more nagative) it is, the worse it is.

-65 is good, -85 is marginal, -100 or so is crap.

I get -65 at home, -85 at work. At -85, my battery drains 10% per 2 hours.
[BetterBatteryStats] ybres:
1. Made time and posted an Alarm Dump. Traffic Counter alarm seems to be there with a count of 5584 which seems to be about right. I think will uninstall the app and just use my carrier's info cost.

2. Could you take a look at the Stats file please, 8 hours over night? I know the high AlarmManager count is from the Traffic Counter but the phone seemed to be awake far too long.

So in kernel wakelocks what do "DPRAM" and "alarm_rtc" stand for?

Thanks :)
[BetterBatteryStats] Karpfenhai:
hmm, regarding fast dormancy on the nexus, unfortunately i don't own such a device, but you may try entering the code this way *#*#9900#*#*

Otherwise there is the testing menu which will work anyway, maybe there is a desired option --> *#*#4636#*#* but be careful!
[BetterBatteryStats] olidie:
Signal strength is -81dBm right now. Still the phone signal in battery status is a green bar through and through over night.

From 11pm to 6am the phone lost 1(!!)%. Maybe it really was the google ready sync setting. The only other things I changed was set language to english (so I could use the right expressions here) and "force stop" some apps like AK notepad, docs, gmail, maps etc.

If I enter the code this way the numbers just disappear from the dialpad and that's it.

I dare not to touch this menue. I had a look but won't change anything.

I am curious to see what happens next night. Thanks to everybody how helped so far!
[BetterBatteryStats] d3l1:
I'm getting a lot of FCs lately, especially since updating to 1.6.1. Does anyone else experience this?

Will try to clean data/cache and if that doesn't work I'll uninstall/reinstall the app.
[BetterBatteryStats] QckGl:
Ok so I freeze waze and I did what you told me to do! I'm sending you my new dump file with my screen off test for 4 hours. What do you mean with the location provider?? I tried searching in setting of waze and I didnt find any option saying to stop locating itself! Again thx a lot!!!
[BetterBatteryStats] zainbintariq12345:
I am having problem with my SGS2 and no one ready to help me

I already made some thread about my problem but still no one here to help me

Problem is wakelocks Of Android System and Dialer (sometimes)

I dont know how to solve it?

i searched whole XDa and Google for 5 days but still nothing

I dont even get that what type of problem is this?

Is that hardware problem? software ? Driver ? Or what?

In Battery status Android system battery perrcentage goes to 15-19 percent and some times mobile goes warm from near camera

I am running on Hyperdroid 6 and kernel redphill

i changed so many Roms and kernels but still nothing

i was using my mobile for 1 month on android 2.3.5 and no problem

But last week i use GPS for like 4 hours and then after that i got that problem

my battery timing is so week as compare to normal before that problem please some one help me
[BetterBatteryStats] amn1987:
Actually this is my secondary device so I keep the various radios disabled, other than cellular and only enable them when necessary. Battery is 3 years 10 months old. On more than a few occasions the battery continues to charge for a lot longer when the battery level shows 100%. I monitor it with a USB Power Tester and it continues to draw current from 3.2Ah at 100% to 3.8-3.9Ah. Original rated battery capacity is 4.1Ah and kernel profile which isn't very reliable still shows the same.

Frequently battery level would stay at some random percentage for a long (12-15 minutes even) and then the next 2-3% will drop in a few minutes. This has reduced a bit after I calibrated the battery.

I will try with the last ROM that yielded good idle drain, 0.2-0.3%/h on average over the 2+ months I was using it. Five months is a long enough time I think for the battery to go bad.

Thanks.

P.S. Idle drain has already increased to 0.86%/h.
[BetterBatteryStats] TNSMANI:
Most likely, battery is the issue.
[BetterBatteryStats] amn1987:
Yes it looks that way. I had also flashed the official MIUI Fastboot ROM a few days ago and in it idle drain was not much better.

At least in the Havoc ROM I am currently using it seems that current is being drawn bypassing the battery after it reaches the desired charge level. As a last resort I will just keep the device plugged in and battery at 60-65% charge.
[BetterBatteryStats] annsilin:
Can somebody take a look at my dump?

I'm having ~1.43%/h screen off drain for a several months already. Stock rom battery stats always show 'Android System' and 'Google Play Services' as the highest drains. But I assume these drains should depend on a certain apps. My biggest suspects are Mi Fit and InstaMod. I made this dump overnight. Wi-Fi, Bluetooth, GPS, DND were turned on
[BetterBatteryStats] pjadec:
SOT too long. Also backgound download. Mi Fit, Master for M* will cause odd battery drain sometimes. That's why i don't use Mi fit app.

Your phone battery drain seems to normal 0,4 - 0,7%/h, but probably your Mi Band app(s) not behave a good way. I If you wanna use those apps there are no fix for battery drain. Sorry

I had same problem with Mi Fit app

I also have Mi Band 5 and only 1 app what i use.

Notify for Mi Band
[BetterBatteryStats] annsilin:
Thanks for an answer! I use both Mi Fit app and Master for Mi Band with my Mi Band 4. I think I can get rid off Mi Fit and use only Master for Mi Band
[BetterBatteryStats] demeez:
Hey I've been having some pretty inconsistent idle drain issues lately. I'm using a OnePlus 6t. I'm currently on a custom ROM but I've had the same issue on the stock ROM as well so I'm assuming it's something to do with the configuration. This is my first time doing a dumpfile so I hope I did it properly.
[BetterBatteryStats] githyanki:
Level lost [%]: Bat.: 81%(11% to 92%) [-7.7%/h]

Sorry, you charged the phone during the period you selected to create the dump file.

You probably need to set it to screen off to screen on before creating the dump.
[BetterBatteryStats] amn1987:
Recently I have run into a problem in my just over 1 year Poco F1 wherein battery drain, in particular idle drain would accelerate when battery charge falls to 30% or so. How do I go about recording the BBS dump in this case?
[BetterBatteryStats] 64ashg:
I would ask you to see when your phone was manufactured on the box. I got a redmi k20pro/xiaomi mi9t pro in march 2020, so just 7 months, but it was manufactured in September 2019 on the box, and it shows the same behavior.

Below 30 the idle drain jumps from 0.1% to 0.5%+ and cannot be stopped by me. It drains till 5% then shows some resistance till 1%.

Could be how xiaomi designs its battery controllers to preserve the last 20% of the battery, or battery was in the handset for long, in my case 5-6 months, or maybe **** lithium ion/polymer manufacturing process. But it cannot be quantified by me. If someone knows, please do tell :)
[BetterBatteryStats] amn1987:
Mine was manufactured in August 2018 IIRC. So 2+ years ago. Idle drain increases from 0.5-0.7%/h to 1-1.5%/h. Not even a reboot fixes it.

Battery capacity also degraded by 10% at least, around the 10 month mark. Accubattery estimates battery health at 80%. From easily 13-15 hr SoT earlier barely past 11 hours now.

Xiaomi perhaps cut corners.
[BetterBatteryStats] DB126:
Battery health <90% (arguably 95%) is a clear indication pack is compromised. Retaining/replacing is a personal choice. Might stabilize for awhile before moving to next phase - further degeneration or possibly spontaneous failure/shutdown. Nothing meaningful you can do to influence trajectory.
[BetterBatteryStats] Vordx:
My apology i actually didn't think it's disrespectful. I guess i messed up. Not what i do usually honestly. Just thought of asking here in case someone has an alternative in case the app is EOL as how lawnchair is doing. You literally can enter the group and type launchers and you'll get more than 3 different alternatives to lawnchair until development is back on track.

My apology again :)

No i wasn't trying to be an entitled kid, i literally thought the app is abandoned or he made a new one somewhere.
[BetterBatteryStats] baiosss:
Hello guys!

I have battery drain problems on my Pixel 4 XL and I can't find the reason if it's causing it an app or just bad radio signal. Overnight my phone loses about 5-6% with Bluetooth, Wi-Fi, Data, location switched off in about 6 hours of sleep. Same drain had it with airplane mode enabled in some occasions.

A detail I want to report, is that I have closed background data for all of my apps, except those apps I want to have notifications, such as Viber, Telegram, Gmail, Google, Calendar, Tapatalk, YouTube etc. Closing background data it's a method I use (right or wrong) to all of my previous phones and I thought it would be helpful with battery drain issues.

I'm on Android 11 but same thing happened with Α10 too. I use 90Hz refresh rate, no motion sense at all. No Root or unlocked bootloader. Radio signal ranges about -87dBm to -90dBm and I uninstalled all of my apps to find the problem. What could it be;

Some BBS screenshots to begin, before I try the dump file procedure. Thanks in advance and sorry for my bad english :)

https://photos.app.goo.gl/WG9MVPqPwXM12KBy9
[BetterBatteryStats] baiosss:
Last question. What this step means exactly cause I don't get it. What should I do after starting BBS;

adjust from/to references to 'screen off' and 'screen on'
[BetterBatteryStats] Lughnasadh:
After turning the screen on (after letting sit with screen off for at least 6 hours without using or charging your phone), you want to measure from the time the screen turned off to the time you turned the screen on (or current if screen has been on less than 1 minute). So once you open up BBS after letting it sit for those 6 hours or more, make sure the option on the left is set to screen off and the option on the right is set to screen on (or current) before saving your dump.
[BetterBatteryStats] baiosss:
Okay. Now I get it.
[BetterBatteryStats] baiosss:
A few days now, for strangely reason, I have only 3% battery drain overnight. I switched off adaptive battery option which suppose to do the opposite.

Here is my dump file

https://drive.google.com/file/d/14LNN6hdPY5GIVGaIcVaP4T3q-Z9hRyAV/view?usp=drivesdk
[BetterBatteryStats] TNSMANI:
I have not gone through in detail into the dump. For whatever reason, you have a drain rate of 0.4% per hour which is good. May be in Android 11, the adaptive battery is broken. Enjoy the device.

If, at a later date, you face a larger drain, please post a fresh dump. Good luck!
[BetterBatteryStats] TNSMANI:
I am getting 404 error on your dump. Are you able to open it? May be a XDA glitch.
[BetterBatteryStats] TNSMANI:
Nothing jumps up in the dump though the drain rate is 1.3% per hour. Is this a one off reading or do you regularly get this kind of drain? You are not even using Gapps. I am stumped. May be a Dalvik and cache cleaning may help. How old is the battery?
[BetterBatteryStats] DB126:
Battery may have been installed a week ago but it's likely much older and inferior to OEM. Most (albeit not all) aftermarket batteries are suspect at best.

Zombie drain (if not battery related) likely attributable to hardware component not "seen" by BBS. Dirty fingerprint scanner is a common culprit followed by kernel not optimized for hardware and/or OS. Good luck.
[BetterBatteryStats] DB126:
Go back to stock & see what happens. First without reloading personal apps then with everything. "Others" experience is obviously not your experience.
[BetterBatteryStats] Koeties:
Phone CPU usage constantly high with system_service android_kernel

Hi guys

I've been struggling with this Oneplus 6 of mine for over a month now. I was running rooted OOS 10.3.5 with latest Radioactive kernel and all was good with idle drain of max 1.5%/h. Then all of a sudden the phone just starting drinking battery juice. I can't pin it to an app update or installation. Since it started I've tried multiple factory resets and re-installing apps in batches from Titanium backup as well as re-installing apps from Play Store and restore data with Titanium backup. For this I installed apps one at a time waiting in between to see if I can find the culprit. But I just can't get to the bottom of this problem. I've also now upgraded to OOS 10.3.6 in the hope it will solve the issue, but it persists.

Last evening when I charged the phone on a normal USB charger (not dash charge) it started heating up proper. So I unplugged it and switched the phone off and let it cool down. Then charged it to 100% while off. I booted up the phone and fiddled a little and then went to sleep leaving it screen off. This morning I took a BBS dump file first thing which I attach to this post. I've gone through the file myself a bit but I can't see anything obvious that can give me some direction as to why the system is using so much battery. Hopefully someone here can make more sense of it.

Something in the dump file which I find weird is that it looks like BBS says starting % is 71%, but I know for a fact I charged it to 100%.

Thanks for your time in trying to assist.
[BetterBatteryStats] TNSMANI:
Another dump may be necessary as the following info is contradictory:

And the idle time is supposed to be 15 hrs & 52 mts. Battery level goes down but voltage is gained. The 'other usage' timings are also not correct.

Clear data and cache of BBS and take a fresh dump preferably from 90 or 85% with a minimum of 6 hrs. idle time.
[BetterBatteryStats] Koeties:
OK I'll do that and take another dump file tonight. Is it fine if I charge the phone to 95%, use it a bit before I go to bed (so that it shows normal usage) and then leave it for the night to give the minimum 6 hours idle time? Hopefully that will also show some more stats for the normal usage, which is my main problem.
[BetterBatteryStats] TNSMANI:
Charging it to 95% and using it for some time before starting the dump is ok. Please ensure that the dump is from either 'custom' to 'current' or 'screen off' to 'current'. The in-usage stats should not be in the dump.
[BetterBatteryStats] Utini:
I have the feeling that my battery drain is worse than previously. How ever, there have been several changes to my setup at once (e.g. Android 10 -> 11 and also a different location with worse signal).

Do those screenshots from the settings and from BBS look good to you? E.g. I noticed a 7% battery drain overnight which previously was only 1%.

Thanks!

Pictures:

https://files.bestmail.ws/Battery/photo_1.jpg

https://files.bestmail.ws/Battery/photo_2.jpg

https://files.bestmail.ws/Battery/photo_3.jpg

https://files.bestmail.ws/Battery/photo_4.jpg

https://files.bestmail.ws/Battery/photo_5.jpg

https://files.bestmail.ws/Battery/photo_6.jpg

https://files.bestmail.ws/Battery/photo_7.jpg
[BetterBatteryStats] TNSMANI:
It would be helpful if you read the first page of this thread and post an idle dump as per requirements. In-use stats that too in the form of screenshots is not helpful in diagnosing.
[BetterBatteryStats] Koeties:
Hi

Here's an updated dump. It seems OK-ish, as it drains 3.6%/h. I can live with that if I have to. My main problem is still that when I start using the phone (or just having it in my pocket and moving around), the sensors seem to go crazy. All of a sudden the ambient light sensor, proximity sensor and sns_smd wakelocks shoot through the roof. I'm not sure if this is supposed to happen? The big CPU hog is then also system_server, which seem to cycle through high CPU usage that drains, then it lets go for a short while and then it starts using CPU again. I'm so frustrated as I can't pinpoint why system_server is behaving like that.

Thanks again for the time spent to help me with this.
[BetterBatteryStats] TNSMANI:
Your mobile signal is bad. You had great signal only for 8 seconds. This is a huge drainer.

BT was on. Do you require this while you sleep?

Was location/scanning also on? If so, disable the same.

WhatsApp had background upload/download of 52 MB.

Apart from these, I could not find any other issues. Do not change any settings. Just place the phone where you have a better mobile signal as a test and take another dump. I am sure that your drain rate will improve dramatically.

Regarding sensors, they behaved very well in the dump. If necessary, see if you can disable the sensors. Some ROMs have that option.
[BetterBatteryStats] jaleelchennai:
Overnight Draining

Hi,

For the couple of days i am using BBS, the dump file was attached below, per hour 8.1% drain. Shall i need to change battery?
[BetterBatteryStats] TNSMANI:
It is not an idle dump. You had used the phone for nearly 26 minutes before taking the dump. Please read the first page of this thread and take an idle dump.

That said, I can see that your mobile signal is patchy and that impacts battery.
[BetterBatteryStats] Oswald Boelcke:
Running the Corona-Warn-app (and the Exposure Notifications API) now for nearly two months with BT enabled 24/7; location is also enabled 24/7 (however, in "saving" mode unless I require a GPS location). A few apps not battery optimised as shown in screenshot.

Just like to share my "monthly" idle dump: Idle drainage at 0.3% per hour.

Definitely, I cannot confirm the complaints of quite a few people in the Google Play Store comments that the German Corona-Warn-app eats up their battery like hell. I just assume they don't know their devices and probably have set location to mode "high" or "device/sensors" permanently (and probably WiFi- and BT search enabled?).
[BetterBatteryStats] TNSMANI:
I think that you misunderstood what DB126 stated. He wanted you to go back to stock and test with BBS without installing any extra apps. Then another test with stock and all your personal apps. But you have taken the dump with LOS. So there is no change.

One issue I find consistently in all the dumps is that your mobile signal is weak and usually it drains a lot of battery.

Can you take another dump at a place where the mobile signal is better to test this?
[BetterBatteryStats] DB126:
Reread my post and noted a typo (since fixed) that reduced the emphasis of testing with pure stock sans apps. Lineage builds, which often include kernel mods, vary by device. If one or both (especially kernel) are not optimized for the hardware zombie drains or other performance anomalies can result. Personal app suite can trigger drains that are not present with vanilla builds/config. Gotta layer things on one (or a few) at a time to identify the culprit. A time consuming process that may not be worth the effort.
[BetterBatteryStats] Diesmiling:
Update bug

I keep getting update but after it's done I still get the update. Help?

I am on lineage os no root
[BetterBatteryStats] DB126:
No idea what this means (aside from complete lack of specifics) ...
[BetterBatteryStats] Diesmiling:
I mean in keep getting the update notification even after I update the app.

---------- Post added at 10:02 AM ---------- Previous post was at 10:01 AM ----------

I mean i keep getting the update notification even after I update the app.
[BetterBatteryStats] DB126:
Ignore or silence the notifications; some things aren't worth digging into.
[BetterBatteryStats] Diesmiling:
I just get notification inside the app.

Just to have ignore it I guess
[BetterBatteryStats] pjadec:
Which version of BBS is in use?

The latest version of BBS is 2.5.341.

To get newest version of BBS

Post 2 find "Get release candidates here" click here and download newest version BBS.
[BetterBatteryStats] baiosss:
Why I can't make dumps work properly? I followed the instructions but gives me that.

https://drive.google.com/file/d/1602frQMUA6D0u2jjNNTtFSxBD3rRwl22/view?usp=drivesdk
[BetterBatteryStats] Oswald Boelcke:
I apologise but I'm unable to check your file as it requires me to have a Google account and to log in.
[BetterBatteryStats] DB126:
[MENTION=4226861]baiosss[/MENTION] - you need to open up access in Drive so those without Google accounts can view file. Search for details if needed (this is not a drive support form)
[BetterBatteryStats] baiosss:
Is it okay now?
[BetterBatteryStats] TNSMANI:
Thank you, now it is visible.

But I am not able to understand your issue. You seem to have unlocked the screen 20 seconds after it switched off and saved the dump. So the dump covers only 20 seconds. If this is what you did, then the dump shows it correctly.

What you need to do is after the screen switches off, leave it without touching for a minimum of 6 hours and then on unlocking the screen, adjust the options to 'screen off' and 'current' (as you have done this time) and save the dump.