yashsingh1/xdaforums huggingface dataset:
[BetterBatteryStats] Lither:
Is Google Play Service and Play Store both safe to freeze with Titanium Backup?
[BetterBatteryStats] Sedariya11:
If you freeze Google play services then it may break some Google apps and u will get force close error due to this. I tried to freeze got the same results so unfroze it.
[BetterBatteryStats] Zoell79:
Is Google Play Service and Play Store both safe to freeze with Titanium Backup?

Better to greenify it rather than to freeze it with TB...much safer i think
[BetterBatteryStats] Lither:
I've used Greenify to hibernate the app but it still get's waken up causing huge drains
[BetterBatteryStats] Markox89:
If you actually use Google apps, I'll suggest you to to leave them as they are: not freeze, nor greenify them. Freezing them will break Google stuff; greenify them may result in a higher battery drain, because those apps are used often by Google stuff, so force closing them multiple times (that's what Greenify does) could be not a good idea.

If you don't use Google apps, remove them :)
[BetterBatteryStats] Lither:
By Google apps, you mean Maps, Sync and Play Store, if I freeze Google Play Service and unfreeze it if I use Maps, Sync or Play Store, it won't be a problem?
[BetterBatteryStats] Markox89:
If you ask me, this sounds link an annoying solution, but it should work :)

I'm sure that some more experienced user will come and post a better explanation for you :angel:
[BetterBatteryStats] Sedariya11:
If you freeze Google play services then sync, play store, other Gmail apps won't work. U can greenify, Gmail, Google maps, etc if u don't want to use it however u should not freeze Google play service app.
[BetterBatteryStats] beskalL:
Are you sayin that only third party apps that should be greenify, and all the Google apps and services that we use should be leave alone, as greenify them will lead to battery drain?
[BetterBatteryStats] Sedariya11:
No buddy. Greenify is to get good battery life. U greenify apps to save battery so greenifing any app will not lead to battery drain. U can greenify Google apps also no problem with that it just hibernate those app to save more juice, only thing u Wil not rec any notifications of the greenified apps.

I m saying u should not freeze app called " Google Play Services" as it will break other Google apps like play store etc. So not advisable to freeze that app and u can't greenify " Google Play Services" also as it does not get greenified, it wakes up itself. U can greenify other Google apps like Maps, Gmail, drive any other app and it will not give u force closes error but " Google play services" does if u freeze it.

Hope I made myself clear. :)
[BetterBatteryStats] Lither:
So don't freeze and greenify Google Play Service?
[BetterBatteryStats] mertzi:
Hello!

Generally I have great idle battery time on my nexus 7 gen 1 & 2, I can get 14 days on the gen 1 if I don't use it much, but once in a while "Android OS" drains the battery overnight by not allowing deep sleep to set in. I've disabled keep awake via app ops for ALL apps that have the keep awake toggle available and I believe it's this that gives me this great idle time, and this has had me convinced that these "Android OS" drainages are caused by something "under the hood" caused by any of the Google services and not by any app I've installed myself. But there are very different opinions about this. I have tried pinpointing these drainages to a specific app with BBS and wakelock detector every time it happens but I can never see anything concrete.

An update of Google play services was announced yesterday so I got the idea to install it manually on my gen 2 but not on the gen 1 to see if I got an overnight drainage and indeed I did. But Google play services still hadn't updated. This led me to think that the drainage is caused by android OS TRYING to update Google play services but something prevents it from it, so it continuously tries this keeping the nexus awake. Is there any logic to this suspicion?
[BetterBatteryStats] Chris123NT:
Does anyone else have a problem with BBS not showing all of the partial wakelocks? I've been having this issue on my Nexus 5 as well as my Galaxy S4 before that, so I'm pretty sure it's not a device issue.

