yashsingh1/xdaforums huggingface dataset:
[BetterBatteryStats] chamonix:
With location provider I meant the choice between e.g. Cell location and GPS.

To your stats: 1:20 awake in 4 hours 30 is still very high, over one hour is allocated to network traffic.

Cell location is still high (count) so there is another app using location.

The traffic causing the wakelock is not visible in the passive wakelocks so you may need to go and freeze the services one by one till the traffic stops. I would start with vonage and avast.
[BetterBatteryStats] chamonix:
Take a deep breath, run bbs and provide a dump "since unplugged" after leaving your phone alone for 3-4 hours. Without this information there is no way to help you
[BetterBatteryStats] iovaniorgovan:
Hello people.

Has this question been answered before? it's about 3 weeks old.

I've got a 14% drain 8h50min of idle, with 2G data on. The expected drain was around 4%. Those kernel wakelocks were on top, just like with Hrithan's phone.
[BetterBatteryStats] goddamnit:
Try AutoRun manager Pro ,uncheck all the box of google map .

And restart your phone . But you must have root access to do that
[BetterBatteryStats] chamonix:
Your main concerm should be rescuetime and *backup* (the android cloud backup). You may want to think about using a local backup like titanium and turn the cloud backup off.

Looking at your Alarms bmw is waking up your phone every 90 seconds, thats a pretty expensive active monitor.
[BetterBatteryStats] iovaniorgovan:
Sorry for being a little offtopic, but how does *backup* android could backup actually works?

I have it always enabled since I started using ICS in i9100, and I fully wiped the phone many times to install/reinstall different roms, but it didn't restored anything to my phone. And is see it active in the BBS log.
[BetterBatteryStats] glennkaonang:
Hi, sorry for posting the same issue so many times.

I still couldnt get this problem solved.

As you can see I'm on 2G and the signal is good. But my phone wakes up so many times. I did a fresh install with no 3rd party apps installed.

The only thing that is running is Google Talk.

I've checked in running services, there are only: 1. GoogleMessagingServices & NetworkLocationServices under Google services 2. Android keyboard

I've turned off everything, from auto sync, backup to NFC.

What is modem_ip_rx anyway?

I've tried all radios available for my device, almost all kernels and ROMs, but this wakelock still persists.

What is weird is that I have good signal quality, as shown in the screenshot.
[BetterBatteryStats] chamonix:
Version 1.7RC1 out for testing

Some bugfixes and new features. Please check changelog in post #2 and report any problems here.
[BetterBatteryStats] sintaku:
I don't even think I have the cloud backup on. How do I switch it off? Only thing I want is the syncing of my gmail and stuff, is that related to cloud backup?

I'm gonna probably remove bmw cos even though it is logging every 10 mins it is still waking up every minute.
[BetterBatteryStats] chamonix:
Setting - Backup & Reset
[BetterBatteryStats] cdmackay:
Seem to be working well, thanks.

One oddity is that it installed as a separate, new, app, rather than replacing my 1.6.x installed version. Is that intentional?

Caused me some confusion... when the old one kept appearing instead of the new one... :)
[BetterBatteryStats] x3nophobia:
hi, sry to ask, but im new here, does this work with ICS ROM? and how to use it?
[BetterBatteryStats] gradesm:
Also, how do you use viber? if you don't use it that frequently, u can stop it's wakelock by exiting the viber app properly by going settings / exit. that would stop the wakelocks but you will not recieve messages and calls during that period. If you are expecting any msg and calls just simply open the app and exit by pressing the back button.

As for cloud backup, all it does is backing up the settings and data of the apps you downloaded from google play. Its much more efficient to just use titanium backup to do it.
[BetterBatteryStats] cdmackay:
yes, it does; detailed notes are in the first few posts of this thread.
[BetterBatteryStats] chamonix:
Could you check the package names of both. Maybe I did something wrong on one of them. It's supposed to be com.asksven.betterbatterystats_xdaedition
[BetterBatteryStats] suku_patel_22:
No issues works fine, replaced my old 1.6.1 no issues there

