yashsingh1/xdaforums huggingface dataset:
[BetterBatteryStats] DB126:
Questionable guidance:

- Doze handles dynamic/static transitions just fine in Android 7+

- even if it it did help would not apply to posters device which is unrooted w/o setting other permissions via ADB

- Naptime is known to cause unwanted side effects in certain configurations; better to identify root cause vs managing symptoms

---------- Post added at 06:46 PM ---------- Previous post was at 06:42 PM ----------

Don't get distracted by wakelocks as they are rarely the root cause. Try disabling location services when device is in motion. This is obviously not a solution but may help narrow problem sources.
[BetterBatteryStats] strongst:
Your device does not enter deep sleep, it's idling on the lowest cpu frequency like that member https://xdaforums.com/showthread.php?t=1179809&p=77091731.

Check under cpu sections, no deep sleep entry, nearly all the time at the time:

652.8 MHz (): 5 h 51 m 56 s 96.8%

Check with the linked post and read the following answers/suggestion there :good:
[BetterBatteryStats] fcaronte:
Today good results :laugh: in my normal work day with low use and a lot of stanby in my pocket I have 3%\hour and for my s7 3years old is a record.... For me the major change I've done is to change all email (exchange with push notifications) from sync all to sync 3 day only becaus, if I understand right , with sync all it download every time all my email and not only the new one.....is right? I post the log to see if I can do anything to increase a bit more....on the log you can see Vodafone app I don't know why ( with background disable and connection in background disable too) use more 10minuts wake on only few hour... After force close is stop and return normally.

A question... Is Bluetooth on and not connected to nothing with a near device to pair can increase the drain? This night I try to stay 8n standby and Bluetooth use more 15% battery in 6hour!
[BetterBatteryStats] strongst:
Email sync all the time aka push mail is known for high drain cause it polls the server frequently for new mails.

Your Vodafone app is an example of a badly programmed app that drains your battery while keeping device unnecessary awake.

Bluetooth on and not connected to any device compared to Bluetooth off definitely increases drain(im using a Smartwatch).

Fyi: download of the file does not work, 404 error.
[BetterBatteryStats] fcaronte:
I try upload again. For Vodafone I found in the setting a switch to permission to take position ect for statistics and now I remove all.

I want add that all day I've Bluetooth on with my amafit pace
[BetterBatteryStats] strongst:
Dump now readable :good: but it contains too much screen on time to analyze deep sleep behavior. Only some seconds(or just unplug it from full charging), otherwise it's impossible to break it down.

Signal quality also isn't the best for ~5 hours, that impacts the drain too. Good signal quality(and 4g+) will lead to excellent idle drains.
[BetterBatteryStats] fcaronte:
this moring i forgot to save the log with the bluetooth problem :(
[BetterBatteryStats] fcaronte:
I made night log with Bluetooth not connected but see an old mi band 2 to pair (I think is the problem to stay awake a lot) next try same but connected with Bluetooth and I will try with Bluetooth off
[BetterBatteryStats] fcaronte:
Day two same test with Bluetooth connected to my amazfit pace and like I think it use minor battery than try to search to a device to pair.
[BetterBatteryStats] strongst:
Yeah that's correct, I'm second that, it's the same on my Pebble Smartwatch
[BetterBatteryStats] fcaronte:
Day 3, last try with Bluetooth off (this time cannot start from 100% but think not change to much )

Today I'm try again a workday with naptime installed
[BetterBatteryStats] strongst:
I would say it looks good so far. The only culprit is the poor mobile signal nearly all the time which can lead to higher drain as always.

For references maybe it's possible for you to repeat the same test within area of good mobile coverage.
[BetterBatteryStats] fcaronte:
Inside home in Italy I difficult have more than 2 max 3 signal bar....I can't try with 3g or 2g but 1-1.5 %\h I think is a very good results for my old s7
[BetterBatteryStats] strongst:
Yeah, the result is good so far, the drain is in my opinion caused by the signal strength.
[BetterBatteryStats] krabban:
My BBS doesn't show deep sleep at all. Is that because my phone not deep sleep. Or should it be there anyway ?
[BetterBatteryStats] strongst:
Yeah, maybe. You can check it with bbs CPU States screen. If there's no entry at all, your device won't go to deep sleep probably.
[BetterBatteryStats] krabban:
I rebooted my phone. And now I can see it :)
[BetterBatteryStats] TNSMANI:
As strongst said, your major issue is mobile signal.