Any ideas?
[BetterBatteryStats] Perseus:
Use settings to install BBS as system app. Reboot and then try. Do grant root rights.
[BetterBatteryStats] velocity90:
delete
[BetterBatteryStats] Chris123NT:
Thanks, that seemed to do the trick. :good:
[BetterBatteryStats] gaich:
I disable all receivers of Google Play Service and Google service framework with Autorun manager and greenify those two apps. My market, sync, location work fine. The only things not working are push messages in Gmail and market apps` installation from desktop PC. All of these can be done manually - just check your mail by yourself or use another email client than Gmail to set your preferred update period and install apps directly from phone, but now you save the battery, gsf and nlp wakeloks do not appear anymore.
[BetterBatteryStats] Renton91:
Excuse me, guys, I don't think it's a normal battery behaviour: I've left the phone always with screen off during last night without charging and that's what happened. I use Greenify to hibernate nearly every apps and I've disabled all the location service (maps, gps, Facebook, Google Now, etc.). I need a miracle! I don't know what to do anymore.
[BetterBatteryStats] S.AMU:
What are you thinking about this strange behavior:

I already tried to Google a little bit, but I didn't find any reliable answer, what could make these wackelocks.

Some screenshots:
[BetterBatteryStats] Lither:
I haven't used Autorun Manager before but I use Autostarts, so I just click on the drop down arrow of Google Play Service and Service Framework and disable anything that has Receiver in the text?

Have you greenify Google Play Store aswell?
[BetterBatteryStats] BlackMaster1991:
Dude put that in spoiler! Makes pages awful to read!

Gesendet von meinem Galaxy Nexus mit Tapatalk
[BetterBatteryStats] albie999:
Can someone decipher my log report please, and let me know the detail?
[BetterBatteryStats] Perseus:
Please turn off Google Location reporting, reboot and then post an idle log of 3-4 hours.

IDLE = Phone in Standby mode and not being used by you at all.

All I can tell from that is some app is excessively using your location. Please turn off Google Location reporting under Google Settings.

Remove Juice Defender, reboot and then post a new log as attachment.

I'd remove Facebook and use their mobile site instead. Post a log after removing and rebooting.
[BetterBatteryStats] EvanVanVan:
My Galaxy Nexus with (official) CM11 isn't sleeping at all. I'm not sure if its a real wakelock or possibly a CM11 nightly bug (I'm on one of more recent nightlies). My partial wakelocks page is frustratingly bare.

Any suggestions?

Thanks

Edit: I missed and now have seen in the FAQ that I should install BBS as a system app for KitKat.. . I'm going to give that a shot. That reminds me though, would ART screw BBS up?
[BetterBatteryStats] gaich:
I think with Autostarts you can make the same. But don't touch the store and no need to greenify it.
[BetterBatteryStats] Lither:
Just to make sure that I don't mess up, I just click on the down arrow of Google Play Service and Service Framework and disable anything that has Receiver in the text?
[BetterBatteryStats] Casanoaa:
Look at OP. In post 3 I have written about GSF wakelocks.
[BetterBatteryStats] gaich:
I don't know how it looks like in Auto starts, in Autorun manager I uncheck everything.
[BetterBatteryStats] killoid:
[MENTION=1330150]chamonix[/MENTION] i've faced a problem.i am not seeing any state for network.i am properly rooted with supersu & latest busybox & the app has granted root permission.but when i click network,a toast appears saying 'an unknown error has occured'.i've attached logcat,dumpfile etc. below.plz help me out!
[BetterBatteryStats] oviradoi:
Congratulations on a very nice and useful app.

I have one thing to report: The "View Serie" table is very laggy for me when scrolling. I know it displays a lot of data, but it seems too laggy.

If there is a way to make it scroll faster, that would be a great addition to the app.
[BetterBatteryStats] shadyabhi:
wlan_wake wakelock after few hours of uptime

Hi all,

It seems my Note 3 is plagued with "wlan_wake" kernel wakelock. It seems to come every now and then. A reboot fixes it for a few hours but then it comes again.

For the love of god, can some Android dev or kernel dev explain as to what causes this wakelock and how can I debug which app is doing it?

PS: I've researched on the forums and it seems that it's related to some app using the wifi all the time. But, my actual question is, how to debug this wakelock?

Thanks in advance.
[BetterBatteryStats] Xardas:
Maybe I'm drunk (don't think so thou) but I don't see the wakelock you meant.. Have you forgot to mention its name?

~ Sent from a Galaxy far far away ® [HHead]
[BetterBatteryStats] shadyabhi:
Sorry, it was in the title. Have edited the post. It was "wlan_wake" wakelock.
[BetterBatteryStats] iamnotkurtcobain:
Please help. Why is there a Audiomix wakelock? And proximity too?

Gesendet von meinem GT-I9505G mit Tapatalk
[BetterBatteryStats] matrixzone:
I am also getting huge battery drain because of the proximity sensor. The wake lock is activated when i make calls through my phone. When i try the stock Samsung TW ROM, the same wake lock is not there.. The problem is when i flash any AOSP ROM CM, AOKP, Slim.

I have checked and verified that proximity sensor is working by downloading app from play store.

Any ideas how to resolve this issue?
[BetterBatteryStats] Vivek_Neel:
Audiomix wakelock is due to touch sounds.

Disable it

SENT USING VIVELROM_OMNI
[BetterBatteryStats] iamnotkurtcobain:
ALL sounds are disabled.

Gesendet von meinem GT-I9505G mit Tapatalk
[BetterBatteryStats] FuMMoD:
Could someone help me out with my CPU wake lock? I don't know how to debug a CPU state. Thanks
[BetterBatteryStats] thekayman:
What do you use the android sync manager for? if its to backup your contacts / calendar it should be done via your google account, if its for pictures / music and files then use another app such as sugarsync (see my signature) which handles things very well and you can also specify when on wifi only and can sync from anywhere in the world not only home wifi.
[BetterBatteryStats] chamonix:
To summarize you have done a few things without knowing what you were looking for and are still clueless even if it's sitting there in front of you.

But hey, if you don't want to learn it's fine.

Facebook and kik messenger were your problems in that run. I suggest you have a look at the dump, find them, write down the section and check it again once you fixed those mentioned because it's not over, there is more potential
[BetterBatteryStats] chamonix:
settings - wifi settings - advanced

but before testing that I'd like to hear if the wakelock stops when wifi is off completely because that's the first question I asked, for a good reason. If that doesn't not confirm there is no need to answer the second.
[BetterBatteryStats] chamonix:
well I found something in the dump but I won't repeat myself so scroll back and read
[BetterBatteryStats] yhrn:
I don't think I've seen the wakelock with wifi disabled. My theory was also that the reason for the drain was that with "Use wireless networks" enabled under "Location and security" the phone was collecting data from nearby hotspots (initially I thought I only got it when wifi was enabled but not connected but that turned out to be wrong as I eventually got the wakelock when connected to my home wifi). And that still seems to be a possible explanation.

Since the problem started up again for me I just disabled "Use wireless networks" and the problem disappeared. I now enabled it again but the wakelock hasn't shown up yet. When it does I will disable wifi to see if it goes away immediately.

By the way, is there a way to disable location from wifi but still use location form cell towers without disabling wifi altogether? (You say "I turned off the wifi location provider" - is that the same as disabling "Use wireless networks" or is there a more fine grained way of controlling this?)
[BetterBatteryStats] wadokai:
hey man, you're right on the money. I'm totally clueless.

I know i need to get rid of facebook, but i wanted to know if there were things, other than that, that i could deal with. You mentioned there's a lot of potential, can you please help me out?

Sorry for the noobness, but yeah i'm just desperate to get this sorted out and just havent had time to read all posts.

also, section = count, right?

Thanks for all your help! sorry if im' making u repeat anything.
[BetterBatteryStats] aly19:
I have been seeing my highest partial wake lock as AudioOut_1, does anyone know what app or process causes this?

Thanks!
[BetterBatteryStats] yhrn:
Listening to music?
[BetterBatteryStats] ReiKo90:
I use it for syncing music and yes backuping contacts. I hate Google's way of syncing contacts and other stuff!.

It seems it makes my phone wake only when I use it so...
[BetterBatteryStats] aly19:
I have no music on my phone at all and there are no music apps open either
[BetterBatteryStats] tamshiwen:
I can't get betterbatterystats to work on my rooted defy running stock froyo 2.2.1. Starting app all i get is a black screen with the title up top and nothing else.
[BetterBatteryStats] yhrn:
Ok, so if that app is not a problem for you, then what is the problem you are trying to solve?

All files and screenshots you have provided only shows that app as a major drainer. If your battery is not being drained faster than it should and the stats show that the phone is asleep most of the time the screen is off (except when charging, using Android Sync Manager, listening to music, talking on the phone, etc) then your phone seems to be working perfectly fine.

If you do see abnormal drain in some situation then describe that situation and provide a dumpfile with stats the cover the period when the drain occurred.
[BetterBatteryStats] Karpfenhai:
hmm, im not a developer but from what i can see and what is stated many times before, disable automatic syncing and location services, just read the whole thread and u will find the answers, Background replication seems to be your culprit for the most drain, btw, which kernel are you using?

Another thing, dont trust Battery Monitor Widget's ma indication too much..
[BetterBatteryStats] t-pip:
That's the thing.

My location Sync is turned off, as is Latitude.

With regard the Other Syncs (Friend Caster and Gmail) these are hardly being used at all.

This is on SNQs 111118 Kernel, may switch back to Gingercakes.
[BetterBatteryStats] ReiKo90:
I was looking for apps that drain my battery and that I don't know it. It seems this app is only that does that so it's fine.
[BetterBatteryStats] The Challenger:
Just a quick Thanks for your app.

It's exactly what I need to investigate on my battery issue (seems to be less efficient since 2 weeks).
[BetterBatteryStats] dirtyreturn:
Hopefully you don't find this comment/question to be stupid at all. I'm still new to android. When the screen is off the phone should go to sleep, correct? I have always been concerned with my battery life while reading comments about how people are getting such and such time out of their battery. I recently found your thread and am giving it a try. Though I don't know exactly what to look for. If some one could point me in the right direction it would be very much appreciated.
[BetterBatteryStats] KeesStolk:
I to have something i don't understand.

I have maps and streetview frozen, don't use google backup, turning on and off my location makes no difference.

And still have, after a reboot: Networklocationservice running as a active service.

When stopped, it will not return till reboot, when stopped, i don't have an issues with apps.

It also listed in my wakeup list.

And another thing, even if i have GPS disabled, from start, it's also listed in my wakeup list.

I compared the log with a old log when running CheckROM RevolutionHD v3.1.1 XWKJ3 with the same apps and widgets and the same apps frozen, they where not there.

Is this something rom related?

Now running XWKK5 2.3.6 CheckROM RevoHD™ V4
[BetterBatteryStats] chamonix:
As I said, kik and facebook for the first round. I believe there will be other wakelocks showing up after that but you always should do iterations and take new reading after each round. The reason is that most wakelocks related to data traffic come with overhead (other wakelocks).

Once you have fixed the two obvious ones re-post a dump and we will take it from there
[BetterBatteryStats] Perseus:
Auidmix is typically caused by the DSP Mods or DSP enhancements the Rom has. For Ex. My rom has DSP Manager. Try freezing them and check after reboot.

As to Proximity, its prevalent when you do take a lot of calls and the screen instead of turning on off, keeps turning on intermittently. This could be either due to the way you hold the phone or it could be some notification (Texts, low battery) occuring when on call.

Please forgive my ignorance, but why do people feel that its ok to post screens from other apps on the Thread of AN APP ? Granted that this thread combines App support as well as Wakelock Support, but aren't we really pushing it when you don't use the app but expect help ?

If you do use THIS app, then you should know better and either post BBS Screens or a Text dump. Don't think I am singling out one specific user, but this is one in a recent trend that's the proverbial last straw.
[BetterBatteryStats] Xardas:
Right I got it now.. Btw I suggest you to not worry too much about the kernel wakelock unless you notice a huge difference between "screen on" and "awake" in the "other" bbs screen... Obviously if that huge difference isn't compensated by the "partial wakelocks"..

~ Sent from a Galaxy far far away ® [HHead]
[BetterBatteryStats] shadyabhi:
It's making a huge difference. It increases my battery-drain from 1.8 per hour to more than 3 per hour during normal usage throughout the day. So, this wakelock matters. The phone doesn't go in deep sleep and that really drains the battery.

My real question is, how do we actually debug a kernel wakelock?
[BetterBatteryStats] Perseus:
There's several reasons and places you'd want to look to diagnose a Kernel Wakelock. It could be a combination of Alarms, Network State or Partial Wakelocks.

In this case wlan_wake is a symptom of other noisy devices on your Wireless network accessing or connected to the Router.
[BetterBatteryStats] FuMMoD:
I posted a bbs screen as my first picture and another app as reference. The other pictures are the default Android Battery stats for more details. You should use this app more often and you would have seen I did post a screenshot from it.
[BetterBatteryStats] SagiGo:
Hello,

I've read the guide about BBS.

After checking my device I saw that secril_fd-interface drains my battery.

Therefore I toggled of Fast Dormancy using the app from playstore.

Problem is that I still get this wakelock.

My provider doesnt support it anyway.

Help me find out what is the problem,

Thank you very much
[BetterBatteryStats] Karpfenhai:
Hi there, toggle fd doesn't work on cm later 10, just fyi, until now no-one could provide a working solution.. :mad:

Tapatalked from my Galaxy SII
[BetterBatteryStats] SagiGo:
Thank you, could you explain me whats fyi?

Please take a look at my stats, if I can improve anything.
[BetterBatteryStats] chamonix:
OK. The FC happens here:

01-10 21:31:20.245 E/StatsProvider(15040):	at com.asksven.android.common.utils.StringUtils.getParsedInt(StringUtils.java:118)
01-10 21:31:20.245 E/StatsProvider(15040):	at com.asksven.android.common.kernelutils.Netstats.parseNetstats(Netstats.java:115)
01-10 21:31:20.245 E/StatsProvider(15040):	at com.asksven.betterbatterystats.data.StatsProvider.getCurrentNativeNetworkUsageStatList(StatsProvider.java:1216)
01-10 21:31:20.245 E/StatsProvider(15040):	at com.asksven.betterbatterystats.data.StatsProvider.populateReference(StatsProvider.java:2518)

and that is an unfortunate place for something to go wrong because it's due to data.

To be able to analyse that and hopefully provide a more elegant error handling I would require you to attache me following file:

I will run your file through the Unit Tests and make sure that whatever is different (I guess just some separator thing) will be handeled properly. With the file and the crash I will create a corresponding issue.
[BetterBatteryStats] chamonix:
Roadmap 2014

Hey guys!

I must apaologize for not having been here much lately and of course express my gratitude to the tireless helpers (Karpfenhai, Perseus71, IT_ler and many others) who keep this thread alive.

I have been off a few days over X-Mas and really needed a break after the stress following last release and the changes made by google to prevent us to access the valuable information BBS uses.

The release - despite the requirement for root on 4.4 to get all the info required to make a good analysis - has had a tremendous success and that really tells me a lot about the quality of your testing and about open communication.

I am now starting to plan another 1.x release addressing some bugs and a few features like the fact that root must explicitely be enabled (that is not natural to many users). I will start publishing betas in the coming weeks.

After that we will start on 2.x with some major changes in the UI and some new features for advanced and less advanced users. I am looking forward to hearing from you on those improvements and hope that you will like it.
[BetterBatteryStats] Urmus:
In the file explorer, the file is empty (size=0 octet), if I try to open it, the soft I use crashes.

Thanks foe the help
[BetterBatteryStats] chamonix:
#442
[BetterBatteryStats] Karpfenhai:
I afraid you can't avoid that, it happens if you are moving and using mobile data, switching to 2g might help a bit.

Or using a carrier which supports fd..

Sorry..

Tapatalked from my Galaxy SII
[BetterBatteryStats] klos619:
Anyone knows about my battery drain ?? :(

This is my text dumpfile txt and logcat

https://www.dropbox.com/s/je3pvvs4xl05ovy/BetterBatteryStats-2014-01-13_173537696.txt

https://www.dropbox.com/s/oova5zq8f84e0m7/logcat-2014-01-13_173538028.txt
[BetterBatteryStats] Szczepanik:
Greenify

What's New in Greenify v2.0

Greenify now works on non-root devices! Try out the non-root working mode (without automatic hibernation due to privilege restriction).

Shortcut "Hibernate All" can now be created also from main menu in Greenify

https://play.google.com/store/apps/details?id=com.oasisfeng.greenify

Cheers

Tom
[BetterBatteryStats] Karpfenhai:
Hmm, since your dump isn't straight idle, it's hard to tell, freeze Google quick search if not used daily, deny auto updates from playstore, maybe greenify line, then take another reading with no screen on activity.

Regards.

Tapatalked from my Galaxy SII
[BetterBatteryStats] Ok_Kaleidoscope5109:
is it me or does cm11 have reporting issues with partial wakelocks? Seems to conflict with WLD also which is clearly not reporting the wake lock times correctly either....
[BetterBatteryStats] klos619:
OK gonna try thanks :)
[BetterBatteryStats] chamonix:
a dumpfile and a logcat would be helpful together with the info if you have installed BBS as a system app
[BetterBatteryStats] hyogga:
Can someone help me?

What is *overflow*? I have rebooted several times and the same. It is happening since Friday.

Thanks

(LG G2 4.2.2 rooted)
[BetterBatteryStats] Al3xI98O:
Battery drain

Hi, I have big problem with battery because in a single night with airplane mode and display off I have -48% :)

This is my screenshot:

http://imagizer.imageshack.us/v2/800x600q90/829/e7w1.png

http://imagizer.imageshack.us/v2/800x600q90/546/n06c.png

http://imagizer.imageshack.us/v2/800x600q90/18/athh.png

http://imagizer.imageshack.us/v2/800x600q90/5/iuuy.png

Have you any idea for this situation?

PS: this is all dump (https://mega.co.nz/#!BMx0nLqa!MW-FzDCGulEyYBJ2WLEWUhDYmzsBbWRvdh8j-hyTVEc)
[BetterBatteryStats] gaich:
Did you take a look at this?