Swyped from my HTC Desire S....
[BetterBatteryStats] kastaldi:
Same here, my phone is a LG Q6 with Android 8.1.0. I disabled and enabled again BBS permissions (click on the bottom OK) then I restarted the phone and the red line disappeared. Anyway I still have a BBS notify in the upper left corner but it seems to work.
[BetterBatteryStats] gigel20007:
Hi,

I apologise I didn't follow precise instructions from first post.

Attaching now dump in the (hopefully) correct way.

What I did was fully charge, let it drain from 100 to about 80, open BBS, set left menu to "screen off" and right menu to "screen on", locked the screen, placed the phone face down untouched, let it there overnight, unlock screen, tap refresh in BBS menu, tap share button.

After navigating to export folder, without letting the device to sleep the display, a couple of minutes later I came back to BBS and exported again, making sure again on left says "Screen off" and on the right "screen on". Attached both dumps. This time cell signal appears to be good. The Android battery saver and Data saver options were turned ON all the time.

Thank you!
[BetterBatteryStats] TNSMANI:
Your awake screen off time was very high at 4+ hours.

You seem to have an issue with your wifi router. Though it was on all the time, background downloads/uploads happened only on mobile data. This is significant: "

WLAN timeout (*api*): 1 h 27 m 12 s Cnt:(c/wc/ec)15549/0/0 10.4%"

Reset your router by switching it off for 10 seconds atleast and then switching on.

This time the mobile signal was great.

Nextapp caused 169 alarms ie. 12.1 per hour. Control it or disable it for the next dump.

Widget updates were next with 84 alarms.

Apart from these, I don't see anything significant. So take the above recommended actions and then post another dump. We will see.
[BetterBatteryStats] klorgfasder:
My Samsung Galaxy 10e, (on latest update) seems to not go into deep sleep at all anymore, Screen On time is a 100%, so is the 19030000.decon_f (which I understand from one of the early posts in this thread to be a symptom, not a cause). Battery drains completely within 24h

I loaded the phone to 100%, plugged it off, and let it alone for 7h 39m. Its screen was black/off the whole time. Then I exported the attached dump - which I do not understand, because there seems to be no culprit causing a permanent wakelock: "Screen On (): 7 h 39 m 1 s 100,0%"

Because of these entries:

I also tried wifi off and flight mode on ... no deep sleep either, Screen On time at 100% all the same.

I'd be grateful if somebody could give me a hint.
[BetterBatteryStats] pjadec:
Kernel Wakelocks

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

19030000.decon_f (*api*): 7 h 39 m 1 s Cnt:(c/wc/ec)0/0/0 100,0% Sensor problem probably. I did't find any resolution for that
[BetterBatteryStats] klorgfasder:
I searched that and all I found was it to be a symptom, not a cause: https://xdaforums.com/t/what-are-th...0-decon_f-ssp_wake_lock.3390488/post-67844489
[BetterBatteryStats] pjadec:
some application may be causing the loop, but i can't fix that bug. AOD maybe bug? Because screen was on all time
[BetterBatteryStats] carlitobahsoun:
any help plz ?

full charge / unplug / used the phone for 4 hrs / than go to sleep and after 8 hrs sleeping got this , dont know what is that
[BetterBatteryStats] TNSMANI:
Perhaps related to heartrate monitor? Not much info on this.
[BetterBatteryStats] carlitobahsoun:
after some google reading , its new technology that allow u to open car and other wireless methods , wired coz its new in last patch feb AUB9 in s21 ultra .

i will disable it using ADB and will test tomorow .

thanks
[BetterBatteryStats] klorgfasder:
Thanks for your help! What is AOD? Screen was "off" all the 7 hours. "off" meaning black, nothing shown.
[BetterBatteryStats] It_ler:
AOD = always on display ;)
[BetterBatteryStats] TNSMANI:
Though you were seeing a black screen, BBS records that the phone was 'awake, screen on'. I don't know the cause. May be the

A

lways

O

n

D

isplay.

