yashsingh1/xdaforums huggingface dataset:
[BetterBatteryStats] sam3000:
cm-10.2 AppOps disable Alarm wake up support

FYI - as of cm-10.2 nightlies 2013-11-13, you can now disable alarm wakeups via built-in settings:

Go to the AppOps menu:

settings -> security -> privacy guard -> menu button -> advanced

Find the app in the one of the lists (swipe left and right to switch between AppOp category). Press the app and then set "Wake up" to "deny".

Be aware that doing a privacy guard "reset" will, in fact, reset *all* AppOp states.

Of note for the future - Kitkat introduces a partial wakelock AppOp although they did not implement honouring "deny" mode (the code comments say it's initially there for auditing purposes). There's a backport for cm-10.2 that I'll upload to cm gerrit but it touches a lot of framework files so it might not get accepted at this stage of the 10.2 lifecycle. Either way - I imagine cm-11.0 will accept changes to activate partial wakelock filtering.
[BetterBatteryStats] SaintCity86:
Yeah I just can't let the phone idle very long. My life style has me sleeping no more than a few hours at a time, and I'm always screwing around with this thing, so I just got the longest time with juice and the longest time without, that I could in a day or two, and posted it.

I'm thinking the problem with juice starting so much when it was asleep, was this setting to have 100kb of data allowed every 15 or 30 min to let the phone sync up in the background. Cuz when you open the juice alarm info in bbs, there would be like 25 schedule starts and stops.

I'm going to have to go through juice defenders settings and see what exactly the benefit is.

For someone like me, I pretty much don't let the phone automatically do anything. Tasker was the least used app I had the entire time I had it. Id rather manually sync things as I use them and what not. So I'm thinking juice defender really isn't for sometime like me, it's probably more for someone who likes the phone to automatically do things as events on the device change.

I'm sure that's why some people swear by juice defender, and some people don't.

Tapatold from my Galaxy S4 running Wicked v7
[BetterBatteryStats] Perseus:
Based on your usage pattern, I think you should give a try to Green Power app. It has free and premium versions.
[BetterBatteryStats] cdzo72:
Both are band aids that don't allow the phone to sleep because it's directly against their very code... to stay awake and not allow anything else use Internet services... they only way they result in power savings if they are setup to deny Internet access to all apps at about 2 hour intervals and up...
[BetterBatteryStats] Perseus:
I assume you have experimented Droid Wall ?
[BetterBatteryStats] JediSooner:
I'm looking for help as to what may be keeping my GS4 awake for so long. I have a feeling that most of it is due to Tasker. Not sure that it's hurting my battery life because it still seems pretty decent (~2.0% loss per hour w/ 3 hrs+ screen-on time). If these screen shots aren't enough, let me know what else would be helpful. Thanks in advance for the feedback.
[BetterBatteryStats] cdzo72:
Extensive... and I fully understand that it blocks data access... it does not keep any apps from TRYING to access the net... which actually lead to even heavier drain depending on the app and the content it's trying to download... to cut down wake locks you cut down on apps trying to sync... that has nothing to do with Droidwall...
[BetterBatteryStats] Perseus:
Not just Tasker. I see some Widget probably Weather maybe ? Also what Google App you have in use that's driving Google Framework ?
[BetterBatteryStats] JediSooner:
The only widgets I have active are 1x MinimalisticText, 1x Simple RSS Widget (3 hr refresh) and 1x PowerAmp. AFAIK, I don't have any Google app running constantly... I have Google Play services Greenified as well as a bunch of user apps. I have Google Search, G Play Books, G Play Games, G Play Magazines, G Play Movies & TV and G Play Music all frozen with TiBu. I thought it might be Google+ so I froze it the other day... doesn't seem to have made a difference. Hangouts and Currents are also frozen. Is there something else I can screen shot that might lead to what's driving GSF?

ADD: I just checked Weather under ROM Control and it's disabled. The only other weather app I use is BeWeather. I haven't seen it pop-up as a possible cause in BBS or WLD.
[BetterBatteryStats] Karpfenhai:
Thx for bringing this up, actually it works pretty fine on my Rom compiled at November 4th.

But I'm not happy with that functionality... I can handle it... But I see tons off clueless users making things worse by disabling lots of receivers... plus our support we give here will not be easier...

We will see..

Regards

Tapatalked from my Galaxy SII
[BetterBatteryStats] SaintCity86:
Actually, Juice Defender has dropped my %/h down significantly now that I have it set up correctly. Check this out. I only let it idle for a couple hours, but I'm at 0.4%/h

Txt : https://db.tt/fgxbDazj

Logcat : https://db.tt/NUBIoXZ0

Dmesg : https://db.tt/g6f5ni29

I use greenify, juice defender and android tuner (to adjust permissions mainly, stop recievers and prevent the permission to prevent phone from sleeping on certain apps)

I never let the phone auto sync or automatically do anything. I greenify anything that isn't a widget or the phone or texts.

I think I've finally got my battery consumption at the best it can possibly be based on my usage. Will check out the app suggested. Thanks

Tapatold from my Galaxy S4 running Wicked v7

---------- Post added at 12:57 AM ---------- Previous post was at 12:55 AM ----------

Basically, having JD connect my data every 15 min for 30 seconds to let the phone sync was what was causing all the wake ups...

Tapatold from my Galaxy S4 running Wicked v7
[BetterBatteryStats] Superorb:
Can this app be used to identify which apps are draining the battery?
[BetterBatteryStats] SaintCity86:
This is taking laziness to a new level, it's probably more work to type the question than to just look at the app... unreal

Tapatold from my Galaxy S4 running Wicked v7
[BetterBatteryStats] Superorb:
So I need to buy it to see if does what I need it to? Thanks for your help...
[BetterBatteryStats] testrider:
you can try one here at the 1st post.
[BetterBatteryStats] Superorb:
I read through the first post and didn't find anything about specific apps, only stats of when the phone was in specific states. Did I miss it?
[BetterBatteryStats] masterslacker:
The app downloads are attached to the second post, just after the changelogs.
[BetterBatteryStats] testrider:
Yes you missed it. Go to post #2, download the latest apk file, then install it.
[BetterBatteryStats] frenzyboi:
I am using HTC One rooted and bootloader unlock, Stock Android 4.2.2.

I'm getting 8% loss of battery overnight on airplane mode.

https://www.dropbox.com/s/o1e6quucz40jo1h/BetterBatteryStats-2013-11-14_071520849.txt

Thanks in advanced!
[BetterBatteryStats] Superorb:
Thanks. Using it there's tons of stats, but all I can see are times in specific states. I tried the FAQ and the How-To but the links were broken. Where can I find out what is eating up my battery?
[BetterBatteryStats] chamonix:
Thanks for reporting, I will take care of the DNS problem. There is an in-app howto
[BetterBatteryStats] aerozolic:
Is partial wakelocks supposed to work on latest beta without root at all? (kitkat)
[BetterBatteryStats] gabriolinari:
hi Perseus,

thanks for the reply. so i uninstalled Gtalk / Hangouts some time ago but it might still be resilient on the phone for some odd reason perhaps. I have re downloaded it again, signed in, then signed out and uninstalled.

Also, is it "normal" in Flight mode, enabled with Sleepbot, to have a -12% battery for 7h and 34 minutes ? that's like 1.6% per hour basically just for existing, in flight mode enabled.

when i check partial wakelocks i can see these 2 as the biggest hitters:

AlarmManager

3h 46m 38s, count 1678

Event Log Service

Google Play Services

3h 45m Count 378

i have an alarm that wakes me up in the morning, not sure if that triggers more battery drain.....

any clues????

thanks

Gabrio
[BetterBatteryStats] BenjaminX2:
To the people downloading from post 2.

In IE, the download was saved as a .zip file, not an .apk file. I renamed to .apk and was able to install without issues.

Thanks Chamonix,

Benjamin
[BetterBatteryStats] Karpfenhai:
It's not the alarm.. But did you disable any check-in receivers from Google service framework?

This usually points to playstore cannot connect to Google servers.

Tapatalked from my Galaxy SII
[BetterBatteryStats] aerozolic:
It seems that I have a similar problem. Switched to airplane mode for the night and 8 hours later the battery had dropped 10%. Something's waking the phone or the battery is just really bad.
[BetterBatteryStats] GermainZ:
Can you post an idle dump?
[BetterBatteryStats] aerozolic:
I can after I get an answer to my previous question which was "Do I need to root the phone to be able to see partial wakelocks on kitkat?"
[BetterBatteryStats] GermainZ:
A quick search returned this. Yes, you do need root. :)
[BetterBatteryStats] aerozolic:
Thanks :o

