yashsingh1/xdaforums huggingface dataset:
[BetterBatteryStats] chamonix:
oops.... that wasn't intentional and I guess either I missed the version/release number or did something wrong. the changelog was supposed to reflect post #2
[BetterBatteryStats] tylerdurden83:
I've been using the latest RC of BBS, but the stats don't seem to add up.

Previously the amount of PowerManagerService.Wakelock under kernel wakelock would equate the amount of time found in the Partial Wakelock tab, but not anymore, as you see from the attached screens, it's not even close...
[BetterBatteryStats] bland.life:
So the "Enable BATTERY_STATS In KitKat" Xposed module does not work anymore?

Can't find the Advanced settings in BBS as shown in the Xposed module thread.

Installing as system app is the only way now?
[BetterBatteryStats] mdamaged:
It's a better way.
[BetterBatteryStats] bland.life:
But it reverts to a user app everytime after I update CM.

Wakelock Detector doesn't do that.
[BetterBatteryStats] guido_glx:
You need to place a file on the system/addon.d folder. Search within this thread and you'll find it.

Enviado desde mi GT-I9300 mediante Tapatalk
[BetterBatteryStats] stevexyz0:
The 1x1 widget does not show anything for me, it just says "Unplugged" and no graphics appear at all. This is with 2.0RC2. I'm on a Nexus 6 running stock Lollipop, NOT rooted.

I tested 1.16 and the 1x1 widget does show up OK, so it seems to be a regression.

Furthermore, "Screen On Time" does not show up with 2.0RC2, also a regression from 1.16. Actually I suspect the two are related, since 1.16 also shows a blank 1x1 widget when screen on time is not available (e.g. right after install), but once 1.16 gets a screen on time, the widget starts working OK. 2.0RC2 never seems to figure out the screen on time.
[BetterBatteryStats] gylee:
The same thing happens to my Samsung S4 I-9500 using latest GearCM.
[BetterBatteryStats] stevexyz0:
Actually 2.0RC2 does get screen on time for "Unplugged->Current", it doesn't get it for "Boot->Current" (possibly because it wasn't installed when I booted?). But anyway, even when it shows the screen on time in the app the 1x1 widget is STILL blank. So the widget doesn't work under any circumstances as far as I can tell.
[BetterBatteryStats] nsg86:
Hi, can help to inspect the bbs log, see

whether there is any further way to reduce any wakelock ,

save battery juice.
[BetterBatteryStats] chamonix:
Settings - advanced - do not detect system app

edit: typo
[BetterBatteryStats] chamonix:
all reports seem to lead back to cm11 or forks. There is no special code for the prefs screen and even after updating the appcompat libs the problem seems to still be present on those builds.

These observations point to a bug in cm11, not bbs
[BetterBatteryStats] chamonix:
I can not confirm that on rc2 on lollipop, screen on is present in all references as well as widgets. Can you please provide a logcat?

edit: and a dumpfile for the references where the problem occur
[BetterBatteryStats] bland.life:
Nope, theres no "Advanced" item there in the menu for me.

Checked it several times, I already know of this from the Xposed module thread but cannot find it.

I'm on the lastest RC2 build.

Maybe its because of an enforcing SElinux?
[BetterBatteryStats] mdamaged:
It's not in the menu, here is a step by step.

Open BBS, click on the Gear icon up top, then scroll down, all the way down and look for Advanced, click it, there you will find "Do not detect as system app".
[BetterBatteryStats] bland.life:
Theres no gear icon.

Its only Refresh, Share and Menu.

Under menu theres no "Advanced".
[BetterBatteryStats] mdamaged:
Remove it and the stub in system (if any), reboot, reinstall. Make sure you're using the newest BBS.
[BetterBatteryStats] mafsi:
Can anyone tell me why i get this error? Is because of app or because of my kernel. I tried to mount as RW / & /system with no effect! Thanks in advanced!

<via tapatalk>
[BetterBatteryStats] jbhtexas:
Hello!

I'm running BBS 2.0.0.0RC2 on a Sprint HTC EVO 4G LTE with the 4.13.651.4 update (Android 4.3). Enclosed are three screen shots.

1) The first is taken 10 minutes after an unplug event with WiFi on. WiFi On and WiFi Running are at 100%. Makes sense.

2) WiFi is turned off, and the second screenshot is taken 10 minutes later. WiFi On is at 52%, but WiFi Running is still at 100%

3) Airplane mode is turned on, and the third screenshot is taken 10 minutes later. WiFi On is at 35%, and WiFi Running is at 68%.

WiFi Running seems to be accumulating time when the WiFi is turned off. Is this really the case, or this a bug of some kind, or a misuderstanding on my part of what the WiFi Running stat is? It seems that Airplane mode truly does kill WiFi. I had the same results with v 1.1.16 from the PlayStore.

Thanks!
[BetterBatteryStats] wilkster:
Under menu select settings. On the settings page advanced is the last option.

Sent from my VS980 4G
[BetterBatteryStats] marknoll:
Screen cuts off advanced slot

Its barely visible.
[BetterBatteryStats] guido_glx:
Are you using CM11?

Enviado desde mi GT-I9300 mediante Tapatalk
[BetterBatteryStats] marknoll:
Yes. atrix HD ..jbbl 12-5 nightly.
[BetterBatteryStats] marknoll:
OK. Let's be straight up...which BBS version is most accurate and smoothe. ?
[BetterBatteryStats] mdamaged:
The latest.
[BetterBatteryStats] guido_glx:
Other people (including me) have the same problem. It seems to be a bug in CM11, not BBS...

Enviado desde mi GT-I9300 mediante Tapatalk
[BetterBatteryStats] stevexyz0:
After rebooting with rc2 installed, Screen On shows up OK for "Unplugged" but is still missing for "Boot". The 1x1 widget is still empty -- it only gives the title "Unplugged" but no graphics show up at all. Attached logcat and dumpfile generated for "Boot". Let me know if I can give more information. Thanks.
[BetterBatteryStats] Karpfenhai:
Are you sure you unchecked this option:

Regards
[BetterBatteryStats] iamnotkurtcobain:
Are you getting misc. battery drain on Lollipop?
[BetterBatteryStats] zooster:
Great app, thank you!
[BetterBatteryStats] floepie:
Hi, running latest BBS on L. No longer do the partial wakelocks add up to PowerManagementService.Wakelocks as they once did on Kitkat. Am I making a wrong assumption that these 2 values should be equal to one another? The latter always is greater than the sum of the partial wakelocks.
[BetterBatteryStats] stevexyz0:
I see the same error ("File could not be read") for kernel wakelocks. I see it regardless of the advanced setting "Kernel Wakelocks using API". I'm running RC2 on Nexus 6, stock Lollipop, not rooted. I know partial wakelocks are not available without root, but I thought kernel wakelocks were still available?
[BetterBatteryStats] jbhtexas:
Ah yes, that was still checked. WiFi values are as expected now.
[BetterBatteryStats] chamonix:
What causes the problem is:

Rooted: false

For unrooted phones there is no reliable info about most stats since 4.4, 5.0 removes even more due to change in the selinux policies.
[BetterBatteryStats] chamonix:
You shouldn't assume that. PowerManagementService is the part of the userland that talks to the kernel when it comes to keep the device awake. Looking at the sources there are multiple titles for userland suspend blockers resulting in the same named kernel wakelocks:

- PowerManagerService.WakeLocks

- PowerManagerService.Display

- PowerManagerService.Broadcasts

- PowerManagerService.WirelessChargerDetector

The logic to control what happens at kernel level when a wakelock is help at userland is everything except simple and you can read more about it here: http://grepcode.com/file/repository...ndroid/server/power/PowerManagerService.java/
[BetterBatteryStats] Keasby:
Any idea how I can lower the following wake logs?

I'm on latest stock gpe.
[BetterBatteryStats] mafsi:
Excellent report. Using JB 4.2.2 on mediatek gionee p3 dual sim. I followed the T.J tutorial on wakelocks. Here :)

<via tapatalk>
[BetterBatteryStats] marknoll:
What's this nfinity mean?
[BetterBatteryStats] chamonix:
#616
[BetterBatteryStats] Karpfenhai:
[MENTION=1330150]chamonix[/MENTION], one last tiny design flaw is left imho, if we tap on the icon in alarm section or more disturbing on the text on each page there is a squared blue shimmer on three right side of the screen..

Know what I mean?

Hehe are my suggestions:

Other screen - suppress the glimmer since there is no functionality.

Kernel WL - extend it to the full row and make some blurry oval boundaries instead of hard squares.

Partial WL - disable at percentage, enable and softify it on main text, make a circle instead of square upon icon press.

Alarm section - extend from circle to full text.

Network, cpu and process - extend to full row and do a soft shine.

The overall user experience would benefit.

Regards mate!
[BetterBatteryStats] marknoll:
What's that infinity screen mean?
[BetterBatteryStats] floepie:
OK, thanks for the explanation. I think the vast majority of people, including myself, would love to see a breakdown of (Awake Time min Screen On Time). The sum of the "Kernel Wakelocks" (minus the PowerManagerService.Display) is always much greater than the (Awake Time min Screen On Time). This is probably due to the fact that the kernel wakelocks extend into the time during which the screen is on. Is there a way to show by running tally of wakelocks which wakelocks keep the device awake when the screen is off? Or, is there no good way of teasing this information out of what Lollipop reports?
[BetterBatteryStats] suku_patel_22:
Hello Sven,

Was on the play store version and am trying out the beta version after a long time.

I must say that the Lollipop version looks elegant and finished but for one issue.

I have my system font set to large and with the medium font size set at 16 or 18, some part of the text is not visible on the screen. I believe it would be ideal to continue the text on the next line in this case.

Screenshot of medium font set to 14, 16 & 18 are attached
[BetterBatteryStats] Karpfenhai:
Hey mate, but you have seen you can adjust font size within bbs itself?

If you're referring to that, please excuse my ignorance.

Regards
[BetterBatteryStats] suku_patel_22:
I want to set it to 16, with system font set to large and the text should overflow to the next line. Reducing font size is not an option.
[BetterBatteryStats] chamonix:
got it, it is a relict of hollow touch feedback, I will update it to material (#622)
[BetterBatteryStats] chamonix:
on what device / resolution are you testing? Overflow to a second line would be an option but I could also optimize the real estate a bit and see if it is sufficient.
[BetterBatteryStats] suku_patel_22:
I am using it on HTC One M7, 4.7" 1080p display.
[BetterBatteryStats] Galaxicos:
Hi guys,

My S4 is draining a lot of battery and it simply doesn't get into deep sleep. The problem seems to be this wakelock: bmc2079x

Does anyone know what app is causing this? Many thanks!
[BetterBatteryStats] Karpfenhai:
That is related to a broadcom chip, it probably points to Wi-Fi or mobile data being active, it's not the cause, just a symptom.. no dump no support.

Regards
[BetterBatteryStats] Galaxicos:
Okay, thanks for the info so far. I wasn't aware that it had to be related to anything else. The device was kept awake with the lowest possible mhz. If the problem continues I'll post a detailed dump. Thanks again!
[BetterBatteryStats] stevexyz0:
OK. It's worth pointing out the stats (Screen On, Awake, Asleep) are showing up in the app (for "Unplugged"), the widget just doesn't work -- but the widget does work with BBS 1.16 on the same phone. So it seems like some regression on the BBS side. If there's to be no support for unrooted users, maybe the app should make that clearer.
[BetterBatteryStats] morganpl:
Everything works on [ROM][4.4.2][24/02/02/14] Unofficial [Arc/Arc S/PRO][1.3] AOSB Project - The End of The Line ! http://xdaforums.com/showthread.php?t=2657865
[BetterBatteryStats] 2Pints:
App doesnt work on lolipop ( rooted), just shows an error along the lines of battery service could no be contacted.

installed and re-funded
[BetterBatteryStats] Karpfenhai:
You are aware the current Playstore app isn't intended to be used with lollipop right?

If not, re purchase it and grab latest rc2 from op, it's appreciated.

Plus you are welcome to test and report bugs if you find some.

Regards
[BetterBatteryStats] jonatutu:
Hi please help me I have tried googling for solution but it doesn't work. I am having this TimedEventQueue (1013) partial wakelock keeping my device AWAKE for 8hrs.
[BetterBatteryStats] EvanVanVan:
I was just coming here to ask about it (the playstore version) not working on lollipop. Thanks.

Now if only the versions in the OP weren't tagged with xdaedition so that I would only have "one" BBS installed and could still get Playstore updates when you get around to submitting a stable build to it. :/ Oh well, hopefully I remember to check for updates at some point in the future.
[BetterBatteryStats] Scartozzi:
is it normal to have so many alarms?is there something i can do to stop them?
[BetterBatteryStats] mdamaged:
Without alarms, you would be holding one of these. They re a necessary part of the devices functionality.

What this app helps to do, is find alarms which are problematic to battery use, if you think you may have such alarm, please read the OP on how to post a dump and attach it to your post as an attachment.

---------- Post added at 09:45 AM ---------- Previous post was at 09:36 AM ----------

Charge the device, do not use it, let it sit idle for 4-5 hours, then take a new dump and post it.

It looks to me that you got Line installed that might be doing this, you also have facebook installed which is known to cause weird wakeups. I'd start by uninstalling those first.
[BetterBatteryStats] mafsi:
[MENTION=1330150]chamonix[/MENTION] can you tell me please why I can't see kernel wakelocks & I get the message : file could not be read? Is it because of my kernel? Everything elese is working normal. Thanks in advanced!

<via tapatalk>
[BetterBatteryStats] :
I get the same on lollipop with 20rc2.

Any chance you can setup a googleplay beta group?
[BetterBatteryStats] bland.life:
Something seems to be causing "Android OS" to keep awake.

Can anyone help decipher the logs for any clues on whats happening?

I've captured this behaviour for 4 days.
[BetterBatteryStats] wilkster:
The PowerManager.Broadcast suspend blocker causing the device to stay awake it supposed to be an internal (OS) method and there should be OS receivers that respond to those broadcasts internally. Have you rebooted in the mean time? Made any receiver/service tweaks recently? Installed any new apps recently?
[BetterBatteryStats] bland.life:
Yup, I've just rebooted to update PA Gapps.

The problem is gone for now but will show up again unexpectedly.

What is receiver/service tweaks?

I did recently install "Disable Service" to disable some Google Play Services, but that is to try to stop this "Android OS" keep awake.

Somehow I observe what seems to trigger it is when I return home everyday and the phone connects to the home wifi (wifi on phone is on all the time).

But I don't see any wlan wakelock.

(The phone rebooted is on the home wifi but deep sleeps.)

By the way this problem started in the last week of November, before that I never had this problem.

Is there anyway to look into what is broadcast and for what receiver is it for?
[BetterBatteryStats] jdegreef:
FC when using as Dashclock widget

I don't know if it is only me but when adding the BBS widget in Dashclock and clicking on parameters Dashclock FC (saying in French "L'application BetterBatteryStats s'est arrêtée". This happens with 2 rc2 and was working in 1.16.

If it's a new problem (I found nothing about it on xda) tell me what you need (logcat,...) to debug it.

I'll have time after 17 (gmt) to look at it.
[BetterBatteryStats] Karpfenhai:
Nice catch, confirmed, has happened before, I'm sure [MENTION=1330150]chamonix[/MENTION] knows how to fix.

Regards
[BetterBatteryStats] chamonix:
#625

I will have to test that when I am back home as I only have lollipop devices with me right now
[BetterBatteryStats] skullassfreak:
Is there any way you can give specific variables to tasker/automagic ? I want to make a status bar indicator that shows how much current is utilized to see if my phone is discharging when I'm in my car. Similar to the %/hr displayed on the BBS screen.
[BetterBatteryStats] ponicpool:
Yes they are obvious, however those apps were running when I got 2 days and 8 hours of battery life.
[BetterBatteryStats] s2d4:
facebook and google sync only took up less than 5 minutes in total.

acceptable for nearly 12 hrs actually.

22 minutes of fast net dormancy. not so much.

10 times more counts? Not so much
[BetterBatteryStats] longfeng:
if each time they take 1 sec to wake up CPU, deep sleep is nearly impossible as cpu may take 1 min to go back to deep sleep.
[BetterBatteryStats] ponicpool:
I have disabled Fast net dormancy.
[BetterBatteryStats] s2d4:
then it may have something to do with the modem.
[BetterBatteryStats] s2d4:
Indeed, hence 10 times more count with svnet dormancy and svnet combined, is even worse

what you suggested isn't his main problem here. Just like your suggestions from yesterday.

Please read a bit more to get the whole picture.
[BetterBatteryStats] adamj123:
I have been having a pretty terrible experience with my Samsung Galaxy SII, usally at 5% by late afternoon with minimal usage and was someone here could interpret my dump. It may be worth noting that I was using Waze more then usually during this session.
[BetterBatteryStats] ponicpool:
I am using speedmod with XXKI4 as modem.

Any particular suggestions for modem?
[BetterBatteryStats] intulsa:
I used titanium backup to freeze, assigned it a label, put a TB widget on the home page to just freeze and unfreeze whenever I wanted to use it. fast and easy. I keep a few things assigned to the label.
[BetterBatteryStats] Tommmii:
Is there any progress on the miui batteryservice issue?
[BetterBatteryStats] eC1990ho:
Can anyone enlighten me as to how svnet kernel wakelock drains my battery.

Lost 20% overnight, BBS shows 90% phone awake during that period mostly due to svnet.

I have JD ultimate set up, so shouldnt be running sync all night long tbh
[BetterBatteryStats] s2d4:
this is region and carrier specific.

ask the guys on the stickies thread for modems in gs2 forum.
[BetterBatteryStats] s2d4:
remove juice defender then try again. Known for using more juice than it saves.

Possibly because its cutting your connection then your phone is trying to reregister again to your carrier. Just hypothetical at this point.
[BetterBatteryStats] eC1990ho:
Did I just waste 5 bucks on buying JD ultimate then? :p
[BetterBatteryStats] Braneless:
Yes, you did.
[BetterBatteryStats] blecap:
well, the funny thing is, when i was using cassie lite rom, i had almost the same apps installed, now that i flash rocket, the apps were rather lesser. but i am just unable to achieve results like yours and previously mine 1-2% over 8 hrs.
[BetterBatteryStats] chamonix:
I am in contact with one person from the miui team. On the other hand if I would get feedback on the latest version regarding the FC it would help as well. But I will say this clearly: I won't spend too much time on that as the problem is miui breaks compatibility. If a workaround is easy I will implement it but I need support from miui guys for that, on my own I test against every version of android from 2.1 to 4.0x, I can't do more.
[BetterBatteryStats] longfeng:
i believe it is a compatibility issue. if you are comfortable with the old rom, why not flash back to the old rom and enjoy the battery saving?

if you did not install new app and clear all caches and factory reset, there is nothing you can do. pure kernel issue. that's why there is good and bad cROM. ;)

I cannot get 1% over 8 hrs. even i run pure kernel, I don't know if it is ever possible. :)
[BetterBatteryStats] Tommmii:
Which is (more than) fair enough. You're totally right saying that in fact Miui is to blame.

If you need info from some one running Miui, please let me know.

BTW, today i did install the latest Miui (2.1.13), there are no FC's as there were with previous versions of the rom. Also, the lists are now actually getting populated, but not every time. Hitting refresh a couple of times seems to help, or switching back & forth between Process/Wakelocks.

"Other" never gets populated.

hth & keep up the good work!

T.
[BetterBatteryStats] hotshotz:
Okay update time. Left my CDMA galaxy nexus overnight for 5.5 hours and it drained 8% in airplane mode. I checked my BBS and my partial wakelocks aren't that bad. I have attached info for your references.

Previously, my alarm manager would be in the high 8000's tweaked by uninstalling rogue apps down to 122 counts. I don't know what kworker is for processes but it seems to be very limited for running apps. Kernal wakelocks I am just lost.

I ran an adb shell dump for the alarm manager because I noticed in the screenshot I had a period in the middle of the night which still showed high awake activity in the graph! I didn't know anything that stood out, seemed to be just a general group of google background services.

I'm mystified how the last time I ran the test, I got 7% idle drain in 8.5 hours and last night I got 8% idle drain in 5.5 hours. The results are quite inconsistent.

Reference: Stock CDMA galaxy nexus: no root
[BetterBatteryStats] droidface:
hello, can someone help me, i followed the instructions here http://xdaforums.com/showpost.php?p=55211341&postcount=25481

and now my game like Clash of Kings and Heroes Charge are force closing everytime, please help
[BetterBatteryStats] jdegreef:
Ok. Let me know if I can be of any help.
[BetterBatteryStats] buda5767:
No Deep Sleep, why?

My tablet haven't a deep sleep. What is the reason?

Thank for you support.

my first analyse say, process teslaunread plugin is the problem with hangout sms read...
[BetterBatteryStats] chamonix:
#340
[BetterBatteryStats] skullassfreak:
Haha sorry I'm a noob. What does the number mean?
[BetterBatteryStats] houtx2:
I see you have a tf701t. Same here. I am struggling with the same issue. It is driving me crazy. I think it is somehow related to wifi. Turn your wifi off and see if you can achieve deep sleep.

I just installed an exposed module called Wi-Fi Deep Sleep [KitKat only]. I am hoping it works.
[BetterBatteryStats] buda5767:
no, same problem with off WiFi.

iI see under process now, that hangout and teslaunread plugin use all time.

I deactivate now in teslaunread SMS, and now I have deepsleep.
[BetterBatteryStats] houtx2:
Great, glad you found the root cause. I am still looking.
[BetterBatteryStats] qwerty22:
https://github.com/asksven/BetterBatteryStats/issues/340
[BetterBatteryStats] skullassfreak:
I guess I'm not as innovative as I thought lol
[BetterBatteryStats] Celesica:
Hi guys. Can someone help me take a look at my stats? I was wondering why my phone is draining faster than I thought it would.

As you can see, it's down 98% and Screen is on for just 7M in 23minutes time.

Time in the screenshot is 7:04 and currently it's 7:26AM - I now have 93% of battery.

I noticed these two running as similar as to my battery runtime:

1. No Data Connection

2. No or Unknown Signal

Please help me figure out what's the issue and how to resolve it. Thanks!
[BetterBatteryStats] mdamaged:
Charge the device fully, let it sit for 4+ hours, then post a new dump. First impressions tells me a failing/defective battery, or a wildly off calibration.
[BetterBatteryStats] Celesica:
I noticed that my Kernel profile has been reset (using Boeffla kernel btw).

Already have tuned it back.

I will do what you advised and will post the dump later. Thanks!