Since it is a kernel wakelock, there may not be any other method of controlling it short of looking for another kernel for your phone.
[BetterBatteryStats] curiousrom:
But in your screenshot it says "Aktualisiert am 27.10.2019" and in the link of post #2 Get release candidates here it says currently: "Version 2.5-341 (98) Oct 26, 2019" so maybe the last numbers differences are just the dev's way to differentiate the XDA version vs. the Play Store one.

***
[BetterBatteryStats] klorgfasder:
Thanks!

Thanks! The phone was (still) on the official Samsung 'Android' and latest updates. Your assessment is what I feared. I'm currently moving to my old s4 mini (on Android 11 thanks to arco68!) in order to factory reset the s10e and try again ...

Incidentally there just was an update by Samsung today, installed and am testing again ...
[BetterBatteryStats] klorgfasder:
For the record:

- The update did not solve a thing.

- A factory reset did: After that it did Deep Sleep 99% again

Tentative conjecture of the real cause: When I bought and setup the phone 18 months ago, I adb disabled a lot of its bloatware - among those was also Samsung's Always On Display. I had no problems for 17 1/2 months - until the January'21 update from Samsung, which maybe messed with that ... But it also could have been something completely different.
[BetterBatteryStats] tomboudiboudi:
Hi guys,

There is my dump, 17% overnight drain:

https://1drv.ms/t/s!Ah26xe18QywVkPECNqvvGPt-O8FB2w

Would anyone be kind enough to take a look and give their opinion?

Kind regards
[BetterBatteryStats] TNSMANI:
Nothing significant is registered in BBS, as far as I could see.

How old is the battery?
[BetterBatteryStats] tomboudiboudi:
Thanks for taking a look!

The battery is 1 y.o or so.

The fact is that I can remenber my phone draining the battery way less some weeks ago, and I can't tell why it's worst today. I talk about 1-2% drain overnight, against 15-20%. It was usual to get 36h autonomy on a single full charge, with 4-5h screen on.

Today my phone was 100% charged around 8:00. Now it's 12:00, and 52% battery lefts for just 1hour screen on...

I can barely reach 10h autonomy on a single full charge, and I'm not an heavy user (really few phone calls, a bit of messaging, no video/audio streaming at all, a bit of web browsing but mainly reading long articles).
[BetterBatteryStats] TNSMANI:
Even if the battery is one year old, if it is a replacement battery, even from the OEM, it may behave like this. It depends on whether it was a genuine product and even then how long it was on the shelf before being fitted into your phone.

Let others also look into your dump and see whether I missed anything,
[BetterBatteryStats] tomboudiboudi:
I understand what you mean, but my phone has lost 2/3 of its autonomy in 3 weeks, so I seriously doubt that battery chemicals has to be looked at.

I let BBS run since 8:00 when my phone was fully charged. I could generate a dump this evening, just before it totally drains out. Do you think it would be useful?
[BetterBatteryStats] Oswald Boelcke:
@tomboudiboudi @TNSMANI No eye-catcher at all in that idle dump. All looks so decent to me that I'd assume possbily 0.3 - max. 0.5%/h drainage. I also guess it's the battery itself.
[BetterBatteryStats] mara-:
Anyone know what sensor sar_detector does and how to stop it? BetterBatteryStats shows it is running all the time on my Mi 9T with the latest update (all stock). I'll attach the dump. I am losing 10% overnight, and my only suspicion is this sensor.

(Phone Services): Sensor: sar_detector Wakeup(9), wakeup=true, Time: 21 h 5 m 7 s

I would appreciate any help.
[BetterBatteryStats] TNSMANI:
The dump you have attached is a 'in use dump' not an 'idle dump' as described in the OP and the next two posts. The phone was in use for nearly 5 hrs.

Please post an idle dump to enable us to analyse.
[BetterBatteryStats] mara-:
Sure, I'll make a new after I leave it idle overnight. But still, that sensor is strange. It matches the time since Unplugged, which means it's running all the time.
[BetterBatteryStats] Oswald Boelcke:
SAR

