yashsingh1/xdaforums huggingface dataset:
[BetterBatteryStats] tboooe:
After going to bed with my phone fully charged to 100%, my phone was at 96% 8 hours later so about 0.5% drain per hour. Deep sleep was 97%. This was not in sleep mode (i.e. mobile network, sync, background data, etc was on). Needless to say I am very pleased!
[BetterBatteryStats] Hrithan2020:
Whoa!! That's really awesome!!..

Yesterday, I had kept my phone to sleep. [with auto-sync and mobile data off, and still was able to get over 97% deep sleep, svnet-dormancy only 4mins in over 8 hours, but due to some problem, possibly caused by alarm clock, it had over 14mins waketime]..

But, my battery went down from 100 to 84%.. :( ..

Anyway, will give it a try today also. And post a dump after today night and see :D..
[BetterBatteryStats] Scougar:
Just bought this on the market for support :-) (I assume it will help me diagnose any future issue, so thank you in advance for creating it :-) )
[BetterBatteryStats] tboooe:
hmmm..even with 14mins of waketime I dont expect you to lose so much battery. Do you have CPU Spy installed? It would be interesting to see what CPU freq was being used most while it was asleep. By the way, I have alarms set for every day of the week and dont have any waketime issues like you.
[BetterBatteryStats] Hrithan2020:
Around 5 mins 200Mhz, 6 mins 1200 mhz.I am using alarm clock plus, going to sleep now. Will see how it goes, and then guide a dump.
[BetterBatteryStats] Clarkkent434:
Anyone figure out KWORKER process issue? I am try to figure it out.
[BetterBatteryStats] jeremysherriff:
Make sure you're running BBS v1.5.1
[BetterBatteryStats] rmean:
Hi all :)

I have a very high (compared to the rest) count of wakelocks for RILJ.. anyone can provide me some information about this? :)
[BetterBatteryStats] dorwoo:
But i have wifi sleep policy set to never.
[BetterBatteryStats] Karpfenhai:
That 2.1+ points to the minimum required Android version [emoji12] you're right.
[BetterBatteryStats] rpr69:
What about Network notification and Scanning always available settings?
[BetterBatteryStats] Perseus:
Its only useful when you want to be told that there are Wireless Networks in Range. If you are looking for one, you can scan on your Own right ?

Instead of Never, you could also set it to, "Only when Charging".
[BetterBatteryStats] dorwoo:
He wasn't asking what those settings do, that question was for me and no, i dont have network notification on and neither scanning always available.
[BetterBatteryStats] aitvariux:
Guys,

I give up and have no idea what to do next. Changed battery, reformatted, changed ROMs,kernels, modems. Sometimes it just stuck on 300 MHz and not going to deep sleep and only a reboot helps to solve this till the next time.

https://docs.google.com/file/d/0B9deUgT65pOvMWFHMlNlellBdlU/edit?usp=docslist_api
[BetterBatteryStats] aikhome:
My phone actually is draining battery when switched off. I looked at service manual (in this site) and found out that power controller is not performing correctly. So I got broken hardware :(
[BetterBatteryStats] Tylonhh:
Thank you for your feedback.

1. Normally in the opener is written how to make an (perfect) log and how to post it. If people don't play with these rules they don't get support. You'll see how fast they learn. In the other mentioned (German) forum works it like charm.

2. You're totally right, I agree with that because I'm only with tapatalk in forums.

But you don't have to spoiler twice or something. Just reload the page.

But as you mentioned, new people don't know that. Maybe another hunt for the opener.

3. Who cares about that smilies? Over the time, I don't even recognize them.

4. My opinion is not to have more work when someone want something from me.
[BetterBatteryStats] Karpfenhai:
Okay, here it's what you could try (assuming you're root)

Open terminal emulator, switch root (su)

Then type : ps | grep z

If you see a process with a z instead of a pid (numeric value) then you are suffering a so called zombie process which will not appear in bbs.

