yashsingh1/xdaforums huggingface dataset:
[BetterBatteryStats] Karpfenhai:
Check the network section in bbs, bam_dmux just points to an active connection.

Tapatalked from my Galaxy SII
[BetterBatteryStats] fone_fanatic:
Need help reading my logs. Looks like it doesn't want to go to deep sleep.

https://www.dropbox.com/s/hfo01twlo3fppzo/BetterBatteryStats-2013-12-10_042650964.txt

4.4.2, rooted, Franco kernel. In trying to reduce wake locks i used appops to deny Google+ a wake lock & location, is this making it worse?
[BetterBatteryStats] It_ler:
Maybe yes, Google+ still generates a lot of wakelocks and alarms.

Have you rebooted after disabling Google+ with appops?

You should check all sync options ... especially of your Google account.

And disable all location service options (in system and Google settings menu).

There are many more culprits, but it's better to create a new IDLE dump to see the unwanted drainers only.
[BetterBatteryStats] fndpena:
I'm getting a huge battery drain by data related wakelocks. Using the last cm11 nightly, stock kernel and fd supposedly disabled by "fast dormancy toggle". Can anybody help?
[BetterBatteryStats] TheEdgeOfRage:
I have an Xperia V running CM11 official nightly. When I launch the app it says Battery info service could not be contacted. This didn't happen when I was on CM10.2 or older only on Kitkat. I tried wiping Data, but no luck :(
[BetterBatteryStats] PiggySmalls:
Convert to system app in advanced settings'
[BetterBatteryStats] It_ler:
Maybe you should use Gokhanmoral's Fast Dormancy app from Play store to check and change the FD state on your phone.

Don't forget to reboot after changing it.

More help/advices/suggestions only with an IDLE dump ... otherwise it would be only "wild guessing" ;)
[BetterBatteryStats] fndpena:
I'm doing a full wipe and factory reset just now. I hope it fix.
[BetterBatteryStats] brunek:
How do I get rid of StartingAlertService(com.android.MMS)? It appears in partial wakelock and I dont know why.. My only guess is to uninstall SMS/MMS apk but I was hoping for another solution..
[BetterBatteryStats] Perseus:
I see Location Service on now. It will go Crazy when in use. Also please freeze Media Storage app.

Did you happen to use Voice Search during this log time ? If you don't use hangouts, can you please freeze it ? If you are comfortable loosing Gmail/Hangouts/Google Now notifications, then please follow this thread.

Wipe data to the MMS app and then set it up after reboot and re-check its Alert settings.
[BetterBatteryStats] brunek:
How do you mean "set it up"?

I disablead auto-retrieve in settings,rebooted and for now there is no wakelock. I will see after I send SMS will it apper again..

posl'o ja to s mob'tela
[BetterBatteryStats] Perseus:
I meant configure it the way you use it.
[BetterBatteryStats] azeem40:
I didn't use any voice search during this time as it was complete idle. Also, I am okay with not having email as I use the web to check my email (which I don't get a lot of anyway), but I use the rest on a regular basis. I froze the media storage. I also turned off location services.
[BetterBatteryStats] michael-oc:
First time I got batteryservice updatestats for 9 minutes while dass nicht flight Mode over night. BBS related or something else. Using magiorom on my HTC one x
[BetterBatteryStats] Aleksandras:
Wakelocks battery drain after upgrading to KitKat

I'm facing some major battery drain after upgrading my HTC One to KitKat (ARHD 40.2 ROM). I also upgraded to the latest firmware/baseband, but actually it didn't change anything - I had a chance trying KitKat before upgrading the firmware and it was nearly the same. Before KitKat in some not very busy days my phone could stay alive about 1.5 days and stable 1 day with normal using. Currently it can stay almost only during the work day (roughly 10-12 hours). I also tried using Greenify hibernating some battery-eating apps, but it didn't have any major impact.