This is a definition I've found by a web search, and it somehow sounds reasonably that it's applicable to your device:

Source: https://www.semtech.com/products/smart-sensing/sar-sensors

However, I'm not at all familiar with your device i.e. no idea how to turn it off. And if it's kernel related you can't do anything with an unrooted device anyway.
[BetterBatteryStats] einleger:
Hello, I assume this is for newer Android versions? I'm with Android 6.0 and would prefer to not to see the "Event processing" notification. However, I would like the BBS watchdog notifications come through. If I go to Settings, Apps, BBS, Notifications, there's only an option "Block all". So, the setting you are referring to is Android setting, yes?
[BetterBatteryStats] mara-:
Here is the new dump. I hope this one is okay. Personally, I don't see anything except this damn sar_detector. Any idea anyone?
[BetterBatteryStats] TNSMANI:
I am on Android 10 and it is possible to limit it. No idea about earlier Android versions. And, yes, I was talking about the Android Settings.
[BetterBatteryStats] TNSMANI:
Obviously you didn't fully read the instructions. This dump is also an 'in use dump'. The screen on time should be in seconds (as less as possible), not minutes.
[BetterBatteryStats] cpoxda:
re: Enable watchdog

Hi, I installed BBS from play store (2.5-344) on Samsung S20 FE 5G (snapdragon), running Android 11 (stock ROM). I was able to run the 3 ADB commands successfully. I want to post a dump and I want to do it correctly. In the opening post, it says enable watchdog processing in BBS settings. Is it enabled by default? I don't see any obvious checkbox in settings to enable watchdog. What I see is settings > Misc: Watchdog > Reference on unlock (checked). Warnings are default, 30% and 10 min. Does that mean that watchdog is enabled?
[BetterBatteryStats] TNSMANI:
It is enabled by default now. I think previously it was not and that was why the OP contains that instruction.

What you find under Settings now is enough for taking the dump.
[BetterBatteryStats] prashetio:
this support for Android 10?
[BetterBatteryStats] vgwit:
Hello experts,

could you give me a hint why Google Play servicies draw so much out of my phone's battery? It holds 1-st place and consumes 2-3 times more than screen, watsup of facebook. With data transfer (4G LTE) on my phone consumes 8-9 % per night. With 4G off - about 3%.

I had a look in BBS dump created during night but could not figure out the culprit. By the way, why WiFi On () string show 100% while it was switched off?

Thanks,

Vlad
[BetterBatteryStats] TNSMANI:
Yes
[BetterBatteryStats] TNSMANI:
Your mobile signal was slightly bad for about 15 minutes. This usually drains more battery than an excellent connection. And 4G will drain more.

You seem to have switched off both mobile data and wifi. This will choke the apps and services and drain more, in my opinion. If you have wifi connected and mobile data on or off, you are likely to get better drain rates. But the stats indicate that mobile data was on and background uploads/downloads happened. Did you switch on data after unlocking the phone but before saving the dump?

Location or Location Scanning was on and caused some drain. If you require it even during sleep, you will have to bear with some elevated drain.

Wifi on means that your router was on and wifi was available. If it is connected, you will get another field 'wifi connected' which will indicate how long wifi was connected.
[BetterBatteryStats] vgwit:
Thank you TNSMANI for your reply. Mobile data was on during stats collection. Is it possible to find out which apps did that upload/download ? Probably it worth to collect another night dump with mobile data off to compare.
[BetterBatteryStats] Oswald Boelcke:
These are the indications from your idle dump.