This is mostly caused by a crashed background process due to a bad block on your storage.

It can be fixed by checking your filesystems. Figure out how to do so, check both of your storages.

Should cure the zombies.

Good luck, regards.
[BetterBatteryStats] aitvariux:
Appreciate that. Something new , will try this for sure. Thanks mate!
[BetterBatteryStats] dorwoo:
Ok, second night with drain and no damn clue what cause it, bbs looks fine again, phone wasn't awake.
[BetterBatteryStats] RASTAVIPER:
Latest version doesn't with correctly with Meizu M1 Note, based on 4.4.4

App is installed normally as system app, but it never shows correctly the hours that device is unplugged or since boot, show all statistics are wrong.
[BetterBatteryStats] Perseus:
You've posted the wrong Log. Instead of Logcat, can you post the Text Dump ?
[BetterBatteryStats] godlesplay:
[MENTION=1330150]chamonix[/MENTION] I think I found small bug (I can't read what is 'next'):
[BetterBatteryStats] dorwoo:
Sorry, don't have it anymore. I'll see tonight if it happens again and I'll provide that. But what could be? Maybe a gps related drain?
[BetterBatteryStats] Perseus:
Remember it needs to be Idle Log. Absolutely No Idea till you post the log. Better Turn off location Service and Reboot before leaving alone. If you don't want to reboot then you can plug in briefly and then disconnect before leaving idle. Either way the idea is to create a Reference point.
[BetterBatteryStats] dorwoo:
Never left location on, anyway, I'll do as you say.
[BetterBatteryStats] chamonix:
#682
[BetterBatteryStats] aitvariux:
Guys,

I don't understand. Please tell me, is it something wrong with this or not? Searching for zombies. Phone stay on 300 MHz and not going to sleep!
[BetterBatteryStats] shaggyskunk:
Which Rom are you running?

"Bye bye Sweet Canadian Moonshine"

Sent from my SM-N910W8 Running RRO Layered SlimLP
[BetterBatteryStats] aitvariux:
Sotmax ultimate stock v1. Well, I changed kernels, ROMs,bootloader. Checked filesystems, created logs with BBS and nothing. Can't find who is preventing from deep sleep. It just happening from nowhere. And only reboot fix this for some time.
[BetterBatteryStats] Karpfenhai:
Nope, zygote is perfectly fine here.. could you check our provide a logcat?

What happens after "pm: syncing filesystems" ? The next event after that is the one preventing sleep.

Regards
[BetterBatteryStats] aitvariux:
Mate, this is what i did. Checked zygote and file systems in adb mode with no errors. I never went so deep it was the first time. So don't really know what kind of log provide for you.are you talking about BBS log?

---------- Post added at 11:11 AM ---------- Previous post was at 11:00 AM ----------

And where I can find this pm syncing file systems? I need a help with this for sure :)
[BetterBatteryStats] dorwoo:
Ok, after 2 nights with no drain it happened again. I looked into the log and was an error repeating after some time: error writing to sys power state or something like that.
[BetterBatteryStats] danigraham:
So, this is my second go around with posting here. I am attaching a Log cat as well as the dump. A few days ago I used an app called My Android Tools to disable a whole bunch of services that were unnecessary. I am wondering if someone can look at these and tell me if it looks like I am doing okay. I still haven't figured out my wireless connectivity problem, it disconnects and reconnects instantly many times.

I plugged in my charger, unplugged, and set my reference point. I woke up to check the time so I turned the screen on at like 330am, alarm clock went off at 430, and got a text at like 5am, other than that I had it idle all night. I don't know if that matters or if that messed it up. If anyone has the time to check it out, I would appreciate it!

I will have to post two replies with the spoilers.

---------- Post added at 06:04 AM ---------- Previous post was at 05:59 AM ----------

Spoiler content hidden.
[BetterBatteryStats] chamonix:
I'll leave this here....