But I presume this relates to the smartwatch: com.lumaticsoft.watchdroidphone (*api*): Wakeups: 64 (11,5 / h) If you had switched off BT, how come this appears?

Apart from these, your wifi and mobile data are constantly switching back and forth. This will definitely consume some battery. Switch off your wifi router and restart it after about 10 seconds. This will reset your router and "may" solve this issue.

There were downloads and backups happening while the phone was sleeping and this would have consumed some battery.

Otherwise, considering your app setup, usage pattern and device, the drain should be considered acceptable.
[BetterBatteryStats] fcaronte:
Yes with s7 I've problems with Vodafone router and 5ghz WiFi that give "no connection" but 2.4ghz have more connection that distrurb signal for watchdroid I can switch off server when I'm not use it and yes probability when not connected on smartwatch use more Power than connected to device
[BetterBatteryStats] j1gga84:
Anybody has an idea what this *net-scheduler* wakelock on top is about

and how I can eliminate it?

Regards
[BetterBatteryStats] strongst:
It's the network connectivity wakelock of your Google play services. If you block this wakelock Google play services are not able to work correctly.
[BetterBatteryStats] DB126:
Wait - you can see a wakelock it therefore it is presumed to be a problem and needs to be eliminated. Great.
[BetterBatteryStats] j1gga84:
No, not at all but I read in several posts that this wakelock can cause enormous battery drain so this is why I was asking.

When it is a Google Play Services "issue" all is good because the Google crap is known to be a big battery eater ;)

Regards

Sent from my SM-G960F with Tapatalk
[BetterBatteryStats] DB126:
Actually not. Google Services are leveraged by most applications/developers to perform essential functions that are largely device agnostic. Android and other battery monitoring tools correctly align this usage with Google components performing services on behalf of installed apps. Is some of this usage organic for the benefit of Google? Of course, but it's is a much smaller percentage than most assume.
[BetterBatteryStats] Vahooli:
guys could u help me? i know I should dump in idle time but i have problem when im using phone! ihave unormal wakelock from *job.delay*! really high! i format my phone and upgarde to oreo but after 1 day again wakelock with *job.delay* while using or standby with net connection. its my dump :
[BetterBatteryStats] strongst:
I really can't find a a thing that has a huge impact. The mentioned job.delay is an alarm, not a wakelock. And you can reach easily 3+h screen on time towards 50% and have actually only 47min of awake time while screen off.

In my opinion it's a good dump. There are a lot with worst stats.

Just enjoy it and ignore your observation:good:
[BetterBatteryStats] Vahooli:
thank u man for ur answer, but u know when i install new rom i havnt this alarm and screen on is about 8hrs but with this alarm i have about 6sot, now in alarm list android is at first of list and about 40/h wakelock.
[BetterBatteryStats] Vahooli:
and my second question is what is "smart manager framework thread " and "smart manager framework message "? they have high count in partial wakelock !
[BetterBatteryStats] DB126:
Wakelocks have zero impact on "sot" however you decide to measure that. The events you describe are symptoms of some other issue.
[BetterBatteryStats] Vahooli:
aha, so when a trigger wakeup phone from sleep, isnt effect on sot? and do u know whats are there smart manager high wakeup counts?
[BetterBatteryStats] strongst:
SmartManager Framework Thread (Android System): 20 s Count:995 0.1%

As you can see, the count is high but the impact is only 20 seconds. That's nothing to worry about. If you have minutes, investigation is a point to think about :)
[BetterBatteryStats] Vahooli:
thank u, but i really curious why my job.delay is high! even i saw others dump or smartmanager and they are so low! i dont know why mine is high! even android 7or 8
[BetterBatteryStats] strongst:
Mine is also high and I don't care about it cause it has no impact.