Read THIS and going to try tonight again with flight mode. If it's still not resolved then I'll root tomorrow and provide idle log ;)
[BetterBatteryStats] joshy_aa:
Dear all, appreciate your assistance to help me determine what is draining my batt. I recently bought a nexus 7 2013 LTE but have been experiencing battery drain. As per the screenshot attached, the tablet was awake for more than 6 hrs even though the screen time was only 1+hrs.

thank you all for your help in advance.
[BetterBatteryStats] aerozolic:
I'm far from being experienced with this app (haven't even gotten it to work on my device yet :P) but your log shows:

NlpCollectorWakeLock (Google Services): 33 m 12 s (1992 s) Count:21566 1.0%

AudioOut_2 (1013): 18 m 56 s (1136 s) Count:65 0.6%

NlpWakeLock (Google Services): 18 m 29 s (1109 s) Count:8807 0.6%

Check my last post which is about NLP wakelock and try the solution in that post.

Hope this helps.
[BetterBatteryStats] Perseus:
It could have been the RSS Widget trying to refresh. Can you change its refresh Frequency to Once a Day and then reboot (to Reset Base point) let it sit idle for an hour or two then post the text dump ?

+1. I am not sure if this is a good Idea.

Use FakeGPS to set a specific Location. Then turn off Location Service.
[BetterBatteryStats] joshy_aa:
Hey aerozolic, thank you for your fast response. have disabled the settings and will monitor how it goes from here. thank you again!
[BetterBatteryStats] hawkdown77:
Where is your post about nlp wakelock?
[BetterBatteryStats] aerozolic:
http://xdaforums.com/showpost.php?p=45490675&postcount=78
[BetterBatteryStats] hawkdown77:
But its already disabled
[BetterBatteryStats] Perseus:
Did you follow my suggestion ?
[BetterBatteryStats] hawkdown77:
Yes...all services in google location are disabled
[BetterBatteryStats] Perseus:
I don't see your Text Dump. Can you point me the post ?
[BetterBatteryStats] hawkdown77:
Thanks for help... but how i put my dump here with tapatalk?
[BetterBatteryStats] joshy_aa:
hi, yes have disabled location. will monitor a day for improvements. thank you very much for your advice.
[BetterBatteryStats] Perseus:
All I saw was that Partial Wakelock Screen. Not the full text file. Please post one here.
[BetterBatteryStats] Superorb:
I went to bed last night with 60% battery left and this morning my phone was dead and off. I've had the app installed since yesterday, what section do I need to look at to figure out what's been killing my battery?
[BetterBatteryStats] hawkdown77:
How i do that with tapatalk?
[BetterBatteryStats] SaintCity86:
You can't, If you want to link to it like most the others do here in the app, you have to upload using your browser, I believe.