Happy easter everyone!
[BetterBatteryStats] danigraham:
DELETED
[BetterBatteryStats] danigraham:
I could not paste the text from my logcat, too many characters, so I have uploaded it as an attachment. I am really sorry.
[BetterBatteryStats] Karpfenhai:
A logcat is the output from Android default system logger, it can be taken by terminal, adb, certain apps or even within bbs, a -d could be useful for debug output.

Ask Google for help, there are plenty of hints.

Attach it here then.

Regards
[BetterBatteryStats] Nimueh:
Happy Easter to you too :)

Where can we get this cutie? :D
[BetterBatteryStats] chamonix:
Thanks!

I still have a few things to do and test but if things go well I will post the first beta by end of the week
[BetterBatteryStats] Karpfenhai:
Hey Sven, well done as usual, I'm sure you've put a lot of effort into it, but consider the option to keep "classic" design or to turn it off.

It doesn't fit to my color scheme.

Just a thought..

Regards
[BetterBatteryStats] chamonix:
You mean the classic color scheme or the looks?
[BetterBatteryStats] Karpfenhai:
Nope, I meant a version with no colors or circles at all :) as it is now ..

Don't abandon the current design, that's what I meant.

I don't wanna sound rude, a wise man once said: "Never change a running system" :) I don't know your plans or roadmap.. Just as reminder to slow down big visual changes.

Hope you got my point.

Regards and a great week.
[BetterBatteryStats] dasojie:
Hello Dev

Maybe anyone have idea why i spent more at com.android.systemui UID 10058 sys and surfacefilinger UID 1000 sys?

Regards

HTC Desire 601 kitkat 4.4.2 kofila kernel
[BetterBatteryStats] chamonix:
Sure, I got it and will.
[BetterBatteryStats] atrix4nag:
Hi can you please check the 2 logs that I created today morning.. one at 2 AM and other at 5 AM.

Please let me know need to tweek anything?
[BetterBatteryStats] danigraham:
Does anybody have the time to glance at the dump and log I provided? Spoiler'd the dump, the log was too long so I had to attach, sorry!! View original that I quoted, as well as two posts before it.

The reason I am asking is because I am not familiar with the android process system, but if someone could help I would love to learn ?
[BetterBatteryStats] Tylonhh:
LogCat is not necessary.

Yahoo and torch light are eating your battery.
[BetterBatteryStats] danigraham:
Is this a reply to mine?
[BetterBatteryStats] danigraham:
If this is a reply to mine, since I did see that torch was one of my wakes, I am going to post these screenshots.

Rom: DomPop v5.0.8

If I turn it off, maybe it would solve the issue? I do really use this feature so I might have to weigh the pros to cons, but I am curious if it would even help to be turned off.

Also, I don't even know what on my phone could have anything to do with Yahoo. I don't use it, knowingly.
[BetterBatteryStats] danigraham:
Is this safe to disable?

I don't use any stock cloud features or KNOX.....
[BetterBatteryStats] :
Thanks

This was doing my head in. It would stick until I rebooted then get denied again. You saved me a breakdown :eek:

THANK YOU!

Now to learn how to drive this baby. Thanks again!
[BetterBatteryStats] Duckwhisperer:
Experiencing battery problems:

To get the most out of my battery on my Oneplus One I decided to move to Exodus custom ROM last friday. I wiped everything with TWRP (except for Internal storage & USB otg)

I previously was on CM12 nightlies and only got like 4 hours SOT which isn't that much. On kitkat I was able tot get 6 hours SOT at max. Always with franco kernel.

Now what my settings are for optimizing battery:

-ROM: Exodus from 3rd of april

-Kernel: Franco Kernel r40