I have a feeling that it's some sort of expected behavior having what I'm using - i.e. I really reviewed what apps I need and what not and I don't want completely disable Google Location. On the other hand seeing my Phone is awake almost all the time - I suspect it shouldn't be so. I'm also suspecting it's somehow related to Wi-Fi, looks like with Wi-Fi turned off - there are less wakelocks. However disabling Wi-Fi is not a solution for me anyway.

Please see attached log - is it some sort of expected behavior and I'm just a bit paranoic? Or is there what to worry about?
[BetterBatteryStats] brunek:
Google play is your main problem. Search the thread on how to get rid of it.

posl'o ja to s mob'tela
[BetterBatteryStats] Aleksandras:
Thanks, checked how it can be disabled, but.. Is there any other option without disabling Google Play services? I suspect Google Play is not the thing that should be disabled on Android phone..

For now I disabled all notifications/auto updates checking from Google Play services - and will see if it changes anything.

Is it expected battery drain for all Kitkat devices with enabled Google Play?
[BetterBatteryStats] brunek:
When you disable Google play services per that thread nothing bad will happen,your Google play will still work with no problem.

I am not on KitKat but on every ROM I had wakelocks from Goggle play services and framework..

posl'o ja to s mob'tela
[BetterBatteryStats] Aleksandras:
Actually I tried freezing "Google Play Services" thing (that's what I found in this thread), but after that I started getting errors and Google Play also wasn't working. That's why I didn't like that approach.. or I'm doing it wrong..
[BetterBatteryStats] RnD Mobile:
Quite interesting app
[BetterBatteryStats] brunek:
You dont have to freeze it completely.. Read this carefully..
[BetterBatteryStats] Perseus:
Try this Thread. You will loose some of the Notifications. See if you can live with the loss. Your Battery will thank you.

Kindly post a Text Dump please.

You should wipe the data to Google Play and Google Play services. Don't freeze anything and then reboot. Afterwards, check for updates and then reboot a second time. The wakelock should be gone then. If it isn't then freeze Google Play Services and then if Play Store does not work then wipe its data.

That thread will make you loose some of the other notifications. If you are ok with that then go ahead.
[BetterBatteryStats] Aleksandras:
Thanks, brunek, for your help.

I read it carefully, converted Google Play Services to user app with TB, but.. I don't see it in Greenify and therefore cannot greenify it.. I even tried downgrading Greenify to 1.82 version as it was stated - but Google Play Services still are not on the Greenify list. I suspect it has something in common with HTC phone or Sense ROM, since I didn't find any similar issue on that Galaxy S4 thread.

I could try the donate version of Greenify, but it's mentioned this approach is not very stable.

Thanks, I will try this as well.
[BetterBatteryStats] brunek:
Download System Tuner(the green one).. I froze Gtalk(hangouts) because I dont use it.. Then I did this and this:

"First I froze GTalk and Gnow (Google Search). And no, you can't just freeze those two apps without touching the GSF. The GSF will still create wakelocks when trying to activate them even if they are not there. So you have to modify the GSF as well.

Go to System Tuner and select "Start Ups".

Then pick the Google Services Framework from the list and open it. You shoudl see a list of services.

Uncheck the things on the list below. (Basicall anything with GTalk or Checkin in the title)

gtalkservice.diagnostits.gtalkdiagnostics

gtalkservice.connection autherrordialog

talk.talkprovider

checkin.checinservices$reciever

checkin.checkinservices$triggerreciever

checkin.eventlogservices$receiver

gtalkservice.diagnostics.gtalkdiagnosticsbroadcast reciever

gtalkservice.serviceautostarter

gtalkservices.datamessagereciever

gtalkservice.sendxmppreciever

gtalkservices.packageinstalledreciever

gtalkservice.xmppendpointreciever

checkin.evenlogservice

gtalkservice.service.stalkservice

gtalkservice.pushmessagingregistar"

I have no gsm wakelock and everything from google works fine. Push messages for google apps wont work(gtalk,gnow). Gmail and google maps work just fine..
[BetterBatteryStats] Aleksandras:
orwveir taken

Thanks again, brunek, but as I mentioned before - I'm not very happy disabling such apps as Google Hangouts/gtalk, Google Now, Google Location, etc.. Will try this approach variations - maybe I can do something without completely disabling all Google things.
[BetterBatteryStats] brunek:
Sorry I did not see that in your post before..:D Hope you find a solution!
[BetterBatteryStats] Perseus:
Please wipe the data for Google Play and Google Play Services. Reboot and then check updates to your apps in Play Store. It will probably make you log in . Once updates are checked and applied, Wipe Dalvik + Cache in Recovery.
[BetterBatteryStats] fndpena:
Ok, I'll do that. But, the full wipe (that I just did) should have fix the issue if that was the culprit. No?
[BetterBatteryStats] skivnit:
Can someone tell me what Android OS is holding? As you can see it uses a lot of data

Sent from my Perseus powered octa
[BetterBatteryStats] RnD Mobile:
Quite usefull app )
[BetterBatteryStats] jd00g:
The paid version of greenify is working very well for me. No instability.
[BetterBatteryStats] atomomega:
That's great and all but this thread is about BBS, which by the way, is also working very well for me :D

