yashsingh1/xdaforums huggingface dataset:
[BetterBatteryStats] henry8668:
My phone has the same setting for months. Only occasionally this happened (maybe about 3 time in the past half year). Most of apps are already in greenify.

Is there anything specifically we can see from the BBS log that might be causing the issue?

Thanks!
[BetterBatteryStats] Unuce:
Can someone help me?

Sent from my GT-I9300 using Xparent Blue Tapatalk 2
[BetterBatteryStats] Wh1t3Rose:
I can't download your BBS log. Reupload it.

#AndroidL
[BetterBatteryStats] swat4samp:
So, far the past few days, i'm getting higher battery drain than usual 2-3%. I had no wakelocks whatsoever, disabled everything, use airplane mode from 12-7. Yet, i had this drain. [MENTION=4828464]Sandman-007[/MENTION]
[BetterBatteryStats] Wh1t3Rose:
I see no issues. Its likely due to a kernel/ROM update. You just likely had better results on previous version? If you update give it at least 2 days b4 judging battery so your cache can rebuild as this takes battery. But I see nothing wrong with your logs :)

#AndroidL
[BetterBatteryStats] Mistertac:
Yea I didn't see anything going on there either... Just your WiFi+ Hangouts and Facebook I believe.

Really didn't look that bad.

- Tapatalked from the G3
[BetterBatteryStats] swat4samp:
I never faced this before. And i found this drain after 2-3 days of ROM. So, i guess it maybe a faulty ROM. Switched to another ROM and will report if something strange happens :) Thanks both of you.
[BetterBatteryStats] Karpfenhai:
Don't forget, play services and store are usually auto updating, could explain the difference..

Regards
[BetterBatteryStats] swat4samp:
But it updates only while on WiFi or data right? I always turn them off before going to sleep. And if I'm not wrong, even if those are the reason, it should show on BBS stats .
[BetterBatteryStats] Solace50:
does anyone know what specific wakelock is refrenced for googles quick search bar? when you have ok google enabled anywhere it seems to trigger a partial wake lock at random times consuming more battery then normal and not entering deep sleep properly. i do not see this limiting the functionality in any way and this probably will solve the google now battery drain issues that remain even after controling the NLP alarms.

Alarms (requires root)

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

com.google.android.googlequicksearchbox (): Wakeups: 50 (1.3 / hr.)

Alarms: 50, Intent: {com.google.android.googlequicksearchbox/com.google.android.velvet.VelvetBackgroundTasksImpl$Service}

Alarms: 0, Intent: send_events cmp={com.google.android.googlequicksearchbox/com.google.android.voicesearch.logger.EventLoggerService}

Alarms: 0, Intent: {com.google.android.googlequicksearchbox/com.google.android.speech.grammar.GrammarCompilationService}

Wakelocks (requires root / system app on Android 4.4+)

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

AudioIn (com.google.android.googlequicksearchbox.Google Search): 2 h 15 m 5 s (8105 s) Count:157 5.6%

sometimes it releases the partial wake lock properly and you have a 1:1 screen time ratio which makes sense since its "always listening" but other times it exceeds the screen on time meaning the wakelock was never released. realistically the app should not need to keep the phone awake as when the screen goes off its both locked and expected to sleep.

removing the wakelock would probably solve the issue and not hinder the apps functionality, how about does one figure out the specifc wakelock thats invoked by the apk? just looking through a logcat file?

step 1 is figuring out the wakelock

step 2 is blocking with wakelock terminator

step 3 analyze results
[BetterBatteryStats] Solace50:
correct me if im wrong but i believe i would just filter AudioIn for Google search.
[BetterBatteryStats] souler456:
Can someone check my BBS log? :confused:

As you can see, I'm having this weird wakeups, even on Airplane Mode. As I can see from the BBS report, no User App causes this, so it's the System, but I don't know which of 'em System App needs to be dealt with... :eek:

:D :) ;) :good:
[BetterBatteryStats] KevinBui:
My device LG G2 D802, using stock room 4.2.2, but battery drain 3-4% overnight (7h, with only 2G; wifi, gps, data syn also turn off). I think that's quite much. I attached BBS report and hope anybody tell me what problem with my device?
[BetterBatteryStats] irish-sid:
I think my phone is worse since using greenify and nlpunbounce. It didn't sleep at all last night
[BetterBatteryStats] Mistertac:
Yours actually doesn't look that bad. It was in Deep Sleep most of the time.

Your phone was awake for about 25 minutes and had about 1 minute screen on time. Those numbers could be brought closer together by maybe putting the Value of 600 ( 10 minutes ) into your NLPWakelock Module, or by turning location right off when not in use.

You could also set your WiFi to turn off when your screen is off under WiFi Advanced.

Turning sync off when not needed can help too.
[BetterBatteryStats] irish-sid:
I list nearly 50% over night and shows it was awake the whole time
[BetterBatteryStats] Mistertac:
Well from the dump file I didn't see that.

It shows your phone asleep for most the time with WiFi running...
[BetterBatteryStats] irish-sid:
Ah, looks like the wrong date, here's today's, sorry
[BetterBatteryStats] Mistertac:
OK so yes... Definitely a problem here.

You have " CastSocketMultiplexer.mWakeLock" keeping your phone awake for 8+ hours.

I've never had this one myself but a quick search reveals others have had it. Here's some people on Reddit talking about it and what they did to resolve it.

http://www.reddit.com/r/xposed/comments/2ath7o/anyone_experiencing/

I'd say your best bet is to figure that one out first and see where you're at.
[BetterBatteryStats] irish-sid:
Will do. Thanks for the link
[BetterBatteryStats] dimm0k:
HELP! not sleeping

Not sure if it's detailed in this log, but does anyone see why my device did not go to sleep at all last night? It was awake for 8 h 2 m 31 s and my battery was drained from 97% to 31% during that time...
[BetterBatteryStats] Mistertac:
Looks like " msm_hsic_host" kept your phone awake. You have a Sprint S4 right?

That's related to how your phone is handling Data and WiFi and it can get stuck in WakeLock. Your apps don't seem to out of control.

See this for what users have been doing

http://www.reddit.com/r/nexus4/comments/1w1v17/msm_hsic_host_wakelock_suddenly_appeard/
[BetterBatteryStats] dimm0k:
[MENTION=5500746]Mistertac[/MENTION] the link you provided looks to describe exactly what's going on, however the only resolution it seems to fix this is to flash a new kernel or restart the device... did I miss something or is there another option??
[BetterBatteryStats] zohan99:
could the partial wakelocks from Alarmdroid be from me hitting the snooze button 20 times before I actually get up ( yes I'm lazy :) )?

I've been using Alarmdroid for months now with no battery problems.

By saying remove it, do you mean uninstalling the app?

Thanks!
[BetterBatteryStats] Braneless:
Thank you. Purchased and installed.

The new version looks great - lots of new features and graphs.... I love graphs :)

Snt frm my Nxs S 4G sng xd prm
[BetterBatteryStats] ataranea:
this is very nice!! thanks!
[BetterBatteryStats] chamonix:
What are you missing? BBS runs fine with all features on my gn using 4.02 / 4.03
[BetterBatteryStats] Clarkkent434:
Chamonix

I have been using your app but I feel like I have to run script in or do something with. Am I doing anything wrong. I follow the how to.

Sent from my Droid Nexus.
[BetterBatteryStats] Braneless:
Nothing - someone had answered earlier, so I went ahead and bought it. I was just curious as the OP only listed up to honeycomb.

Snt frm my Nxs S 4G sng xd prm
[BetterBatteryStats] jeremysherriff:
Confirmed on mine too, Huawei u8800 on MIUI 2.1.6 with BBS v1.5.0.

Works when first installed, FC's after a couple of changes between process/wakelocks/other. Once it FC's, it doesn't work again until the device is rebooted.