-Greenify with xposed module and donation package (all options checked): I greenified most used apps (including gmail, facebook, whatsapp, ...) except for facebook messenger (because apparently GCM push doesn't work with that one).

-Privacy guard: I disabled "keep awake", "wake up", "auto start" for most apps (including google play services).

-I also disabled google now and google location history.

-I turned off the google sync options for music, books, ... (all of which I don't use).

With the above setup, I imagine I should get around 8 hours SOT.

But in reality I get 2-3 hours SOT.

I've attached printscreens and a betterbatterystats log (I can't post it directly on forum because I have less than 10 posts).

Can someone help me?
[BetterBatteryStats] Perseus:
I'd think so. Give it a Try and then check.

You have posted an I-Use Log. Which makes it difficult to identify background processes from User Launched Foreground Processes. Also you have not granted Root Access to BBS. See OP Posts for the process to do so.

Do you have "Scanning Always available" Checked in Advanced Wireless Properties ? If so, please uncheck and reboot. How old is your battery ?
[BetterBatteryStats] Duckwhisperer:
1) What do you mean with I-Use log? In betterybatterystats, should I choose to share logcat instead of text dumpfile?

2) I've granted root rights with supersu and in betterbatterystats' options it is checked (root features). It's also installed as a system app. I do get an error when trying to look at kernel wakelocks, it says "An unknown error occured while retreiving stats". It worked fine under kitkat, wondering what's wrong here?

3) Wifi scanning is off, it's been like that for a while. I bought my phone at the end of november, so the battery should be around 5 months old.

4) I'm wondering, is it possible I "broke" something when I was on kitkat or cm12 nightlies that keeps hunting me on this other ROM? Therefor, should I also wipe "internal storage" and try to clean install again or can this not be the cause?

Thanks for the help!
[BetterBatteryStats] Perseus:
In Use mean the phone was being used during the period of this log. You need to Reboot and leave the phone alone for 5 hours without using it. Then pick the same Text file (Not Logcat) and post that here.

Uninstall BBS Completely, get the latest version, install, reboot then open the app and it will install itself with Root Permissions. Another Reboot and Change Settings to ensure Root features are enabled.

Ok that Rules that out.

Yeah. A Clean Flash would be nice but not recommending one just yet.
[BetterBatteryStats] Duckwhisperer:
Ok, BBS is working fine atm.

I will report back with a dump file asap (probably next morning).

In the mean time I've flashed to exodus 7th of april version (as it is supposed to be the best for the battery) and kept to the stock kernel.
[BetterBatteryStats] mcdavid:
Once this app is installed as a system app, how the heck can I uninstall it?
[BetterBatteryStats] carlese:
Menù - settings - advanced - system app there is an option to remove it as system app..
[BetterBatteryStats] Duckwhisperer:
Ok, I unplugged it and left it alone for 9 hours (during the night). It drained 25% of battery.

I've attached the log. When I look at the graphs there seem to be a lot of wakeups...
[BetterBatteryStats] dorwoo:
Set the WiFi to stop running when the phone is sleeping and check again.
[BetterBatteryStats] LiL_Assassin:
Batterydrain

Does anyone know how to attach a Logcat or do I need to use the web version? Also I don't know what my phones problem is. Any help would be great
[BetterBatteryStats] mdamaged:
Post a bbs dump, that screenshot is useless, logcat is also useless.
[BetterBatteryStats] aitvariux:
Guys,

i am back with two logcats ! I hope you can help me with this. I have no ideas left.

https://drive.google.com/file/d/0B9deUgT65pOvSXcxUnBhS0tmVGs/view?usp=sharing

https://drive.google.com/file/d/0B9deUgT65pOvN3BhblNjNWJOUFk/view?usp=sharing
[BetterBatteryStats] chamonix:
[MENTION=3388754]xavihernandez[/MENTION] could you please check and confirm this pull request for the french translation?

https://github.com/asksven/BetterBatteryStats/pull/668
[BetterBatteryStats] chamonix:
[MENTION=5735890]Minty123[/MENTION] thanks for your pull request https://github.com/asksven/BetterBatteryStats/pull/674

Are you willing to take over the maintenance of the DE strings from now on?
[BetterBatteryStats] waterdaan:
**wtf 93mb

Network (requires root)

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

10050 (Wifi) (com.google.android.gm.exchange.Exchange Services): 93.0 MBytes 97.3%

