yashsingh1/xdaforums huggingface dataset:
[BetterBatteryStats] gabriolinari:
hi guys,

can someone tell me if this is normal/average:

- new battery (almost 2 full charges, one from 0% and then two partials, so still pretty newish, original Samsung Sgs2 battery, recent as well, 2013.04 (april) .xx)

- Stock 2.1.2

- Modem MS2

- Kernel Dorimanx 8.43

During this past night, i put phone to sleep mode with Sleepbot (love that app) and for a period of 9 hours of sleep, it consumed 6% battery which is like 1.5% per hour. is that good or bad or just the way it is? with so many changes i have done to the phone, i dont really know anymore. I am thinking my phone is doing something in the background regardless. Also yesterday i switched SYNC off as i didnt want to be bothered by emails but it seems battery drain was not changing much. I remember in the past if i turned SYNC off (more or less same setup), then battery life was MUCH better. Not sure if this is good or bad.

Then phone is often warm near the camera area, sometimes even if is not doing anything at all, this is not a good sign in my book.

To give some other stats, with sync on, using some wifi, normal browsing, some apps, etc, i managed to do 1.5 days on time with this new battery which i think has not been fully unleashed since just a few charges done. (this including 9 hours of sleep overnight as well as i said above).

Finally, the guy i bought the new battery from said that the "power amp" of the sgs2 often goes bananas and needs replacement.

I have better battery stats on, i can post some stats later or tomorrow.

thanks a lot to everyone that can give some help!

Gabrio
[BetterBatteryStats] Dani_chan:
Your math is a bit off. 6% drain in 9 hours is 0.667% per hour == very good ;)

From my I9100, Slim Bean, Android 4.3.1
[BetterBatteryStats] gabriolinari:
argh, i have made a mistake...

Battery was 46% when i went to bed, put sleep bot on, switched ALL off and flight mode enabled, when i woke up it was 36% therefore 10% gone in 9 hours.
[BetterBatteryStats] mobilehavoc:
Installed B2 on Nexus 5. Only kernel wakelocks seems to work is this known?
[BetterBatteryStats] sohebq:
Phone note 3 with android 4.3

How can I decrease google services wakelocks. I only have contacts and gmail sync enabled.

Sent from Note 3 (The beauty & beast)
[BetterBatteryStats] KoRRo89:
For me everything seems to work with b2...

Anyway does anybody know what could be causing "AudioMix" partial wakelock on nexus 5?

Inviato dal mio Nexus 5 utilizzando Tapatalk
[BetterBatteryStats] rocada:
Try this: http://xdaforums.com/showpost.php?p=35755907&postcount=11160&nocache=1&z=7951716729439795
[BetterBatteryStats] sohebq:
[MENTION=5169275]rocada[/MENTION]

Thanks but this app is a bit difficult to understand as not sure where to disable google services framework.

Sent from Note 3 (The beauty & beast)
[BetterBatteryStats] sohebq:
I need to understand this breakout. Can someone guide me when these arr triggered?

Sent from Note 3 (The beauty & beast)
[BetterBatteryStats] Perseus:
Not sure of the Diagnostic Client. Do you have something like that installed ? The other 2 are routine system ones. If they are inflated then look in Processes and under alarm tab.

No it isn't. Its Maildroid. I see you have Greenify, so please Greenify it.

I see Google Cloud Messenger and Facebook running Amok. Please curtail their refresh frequency.

I bet you had Location Service on. So You should have turned that off before that.
[BetterBatteryStats] mobilehavoc:
Are you rooted? I still get only kernel wakelocks after a reboot even. Everything else is blank. I'm not rooted though
[BetterBatteryStats] chamonix:
See the changelog: because Google broke the batteryinfo service on kitkat partial wakelocks and most "other" stats are only available to rooted users. I have submitted multiple requests including a change to aosp to revert that change but for now unfortunately I had to write quite a lot of code to work around that situation and that code requires root.
[BetterBatteryStats] Christiancs1969:
Might be of use ? Sorry if not http://xdaforums.com/showthread.php?t=2519744