Edit: It FC's after about 1 minute (auto refresh of data?) and any reboot will resolve it for a while including a "hot reboot"

Edit 2: Reboot doesn't always fix it :grrr: but it's better with airplane mode enabled - I wonder if it's something to do with the google analytics and the miui firewall or wifi-only downloading filter... disabling gogle analytics, firewall, etc didn't help :(
[BetterBatteryStats] dirtyreturn:
bbs txt

chamonix, here is the latest txt. if you could take a look at it your help would be appreciated
[BetterBatteryStats] jeremysherriff:
Hi @dirtyreturn

Your file shows:

Statistic Type: (0) Since Charged
Since 1 d 1 h 6 m 6 s

Can you tell me, did you give a partial charge in that time?
[BetterBatteryStats] dirtyreturn:
yes, by asking that question I think I may have messed up the stats, right? Sorry about that. Once I do it properly than everything should be accurate, correct? Then, the info I post will actually be useful.
[BetterBatteryStats] jeremysherriff:
No, you're OK, I was asking for my own information. 25 hours with some pretty heavy usage in there (5 hours with screen on, 6 hours with Tapatalk running) is pretty huge by my standards, so I guessed you had put it on charge for a bit but not reached the "fully charged" mark.

The file is fine for diagnosing partial wakelocks etc if that's what you're trying to do. Looks to me like you don't have any serious issues running the battery down, is that right? You've fixed most/all of your problems?
[BetterBatteryStats] Uvoguine:
Thanks a lot for that app ! Very useful.
[BetterBatteryStats] dirtyreturn:
I was curious about the awake time vs. screen on time. There is over an hour and a half of the phone being awake. I'm not sure if that's a really big deal considering the log being available for a day +. The first thing I did was check the 'other' box, checked the alarms option next, android and the ...gsf... were up top, read in this thread that not much can be done about that. Aside from checking those things, I'm not quite sure what to look for. I don't use Gtalk, twitter, I do get the GTALK_SYNC a lot, any way to minimize that?
[BetterBatteryStats] shortskoolbus:
How far back is the dump from? The last reboot?
[BetterBatteryStats] jeremysherriff:
It's a numbers game :)

Look at it this way: 1d 1h 6m 6s is exactly 83166 seconds. We'll need that number soon.

Search the file for gtalk - it appears three places.

GTALK_ASYNC_CONN launched 167 times but only ran for 36s.

That's about 210 milliseconds (0.21s) each time it launched - so it's not doing much.

And out of the 83166 seconds the phone was running, that 167 lauches is only really once per 500s (8m20s).

GTALK_CONN only launched once each 69s. And those 1203 times it lauched only added up to a whole 1s of running time.

Awake vs screen on: subtract one from the other, you get just under 4500s.

Now, subtract the screen time from the "since" time = 83166-20057 = 63100s.

So, awake but with screen off is 4500/63100 = 7.1%

Seems high, but I haven't calculated that with anything else so no real idea.

The com.google.android.gsf woke up 29 times, seems high but that's only once each 45m. "Android" was once every 27m. Sounds fine to me - I have something waking my phone every 30s and it stays awake for 20s each time - so in 25h I'll see 3000 wakeups and running for more than 55000s.

In regards to stopping/reducing, it depends on whether you really *don't* use them, or only use them very occasionally.

Either way, Titanium Backup can help. Freeze the ones you use occasionally, you can then unfreeze them if you need them.

And for the ones you don't use at all, use Titanium backup to uninstall them (make a backup of each apps first).

Have fun!
[BetterBatteryStats] zohan99:
Just an FYI for anyone interested, I found the culprit!

com.sec.android.socialhub:service (com.sec.android.socialhub.service.SocialHubService)

This Social Hub garbage was killing my battery life. A quick uninstall using TB and we are back in business!
[BetterBatteryStats] chamonix:
Thanks for the hint, updated OP
[BetterBatteryStats] chamonix:
See post #2

Android has a service called "batteryinfo" and for whatever reason that service is not running on MIUI (at least not on the version I have heard of). The reason why that process is not running (and by doing so keep vital info from users and apps) is unclear to me, I have only read that this service has been modified by MIUI and has become a drainer itself.

At this point I must say I have nothing against MIUI but dislike the fact that I am not able to support you better as I have no source code to look at not a spare device to spend on a specific ROM.

Now if any of you guys could help me by finding out what exact name that service has and where it can be turned on in MIUI (with screenshots) I'd be happy to update the second post with more valuable infos. For now I can just tell you what I know:

find a way to start that service and BBS will run just fine
[BetterBatteryStats] Mistertac:
That's what I took from it too.

Things I'd try possibly would be to flash a new kernel, like Ktoonsez. Maybe even factory reset. Are you running a custom ROM / Kernel??
[BetterBatteryStats] dimm0k:
unfortunately no, I'm running stock ROM and can't really flash a new kernel due to Knox restrictions here
[BetterBatteryStats] Mistertac:
Well my last phone was an S4 and I know what you're saying. Unless someone here has another idea if you can't seem to fix this any other way... Either factory reset or use Odin and your tar. Image.

You could also try updating your modem via Odin as well. Just an idea
[BetterBatteryStats] kzhkr:
Google Drive Broken?

hi.. would like to know if i apply Karpfenhai's solution to Google Play Services and Google Services Framework, would it break Google Drive functionality?
[BetterBatteryStats] souler456:
Following my problem here:

The wakelock here is some serious sh*t. And I couldn't find the wakelock (in my perspective) in the BBS report. If anyone would help me check the problems (also the first one), it would be really helpful. :D

This is my last consultation. If no one would help, I guess I have to do the last resort, doing a Full Wipe (trying to avoid)... :(

:D :) ;) :good:
[BetterBatteryStats] Karpfenhai:
There is nothing visible in this dump, Did you try another (fresh) battery?