**deny wake up permission for these apps, especially Facebook

com.facebook.orca (): Wakeups: 52 (5.6 / h)

com.textra (): Wakeups: 1 (0.1 / h)

com.estrongs.android.pop (): Wakeups: 1 (0.1 / h)

com.cyngn.gallerynext (): Wakeups: 1 (0.1 / h)

com.google.android.keep (): Wakeups: 1 (0.1 / h)

**be careful with greenify, what apps need to be greenified?

com.oasisfeng.greenify (): Wakeups: 29 (3.1 / h)
[BetterBatteryStats] Tzfardaya:
Why Wtf? You don't know how much mail he gets across the exchange service... Might even have been just a couple work spreadsheets as attachments to push that..
[BetterBatteryStats] tonyafc:
Hi im using better battery stats my awake time is high when i look in partial wakelocks it shows nothing and when i look in kernel wakelock it just the powermanagerservice not sure what i can do to get more info on this wakelock any help would be great
[BetterBatteryStats] waterdaan:
Have you had your screen on?
[BetterBatteryStats] tonyafc:
My screen on is only 20mins but my phone been awake over an hour im getting over 5hr a day wakelock i tried all apps gsam but not detailed just says android kernel os tried wakelock detector but not fully functional on lollipop and now this but shows awake time but no wakelocks
[BetterBatteryStats] waterdaan:
Do you have any (deep) sleep at all?
[BetterBatteryStats] tonyafc:
8mins over the last 2.30 hrs
[BetterBatteryStats] waterdaan:
Plug in your phone

Unplug it, leave it for 5 hours without using it

Take the log and post it
[BetterBatteryStats] tonyafc:
Post a log? Do you mean just write my stats as i have or is there a way to share a log within the app?
[BetterBatteryStats] waterdaan:
In bbs

Share

Text dumpfile, save
[BetterBatteryStats] tonyafc:
Thank you ill post back later
[BetterBatteryStats] waterdaan:
Good luck
[BetterBatteryStats] Frozen27:
Can anyone please help me in the below problem or at least any advice may help

dumpfile

https://mega.co.nz/#!nlYGAYAI!PtQV115A-O8IwjrCJH_jWxsgIvcR7CIp7dgOosFIy90

logcat

https://mega.co.nz/#!qgpxTb7K!W01T7DhfWpJhHZicQf3RFd4S5nrCY7NHi4ySTfNQaXg
[BetterBatteryStats] tonyafc:
I have uploaded the txt file as you can see my held awake is just silly
[BetterBatteryStats] Tylonhh:
I only read spoiled logs

[ spoiler ] log [ / spoiler ]

getapatalked mit Android 5.1
[BetterBatteryStats] Tzfardaya:
That's really good of you, especially since the OP says to post the log/dump AS AN ATTACHMENT...

Guess that means that those who do what the op asks won't get any help from you... Well done..
[BetterBatteryStats] waterdaan:
The log should be about a phone that is NOT used

Best bet would be plug it in

Unplug the phone

Go to sleep

Take the log first thing when you start using the phone in the morning

So you can see what doesn't let your phone to sleep, now you've been doing various things that keep your phone awake, eg speedtest, play store
[BetterBatteryStats] chamonix:
2.1B1 is packaged. I will do a few smoke tests tomorrow mornin before releasing.
[BetterBatteryStats] chamonix:
Following the principle: release fast, break early....... B1 is up.

Please test updating to the new system app (in-app for now, CWM will be updated once I got positive feedback).

Translations were held back as I am still waiting for feedback about the pul requests. Will post a new release as soon as I got a go (or I have fixed a few more things)

Please note the new responsive widget is pretty raw for now. I have not made many test on different screen sizes so I'd like our feedback. If reporting layout problems please make sure to include device type and density if changed, as well as used launcher.
[BetterBatteryStats] marknoll:
Amen. Take your time. This app of yours is very informative and releasing too early isn't a good thing. Thanks again