If you like Greenify, go and thank the dev in it's own thread ;)

Sent from my HTC Desire C
[BetterBatteryStats] jbonilla51:
Help!

All right, then. I'll try removing the accounts first, then readding each. As for the factory reset, that would remove my root and everything, right? Just to know what to expect. Also, I already froze Google Search, thanks. By the time I froze it, it had already done a bit of damage XD. Will get back to ya and see what I get. Thanks for the help! :)

Edit: Ugh, never mind. Found out for myself about the hard reset. Should've googled before asking XD[/QUOTE]

All right, I did a factory reset and readded my accounts. Here are my new stats!

The good news: Calendar and GSF wakelocks are nowhere to be seen!

The bad news: Android System is somehow managing to acquire wakelocks. I'm using Per App Hacking from Xposed. I've set the alarm delay for android system by 100x, yet it's somehow crept its way up. In addition, I find really weird that I have backup services UNCHECKED before I took these new stats. What could be going on?!
[BetterBatteryStats] Aleksandras:
After first try it didn't help, then I tried again and wiped data of all apps starting "Google Play" or "Google Service". It's seems it's better now, but need to monitor further.

After 7hours during the night there was 15% drop, phone was awake about 30mins and deep sleep - 7 hours. Not as good as 1% drop per hour mentioned by others, but there is indeed less wakelocks. Before it was nearly the same awake amount as deep sleep, sometimes deep sleep count was even smaller than awake.

So tendency is good - I will give some time forbattery to recalibrate, and will see how it goes.. For now I'm really tired playing with it - almost two weeks monitoring activity, installing/uninstalling apps trying to find who drains the battery. ;)
[BetterBatteryStats] Perseus:
It might but then if you restored Titanium Backups then the problem will come back.

Difficult to say. It could be doing backup to your account or something else. Post a BBS Dump to confirm.

All right, I did a factory reset and readded my accounts. Here are my new stats!

The good news: Calendar and GSF wakelocks are nowhere to be seen!

The bad news: Android System is somehow managing to acquire wakelocks. I'm using Per App Hacking from Xposed. I've set the alarm delay for android system by 100x, yet it's somehow crept its way up. In addition, I find really weird that I have backup services UNCHECKED before I took these new stats. What could be going on?![/QUOTE]

Your Android backup was in progress. If it still shows up then reboot and keep a stable connection Data or Wireless.

Keep an eye on Alarms. That will help pin down the Culprit app.
[BetterBatteryStats] jbonilla51:
Your Android backup was in progress. If it still shows up then reboot and keep a stable connection Data or Wireless.