[XPOSED MODULE][MOD] Enable BATTERY_STATS In KitKat
[BetterBatteryStats] Karpfenhai:
If you don't mind, could you repeat the same test on apolo kernel?

Use regular, set to save in configurator app.

I'm quite curious about the difference.

Thx in advance!

Tapatalked from my Galaxy SII
[BetterBatteryStats] ollidiemaus:
Is it possible that the Widget is not working on Android 4.4?

I'm running the latest Beta from this thread.

Gesendet von meinem Nexus 5 mit Tapatalk
[BetterBatteryStats] Perseus:
Could be. Are you rooted ?
[BetterBatteryStats] ollidiemaus:
No I'm not.

Gesendet von meinem Nexus 5 mit Tapatalk
[BetterBatteryStats] desairs:
I have this process that ran for almost 7 mins of the 1 hour I had my phone off. Any idea what it is?
[BetterBatteryStats] Perseus:
That's the reason. Due to certain changes in Kitkat, the widget won't work unless rooted.

Searching for Tower. Turn on Airplane mode briefly for a tower relock and then reboot to start new BBS marker.
[BetterBatteryStats] ollidiemaus:
Ah okay thanks a lot mate.

Will this going to be changed or is this even possible?

Gesendet von meinem Nexus 5 mit Tapatalk
[BetterBatteryStats] Perseus:
Its possible. Don't hold your breath though. It will change if Google reverts some code changes.
[BetterBatteryStats] desairs:
Ahhh that's not what I wanted to hear.

Basically at work we have a micro cell from sprint. Because of this, I have to switch from global to 3g when I get to work otherwise, my phone tries to connect to a very weak LTE signal. When it switched between the 3g and LTE signal I end up getting a total LOS. Do I need to cycle airplane mode any time I switch from Global to 3g?

Thanks for the help!
[BetterBatteryStats] Perseus:
You could try rebooting after you switch to 3g. Check BBS about 5-10 minutes after reboot to see if the BAM wakelock exists.

If you have JB, then in Quick Settings, there should be a toggle for 3G.
[BetterBatteryStats] desairs:
I have KitKat unfortunately. The only place to change it is in network mode which is a few menus deep. I have been trying to figure out a tasker for it but I haven't rooted yet so there is no way.
[BetterBatteryStats] chamonix:
Thanks for linking. In fact I am in contact with gsamtan and we have been discussion different options to deal with the fact that google has committed the change that prevents us to access the batterystats (formerly batteryinfo) service and Xposed of course is one option. The two other are:

- working around that dependency: that's what BBS does but it is limited and also means quite a lot of code that needs to be maintained

- request for more info in why that commit was made (done) and request for it to be reverted (done)

The more options the better but as the linked post states Xposed does not work on Kitkat yet. Once it does BBS will of course support it as well as the workaround.
[BetterBatteryStats] Perseus:
[MENTION=1330150]chamonix[/MENTION],

If I may ask, what do you think are our chances that Google will revert or provide documented alternate way ?
[BetterBatteryStats] :
Bbs beta 2 uses almost as much battery as my screen does. (kitkat, nexus 5). any idea how to fix that?
[BetterBatteryStats] chamonix:
Post a dumpfile proving that or it didn't happen
[BetterBatteryStats] chamonix:
I have really no idea what will the google's reaction on that as they have not provided the reason for the commit; a non public issue number is in the commit log.

When we have a reaction from google we will see and take further actions
[BetterBatteryStats] chamonix:
1.15B3 is up: partial wakelocks should look nicer with package info and icon on kitkat. See changelog for a complete list of fixes.
[BetterBatteryStats] superpc:
Hi guys, I have been trying to troubleshoot why the idling drain of my phone seems to be pretty high recently. Here's the dumpfile after letting the phone idles overnight. Basically it has very good deep sleep, but the count of this particular "sns_async_ev_wakelock" seems to be particularly alarming even thou the wake time is low.