I don't like doing that myself, so I just grab the links from my dropbox.

But then again, I upload any statistical files created by any app I run automatically, with dropsync. So its easy for me to do that.

Tapatold from my Galaxy S4 running Wicked v7
[BetterBatteryStats] hawkdown77:
Hi.... here is my dump...

Thanks
[BetterBatteryStats] skivnit:
I have no idea why i keep getting l2_hsic wakelock and sec battery knowing that i have no battery monitoring app except for bbs

Sent from my Perseus powered octa
[BetterBatteryStats] Perseus:
Whatsapp and Google Play Service seem your top drainer. Since you have Greenify already, you could try greenifying Whatsapp. I don't like that app myself.

Do you have Stock Rom ? If so can you freeze all stock versions of common apps like Email, Calender etc etc ?
[BetterBatteryStats] skivnit:
I did froze those however my alarms are from android. Calendars. Provider. And Android. Gms
[BetterBatteryStats] airbites:
What can I do to make the program ideafriend went to sleep? I do not know what to do.

Screenshot_2013-11-13-19-47-43.png
[BetterBatteryStats] Karpfenhai:
Afaik it could be everything since it seems Lenovo calls the launcher ideafriend, but I guess it's related to mms, maybe you received a message but you never read it?

Try an alternative launcher or post a full logcat / dmesg for further analysis.

Regards

Tapatalked from my Galaxy SII
[BetterBatteryStats] hawkdown77:
Hum... what you recommend?? Which app do you use??

And what about Google play services...

What i do?

thankss
[BetterBatteryStats] airbites:
Attachments:
[BetterBatteryStats] Zytrel:
Deleted, my mistake. Sorry.
[BetterBatteryStats] guido_glx:
Hi guys, just bought a Samsung GT-P5210.

I've installed BBS last version and I can't see kernel wakelocks.

Partial wakelocks are shown.

Does the device have to be rooted in order to get kernel wakelocks to show up?

Thanks!

Enviado desde mi GT-P5210 mediante Tapatalk
[BetterBatteryStats] skivnit:
https://db.tt/uH9NJW7O

Here's my dump. My problem lies in Google services i think

Sent from my Perseus powered octa
[BetterBatteryStats] SaintCity86:
Can anyone tell me what each of these are bring triggered by?