======================
Network
======================
10043 (Mobile) (Сервіси Google Play): 690.0 KBytes 32,2%
10210 (Mobile) (UID): 687.0 KBytes 32,1%
10367 (Mobile) (org.kman.AquaMail.AquaMail): 256.0 KBytes 12,0%
10068 (Mobile) (com.android.vending.Google Play Маркет): 95.0 KBytes 4,4%
10113 (Mobile) (com.google.android.googlequicksearchbox.Google): 60.0 KBytes 2,8%
10345 (Mobile) (com.whatsapp.WhatsApp): 51.0 KBytes 2,4%
10213 (Mobile) (com.sec.android.app.shealth.Samsung Health): 47.0 KBytes 2,2%
10232 (Mobile) (com.microsoft.appmanager.Супутник вашого телефону): 40.0 KBytes 1,9%
10197 (Mobile) (com.sec.android.daemonapp.Погода): 36.0 KBytes 1,7%
10460 (Mobile) (com.samsung.android.email.provider.Електронна пошта): 35.0 KBytes 1,7%
10366 (Mobile) (com.touchtype.swiftkey.Клавіатура Microsoft SwiftKey): 23.0 KBytes 1,1%
5018 (Mobile) (UID): 20.0 KBytes 1,0%
1073 (Mobile) (UID): 18.0 KBytes 0,9%
10307 (Mobile) (com.skype.raider.Skype): 15.0 KBytes 0,7%
10039 (Mobile) (com.sec.android.app.samsungapps.Galaxy Store): 12.0 KBytes 0,6%
2904 (Mobile) (2904): 11.0 KBytes 0,5%
10072 (Mobile) (com.osp.app.signin.Samsung account): 11.0 KBytes 0,5%
1000 (Mobile) (Система Android): 9.0 KBytes 0,4%
5009 (Mobile) (com.samsung.android.scloud.Samsung Cloud): 9.0 KBytes 0,4%
10326 (Mobile) (com.opera.browser.Opera): 7.0 KBytes 0,3%
0 (Mobile) (0): 3.0 KBytes 0,1%
1021 (Mobile) (1021): 717.0 Bytes 0,0%
10212 (Mobile) (com.samsung.android.oneconnect.SmartThings): 52.0 Bytes 0,0%
[BetterBatteryStats] peterlee928:
howdy all! quick question - i downloaded bbs v2.6-378 onto my non-rooted pixel 3xl w/ the march update. all permissions are granted (ran the permissions using adb), but the status says: "FAILED: Transaction failed on small parcel; remote process probably died." the summary page always shows "No stats have been collected yet." any idea on how to fix? much thanks in advance!
[BetterBatteryStats] bobby janow:
Only way I have found is to uninstall and reinstall 2.5-358.
[BetterBatteryStats] peterlee928:
so you havent been able to get any of the 2.6.xxx versions to work for you?
[BetterBatteryStats] bobby janow:
No I haven't. First one FC, second couldn't see the screen text, this one no stats.
[BetterBatteryStats] chamonix:
I am afraid I caused that. I use staged rollouts and go in 5% increments. I had completely missed the fact that the counter was at 95% instead of 100%, so I guess you were in the 5% that did not get the release: apologies for that.
[BetterBatteryStats] chamonix:
I pushed an update yesterday that should have addresses the FC as well an issue with the dark-mode. The update is due to Google forcing targetSdk 29 for G-Play deployments so I had to do quite some refactoring and add permissions.
[BetterBatteryStats] fubo73:
I am on 2.6.378(99) from app center and dark mode is not ok, always showing light.
[BetterBatteryStats] vgwit:
Thanks for the reply.

It is quite obvious, but it is known that very different apps can hide itself behind GPS (Google Play Servicies) or work via GPS. They can show near 0% of battery usage in native battery monitor but their power consumption is somehow converted into GPS percentage. I can not freeze GPS, hence the aim is to figure out those apps in order to tune them.
[BetterBatteryStats] bobby janow:
That fixed those 2 issues for me but I cannot get past the "no stats collected" no matter what permissions I adb and fix. CPU states work and network works but summary, alarms, and partial/kernel wakelocks do not record. I unplugged, plugged back in, restarted with and without power attached to no avail.
[BetterBatteryStats] chamonix:
I noticed the battery_info stopping delivering stats after a while. Does a reboot solve your issue?