Now I'm going out of the house and relax :cool:;)
[BetterBatteryStats] bradical711:
Hey so I'm on an SM-G950U rooted with SamPWNED and that is why in my batterystats I'm only charged at 81% because with the kernel we use we're capped out at 80% but it can vary higher. I was just wondering though if you guys could take a look and tell me what you think of my log.? Thank you guys in advance!!
[BetterBatteryStats] bradical711:
Sorry, my file wouldn't attach and post the first time
[BetterBatteryStats] strongst:
Sorry to say, but the dump is useless cause you charged your device while recording the dump... Please make a new one.
[BetterBatteryStats] bradical711:
Will do. Here's the thing however, when I originally did the dump file the other night, I let my phone charge completely to 80, and then I restarted it before taking the dump file. Like I restarted it and when it powered off completely I unplugged it and then let it sit on my dresser from then on to take the results after unlocking it once. I actually didn't charge it while I did that dump file, at all, it gained percent somehow over night recording the results but I am not sure how. It was 81 when I started the test last night and was 84 when I checked it 10 hours later...
[BetterBatteryStats] DB126:
Toggle watchdog service in BBS (enables screen off/on ranges) and let the device float down to 75-78% before capturing the next log. Far easier than playing the charge/unplug game.
[BetterBatteryStats] Arseon:
'since unplugged' showing wrong values. I was charging and unplugged in the morning, but it shows 1 day before. Huawei p20 lite 8.0.
[BetterBatteryStats] strongst:
Just use a custom reference from 3 dots menu or like described above.
[BetterBatteryStats] leprince2007:
I have these alarms:

Deviceidlecontroller.deep 959

Deviceidlecontroller.light 380

WifiConnectivityManager Schedule Periodic Scan Timer 150

Can you help me stooping these very big alarms,please?
[BetterBatteryStats] strongst:
Have you measured any impact of those alarms and do you know what these alarms do actually? If you can answer my question with "no" then forget your question ;)
[BetterBatteryStats] leprince2007:
I don't know, please tell me
[BetterBatteryStats] strongst:
If you don't know why you need to block those alarms(cause an Roque app causes them for example) and you just want to block it cause they are high in your opinion and you can't measure any impact then there's no need to block them.