Regards
[BetterBatteryStats] souler456:
I only have 1 battery (stock battery). Maybe Battery problems? Should I buy a new one? :confused:
[BetterBatteryStats] Karpfenhai:
Since batteries are pretty cheap and your phone isn't the newest I would recommend that, get the 2000mah one, it's worth it!
[BetterBatteryStats] Wh1t3Rose:
Dude why would you ask here. This a battery life thread. Either ask in the Q/A section or even better just ask here:

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

[HELP THREAD] Nexus 5 | Ask any question

#AndroidL
[BetterBatteryStats] Unuce:
Here you go :)
[BetterBatteryStats] Wh1t3Rose:
You forgot the link lol.

#AndroidL
[BetterBatteryStats] kzhkr:
because the solution was provided in this thread, so thought it's more appropriate to ask here since i did apply the mod

and then realized gdrive app isnt working. just wanna check if it's caused by the modification of GSF/GPS or not, then i

can decide what to do for the next step :angel:
[BetterBatteryStats] Wh1t3Rose:
Oops I thought I saw it in the other thread.

#AndroidL
[BetterBatteryStats] Unuce:
I attached it
[BetterBatteryStats] Wh1t3Rose:
Oh lol. Can't see it in TT.

#AndroidL
[BetterBatteryStats] Karpfenhai:
Hmm, probably it is, which guide did you follow? The latest provided some pages back or an older one?

I guess Google drive relates on gcm, does manual sync / upload work?

Call it collateral damage, revert all changes and apply them step by step until it stops working, reply back which service in particular caused the issue to help others.

Regards
[BetterBatteryStats] kzhkr:
the updated ones. alright, i will try to revert it when i'm free. i can't open the app at all.

"Unfortunately, Drive has stopped." is the error msg whenever i try opening it

but should be interested to see no one ask about it after they applied the new mod, either they never use gdrive or haven't try it yet :confused:

thanks!
[BetterBatteryStats] Karpfenhai:
The latest guide shouldn't affect Gmail and gcm, I wonder why it should break drive.. let's see if we canwork this out.
[BetterBatteryStats] kzhkr:
that's why my purpose for asking is to check if it break gdrive. haha.. cuz your latest mods never break gcm push (hurray!) but i was surprised about the breakdown of gdrive this morning when i try accessing it. anyone can confirm?
[BetterBatteryStats] KevinBui:
How about my cases?
[BetterBatteryStats] Perseus:
I see one Log with .5 % and other with .4 %. I don't see 3 to 4 %. Please post a log with those drains.
[BetterBatteryStats] darkilong:
hi guys i need your help, here's my dumpfile TIA
[BetterBatteryStats] Karpfenhai:
Your GPS daemon is triggered by an app, figure which one!

Disable nfc, turn off GPS when not actively in use.

Disable "detailed location"

Should fix it.
[BetterBatteryStats] zekenka:
com.google.android.gms.gcm.nts.ACTION_CHECK_QUEUE

- i have this problem its pinging 1,5x/minute and drains 40% battery overnight.

I have Samsung Galaxy S2 and CM11 M9 build there.

And I wonder how to fix it, I used to uncheck some services with android tuner, but i forgot what exactly.

Could any1 point me to the right direction?
[BetterBatteryStats] Surj138:
http://xdaforums.com/showthread.php?p=43424843
[BetterBatteryStats] Mistertac:
You could start with just disabling the CheckIn Services and GTalk from the guide he already linked you to maybe that'll be enough... Not sure.

Isn't GCM Google Cloud Messaging?

Maybe look specifically for that. Or maybe a good old fashion clear data on GPS and GSF and a reboot will help.

- Tapatalked from the G3 -
[BetterBatteryStats] darkilong:
Thanks mate, i just disabled NFC but i have GPS off all along, btw how do i disable detailed location?
[BetterBatteryStats] HampTheToker:
After this:

Many thanks. This mod literally added a whole day to my battery life.
[BetterBatteryStats] Karpfenhai:
Thx for your feedback, much appreciated! [emoji106]
[BetterBatteryStats] KevinBui:
I think you was confused, my log states -3% (64% to 61%) [0.5%/h], .5% and .4% are average
[BetterBatteryStats] Perseus:
When it comes to looking at Battery Drain, you look at the Per hour Drain as a highlevel indicator of the issues.
[BetterBatteryStats] dosiwi:
Maybe someone can help me.

Got some heavy drain and phone is awake all the time because of gcm_lib.

Killed some tasks from GooglePlayService shown in this thread.

Thanks...
[BetterBatteryStats] Perseus:
It is reccomended to provide an IDLE Log for checking. Preferably Overnight. Please see OP Q&A For details.
[BetterBatteryStats] Sir_gpm:
Anyone that speak Russian?. There is a user that develop an app called google play service blocker, will be easy to improve our battery life. Link
[BetterBatteryStats] Jayy_Suave:
Cheers! [emoji2]
[BetterBatteryStats] Wh1t3Rose:
What is the purpose of this post? To take screenshots of a page when we could have just clicked a link? This is called clogging the threads :/

#AndroidL
[BetterBatteryStats] Sir_gpm:
0% drain over night :P. Is possible?

http://pastebin.com/EmqnF7fv
[BetterBatteryStats] Wh1t3Rose:
Definitely possible. I don't drain any over night either.

#AndroidL
[BetterBatteryStats] KevinBui:
OK, whatever. With the log files I attached, could you give me some advices to improve battery?
[BetterBatteryStats] Perseus:
That log is no good to make suggestions. Please post an Idle Log preferably Overnight.
[BetterBatteryStats] dosiwi:
Maybe this is a better Log ;)
[BetterBatteryStats] Perseus:
Yes it is.

Please follow [MENTION=4355376]Karpfenhai[/MENTION]'s Mod Posted Earlier.

Go To Settings >Wireless > Advanced Set "Keep Wireless On During sleep" to NEVER or to "During Charge". I see you have Google Now. But with Location Service off, it behaved itself. Do know, if you turn on Location Service, Google Now will drain a lot.
[BetterBatteryStats] dmxsoulja3:
Recently started getting a random wakelock that I can't seem to track down. Anyone have any tips on what the Kernel wake lock powermanagerservice.Display links to? Both "Main" and "Powermanagerservice.Display" are the ones soaking up the battery almost evenly 50/50.

It looks like whatever it is keeps my phone awake indefinitely until I reboot. I run Greenify and every app is greenified that isn't a system app, nothing runs in the background that isn't a system service or built in app like Gmail, because I am at a computer all day and don't need notifications most of the time and the GCM wake feature in Greenify works pretty well in the instances I do. I'm rooted, so KNOX and all that garbage is turned off too, never had this issue until a week or two ago, not even sure where to start on a Kernel wake lock.

One thing I noticed the other day and I wasn't sure if it was just the lighting in my room, but it almost looked like on the front display of my Note II the two little sensor holes next to the front camera, one had a really faint red light on. I didn't think to check for that again this morning when I noticed in 4 hours I went from 100 to 81% battery with 34 mins of screen time, wifi off, 5 bars of LTE, in my office.
[BetterBatteryStats] RyśRyszard:
I've heard a lot about this app, it's high time I tried it.
[BetterBatteryStats] dosiwi:
Tried it some days ago but there is this one partial wakelock which keep the phone awake all time. Normally I get about 0,3%/h with same settings.
[BetterBatteryStats] Perseus:
What is it called ?
[BetterBatteryStats] dosiwi:
gcm_lib, said it in my first post.
[BetterBatteryStats] Karpfenhai:
Hmm, either you forgot something Rio disable or something is actively trying to call the push service, rework your setup.do you want gcm functionality or not?

Regards
[BetterBatteryStats] Perseus:
Sorry missed it. Follow [MENTION=1554594]Karpe[/MENTION]fenhai's Mod and all will be well. I linked it above.
[BetterBatteryStats] dosiwi:
[MENTION=4355376]Karpfenhai[/MENTION] Did your Mod once and got this wake lock. Reset all and wake lock persist. Redone all but can't disable all. 4 Points fail. Update.SystemUpdateService$SectretCode Reciver and both cast.media… Reciver. Can't remember the last one.
[BetterBatteryStats] Karpfenhai:
Hmm, that's weird, did you reboot after re enabling? That's mandatory.
[BetterBatteryStats] dosiwi:
[MENTION=4355376]Karpfenhai[/MENTION] yes of course. That's the point I don't understand. A freaking wake lock from nowhere came and stay at my phone. Have to charge my phone this night but will test the next days with google now off
[BetterBatteryStats] Jayy_Suave:
The purpose of this post was to translate for the member who asked if anyone could speak Russian. I understand that you could have just clicked a link, but, gosh, I thought I was actually helping by saving everyone the translation trouble. I mean, the page was in Russian.

Didn't think I was "clogging the threads". But I'm happy that you're competent enough to reach your own premature conclusion. Smh
[BetterBatteryStats] Karpfenhai:
Disable backup and whatsapp sync, see how that goes.
[BetterBatteryStats] Wh1t3Rose:
Alright don't get butthurt. I am pretty sure he is more interested in a language translation of the app. Anybody can find a download link of any page regardless if it's in a different language. Also anybody can use google translator plugin to translate the page. If they can't figure that out they don't need to be using a computer. I think he wants the app translated.

#AndroidL
[BetterBatteryStats] Osama Zabin:
Hi,

Does this by any chance break the email applications? I'm facing FCs with both Gmail & Yahoo applications.

majority of these startups had been already disabled before, but i disabled few more listed in the snapshots.

Note: I tried to reduce alarms/wakelocks related to some applications (including both Gmail/Yahoo) using Unbounce Mod, i reverted back the settings related but still getting these FCs.

Thank you.