Keep an eye on Alarms. That will help pin down the Culprit app.[/QUOTE]

Woo, thank you so much Perseus! I don't think even the most top-notch T-mobile support would be able to help me like this, really appreciate your help!!! It seems that the backup process is finished now. My phone has been on for 2 hours and the biggest wakelock I've got has run a whopping 44 seconds! :D I will wait the usual 10 hours to see if anything else creeps up, though.
[BetterBatteryStats] Perseus:
Reboot once before starting the wait period. Take a Text dump after the wait period if it persists.
[BetterBatteryStats] dazz87:
Should I worry about this? Is this normal? 624wakeups for alarm clock?
[BetterBatteryStats] brunek:
Nope,not normal. Check your alarm settings or just delete it!:D

posl'o ja to s mob'tela
[BetterBatteryStats] dazz87:
thanks I just deleted it. Had no issue with deep sleep but my battery life was not great when I had it install. Kept bugging me why the count was so high. Going to use the stock clock alarm and see. Thanks
[BetterBatteryStats] Perseus:
All Custom apps have bells and whistles that tend to all kinds of crap. Some give Weather, some give Music play. They all chew battery.
[BetterBatteryStats] Sir_gpm:
Do I need help or my batt is normal?

Enviado desde mi Nexus 4 usando Tapatalk 4
[BetterBatteryStats] fndpena:
I guess you're right. I did restored TiBu backups after the full wipe. Doing what you suggested, the kernel wakelocks seems to be decreased, so less battery drain.

Btw, since I switched from stock to AOSP flavors, I've never been able to fully disable Fast Dormancy again. On all kind of attempts (apps, editing build.prop, editing nwk_info database etc.) secril_fd.interface was still there and I think that's a signal that FD is still somehow enabled.

I'll never understand why Google don't ship this option (enable/disable fd) builtin in the system...
[BetterBatteryStats] It_ler:
16 minutes is a little bit too short to judge about the battery IMO.

Please provide an IDLE dump of at least 4 hours to have reliable stats to analyze.

IDLE dump = doing nothing with the phone, after about 4 hours unlock the screen, open BBS, refresh the stats, click on the Share button (top - right) and select "Share data as..." > "Text Dumpfile".
[BetterBatteryStats] chamonix:
Well that is the behavior I designed so I will need to do some testing with the 4.4.1 and 4.4.2.

about screen brightness: I see it on my devices (n5 with system app) so that would be a bug: could you post a logcat with debugging info?
[BetterBatteryStats] chamonix:
on what device are you running bbs and what configuration (with or without system app)? without there is more parsing involved so I may need to do some profiling of those parts, with system app there should be no difference to previous versions so maybe another cause
[BetterBatteryStats] Aleksandras:
Ok, I have more details now. At first wakelocks were really gone, but battery life was still doubtful - BBS showed about 20-50% Awake ratio (in some cases nearly the same as Deep sleep).

However later I found out that I forget to reenabling Google Now after wiping its' data . After reenabling it - all wakelocks came back. I like Google Now and I wouldn't like completely disabling it.. So, now I have this - see attached screenshot. It's just 2hrs stats, but awake tendency is not changing. About 13% drop in 2 hours, when phone was idle most of the time.

I realize Google Now is a real battery eater, but should it be really so bad!? My phone is awake almost all the time!.

It's driving me nuts already.. I'm almost ready to throw my phone away, or at least completely wipe everything and try from scratch - but I'm not really sure it will help. Might it's just me who is paranoid about battery life. However I clearly remember it was much better before..
[BetterBatteryStats] Sir_gpm:
Thnks for help, first time using this app. Here it is. As you told me to do it:

Enviado desde mi Nexus 4 usando Tapatalk 4
[BetterBatteryStats] It_ler:
Look at the Dumpfile ... now its about 13 minutes.

Try to get one for about 4 hours.

My tapatalk signature:

Phone:

SGS2 (GT-I9100)