---------- Post added at 01:19 AM ---------- Previous post was at 01:18 AM ----------

Is it advisable we reinstall b1,or update over old one?
[BetterBatteryStats] tonyafc:
Hi i have retaken the log i hope you can make some sense of it
[BetterBatteryStats] Nimueh:
Updated to 2.1 from 2.0 and now I have a weird number in the old widget :confused:

And I can't figure out how to get the background of the new one transparent, opacity set to 0 or 100 both look the same.

Thanks for the update though :)
[BetterBatteryStats] RASTAVIPER:
Should we follow some procedure in order to replace system app?

I had problems with wrong statistics with previous version of BBS and I hope that this version will work better.

Unleashed by my M1 note
[BetterBatteryStats] waterdaan:
Deep Sleep (): 5 h 59 m 45 s 74.7%

Awake (): 2 h 1 m 52 s 25.3%

Screen On (): 2 m 29 s 0.5%

So your phone was busy /awake during 2 hours,

Unfortunately I can't find anything in your log that could have caused it, other than a lot of short wake lock

*please can somebody with more experience confirm this?
[BetterBatteryStats] chamonix:
#686, #687
[BetterBatteryStats] Nimueh:
What does that mean? :confused:

Do you mean posts #686 + #687? I don't see how/why I should get a dump or logfile for a simple graphical error *shrugs*
[BetterBatteryStats] chamonix:
these are the issue numbers I have created based on your report. You can track them in github (link in post #1) and their resolution will be published on the changelog from post #2
[BetterBatteryStats] Nimueh:
Ahhhh ok :laugh:

Thanks :)
[BetterBatteryStats] odub303:
At a loss

I'm at a complete loss. After being able to determine the cause of my battery drain issues for a couple years now using BBS, I find myself completely unable to figure out the current cause for my issues. I'm running cm12 on my Verizon LG G3 and have been experiencing inexplicable awake time, but only when connected to my home Wifi network (regardless of which band I'm connected to). I have a nexus 7 also running cm12 that does not exhibit the same issue when connecting to the same Wifi. Attached is a one hour bbs dump from my g3 after a totally clean cm12 install, without even Google search installed. Nothing I see looks out of line with what I've seen on my n7 or even on my g3 in the past prior to the issue manifesting (I've been unable to determine when exactly the issue began). If anyone has any ideas about what might be causing the excessive awake time, I'm all ears. Thanks!

View attachment BetterBatteryStats-2015-04-12_153248181.txt
[BetterBatteryStats] xavihernandez:
Yep it's OK sorry for the delay.
[BetterBatteryStats] abovebeyondgal:
help with draining

Hey , few days ago i noticed my battery drain faster

i attached some screenshots + dump

noticed that play services were keeping my device awake all night

how can i solve it?

Thanks
[BetterBatteryStats] Minty123:
Yeah, I can do that! Looking forward to it. :)
[BetterBatteryStats] iruiz2:
To both of you, Google location services is waking your devices all the time. Either switch location to "device only" or use a tool like Amplify to limit nlp location wakelocks. You can also limit Google Services permissions with privacy guard if you use CM or a CM-like rom: wake and keep awake.
[BetterBatteryStats] abovebeyondgal:
hey , my location was off that night (location + GPS) , also Radio (LTE) was off
[BetterBatteryStats] iruiz2:
Looking deeper at your logs, Google search seems to be your drainer.
[BetterBatteryStats] waterdaan:
Kernel Wakelocks !!! wakeup_sources !!!

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

sensor_ind (): 9 h 8 m 59 s Cnt:(c/wc/ec)5/0/0 99.7%
[BetterBatteryStats] odub303:
Changing to device only has no impact for me. Location services is not my culprit. Even with location services completely off I still have the drain on my home Wifi.
[BetterBatteryStats] code010101:
the new widget is quite cool , many thanks! :good:

I've updated the Italian translation for BBS 2.1.0.0 ;)

Stefano