Could this be the culprit? If yes how would I solve it? If not is there any other thing that stands out?

It's a Nexus 4 running Purity and Semaphore kernel.

Thanks for any help!
[BetterBatteryStats] jlmcr87:
[MENTION=1330150]chamonix[/MENTION] Tried 1.15.0.0_B3 with changelog: Hi-res icon. Sorry but the icon is still blurry in xxxhdpi like in the previous versions and the photo i sent you the other day. Thanks
[BetterBatteryStats] chamonix:
The only think I could do was to add an xxhpdi icon: Eclipse/ADT (updated) does not recognize drawable-xxxhdpi as a valid drawable resource dir. I will look into this one I got my Nexus 5 and I can test myself
[BetterBatteryStats] jlmcr87:
Ok thanks! If you have a good vision you will see this in your nexus, if not take a screenshot and put it at 100% in your pc:good:
[BetterBatteryStats] Dreadsteel:
It seems no one knows what the diagnostic client wakelock is. Did a few searches for it. No luck. Might be a galaxy note 3 specific problem as other note users have or too.

What should I look for under the processes tab? I frankly do not understand it.

Thank you for your help so far!
[BetterBatteryStats] Perseus:
The following are the issue areas as I see. Please make them manual sync or Turn off as the case may be.

Location Service, Gmail Sync, Facebook/Facebook Messenger, Email and Media Scanner.

Congrats on the new device! BTW thanks for not shooting me for my other question.
[BetterBatteryStats] maanz "L":
Hi..

I'm facing somewhat the same issues like yours. 100% Awake and no deep sleep. I'm using 4.3 MJ5 firmware on SGS4I9505 btw.

Been facing these since yesterday after installing 4.3.

Although I have disable some GSF stuffs, Google play services stuffs and other location reporting-related to google (and converted to user app and grenified Google Play Services), still I don't get any deep sleep. I have been using BBS for a long time to tackle these wakelocks and alarms stuffs but this time has been real tough for me.

Here is the dumpfile:

Till now, I havent found the culprit yet...

I have posted yours and mine in [URL="http://xdaforums.com/showpost.php?p=47306300&postcount=1033"]http://xdaforums.com/showpost.php?p=47306300&postcount=1033[/URL] to see if we can get help there too.

Will be greatly appreciate if anyone can find the solutions here.

Cheers...
[BetterBatteryStats] Perseus:
I have posted my response on that thread so I am not going to repeat myself. As to the other user, I had posted my response here. You can follow that if its identical dump.
[BetterBatteryStats] Jolest:
Can you please post a link to the bug track entry so we can vote it up enough to get some action? (For Google to make changes like this, is imho, just foolishness on their part.)
[BetterBatteryStats] warezxts:
no idea what is com.android.server.LightsService.action.UPDATE_SVC_LED please help guys!
[BetterBatteryStats] KoRRo89:
I'm not sure, but from the name it seems to be related to the notification led...