ROM:

XWMS1 NeatROM Lite v5.4.2 (PDA: XWMS1 / PHONE: XXMS4 / CSC: NEELS1)

Kernel:

Apolo v4.12 (Regular)

If you have any question about or any issue with your SGS2, just ask in the New members friendly Q&A thread.

Have a :eek: at my latest kernel test results.
[BetterBatteryStats] JakePNEFC:
Screen on for 6 minutes.
[BetterBatteryStats] Perseus:
It seems like Its just normal use will the features you are using. If you need further battery savings, you can turn off Sync.

Difficult to say based on that screnshot. Post an Idle Dump please.

Can you please post the Partial Wakelocks or an idle dump ?
[BetterBatteryStats] Aleksandras:
Attaching the dump - it's not completely idle, but without any major activity (like playing games or watching videos), just turning on/off the display, checking notifications, etc - tendency should be clear from that.

Overall it was about 12 hours of almost idle activity and just 23% of battery left. It wasn't like that before updating to KitKat ROM, however apps and overall usage routine is nearly the same.
[BetterBatteryStats] Perseus:
Please set a Static IP in your Router to the phone. Also Disable IPV6 Protocol on Phone and Router if any. Kitkat does have IPV6

You don't have an unplugged Reference in BBS. So the log is not useful.
[BetterBatteryStats] Aleksandras:
Static IP is set on the Router. IPv6 is disabled in my Router. Could you please give me any reference how IPv6 can be disabled on KitKat (on phone)? Tried to google it, but it's seems it's not so straight forward.. One other point - the phone is usually on two different LAN networks - home and work - if it has any impact.

What do you mean about unplugged Reference? I unplugged my phone from charger in the morning and wasn't charging it during all the day. Should I do dump in some other way?
[BetterBatteryStats] Perseus:
IPV6 depend on Rom. Typically they are under Settings >Wireless >Advanced.

For Unplugged Reference, open the app, enable Root features and then make sure on main screen you get Kernel or Partial Wakelocks. Once done, reboot & re-check
[BetterBatteryStats] Aleksandras:
Nope, there is no any IPv6 settings in Settings > Wireless > Advanced for me.. I found some thread how it can be disabled from terminal - http://xdaforums.com/showthread.php?t=2519294, but for now no luck for me - says "permissions denied". Will try to play with it for some more time.

Regarding "unplugged reference" - root features were already enabled and I did a dump from following screenshot - please see attached screenshot (corresponding dump is also attached). It looks like unplugged reference is on its' place.

Should I reboot once again, wait for 2-4 hours more of idle activity and reattach the dump again - would it help?
[BetterBatteryStats] Perseus:
In the terminal step first type su then hit enter. Next type what he said.

The reference is still not fine. See this line in your log.

No reference unplugged was saved yet, plug/unplug you phone ():

I thought you did do that. If not do as it says.
[BetterBatteryStats] Aleksandras:
Executed mentioned command after "su", no error after it.. so probably IPv6 is disabled now on the phone, but as that guy mentioned - it should be done each time you are connecting to a network.. Not a very convenient solution, but whatever - will try to figure it out if IPv6 has any impact on it.

Regarding "unplugged reference" - I plugged and unplugged the cable and as I expected - all stats were reset. I will reboot the phone, recharge it, gather some stats for at least 4 hours and come back with the dump.. Hope it will help in some way.

Thanks for your help.;)
[BetterBatteryStats] EL Sa7eR:
I am getting an issue here :/

this is the states of the last 6 hours

I have restart my tablet hoping this could resolve the problem but this is the dump after half an hour
[BetterBatteryStats] linj:
It seems to have worked for the other user, but it's no good for me.

I had SuperSU + BBS working on 4.4, but I clean-wiped to 4.4.2 and even with the root features enabled, it does not ask for root permission. I've restarted and hit the refresh button a few times, but no good.