Edit: typo
[BetterBatteryStats] chamonix:
What version of android are you on?
[BetterBatteryStats] bobby janow:
Unfortunately no. But the 2.5-358 is still flawless.
[BetterBatteryStats] fubo73:
MIUI 12 with android 10
[BetterBatteryStats] chamonix:
This is what I was afraid of. G-Play requires the minSdk to be moved-up every year, but wach new version comes with more restrictions, e.g. in using the private API that Google tries to prevent devs from using. I will do some more analysis but I may have to revert back to the older SDK if it is more stable, and potentially pull BBS from the appstore
[BetterBatteryStats] chamonix:
Can anyone else confirm if the dark mode / theme is also broken on their side? (Unfortunately it works for me)
[BetterBatteryStats] x潮騒x:
I have the same problem, samsung, android 11
[BetterBatteryStats] mrjuniork:
Dark mode, after a restart as you suggested, works now properly. (2.6-378)

Collecting stats ain't working yet (permissions are all good) but I'll have to check first, if there is something on my end.
[BetterBatteryStats] peterlee928:
everything seems to work well on my pixel 3xl. but the issue persists on my samsung tab s6 (wifi only).
[BetterBatteryStats] sfwnsyfqs:
Hello. Can someone take a look at my dump file? Is it still okay for my 3 years old device?
[BetterBatteryStats] sfwnsyfqs:
https://drive.google.com/file/d/1-Sv1LKfqZvTpauvdIygZ70XDcbJuCnGg/view?usp=drivesdk
[BetterBatteryStats] TNSMANI:
Location or Location Scanning seems to be on.

Background upload/download of about 28 MB by Photos.

There is some issue with the wifi router. Reset it by switching off the router for 10 seconds and then switching on. Also disconnect any other device connecting to the wifi for the next dump.

Significant Motion Detector sensor was engaged for nearly 5.5 hours.

Alarmtimer kernel wakelock was on for about 48 minutes. Do you have any clock widgets/alarms especially third party ones?

Considering the above and the age of the battery, the drain of 1% per hour is acceptable.
[BetterBatteryStats] sfwnsyfqs:
Thanks for your time.

Is there any way to reduce the Significant Motion Detector sensor time? I don't know what to do about it because it was engaged by Google Play services and Android System.

As for the Alarmtimer kernel wakelock, I don't have any 3rd party app clock/alarm and didn't use clock widgets.
[BetterBatteryStats] mara-:
Can someone take a look at this dump? I lost 9% during 8 hours idle. My suspicion was sar_detector but I checked on other Mi 9T and it has the same behavior (running all the time) but no battery drain. Any idea here?
[BetterBatteryStats] aszabo13:
Hello, can somone analyze the dump, please? What can cause this huge random "instant" drain? Happens every day. Thank you!
[BetterBatteryStats] lapirado:
Hello. Noob question: "wakeup=false" (sensors) means that the same sensors are off?
[BetterBatteryStats] TNSMANI:
Sorry for the delayed reply.

Your mobile signal was not great and usually it is a big drainer. Try to locae the phone at a place where you have a better signal, while taking the next dump.

This was a huge drainer. Switch off the AOD for the next dump.

Location/Location scanning was on. Do you require it while asleep?

FaceBook also contributed to the drain.

The usual background upload/download of about 7 MB also caused some drain which you can't control unless you block the upload/download process. I wouldn't advice that.

Try to control the above and post a new dump. We'll see.
[BetterBatteryStats] TNSMANI:
The dump is not an 'idle' dump. The screen was on for nearly half the time. It is also for only 3+ hours as against the requirement of 6+ hours. Please read the first two or three posts of this thread and post an idle dump.

How old is the battery?
[BetterBatteryStats] TNSMANI:
I don't know what it actually means. But whatever it means, you can safely ignore any reading that shows 'false'. It doesn't affect your battery.
[BetterBatteryStats] lapirado:
Great! Thank you 👍
[BetterBatteryStats] Dazedfordays:
Three week old device won't sleep. Reflashed firmware yesterday and issue persists. Thanks for any help.
[BetterBatteryStats] peterlee928:
update - now it is reverse: works on my samsung tab s6 (march 2021 variant, not rooted) but doesnt work on my pixel 3xl.