Inviato dal mio Nexus 5 utilizzando Tapatalk
[BetterBatteryStats] warezxts:
should be, but why wkae up triggering (alarm) more than 150+ ? :(
[BetterBatteryStats] brunek:
Hey guys, this night I lost 7% over night with everything off(wifi,3g,sync..) I flashed a new kernel 2 days ago and for the first time I am seeing "NlpCollector wakleock" and I dont know what it is.. An my alarm wakeup locator is through the roof and I dont know what it means.. Fix?
[BetterBatteryStats] chamonix:
I will but still like to think that Google should be granted a few days to give an explanation and deliver all the info.
[BetterBatteryStats] foosion:
Search this thread for NlpCollector for some useful info
[BetterBatteryStats] njfoses:
Long time user of bbs on various devices. Now using v 1.14 on my rooted vzw note 3. When i try to check alarms it says "boot event was not registered yet, it will at next reboot." I have granted the app root permissions in the advanced menu and rebooted numerous times to no avail. Any ideas? Thanks.
[BetterBatteryStats] brunek:
Al I could find was to turn off location services.. Will se how it works..

posl'o ja to s mob'tela
[BetterBatteryStats] pjadec:
Did you do normal reboot or soft reboot?, if soft reboot that did not work right to bbs, so you have to reboot normally your phone or bbs didn't register right your phone reboot.
[BetterBatteryStats] foosion:
Yep. You can turn off in main location settings and in google settings.
[BetterBatteryStats] SaintCity86:
Can anybody help me out with mine real quick. Nothing really wrong, just want some quick feedback if there's anything I can do.

I never get to let the phone idle for very long, so this is just about 4 hours total. Dropbox links so I don't have to leave Tapatlk

Text file : https://db.tt/Q245iO6l

Logcat file : https://db.tt/VgysFBc9
[BetterBatteryStats] brunek:
Thanks man! :thumbup:

posl'o ja to s mob'tela
[BetterBatteryStats] njfoses:
Normal reboot.
[BetterBatteryStats] basilhs1985:
no dump file

i can't seem to find the dump file anywhere. i know it's supposed to go to sdcard/ but there's nothing there. can someone help please?

(shouldn't there be an option for this in the app???)
[BetterBatteryStats] bombadier:
[MENTION=5138878]basilhs1985[/MENTION]

If you look under settings/advanced you will see where it is created

/sdcard/Android/data/com.asksven.betterbatterystats/files/Download something like that
[BetterBatteryStats] SaintCity86:
That's the internal sd card too btw

Tapatold from my Galaxy S4 running Wicked v7
[BetterBatteryStats] davevinci:
I think those are pertaining to location services or gps

Sent From my Optimus G powered by PA 4.0
[BetterBatteryStats] TheeWolf:
Google cloud messenger? You mean hangouts?

If not, how do I turn it off or change their refresh frequency as you said?
[BetterBatteryStats] chamonix:
Beta 4 is up, bringing process stats back to BBS: we are now feature complete have have worked around all the code that was broken by google in 4.4_r1 :p
[BetterBatteryStats] SaintCity86:
Bump

Can anybody take a look at mine please?

Tapatold from my Galaxy S4 running Wicked v7

---------- Post added at 10:18 PM ---------- Previous post was at 10:16 PM ----------

Do those of us who don't have kit kat need 1.15? Or are we fine with 1.14.

If 1.15 is better, I want that one though. No sense in getting it if it's coded for kit kat though I suppose

Tapatold from my Galaxy S4 running Wicked v7
[BetterBatteryStats] Aerowinder:
Remove JuiceDefender. That's the only problem I see.
[BetterBatteryStats] MikeLibbey:
Hey guys Anyone know what the nf-mdx is that's eating my battery?
[BetterBatteryStats] chamonix:
Well 1.15 will hopefully soon replace 1.14 so even if you are not on 4.4 it would be great to get some feedback on how 1.15 works for you: I have put great care in making my changes so that the new code only runs on Kitkat but every change comes with a risk that I missed something
[BetterBatteryStats] c@p:
Thanks for your work.

#419: Package info and icons re-added to kitkat partial wakelocks

Seems to be broken in b4 again?

Gesendet von meinem Nexus 4 mit Tapatalk
[BetterBatteryStats] chamonix:
Please read the first posts of this thread on how to report bugs.
[BetterBatteryStats] Karpfenhai:
It's your Netflix media player creating a so called media manager waiting for events or whatever.

Try without it and it will be gone.

Regards.

Tapatalked from my Galaxy SII
[BetterBatteryStats] MWilkenson:
Hey everyone. I was hoping someone could help me out. I have the Nexus 5 and am experiencing NLPcollectorwakelock. I have included my BBS .txt file. Steps I have already taken from reading this thread is disabled Google Now and disabled the location settings in the Google Settings app. Is this a problem with my actual phone or is it something thats all software? Thanks for the help.
[BetterBatteryStats] epiphone:
does one need root to use this?
[BetterBatteryStats] chamonix:
No, I only alarm breakdown will be unavailable if you don't have root
[BetterBatteryStats] hzoner:
need one straight answer... does this apps saves battery life?
[BetterBatteryStats] nikzDHD:
Yes and no. Go figure what this app does and how it can relatively end up saving battery. Read the thread.
[BetterBatteryStats] yhrn:
I usually have both wifi and 3g enabled (is that what you meant with network providers?) and maybe that's the problem. I have a feeling that the wakelock occurs when I'm not at home so maybe the network location service is going bananas collecting info when wifi is enabled, there's a bunch of wifi networks available but I'm not connected to any of them.

Anyways, I disabled network location after my previous post and I haven't seen the wakelock since (maybe not too surprising given its name). I'll leave it like that for a while though to make sure. Then I'll enable network location again but I'll disable wifi when I'm not connected to any network and see if that was the issue.

Thanks for the suggestions. I'm going to look into what apps might be using my location a bit more.
[BetterBatteryStats] gorillaCF:
here are the screens.

really dont know why is my phone awake all the time. wondering is it the alarmmanager, that has a count of 2336.
[BetterBatteryStats] dcharleyultra:
Gorilla, try freezing Juice Defender.

Swyped from my Evo 4G using Tapatalk
[BetterBatteryStats] yhrn:
You have an SGSII, right? Suspend and events/0 at around 3 minutes are the typical indication of what has been called (a bit misleadingly as it is more complex than that) the SGSII AOS bug. If you check the built-in battery usage do you see Android OS high up there? If so, check this thread for more info. Also, in this case you can do the following to narrow it down a bit:

Charge full

Unplug

Reboot

Leave the phone alone and go to bed

Check kernel wakelocks in the morning (or dump BBS stats to file and post it if you can't interpret what's wrong and somebody might be able to help you)

For me, high AOS usage turned out to be caused by wifi wakeups related to my previous home wifi router (D-Link DIR-655). I now have another router and the problem is gone.
[BetterBatteryStats] Entropy512:
Have you considered reading its description?

It does not directly DO anything in terms of actions. It serves to provide you with information that you can use to take corrective actions to improve battery life.
[BetterBatteryStats] gorillaCF:
hmm, i thought that JD helps to conserve batt, no?

because i really like the way JD offs my 3G whenever i go to sleep mode.

hi, first of all thank u for ur reply.

yup, i'm using SGS2, and i tried the steps u mentioned above, except for the BBS dump. i noticed that most of the wakelocks are due to JD, Dialer, and AlarmManager. still trying to figure out how to solve these, but yea, thanks again.

this app is really helpful! *thumbs up*
[BetterBatteryStats] RampageRR:
Juice Defender causes more problems than its worth IMO.
[BetterBatteryStats] Mayday_XL:
Nice app, thanks.

Sent from my S2
[BetterBatteryStats] gorillaCF:
thanks for your reply. i've removed my JD haha.

anyway, thinking that maybe its more feasible that i get a widget to manually toggle my data/wifi.

anyway, my AlarmManager still clocked in the highest wakelocks. any idea how do i do the dump thing to check wat are the apps?
[BetterBatteryStats] yhrn:
If you're rooted you can check alarms in BBS under "Actions->Alarms".
[BetterBatteryStats] MistahBungle:
Pull up a terminal window. Type su & hit enter. Type: dumpsys alarm > /sdcard/alarm.txt & hit enter.

That will drop the details into a txt file on the root of your internal SD card.

Lots of useful info in that ;-)
[BetterBatteryStats] t-pip:
Been using BBS for a week now and got my usage down to about 2% per hour. For no apparent reason it has now gone up to about 6 - 7 % an hour. I can't see anything that's changed, could someone please have a look through the Dump and let me know if I've missed anything?

http://pastebin.com/GzRXMNDs
[BetterBatteryStats] yhrn:
Bluetooth seems to be on most of the time and being used by some service.

"LocationFriendService" - I think that's Latitude which is a known drainer.

Lots of alarms as well so maybe check under "Actions->Alarms"
[BetterBatteryStats] t-pip:
The Bluetooth is OK, that was my Journey to work this morning.

Isn't the Location service only showing as 1 minute of usage?

And how do I check the Alarms?

Sorry I'd consider myself an established Android User and Tweaker but all of this is new to me!..

Thanks for your help.

Trev

Edit

Ok found the Alarms. I'm assuming that the number of Wakes is the number of times it has run?
[BetterBatteryStats] MikeLibbey:
How do I turn that off??
[BetterBatteryStats] Karpfenhai:
Hey there, could you repost your dump by using beta 4 from op?

It might contain more information and be easier to read for us, Thx.

Did you already follow the usual advice? Sign out location service, disable reporting from maps and Google settings app?

Regards

Tapatalked from my Galaxy SII
[BetterBatteryStats] MWilkenson:
You just want the Text Dumpfile right? I just got this from beta 4 that you requested. Also what do you mean as sign out of location service? I disabled it in google settings. And I will disable reporting from maps right now. Do all phones experience this? This isn't a device issue is it?
[BetterBatteryStats] miten_sheth:
Anyone can tell me what wakelock is this?
[BetterBatteryStats] skivnit:
Does bbs cause the sec-battery-monitor wakelock? Been having it since 4.3

Sent from my Perseus powered octa
[BetterBatteryStats] Karpfenhai:
Okay these figures are obviously wrong but maybe the next unplug will fix this, nevertheless it still shows the same issue, location reporting.

It's not device specific, it's just overhead, disable all location reporting should be enough, disabling all location services should not be necessary.

Ensure Wi-Fi scanning is disabled as well in Wi-Fi advanced settings.

Take a fresh reading, let's see if it behaves now.

Tapatalked from my Galaxy SII

---------- Post added at 08:22 AM ---------- Previous post was at 08:20 AM ----------

It's Google play service, since the recent upgrade it goes mad, if you tap it, does it show gcm?

Read some pages back, there's a manual how to get rid of it.

Regards

Tapatalked from my Galaxy SII
[BetterBatteryStats] SaintCity86:
I think the reason juice defender has so many wake locks is because I've got it set up to turn off data when the screen goes on, and turn it on when the screen is unlocked.

Is juice defender not saving me any battery? I can't tell if it's actually really doing any good or not.

Tapatold from my Galaxy S4 running Wicked v7
[BetterBatteryStats] chamonix:
AFAIK this wakelock is a symptom, the cause are Wakeups (alarms). Could you please post a dumpfile so that we can check if it correlates?
[BetterBatteryStats] brunek:
This is my dump after i "killed" location services. Over night,in 9 hours i lost 6% with everything off.. I have a question.. Could avast and tesla unread cause this deep sleep problem? It had 79.1% deep sleep which is not good..:confused:
[BetterBatteryStats] stevebuk:
Hello there,

I hope this is the right place to ask. I've recently changed to a Nexus 5 and BBS stopped working. After looking around I noticed the latest beta from yesterday that I believe gives feature parity on Kit Kat to the previous version. However, when I run it, I get an empty window for "Other" rather than the usual details. Can anyone confirm this part should be working okay or have I done something wrong? Looking at the change log, it seems b2 should fix the issue?

1.15.0.0_B4is the version I have.

Please see image attached.

Thanks

Steve
[BetterBatteryStats] Karpfenhai:
The deepsleep figure is obviously wrong, assuming you're not in flight mode, this is a decent result, nothing to worry about, you're good.

Tapatalked from my Galaxy SII