Tapatold from my Galaxy S4 running Wicked v7
[BetterBatteryStats] aerozolic:
I'm getting lots of nlpwakelocks from google search box. I've tried lots of different sets of settings but the only way to get rid of it is by disabling all location services. Google Play Services is also causing wakelocks. In Settings-> Apps-> Running I see Location specific services running under Google Play service. Forcing them to stop doesn't work because they immediately re-appear.

Maybe I'm missing something here. Any ideas?
[BetterBatteryStats] Karpfenhai:
Yes....

It's the notification light..

Tapatalked from my Galaxy SII

---------- Post added at 10:18 AM ---------- Previous post was at 10:17 AM ----------

Disable location reporting in Google settings and Wi-Fi scanningin Wi-Fi advanced features.

Tapatalked from my Galaxy SII

---------- Post added at 10:21 AM ---------- Previous post was at 10:18 AM ----------

There it's almost no overhead in your dump, you're good to go.

Tapatalked from my Galaxy SII
[BetterBatteryStats] aerozolic:
Both are disabled.

Also if I keep location settings on with battery saving option and disable wifi then I don't get google play nlp wakelocks. When wifi is on then google play services won't let my device go into deep sleep.

And why is google search box desperately trying to get my location - I don't know. I really prefer not to factory reset again but something's definately borked.

Maybe it's a common problem with KitKat but people just don't know it. I'm pretty sure that most users don't want to root their device just to use this app to determine wakelocks.
[BetterBatteryStats] Karpfenhai:
Hard to tell, I need to get my hands on kitkat to provide a valid guide.

Either I'll flash the alpha built on weekend or you have to wait.. :p

Tapatalked from my Galaxy SII
[BetterBatteryStats] Perseus:
I don't think this is Kitkat only. I believe Google Search is now integrated Google Now despite the widgets and all.

So as we all know Google Now wants your Location, Google Search will do as well. I typically use Fake GPS if I am going to use Google Now.
[BetterBatteryStats] Dorest0rm:
Hello,

Hoping that someone can help me out with this one.

At first I bought new batteries because I thought my stock battery was giving up on me, but the phone still drains very fast, especially with WIFI on. Hope someone can check out the log and see what's up.

Samsung Galaxy S2(i9100)

ROM: Miui 3.11.8

Kerne: 3.0.31-Apolo_4.11_Regular
[BetterBatteryStats] aerozolic:
Exchange sync. Also some AgendaWidgetLock is doing something.

Search for l2_hsic and sec-battery-monitor. I don't know what those are.
[BetterBatteryStats] Dorest0rm:
Well duh...

Changed my Exchange and Agenda Widget to refresh less often.

Exchange was set to push and Agenda to refresh every 15 minutes, which might be a bit overkill.
[BetterBatteryStats] superbobup:
NLPwakelock is from WiFi, or at least that's how it's always appeared to me. Before Google introduced WiFi scanning I never had the wake lock, but now I do. That said, it should still go into deep sleep. I have a Nexus 5 with all location services on and with 8 hours overnight had deep sleep at 93.6%

Is it another app that's draining battery? If you go to location, it shows you a crude summary of what apps request location and what granularity (low = network location, high = GPS)

Also, the new launcher for the Nexus 5 is literally the Google Search app. There's no separate launcher that so happens to integrate with the search app, it's just the search app now.
[BetterBatteryStats] aerozolic:
In location services Google Search have requested my location (Low). But why? I've disabled all possible settings. Or it's just inevitable that it tries to locate my phone all the time? I don't even use Google Search. Or maybe I need to enable some settings so that it can locate me and stop wakelocking my phone?
[BetterBatteryStats] superbobup:
If it's there then it's certainly waking up your phone asking for location. Have you tried clearing data for the app and starting over? Do you have Google Now enabled? Any other apps that request location?
[BetterBatteryStats] aerozolic:
Clearing Google Search's data resets my homescreen to stock. Have to re-do the whole setup again. Google Now is disabled. Logged out from Google Search, disabled location history and reporting, android device manager etc.
[BetterBatteryStats] superbobup:
Yup, because Google search is now the launcher.

At this point I'm not sure what the issue is. I attached a screenshot showing the NLP wake lock for the quick search box. It's waking my phone about once per minute which isn't bad considering I was traveling for a little less than 1 hour. There aren't any other apps asking for location?

Since it's not sleeping for you but it is for me, it seems 99% likely to be an app other than the Search app considering I'm running Google Now but my phone still sleeps.
[BetterBatteryStats] Perseus:
There's not a setting you can turn on to stop this. Its just that, Google Now's need for location will never let you sleep. Its by very nature meant to do that. You are better off changing Launcher as a start. May I suggest Apex or Zeam Launcher?