I've also tried installing the Xposed addition for opening up battery info, but that doesn't seem to work well. Greenify and Xposed have both already asked for and received SuperSU permission, so I think su request works.

In the dumpfile, it does say Rooted: false

SuperSU 1.80, stock 4.4.2 but with Franco r20, Nexus 5.

Any thoughts would be welcome; thanks!

I'm a real fool. xPrivacy appears to have accidentally been toggled on BBS (and nothing else...?), so ... that didn't work. I think it's good now. Sorry for the post; hope this helps someone else!
[BetterBatteryStats] skivnit:
So. I can't install as system app on 4.4.2
[BetterBatteryStats] cpasoft:
Do you have art enabled?, because as far I know, it's not working under art

Enviado desde el movil
[BetterBatteryStats] chamonix:
Please post a logcat.
[BetterBatteryStats] It_ler:
Hmm ... the dumpfile covers only about 33 minutes.

What I can see, Google backup is enabled > disable it in Settings menu.

And Google+ is very active > check system and Google settings to minimize/disable auto-sync, etc.

Next time, please provide an IDLE dump of at least 4 hours to have reliable numbers.
[BetterBatteryStats] EL Sa7eR:
Sorry for that, this is another Dump file for the last 3 hours

xdaforums.com/attachment.php?attachmentid=2454012&d=1387022704
[BetterBatteryStats] It_ler:
It's still Google backup and Location service options > check and disable all location service options in system and Google settings.
[BetterBatteryStats] Sir_gpm:
It_ler, here it is hope made good this time, is everything as it should in mine?:

Enviado desde mi Nexus 4 usando Tapatalk 4
[BetterBatteryStats] It_ler:
Yes. Looking good IMO.

Nothing big to improve ... :thumbup:

My tapatalk signature:

Phone:

SGS2 (GT-I9100)

ROM:

XWMS1 NeatROM Lite v5.4.2 (PDA: XWMS1 / PHONE: XXMS4 / CSC: NEELS1)

Kernel:

Apolo v4.12 (Regular)

If you have any question about or any issue with your SGS2, just ask in the New members friendly Q&A thread.

Have a :eek: at my latest kernel test results.
[BetterBatteryStats] Aleksandras:
Here's new BBS dump file. Unplugged reference should be fine now. The phone was idle almost for all the time - about 6 hours. Any thoughts?

Disabling IPv6 seems didn't help too much - there are still quite a lot of wakelocks.
[BetterBatteryStats] dazz87:
Having issue draining when its in deep sleep mode. Started two nights ago. The first time it drain 15% over 5 hours. I dont have log for that. Last night from 100% to 94% in 5 hours. Phone was idle for 5 hours. Here is the log. Never had issues before draining when in sleep. Will average 2% drain overnight (7+ hours)

I had AudioMix wake for 2 hours. Have no idea what this is. I have "Touch Sounds" disable on my N5
[BetterBatteryStats] Rosa Elefant:
BetterBatteryStats 1.15 FCs on "enable root features" (Android 4.4.2), the checkbox is enabled though.
[BetterBatteryStats] skivnit:
I do have one but its covering 3 hours. I tried to make one using custom ref but still got a long log. How can I make one to only log the few moments I want it to
[BetterBatteryStats] Vivek_Neel:
Could be useful for dev if u post logcat.
[BetterBatteryStats] Rosa Elefant:
I don't have one. (TBH, I'd need to find out how. Probably it's even related to KK, not to BBS.)
[BetterBatteryStats] chamonix:
Just cause the crash and save the logcat (not dumpfile)
[BetterBatteryStats] chamonix:
Logcat or it didn't happen
[BetterBatteryStats] chamonix:
If an app fcs it is always the fault of the app. Just reproduce and save a logcat from the share option after restart.
[BetterBatteryStats] Rosa Elefant:
Not reproducible - once set, I can untick and tick the checkbox with no changes whatsoever, :rolleyes: