yashsingh1/xdaforums huggingface dataset:
[BetterBatteryStats] Perseus:
Can you rehost on pastebin ?

Post longer logof at least 3 to 5 hours. Also completely idle phone. Make sure to reboot or reset BBS Reference.
[BetterBatteryStats] amjath:
Bro phone dies during night. What to do :(
[BetterBatteryStats] nextelbuddy:
Where do we get this?

I am on a nexus 6 and the latest paid version I can download in google play is v1.16.0.0.

I have something causing my device to stay at 300 mhz. cant figure out what it is and hoping BBS can help out. my kernel and partial wake locks are not showing anything unfortunately.
[BetterBatteryStats] greyhd:
Check the OP
[BetterBatteryStats] nextelbuddy:
thank you! i did check it but it looks like the downloads were in the next post down. I am installing now. crappy thing is that ill have to reboot and then wait for the wake lock to come back but hopefully this helps me out more.
[BetterBatteryStats] qwerty22:
charging graphic

1. Problem.

BetterBatteryStats 2.0.0.0B7. Compare the two charging graphics:

I think BetterBatteryStats not accurately show this graph:

2. Question.

Is it possible to show the Network utilization graphic (WiFi + Mobile excluding loopback)?
[BetterBatteryStats] nextelbuddy:
Ok its installed now as system app however I noticed now in android battery stats screen it now shows "Battery Usage data isnt available" is this because of BBS? will this ever come back?
[BetterBatteryStats] greyhd:
Sorry about that, I should have stated the betas are on post#2
[BetterBatteryStats] chamonix:
if you are on lollipop with selinux enforcing:

can you please confirm that both Alarms and kernel wakelocks work without api mode nor su--context with SuperSU 2.3 beta?

please check raw stats
[BetterBatteryStats] Fivesack622:
In regards to the problem with "advanced" being cut off in the settings screen, I too have this problem. It seems to me though that the problem isn't so much with "advanced" being cut off as it is with the double listing of "display" at the top of the Settings screen. As you can see from my screenshots, the top "display" does not move when scrolling in the Settings screen. It's like it's a solid bar set in place. You can see the shadow underneath the top "display" in the first screenshot that I took while holding the scroll up as far as it would go. You can then see in the second screenshot that the top "display" is still set in place when I scroll down as far as I can go.

I have this problem with 2.0 Beta 7 on a Nexus 7 2013 Wi-Fi running CM11 M12. I have MultiROM TWRP Recovery and also have an unofficial CM12 build installed. I only have this problem on CM11. I also have a Samsung Galaxy S3 Mini (SM-G730V) Phone rooted and running 4.4.2 and I do not have this problem on my phone. Maybe it's a problem specific to CM11 as I noticed that guido_glx is also running CM11?

I can give you a logcat if you would like but I'm not sure what you would like me to do while taking the logcat. Should I just scroll up and down a few times in the settings menu and then get a logcat or is there something else? I'm willing to help however I can.
[BetterBatteryStats] biggiestuff:
I googled it and have never seen this kernel wakelock before. It's keeping my phone awake and I've closed everything under running. Sensor_ind at the top. If I restart it stops but eventually come back. Anyone know what it is?
[BetterBatteryStats] rpr69:
Never mind, answered already.
[BetterBatteryStats] jacknicholson:
Yep, (raw) stats without api mode or su --context are fine with both SuperSU 2.3 beta and SuperSU 2.35 stable (N5 LRX21O).
[BetterBatteryStats] Karpfenhai:
im sure its unrelated to CM11 since i don't have it on 3 Devices plus not on 5.0 on my tablet ;)

Could you test older betas (prior b3) if it persists?

Same question for you, custom DPI ?

regards
[BetterBatteryStats] guido_glx:
It is in fact related to cm11.

I've installed cm12 and the problem has disappeared

Enviado desde mi GT-I9300 mediante Tapatalk
[BetterBatteryStats] Fivesack622:
Definitely no custom DPI, unless it was changed without my knowledge. I will try the older betas and report back since I believe the first beta I used was actually beta 3. I do know that it has persisted on every beta since beta 3, however, as I have updated with the release of every beta since the beta 3. I'll test each one starting with the original beta and see if I can pinpoint when it started.

Edit: All the 2.0 betas before beta 6 were removed from the OP. I don't have a copy of them to test. Does anyone have a link or a copy of the 1st and 2nd beta of 2.0 they can share?
[BetterBatteryStats] gaich:
SuperSu has been updated to 2.35 official. I do not use API and su--context, all stats are displayed:

Raw

KW

Al
[BetterBatteryStats] chamonix:
no need to test with older versions. I had to remove them because of the limited number of attachments per post. The problem seems to be related with rendering a fragment on the prefs screen. I had to use a fragment as appcompat does not support the action bar in preference activity. As there is nothing fancy in that fragment the problem is definitely in the rendering and will not occur on most builds, including not on google's. I have a logcat so I will definitely look for any hint for a workaround to avoid the rendering problem though.
[BetterBatteryStats] Fivesack622:
OK. I managed to find beta 1 and beta 2 online. The Settings screen is displayed correctly on Beta 1 and is fully scrollable. The 1st and 2nd screenshots show the Settings screen pulled all the way up and then pulled all the way down respectively. The Settings gets messed up on Beta 2. It shows the word "Display" twice at the top and at the bottom, "Advanced" is slightly cut off, but not as bad as the later betas. The Settings screen in beta 2 is also is not scrollable at all. This is shown in the 3rd screenshot.

I also found beta 3 and tried it and the Settings screen on that one looks the exact same as the screenshots I posted earlier from beta 7. Hope this helps. Let me know if anything else is needed.
[BetterBatteryStats] Fivesack622:
Just saw your post. Well..... It got tested anyways as I was typing my post above when you replied. Maybe something there helps, but probably not. No big deal though.
[BetterBatteryStats] Karpfenhai:
Thx for trying anyway, addes value to the community!

Since Sven is on it plus you added early beta hadn't the issue I'm sure it gets fixed in no time.

Regards!
[BetterBatteryStats] saleemakbani:
http://goo.gl/atQcRA here you go rehost on pastebin.
[BetterBatteryStats] chamonix:
well the problem here is the difference between the beta that "works" and the one that doesn't is that I have update google's appcompat libs from preview to final........ Except if I find another update to those we are depending on a workaround
[BetterBatteryStats] pratik_193:
[MENTION=1330150]chamonix[/MENTION]

i get a lot of system_server process & Surfaceflinger which is draining my battery a lot... attached are my logs, can you please help ?

Logcat below..

https://www.dropbox.com/s/939hknb32468xha/logcat-2014-11-27_172832263.txt?dl=0
[BetterBatteryStats] chamonix:
please start with reading the 3 first posts of this thread and take another idle reading. In the reading that you provided there is too much user activity to allow any analysis
[BetterBatteryStats] BTT8:
Guys I need some help...

I can only recall one night when I woke up 7 hours later with 97% left in the tank from a 100% charge. This was maybe about a week ago. Everyday since, I have woken up with about 80%, 75% left over 7 hours. BBS doesn't show me anything significant or different. Here is a logcat. I need a better set of eyes to examine this thing.

Also, I have noticed one I reboot the phone with WIFI off, the idle drain is significantly better. However, if I reboot, turn on wifi, the drain becomes severe....This has never happened before though on KK...

The thing is, I remember leaving wifi on that one night and waking up with 97% left. So could it be something else that's causing this drain?

See logcat and screenshot below...

As you can see from the screenshot, there are certain times throughout the night where the brain drains like the screen is being used. However, screen is off and nothing is being used. What gives? Is it time to RMA my N5?

In case anyone is wondering, Google Now is on, location reporting/history is off. Google Fit is not being used. Only have gmail/contacts/photos+ synced.
[BetterBatteryStats] a5pe4:
http://pastebin.com/AnHV5HFP any advice for the drain? Didn't use it for about 3 hours and it drained about 30%
[BetterBatteryStats] chamonix:
a logcat is not what we need: please post a dumpfile
[BetterBatteryStats] chamonix:
The only way to compare is to check the datapoint serie. In BBS you can show/export it so the question is: what serie is displayed in the other view you are refering to?
[BetterBatteryStats] chamonix:
Merged to RC1, thanks for your support
[BetterBatteryStats] chamonix:
The only hint I can find in the log is this:

11-24 15:52:18.545 W/dalvikvm( 7225): method Landroid/support/v7/internal/widget/ListViewCompat;.lookForSelectablePosition incorrectly overrides package-private method with same name in Landroid/widget/ListView;

Dalvik throwing errors in an android support library is bad but it's a warning and I could find anything useful. I guess I'll look for updates to appcompat first
[BetterBatteryStats] chamonix:
Interesting: there is a new verison of appcompat available since yesterday or so.... updating for RC1
[BetterBatteryStats] chamonix:
I will give the performance for loading the graphs a shot tomorrow before releasing RC1. If it takes too long I will push that bug to RC2.

From RC1 no new features so you guys can start polishing the translations.
[BetterBatteryStats] gaich:
Nothing else or more will be added to the strings?
[BetterBatteryStats] KevDraG:
a lot of lag and freezes

hi. i downloaded the last xda version to test it and then buy it in play store, but I've been having a lot of lag and freezes whitin the app.

-i have the lenovo ideatab A3000-h

-stock kernel (i guess)

-ROM A3000_A422_011_022_140127_WW_CALL_FUSE by xda azam426

-Android JB 4.2.2 (i know this can be faked, but i dunno how to verify it)

-1GB ram

-4GB rom

-1.2 GHz quad-core mediatek ARMv7 CPU

-PowerVR SGX 544MP GPU

-rooted of course

i don't know what other info can be useful xp the tablet acts normal but the app misbehaves a lot
[BetterBatteryStats] qwerty22:
Sorry for the newbie question but can I gather statistics from /data/system/batterystats.bin? I can save statistics from BetterBatteryStats (tab charts - menu - history). How to get Google statistics (batterystats.bin) for comparison with BetterBatteryStats?
[BetterBatteryStats] chamonix:
That was exactly my point. I don't know of any easy way to get that data, I only know that BBS gets it from the same source. I haven't looked into the source code of the battery stats for ages and can't tell you if it shows all the data or just a certain period. BBS shows all data available
[BetterBatteryStats] chamonix:
A dumpfile would be helpful to have the device specifics.

About the lag and freezes: it would be helpful if you could be a little more specific about what actions are slow / cause freezes.
[BetterBatteryStats] chamonix:
sure, these two issues are still open and I will look into these prior to release.
[BetterBatteryStats] SagiGo:
O.k this is my dump file after charging to 100% and letting the phone discharge overnight.

Will be happy to have your experienced eye have a look and helping me tweak it for better results.

Thanks in advance.
[BetterBatteryStats] chamonix:
Those screenshots are neither readable nor relevant.

Looking at your summary your phone has been awake twice as long as your screen was on so no, it's far from being optimal.

As you have used your phone a lot the stats are not really good for optimizing but we'll use it as a start.

GMail and sporttracklive are your two main wakelocks.

You should check the settings and see if there is something you can do about it. Of course if you have been running and used a GPS tracker that would be normal as that's the software is supposed to do. In that case please take a representative reading
[BetterBatteryStats] chamonix:
A kernel may fix rx wakelocks as the kernel conditions wan but the other ones are traffic related and so not relevant as long as an app is not causing traffic.
[BetterBatteryStats] chamonix:
During that reading you have been using your phone most of the time so there is not much so see here. Please provide a representative reading for screen off.

If screen on is your problem read the how-to for suggestions
[BetterBatteryStats] chamonix:
Working on it. it's a feature for 1.6
[BetterBatteryStats] CRXed:
Some problems are cause by these apps.

-com.jiubang.goscreenlock.GO Locker

-com.google.android.location -> disable location services

-getjar.android.client

But you have also been using your phone for 45 minutes, so that caused drain too.

Make a longer log without using your phone and report back.
[BetterBatteryStats] longfeng:
you can if you can find traces of the apps. there is no certainty what is installed in your phone since you approve it so choose wisely.
[BetterBatteryStats] blecap:
as i'm new to android, i have no idea what to upload, so i shall upload every screenshot for analysis from the pros here. here's my stats, drained 9-10% over 8hrs++

thanks, tell me what else i need to show if there is any.
[BetterBatteryStats] longfeng:
Your battery is reasonable. BUT this is only when you are sleeping.

Note that in the early morning, your screen is off but phone has awaken. It is due to facebook and fanciful OPDA softwarelock which drink your juice. Freeze or uninstall them if you want better battery performance. Else they will always wake up your CPU and want him to run some unknown errands.
[BetterBatteryStats] theooo:
Hello guys, im using i9100 international galaxy s2 and just installed bbs on my phone to find wakelocks in my phone. Here's the bbs screens after leaving my phone's display turned off for about 2 hrs.

The largest wakelocks are caused by googlemaps.. why this is happened?

Thanx in advance guys.
[BetterBatteryStats] Hrithan2020:
Are you logged in to latitude? Also, disable use wireless networks and GPS when not using maps.

Also read somewhere that all maps version greater than 5.8 causes wakelock indirectly. Am, going to give it a try and see.
[BetterBatteryStats] theooo:
Thanx for the fast response :)

No, im not signed to latitude and gps is turned off. Only use wireless network turned on, but yeah, im using googlemaps 6.10.. If that's true, i think the only option is to freeze/uninstall it or install maps under 5.80..
[BetterBatteryStats] Hrithan2020:
I am not sure about the latter option as I am yet to try it, but disabling use wireless networks helped a lot for me.
[BetterBatteryStats] EyeTech:
Using 1.5.1 on my Sgs2 international (checkrom/neak kernel). On entering alarms and getting root permission phone rebooted. On prev version it just locked up, so it's different, but not really better :(
[BetterBatteryStats] blecap:
btw i am using rocketrom v17. but ~1% per hour is normal? but when i used cassie lite rom, it was only 1-2% drain over 8hrs. :(
[BetterBatteryStats] longfeng:
normally rom is lite. it is the apps you installed kill the battery.

my phone is running at 4 hrs/1%. no stupid and bloated apps.
[BetterBatteryStats] zoneeee:
Hello.

I've read almost all the pages and didnt find a solution for these 2 sources of wakelocks:

RIJL

AlarmManager

Tried to freeze Radio FM, tried to remove all beautifulweatherwidgets, latitude is off, all localization is off. really dunno what to do, I get like 10 of them every 20-30 secs.

ps: i downloaded a terminal emulator and tried to dump. it says it cant dump due to permissions denial. I went to superuser but apparently BBS is allowed. any clue?
[BetterBatteryStats] bonanza123:
thanks for your ICS fixes!

But i have noticed something strange:

I had a look at the alarms and found there an App which i'm running which seems to cause a lot of wakelocks. so i disabled the causing feature in this app and killed it. Then I had a look at the Alarms again and all wakelocks caused by this app were gone in the statistics.
[BetterBatteryStats] ponicpool:
@chamonix

I have taken a fresh reading today morning.

Kindly find the attached dump file.

I have read the how to for screen on.

From the suggestions except turn to wifi from 3G I have almost all those points adhered.

One thing I do not understand is from 2 days and 8 hours I got with my battery life it merely reduced to 11 hours and 59 minutes. Not sure what the heck happened to my phone. I installed friendscaster and due to heavy battery drain I removed it and apart from that there were updates for apps like Titanium Backup, Google Search, Maps etc. (I have frozen maps though)

How can I resolve this sudden decrease in battery life?

Thanks
[BetterBatteryStats] longfeng:
what are the apps running in the background? anything like signal alert stuff?

---------- Post added at 07:00 PM ---------- Previous post was at 06:56 PM ----------

Kill that facebook and gtalk. Aren't they obvious battery suckers?

well, 2 days is unrealistic for a working class like me. i will be glad if it can last me 12 hours.
[BetterBatteryStats] s2d4:
did you do anything with fast net dormancy as suggested last time?
[BetterBatteryStats] qwerty22:
At various times BBS always shows the same graph. It is bug BBS.
[BetterBatteryStats] code010101:
the same for me, that is: the upper plot is EXACTLY the same! :D

Ste
[BetterBatteryStats] Perseus:
MultiPDP seems one of top evils. Please toggle airplane mode when you get home or get to work/school/etc.
[BetterBatteryStats] SagiGo:
What do you mean ?

Maybe your saying that I need to take a dump after leaving my phone in airplane mode ?

Or your tip is whenever I don't use the phone toggle airplane mode which isn't a solution , just a way around.

Waitng for your answer.

Thanks !
[BetterBatteryStats] Perseus:
MultiPDP AKA BAM_DMUX AKA whatever, is basically a wakelock when the phone is searching for a tower and attempting to get a lock to the tower.

This should not take more than a few seconds. In your case it does take a lot of time. So, we help it along. Say you are travelling from home to work. You reach work, toggle Airplane mode very briefly and then turn it off. What happen in that case is that, the phone would take a stock of what towers really are close by and then attempt a lock. Rather than assuming that a certain tower is close by and attempt a lock on it.
[BetterBatteryStats] SagiGo:
I got you but It is a bit of annoying doing so everytime...

Is it the rom I'm using , or its more of a problem with my cellular company ?
[BetterBatteryStats] chamonix:
the most important info is missing: the serie
[BetterBatteryStats] qwerty22:
How can I help you?
[BetterBatteryStats] code010101:
you mean the time series I think
[BetterBatteryStats] Perseus:
It could be the Rom. I'd suspect your Modem/Baseband. See if you could change the baseband.
[BetterBatteryStats] CM17X:
To all who can read this, specially [MENTION=1330150]chamonix[/MENTION], I'm not reporting a bug itself but asking if this is normal or if you are aware of it.

On nVidia Shield Tablet, the Kernel Wakelocks are not listed. Just toast notification with "unknow" error us displayed.

Is this normal on this device? I can make a dump if necessary, I didnt because I thought this is something related to the kernel, but not sure.

I am on Lollipop, bootloader - Shield Tablet Wifi.

Thank you.
[BetterBatteryStats] nmlssit:
Hi [MENTION=1330150]chamonix[/MENTION], first of all, thanks for your work.

I asked you on Twitter for the link to join the beta group (if any, I don't know if you are pushing betas only here on XDA) on Google Play, but I didn't get a reply.

Would be possible to join that group? Thanks in advance.
[BetterBatteryStats] qwerty22:
New info
[BetterBatteryStats] kmarc33:
I had a similar issue a while ago and saw Perseus make this recommendation. I don't know if you use Tasker but I have it set up so that whenever I disconnect from Bluetooth (i.e. my car) it waits 2 minutes and then goes to Airplane mode for 15 seconds and then turns Airplane mode off. It all happens automatically and it definitely seems to help.

note that this was 2 phones ago, might not be needed anymore for me, but I still have it in place.
[BetterBatteryStats] chamonix:
first make sure that you have updated to b7. If it's the case and still does not work please send me a logcat after having ticked the debug advanced preferences
[BetterBatteryStats] chamonix:
there is currently no bets group as such but you can pm me your email if you want to get the selected release candidates (not betas) on gplay.
[BetterBatteryStats] chamonix:
got it. I It seems that the battery graph displays the test data instead of the read data. Added #597
[BetterBatteryStats] CM17X:
I wasn't on B7, but now i am with BBS installed as System App. Now i don't get the error but the "Not stats have been collected yet" after 4 hours, whilst Partial Wakelocks is working OK.

I attached the logcat. Thank you.
[BetterBatteryStats] ka81:
can somebody please tell me which softwares/processes use most battery during the night according to my stat-file?

thanx
[BetterBatteryStats] vitoski:
Hey guys and gals.

Would you please let me know if this is a bug of the latest beta or should I be worried? I charged phone to 100% last evening. Let it for around 7-8 h in idle (during the night) and got 0.6%/h.

Checked the graph and it shows that my BLUETOOTH was working (see attached). BUT I keep it off for all the time...

Here is the log:

Sent from my XT1052
[BetterBatteryStats] 12Fully:
Is there a way to fix this RILJ wakelock? Seems to be killing my battery.

Sent from my A0001
[BetterBatteryStats] Osama Zabin:
I guess it's not that bad in your case, less than 9 m during +4 hours or more ( not clear from your snapshot)

You can try Amplify mod to reduce the frequency of this wakelock, paid version is needed.

http://xdaforums.com/showthread.php?t=2853874

I already tried it and no side effect (900 seconds applied), but it's not recommended, so try it at your own risk and revert back in case anything is broken, better you take a nandroid backup.

Below sheet illustrates what this wakelock is in addition to other wakelocks/alarms.

Don't try to adjust any wakelocks/alarms if they are not causing trouble for you.

https://docs.google.com/spreadsheets/d/tsGnUKtz9FJdPmQsJuRtzhg/htmlview#

Thanks to xda members who created this sheet and thoroughly tested mentioned wakelocks/alarms
[BetterBatteryStats] 12Fully:
Looks like it needs xposed which isn't on L yet I don't think. Thank you though.

Sent from my A0001
[BetterBatteryStats] anwarkhan25:
Battery isn't the best, can someone provide some insights or tips?

Dump: https://docs.google.com/file/d/0B1Lfi4uhqtw4d3pWeGw5SVVpOGM/edit?usp=docslist_api
[BetterBatteryStats] seky2205:
Does anyone knows what pm8921_eoc *api* is? It was runing 8 hours in one day. I tried googleing it but i can't find some info on it
[BetterBatteryStats] chamonix:
Final preparations for RC1 have started. I still have two logs of my own to check but from the feature point of view I am finished. Expect a release later today
[BetterBatteryStats] mdamaged:
Could you post a larger screenshot? It didn't take up enough room.
[BetterBatteryStats] anwarkhan25:
Is that sarcastic or?

EDIT: Just seen how big it was when I seen it on my desktop. Sorry, I uploaded it through tapatalk and thought it would post as a attachment.
[BetterBatteryStats] anwarkhan25:
My bad!
[BetterBatteryStats] jsheng007:
Can someone check with my betterbatterystats? from 4am to 12pm my battery drained about 30% with wifi on
[BetterBatteryStats] chamonix:
In the process of fixing #602 I found a bug in the format of strings.xml. I have fixed that for all languages so please update your branches.

Release is complete and I will build in a few hours. Time for the last pull requests ;)
[BetterBatteryStats] martinoff:
why you don't edit your post then ;)