Can you also turn off Sync of Gmail ?

Did you try my suggestion of FakeGPS ?
[BetterBatteryStats] Ryno77:
Can someone please help me with this? This is driving me nuts and I know it's from the latest Google search update but I'm not seeing any other complaints about it. Obviously I could just revert back to the version before this but I feel like something must be conflicting with the new search to be causing this problem. THANK YOU!
[BetterBatteryStats] superbobup:
No clue what it is, but I'm perfectly fine with the overhead from Google location services at the moment :)
[BetterBatteryStats] FireWall123:
I have bam_dmux_wakelock kernel wakelock, and is draining my battery like crazy . I tried googling about the wakelock but not much useful , can anyone help me get rid of it or telling me what causes this wakelock ?

I'll post a dump file tomorrow.

Thanks in advance.

Sent from my Note 3 powered by Omega v3.1

Vocaloid fan? Check out this thread!
[BetterBatteryStats] aerozolic:
It´s probably related to keeping awake mobile data connection. Afaik it´s normal if it doesn´t use too much battery
[BetterBatteryStats] phanitej:
Its related to your mobile data as [MENTION=2019221]aerozolic[/MENTION] mentioned. If you are in a low signal area this is difficult to avoid. If your network keeps switching between 2g/3g/4g in that case force it to use 2g or 3g (whichever has better signal reception, i would prefer 2g)
[BetterBatteryStats] Perseus:
Try reverting to the previous version of Google Search/Google Now. Also change your Launcher if it is currently Stock Launcher.

If reverting to previous version does not work then freeze google now.
[BetterBatteryStats] chamonix:
New release is up fixing the parsing of alarms (4.3+) and adding xxhdpi assets (4.4).

Enjoy!

Code is now frozen (only fixes) and I will start preparations for RC1 tomorrow so that we can start testing upgrade scenarios.
[BetterBatteryStats] spartanhooah:
I updated to 4.4 on my Nexus 4, and now whenever I open BBS, refresh, or try to view a different stat, I get a toast saying "BatteryInfo Service could not be contacted." Is this not yet compatible with Kit-Kat, or is something else to blame?
[BetterBatteryStats] Ryno77:
Thanks. I turned off Google Now and turned it back on. For now it has stopped but I'm sure once I go back into Google Now it will start back up. I can revert search but if others are not experiencing this issue it must be something with my phone/settings that this version is not agreeing with.
[BetterBatteryStats] chamonix:
Use the latest 1.15 with kitkat
[BetterBatteryStats] spartanhooah:
Thanks. Sorry I didn't read the OP, I should have done that first.
[BetterBatteryStats] Ryno77:
For anyone else experiencing this I am quite sure the problem is the Google Experience Launcher combined with Google now.
[BetterBatteryStats] SaintCity86:
Can anybody tell me what these are?

I know a couple are for the led flasher. But what about the others?

Tapatold from my Galaxy S4 running Wicked v7
[BetterBatteryStats] vinyyc:
Galaxy S2X poor battery life

Hi,

I posted a while ago having battery problems, but also having other issues with the USB port. I've finally gotten my usb port fixed (I wasn't getting a connection unless I wiggled the cable around) and had the phone reset entirely while they were at it. However, I'm still experiencing battery life issues.

From memory, my battery problems started shortly after the USB problems, and sometime after that I noticed the USB would not connect to the computer. I've since realize my OEM Samsung cable is what won't connect to the computer, other cables work fine.

My question, from the dump file and screenshot, I can see my phone is "awake" a lot more than the screen is actually on. Does that appear to be a normal amount of wake time?

If it isn't a normal amount of time spent "awake", any ideas what might be causing it?

If it is, I'm guessing my battery is fried and just discharges faster than it should. Is it possible/likely that having a loose USB connection could fry the battery sooner than might be expected (phone is 18months old, I wouldn't consider myself a "power-user", so would hope the battery should perform better at this point). Might using that loose USB connection also have fried the OEM USB cable?

Thanks in advance.
[BetterBatteryStats] Perseus:
That's the front Service LED.

Yes phone awake time will be more than screen time. That's expected. In your case primary problem is Location Service. Please turn it off. Secondly turn off auto Sync for Gmail.
[BetterBatteryStats] aerozolic:
Did a test night. Switched on airplane mode and switched off location services. 9 hours later BBS shows that my phone was 99.5% of the time in deep sleep but the battery still dropped 10%. Is it normal to have that high drain in such conditions?

Sorry for a bit of OT

The log was created a bit after starting to use my device again. That's where the awake/screen on comes in.

View attachment BetterBatteryStats-2013-11-16_083446614.txt