High doesn't mean bad. Please read the last 2 pages for reference :good:
[BetterBatteryStats] DB126:
Concur (same member): https://xdaforums.com/xposed/modules/mod-power-nap-xposed-sony-s-stamina-t3077520/post77230806
[BetterBatteryStats] strongst:
Thanks for information, annoying those double posts... Really :rolleyes:
[BetterBatteryStats] FroZine:
Here ist some Log. Ich absolutely have No clue :(
[BetterBatteryStats] strongst:
There's more than 2h of screen on time and you're listening to music. I don't know what you want to be analyzed, but if it's the idle drain you need to refer to instructions in op how to provide an idle log.
[BetterBatteryStats] FroZine:
Thanks. Was posting late in the night. Will do it better after reading OP
[BetterBatteryStats] leprince2007:
Annoying? Why? Did I said someghing bad?

Why don't both of you want to solve my problem?

Threads in xda are not well organized. Threads should have indexes instead of searching like in 4pda site.
[BetterBatteryStats] glennkaonang:
My APN carrier has no predefined proxy server, but these wakelocks just don't stop.

One more question: Why does google services show big percentage of usage in battery use although I've disabled everything except gmail sync?

Thanks.
[BetterBatteryStats] look2:
Anyone know why the e-mail clients seemes to drain my battery in some posts up?
[BetterBatteryStats] LegendZenify:
Attached is my bbs log for normal usage, and on standby, and screenshots of my battery usage for normal usage.

Getting pretty high gtalk wakelocks on normal usage, and really high svnet wakelocks.

Hope someone can help me improve my battery life.

Thank you.
[BetterBatteryStats] BigMrB:
thanks for this app!
[BetterBatteryStats] The1Shark:
Does anyone have any idea why do I get this message ?

Reboot solves the problem but after a while the problem returnes.

Nexus s Rooted ics stock + Matr1x v17.

Thanks ,

the1shark
[BetterBatteryStats] josseb:
thanks for the help earlier. I wanted to get a new dump file after a day's usage, like asked, but somehow the problem seems to have fixed itself. The battery was almost depleted after about 14-15 hours, which is a lot better than it was before. Hopefully it stays that way:)
[BetterBatteryStats] chamonix:
Even if you feel the battery life is better please invest the time and take a fresh reading. Rules #1: always take a reading before and one after to confirm the effect (and sometimes find new potential)

Performance tuning is often like not seing the whole Forrest because you stand in front of a huge tree
[BetterBatteryStats] sintaku:
I have a HTC Desire with a 3200mAh Extended Mugen Battery.

I just charged my phone to full battery so the Dump from the app was only for the last 10 minutes.

But I've attached a few screenshots and the Alarm Dump.

I noticed com.jb.gosms has 300 wakelocks, is that normal? Maybe I should change to a different SMS app? I like the GoSMS design though.

And Facebook has 230 wakelocks. I've got updating set to Manual and it only syncs the contact details... would this make it that high?

com.latedroid.juicedefender has quite a few wakelocks (671), but the gain from it far outweighs the loss.

The only thing I'm worried is that if you like at my first screenshot. The awake time is massively more than the screen on time...
[BetterBatteryStats] chamonix:
I need to change the message as it seems that miui is not the only rom suffering from this problem. The message pops up when the binder of the service batteryinfo returns null data. This is a sign that this service has crashed (what should never occur as it is an Android Core service) and means there is a bug in the rom
[BetterBatteryStats] chamonix:
You phone suffers from two things :

- frequent wakeups

- large amount of data traffic

First you need to be aware of the costs of monitoring your phone. You are using battery monitor widget and have it configured to take a sample per minute (see the settings). This is far too often and you will never get a good battery like if you let a tool wake up your phone that often. I suggest a value between 5 and 15 minutes as long as you need to monitor. Be aware that active monitoring comes with a cost.

As causes for wakelock and traffic: both readings to not correlate but here are a few hints. I see that you have a lot of social stuff running like go chat, Facebook, social hub. Facebook is known to be bad in regards to battery like and I suggest that you go through your running apps and sort out what is not required. Then go to the accounts and check what is synced and how often.

Once you have fixed those issues take another round and share your results.

There are quite a few other things in your readings but because of the frequent wakeups it's hard to tell if they are a cause or a symptom
[BetterBatteryStats] chamonix:
What email clients? Please link to the post/dump
[BetterBatteryStats] chamonix:
Google Services do lots of stuff, not only messaging. They process, eg, payment, have push capabilities etc. When you click on the alarm you can see some details telling more about what they do
[BetterBatteryStats] polzovotel:
Thank you for this comment - I also have this issue - using WanamLite 8.7 beta ICS ROM.

The other problem is font colors - it is black on black background for drop down controls:

Is there is a workaround for the font/background color issue ?
[BetterBatteryStats] chamonix:
No there is none, BBS uses the default hollow theme for ics. Does this problem show with other apps developed for ics as well on your rom?
[BetterBatteryStats] jeremysherriff:
Bug - Wifi On time

@Chamonix, the BBS count/time for Other Usage/Wifi On is wrong I think? Maybe I misunderstand what it is intended to show, but I believe it shows the amount of time that wifi is active.

Attached are screenshots from the OS showing wifi turning on/off and using approx 4% of the battery. My wifi power policy is "sleep when screen is off".

BBS shows wifi @ 100% of the time.

I have attached a BBS dump as well, feel free to offer any constructive advice ;)
[BetterBatteryStats] polzovotel:
No - this is the first application that showed this behavior. All other applications I have - working correctly.
[BetterBatteryStats] rievna:
What is *overflow*?

I'm sorry if this has already been asked, I tried my best at searching around and didn't find an answer.

Using my partial wakelock stats, I managed to eliminate some of my partial wakelocks such as google location services etc which has helped greatly.

But my #1 wakelock is caused by something called *overflow* (41 min, count:712). Seems excessive, but my extensive googling isn't telling me what overflow is? All it says is *overflow*, no other indication of what it might be. :/

Thanks in advance!
[BetterBatteryStats] Karpfenhai:
Hey there, are you using Touchdown ?

If yes, block / freeze it and see if the wakelock is gone.

regards.
[BetterBatteryStats] rievna:
I'm not using any apps named Touchdown, if that's what you're referring to. If you're referring to a system component, I'm not sure what you mean or how to access it.

I have a Galaxy Nexus, btw, not a tablet, if that info is of any help in determining what my wake-lock issue is.
[BetterBatteryStats] jeremysherriff:
It's an email app, Touchdown for Exchange. I get the *overflow* wakelock and I use Touchdown, I'd also like to know what *overflow* means.
[BetterBatteryStats] DB126:
Because you do not have a "problem" that warrants attention. Device is behaving normally. Don't like the way XDA content is organized? Become a volunteer contributor and improve it!
[BetterBatteryStats] strongst:
With annoying I meant the fact, that you post twice on different threads and Davey126 and I trying to help you on different ends of the forum. Better to read the xda rules:

5. Create a thread topic or post a message only once, this includes external links & streaming media.

And you'll receive better, more detailed answers instead of wide spread ones. The search function is one of the best I know cause you can use Google(yeah, it's indexed by Google) by just type your question followed by "xda" or "xda developers" and you'll find everything. If you'll find nothing, have a look at here he rules and you know where to post.

Also I recommend this for administrative feedback: https://www.xda-developers.com/contact/
[BetterBatteryStats] leprince2007:
ٍSorry for bothering both of you
[BetterBatteryStats] Wesley_NL:
is this app still functional? got a s9+
[BetterBatteryStats] strongst:
Lol, of course! Just read back
[BetterBatteryStats] bradical711:
Alright so I redid my BBS stats. I got it right this time I believe lol. It took a couple days but I did it. If you guys wouldn't mind taking a look, I'd greatly appreciate it and get back to me when you guys can. Until then, have a good day!
[BetterBatteryStats] strongst:
Thanks! You've got 0.2%/h drain within over 8h with moderate signal.

That's incredible good! :highfive: there's really nothing to worry about imo!
[BetterBatteryStats] bradical711:
You're welcome! Anyways thank you of course for looking at my dump! Glad I could get it right. Anyways, I've looked at the log myself a couple times while I patiently awaited a response and I can understand it pretty well but I would like to ask a quick question. So Google Play Services used 16 mb of data but I've limited the Google Play Store, Google Services Framework as well as Google Play Services all with "allow background data usage" setting set to "off " but it still used data. I know you guys probably aren't app experts on Google play but did the log hint at all what the cause for that data sync was.? It also kept my device awake and I would like for both of those scenarios of using background data and keeping my device awake to not happen. I'm trying to achieve the dream the less than 0.09% idle drain lol and I'm very close. And last question about my log, I know 0.2% drain is amazing but I want better so was there any alarms or wakelocks worth mentioning that had a small impact in the very least? Thank you in advance for anyone who take the time to answer my questions and reads my log!!!
[BetterBatteryStats] strongst:
Today nearly every app uses Google play services for ip requests beyond the gateway. They can also be hidden behind the play services.

Anyway, if you want to spent more time on digging deeper, https://play.google.com/store/apps/details?id=com.glasswire.android this could be a tool for you. Imo it's not necessary as said already. ;)
[BetterBatteryStats] Wesley_NL:
Lol k just wanted to be sure its a samsung after all
[BetterBatteryStats] TNSMANI:
Phenomenal! That too with root, Xposed and on Nougat with mobile data being used all the time (no wifi)!

I have not seen anything approaching your achievement since the MM days. Be content would be my advice.
[BetterBatteryStats] mrmcshagbag:
I have a OnePlus 3 and I'm curious if doze is fully working for me. Here is a screenshot. I only see doze interactive and doze idle modes. I have seen other people have doze power save modes in there screenshots. I have not seen that ever with my phone.
[BetterBatteryStats] TNSMANI:
The screenshot is not sufficient evidence for any anxiety. If you are on Oreo, then most probably Doze is working alright unless you have evidence to the contrary.

If in doubt, save an idle dump for 6+ hours and post it here.
[BetterBatteryStats] yochananmarqos:
I received this popup message in BBS today after updating to Android 9:
[BetterBatteryStats] skimo12:
BBS dumpfile Fairphone

Hi there,

My fairphone has been having battery problems for a while and someone from the Fairphone forum recommended BBS. Please find my dumpfile attached.

I considered having Wifi on only when the phone is awake, but then i noticed that my mobile data was getting eaten up when i am at home or at work and have Wifi access. The screen also seems to be a big hog. Any suggestions welcome. I have 5 email accounts on gmail but I don't know if this is the culprit. I could try out BlueMail, if anyone had good battery experiences with it. I also uninstalled the usual culprits -Facebook, Messenger, Instagram.

I had to fight to get adb to work and my workaround to get my 'device' listed was to use the 'MIDI' mode. : )

Thanks for such a cool tool. I look forward to tracking down the battery consuming app.
[BetterBatteryStats] strongst:
Hi, the first fact is that hat your mobile signal is poor all the time:

Poor Signal (): 8 h 33 m 49 s 99.6%

And that can be the main culprit why it drains 1.2%/h overall.

Turn off mobile network in places with bad reception.

Maybe you can repeat the test within an area of good reception.