yashsingh1/xdaforums huggingface dataset:
[BetterBatteryStats] Thomas1:
Thanks again for your time chamonix. Your explanations are accurate, clear and concise.

So from what you said if the built-in manager says "phone was sleeping" and BBS says "No it was awake" then it means - bugs aside - that it was a kernel wake lock right (or is there anything else that can prevent the phone from sleeping ?) ? Anyway like Yhrn said with more than a 10% battery drain/hour there is no way the phone wasn't awake...

The thing is that I remembered checking for kernels wake lock in BBS and nothing was over 20-30min or so, that's why I didn't post that screen because it didn't look relevant to me.

Anyway I didn't have any issue this night (maybe 2-3% lost in the night), the only APP I uninstalled since then is gps status toolbox, as far as I remember. GPS was definitely unchecked for that night and gps status not in the task manager. I will try to install that app again but I doubt this is the root of the problem because I guess it would have showed in BBS...

Thanks again !
[BetterBatteryStats] nobnut:
Try another kernel. Userland apps won't affect kernel wakelocks 99 times out of 100.
[BetterBatteryStats] KeesStolk:
Did you found out what CCC is?

With the new BBS, just updated to the new version, now i have

CCC

Wakeups: 534

In alarms
[BetterBatteryStats] iakoboss7:
hello again :) and thanks for the help a few days before!

Anyone knows what "rpc_read" is? its under kernel wakelocks and for the last 2 days it keeps my phone from sleeping (example = 50min "rpc_read" from the 1:30h the phone was open [from that 1:30h, the screen was open for 10min only and i had everything closed ~wifi etc]).

what can this be? how can i get rid of it?
[BetterBatteryStats] hisee:
i haven't insll gtalk then y i am getting wakelock?
[BetterBatteryStats] arlenwoot:
Do you have hangouts installed? Possible its from that, not sure if they reuse anything from gtalk.
[BetterBatteryStats] gaich:
Have you read the F.A.Q post?

View attachment 2272539
[BetterBatteryStats] hisee:
not insld
[BetterBatteryStats] smart81:
Hello, I would like to ask for my dump-file, when a process on my phone drains fast the Batery or not.

Please if anyone can a process in my dump-file find, i would really appreciate it.

Thank you!!
[BetterBatteryStats] chamonix:
When use you phone CPU state and screen brightness are important factors where bbs can help you understand what is going on
[BetterBatteryStats] Karpfenhai:
Hey yourself a new reference ,plug / unplug your charger, activate root features and provide another reading.

Yours is corrupt, it seems you didn't reboot / plug the charger after installing bbs.

But... there is almost no overhead visible, I assume you spent the most of the eleven hours in flight mode?

Tapatalked from my Galaxy SII
[BetterBatteryStats] fndpena:
Hey buddy...

Can you show me how autostarts for Google Play Services are configured in the "Autostarts" app?

I don't use that other app... Would be very helpful If you could post the screens for that in Autostarts.

Thanks
[BetterBatteryStats] Casanoaa:
I have totally disabled Google Play Services with tb pro.
[BetterBatteryStats] fndpena:
Is that safe to do? I read on many sites that disabling Google Play Services would break some apps and cause FC...
[BetterBatteryStats] azeem40:
It is safe, but idk anyone who doesn't use the play store.
[BetterBatteryStats] fndpena:
My main concern right now is about wlan_rx, wlan_wd and wlan_ctrl wakelocks.

"Secrid_fd-interface" wakelock is driving me nuts as well. I know this is related to Fast Dormancy, and I already tried to disable it using gokhanmoral "fast dormancy toggle", but it not seems work on cyanogenmod 10.1 (the rom that I'm currently using). Any tips about these problems?
[BetterBatteryStats] IRKONIK:
OK, what's wrong with my Nexus 10? It started with this behavior yesterday. Idk what's wrong :(

http://pastebin.com/4Kz87VW9

Anybody can tell me?

Thank you in advance, and a nice weekend to all you :D

Cheers!

Gesendet von meinem Nexus 10 mit Tapatalk 2
[BetterBatteryStats] bringonblink:
Here is your problem:

exynos5-fimc-is2 (): 7 h 57 m 56 s (28676 s) Cnt:(c/wc/ec)0/0/0 99,8%

Kernel wakelock . is this stock?

Sent from my Sexus 4
[BetterBatteryStats] SweetPant:
Am I getting wakelock? I feel like my battery is draining faster than usual.

I had fully charged the device, unplugged, and then left it there for more than 2 hours for BBS to collect info.

Dump: xttp://pastebin.com/raw.php?i=bt9gTmWy

Other: xttps://lh3.googleusercontent.com/-MDjDo-QCn8s/Uj7n_6IxtdI/AAAAAAAAAjE/dSKeEcsxws0/s512/Screenshot_2013-09-22-19-50-37.png

Partial Wakelock: xttps://lh4.googleusercontent.com/-znyEIP3672c/Uj7oBUncWkI/AAAAAAAAAjM/2omPPheEzhY/s512/Screenshot_2013-09-22-19-50-48.png

Kernel Wakelock: xttps://lh3.googleusercontent.com/-fiP-IzMFG-U/Uj7oF6ORf_I/AAAAAAAAAjo/fjIpVVNaaCQ/s512/Screenshot_2013-09-22-19-50-42.png

Graph: xttps://lh4.googleusercontent.com/-bDJZlCcQ1bE/Uj7n-DjZY1I/AAAAAAAAAi8/lTQeyRPb9nI/s512/Screenshot_2013-09-22-19-50-56.png

Graph (Extended): xttps://lh3.googleusercontent.com/-lhH-VLRs4Y8/Uj7oCbBbO9I/AAAAAAAAAjU/ewFKtgrljQE/s512/Screenshot_2013-09-22-19-51-03.png

From AppOps: xttps://lh6.googleusercontent.com/-ANpYFuNERb4/Uj7o2qyxrUI/AAAAAAAAAj8/g-dGAB9rqgY/s512/Screenshot_2013-09-22-19-55-23.png

From WLD: xttps://lh5.googleusercontent.com/-rpgP56FA9kw/Uj7oEj8oFfI/AAAAAAAAAjg/stMZ13MCjro/s512/Screenshot_2013-09-22-19-51-23.png

I had done the factory reset but I feel like wakelock is still there. :crying:

PS. sorry I could not make outside links
[BetterBatteryStats] IRKONIK:
No, paranoid android, but I updated today, so I will report back in a few days. Thanks :)

Gesendet von meinem Nexus 10 mit Tapatalk 2
[BetterBatteryStats] azeem40:
.8% an hr is pretty good.
[BetterBatteryStats] SweetPant:
But from this graph (httx://lh3.googleusercontent.com/-lhH-VLRs4Y8/Uj7oCbBbO9I/AAAAAAAAAjU/ewFKtgrljQE/s512/Screenshot_2013-09-22-19-51-03.png), the awake time looks very terrible when comparing with screen on time. :(

Does it tell something? I really have no idea.
[BetterBatteryStats] azeem40:
I can't tell anything from that graph. Next time, enable alarms and networks if you are rooted and do another idle dump (this time for 4 hrs).
[BetterBatteryStats] santeron:
Hello guys,

I recently noticed my battery is getting drained faster than it used to. I checked the stats and for some reason my phone stayed awake for 6h for the last day, with only 3h of screentime. Google services seem to cause the problem but I am not sure. Maybe if someone with more experience could take a look to the attached file, that would be helpful.

Cheers
[BetterBatteryStats] PRGUY85:
Any help on fixing my battery drain will be very welcome. I didn't have the best reception on this run.

https://db.tt/yLB0jjX7
[BetterBatteryStats] Karpfenhai:
First, take care for your location service, there are plenty information and a thread out there how to do so, hint maps, account and location settings, hint2 wifi advanced settings scan.

Then repost another dump but an idle one if possible.

---------- Post added at 06:41 AM ---------- Previous post was at 06:40 AM ----------

Exactly same answer for you, check all your location settings with care!

:D
[BetterBatteryStats] SweetPant:
is there any other way? i'm not rooted.
[BetterBatteryStats] santeron:
Thanks for the quick reply! The funny part is that I haven't touched my settings lately. I think the last update of the play services caused this problem. I will take a look around and see what I get. Cheers :)
[BetterBatteryStats] rainbow99:
Hi all, I'm having very bad autosmsservice wake lock. Using latest beanstalk uneak kernel. Any advice on how to fix this please. Tried to clear messaging app and re-add Google account but didn't work.
[BetterBatteryStats] Karpfenhai:
Read the op with care, then post a dump... Thx

Tapatalked from my Galaxy SII
[BetterBatteryStats] mdrg:
Hello. Recently my Galaxy S Advance got an abysmal battery life, it is draining in less than a day, over 30% at night. I found out about BBS and tried to find what's wrong. First couple of battery cycles showed nothing unusual (for my untrained eyes), but the last one got something really standing out:

95% to 3% in around 14 hours (6.4%/h), that's my usual recently, but this time it was awake for over 13h30min, "sva" kernel wakelock with count 4 but accounting for almost 13 hours. I couldn't find out what is this "sva" about. My text dump is attached here.

On my other attempts it wasn't showing up such sky-high awake time. It was over 90-95% in deep sleep (which sounded right), and nothing running for hours. I was thinking BBS wasn't going to be of any help, and I'd just factory reset my phone and install apps carefully.

Notes: I turn wifi on only when I need it, 3G turned almost never used (not during this test), GPS was enabled although rarely used, turned it off now. My phone is charging and I'll see if makes any difference. I see the advices about location services... should I disallow Google to use them?

Thanks!
[BetterBatteryStats] hyperbolic:
[MENTION=1330150]chamonix[/MENTION] , maybe you missed my replay...

I have attached the idle file for you.

Please have a look.

thx.
[BetterBatteryStats] pjadec:
Sorry but this was not IDLE dump and read OP carefully.

---------- Post added at 06:17 PM ---------- Previous post was at 06:13 PM ----------

Try different kernel for testing.
[BetterBatteryStats] flvinny521:
I ended up flashing a new ROM and a clean install seems to work fine.
[BetterBatteryStats] Waldos:
Cerberus depends of GTalk (now Hangouts), how can i disable the Gtalk services without disable Cerberus.

If i put the GFS recommendations, Cerberus doesnt work anymore.
[BetterBatteryStats] Nicotin3:
Good day,

I own a S4 and have some troubles with wifi or something, can somebody please assist me with some help? I don't think is because of the router, also before the wifi kernel locks were high, but not so high.

Thank you.
[BetterBatteryStats] flvinny521:
Casanoaa, I have run into an issue after freezing the apps you've listed. I have not yet frozen the GSF services as I was planning on running like this for a few days to check for stability first, so maybe the problem will resolve itself when I complete the steps.

I've frozen all the apps in the list that were present on my phone, searching Titanium with the package name to ensure that I wasn't making any mistakes. The very next time I rebooted my phone, the "Preparing Network" notification appeared as usual, but never disappeared. It seems that this process is stuck, and when I long-press the notification and chose "app info", it brings me to the Sprint DM Service, which is not one of the apps you've told us to freeze.

Should I go ahead and freeze this as well, or is there a service that maybe should be thawed to resolve this?
[BetterBatteryStats] Ministry76:
Hello, I have a SG2 with Jelly Bean stock.

According to BBS, my "processes" wifi on and wifi running are both 100%.

But wifi running should indicate the time I'm really connected to a wifi, so it should be much lower (since I'm out from office most of the time).

In fact, if I turn of wifi I don't have any battery drain.

What should I do?
[BetterBatteryStats] kimber45:
http://xdaforums.com/showthread.php?t=1801284

Use this app. Made by the same dev as BBS.
[BetterBatteryStats] Casanoaa:
I have not that SPRINT DM service installed on my phone..

But try disable it and try see what happens. You can always enable the service again.
[BetterBatteryStats] BillBauman:
I have a partial solution for you. Pay for the Greenify Experimental (Donate version) and greenify FB. Sometimes you'll get notifications as usual if you enable the GCM framework stuff. Others, you'll need to check manually. The background sync of apps isn't totally reliable yet, but it is a step in the right direction.
[BetterBatteryStats] LucentBirch:
Sec-Battery-Wakelock

Can anyone tell me what the "sec-battery-wakelock" is? I can't find anything about it anywhere and it really bugs me that it's at the top of my kernel wakelock list every day and I can't find a cause for it.
[BetterBatteryStats] Goldfoot:
It's probably been mentioned, but I am not going through ~2k pages to check: the version numbers are all wrong. 1.10 does not come after 1.9, 2.0 does.
[BetterBatteryStats] chamonix:
I will simply disagree on that. In my release policy (and that is the most common one if you look into ITIL release management) a release number is not a counter like the mileage of you car.

1.9 is a minor release (minor feature enhancement). If a Bugfix release follows 1.9 it would be 1.9.1, if another minor feature release follows 1.9 it is 1.10.

Only if a release is a major feature enhancement it becomes 2.0
[BetterBatteryStats] PRGUY85:
Hello

Recently posted on the forum concerning my battery life and awake time to screen Om ratio been off the charts. I did a full wipe and flashed the latest version of PSX on the Nexus 4. I left it overnight without WiFi in order to test my usual usage. It went down from 37% to 30%, NLPCollector been the longest one to be awake in partial wake lock.

Here's the dump:

https://db.tt/30AtL59e

I guess I'll have to turn off Location History/Reporting. It has also been suggested that Locate Remotely on Android Device Manager should be turned off too. Pity, because all are useful additions to the system.

Let me know what you guys think. Thanks.

Edit:

By the way, while writing this post and having screen on for 7 minutes, my battery went down from 30 to 18.....
[BetterBatteryStats] hisee:
Pl look into it...
[BetterBatteryStats] andreasy:
Why do I get this very often?
[BetterBatteryStats] cajunflavoredbob:
These aren't decimals. They're release numbers. It doesn't have to follow the rules of decimals, since it isn't one. Pretend the version is using a hyphen instead of a period if that helps you wrap your head around it.
[BetterBatteryStats] scifan:
So... is 0.4%/h drain (assuming I'm reading this right) a reasonable amount of power consumption for an idle phone over-night?
[BetterBatteryStats] xdabbeb:
It all depends on your phone. I have a galaxy nexus and the best I ever get for idle drain is 1.2%/hr.
[BetterBatteryStats] scifan:
SGH-T999 (Galaxy S3)
[BetterBatteryStats] xdabbeb:
I'd say that is a pretty good result given what I know of the s3. Were you on wi-fi the whole time?
[BetterBatteryStats] fndpena:
So.

I'm getting these unusual alarms. They've never appeared before cyanogenmod. I can't figure out how to avoid them, maybe someone could help me.

com.google.android.intent.action.gcm_reconnect (from Google Play Services process)

com.android.internal.telephony.gprs-data-stall (from Phone process)

Maybe some autostarts that I could disable for Google Play Services?

I have no idea about the other one, AFAIK I don't use gprs...
[BetterBatteryStats] scifan:
Wifi is set to stay during sleep only when the phone's plugged in... so it "Should" have been off...

Bluetooth and GPS were on...

Most applications (twitter, facebook, etc) are configured to not pull updates... It appears something (touchwiz, or otherwise) seems to be gathering data related to unread messages on facebook anyway...
[BetterBatteryStats] xdabbeb:
I'd say that is a pretty good result given what I know of the s3. Were you on wi-fi the whole time?

---------- Post added at 11:29 AM ---------- Previous post was at 11:25 AM ----------

Sorry...fat-fingered the reply and accidentally pasted my earlier msg.

Generally wi-fi results in less battery consumption, so I'd say that makes your results even better. What makes you suspect that something is polling fb messages? Did you find a partial wake or alarms for an unknown process?
[BetterBatteryStats] scifan:
The fact that the touchwiz launcher shows that there are "x" number of new messages...
[BetterBatteryStats] xdabbeb:
Is the number accurate or does it simply reflect what the fb app reported the last time it synced. That would tell you whether it's polling on its own.
[BetterBatteryStats] scifan:
I'll have to check.

Here's a couple of screen shots... one over night - (Yeah, short night last night) and another one after several more hours...
[BetterBatteryStats] xdabbeb:
Can you upload a text dumpfile? I'd be able to see a lot more that way. Also, did you enable the root options (alarms, network stats)?
[BetterBatteryStats] TKD29:
Is a solution for NlpCollectorWakeLock ?
[BetterBatteryStats] scifan:
Yes I have root enabled...

I've attached dumps from this morning and from here just a few minutes ago.
[BetterBatteryStats] xdabbeb:
You would have had to create it at that time by hitting the share button from within BBS. Unless you unchecked auto-refresh in advanced settings and haven't plugged it in since, that is.
[BetterBatteryStats] Noed:
Anyone knows about a "SmsCallServiceWakeLock" consuming a lot of battery?

Today I got over 41min wake with only 65 alarms.

I made a couple phone calls, total call time 17min.

Already google for it and search on XDA, haven't find anything.

I've also been trying to find something about it in logcat for a few days.

I can send some logs, but as I say it doesn't mention this "SmsCallServiceWakeLock", any other ideas what I should look in logs?

Thanks
[BetterBatteryStats] xdabbeb:
I checked the one from earlier and it really does look pretty good. You've got over 8min of wlan_rx_wake, but that's going to happen anytime the phone comes out of deep sleep to receive data. The only area I could see for any potential improvement are that FB still seems to be triggering some alarms (though really not many), and all alarms only seem to total only around 10% of your total awake time during that period (which is only ~20min to begin with). javax.microedition.ims has the highest number of alarms (though still a small amount), and it seems to be related to wi-fi calling. I'm on VZW, not TMO, so I don't have much experience with disabling that.

In the end, though...I'd say you're doing well.
[BetterBatteryStats] scifan:
I saved one early this morning... (I attached them to my previous message... perhaps I should have just posted a new message.)
[BetterBatteryStats] Perseus:
It could be the Stock Email app as well to suspect.Yuo don't have to use it to get wakelock.
[BetterBatteryStats] scifan:
Excellent! thanks...

I know I've seen higher drain rates... but it sounds like the idle rate isn't half bad at least.

Now I need to assess my wife's phone... (Galaxy S2)

What would be cool is if there was some sort of central repository to show generic numbers for different phones... (eg this is what you'd see on "stock"... if you're seeing better than this, you're doing fine... etc)
[BetterBatteryStats] Perseus:
For S2, I'd start with Replacing Kernel with Siyah and undervolting an itsy bitsy bit.

Repository is tall order as App Loadout for everyone is different.
[BetterBatteryStats] scifan:
That's true... I guess I was thinking generic... but honestly, that might be fairly pointless.
[BetterBatteryStats] Karpfenhai:
Some Wi-Fi wakeups but nothing out of the ordinary, well done!

Tapatalked from my Galaxy SII
[BetterBatteryStats] flvinny521:
I froze it with TB and these are my results... basically wakelocking the phone for hours, but the battery drain seems great. I imagine it might be better if I can resolve this, but here we go:

This was about 4 1/2 hours of idle when the phone was unplugged in the morning, and then some light usage on and off until I saved the log.
[BetterBatteryStats] AutomaticFailure27:
Doing some light research, it seems that the Sprint DM thing is actually some type of firewall-ish program Sprint puts on the phone to make it not work with other carriers. From my experience, anything that has the word "Sprint" on it should be left alone. Those are put on phones to make it work with Sprint's wonky-ass binaries and service.

Your APN / PRL / Profile was probably connected to that Sprint DM Services, which freezing it would halt any network update in your area. I've had it where the "preparing network services" too over 10 minutes to complete, since it is basically rewriting the APN for your phone / service.

Be careful when you freeze apps also. Just because it's a "safe" app to freeze, doesn't mean that you should. Sometimes, those apps are required for other apps to function properly. I would go through and freeze one app at a time, run for 24 hrs or so, then freeze another. If you come out with no issues, then you know it's pretty much safe.

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

Seems with some light research and reading in between the lines, this "wakelock" is activated when you make a call. This allows you to send/recieve SMS when on a call. More than likely, it also activated when a text is recieved / pushed without the use of a data network, meaning that you are actually using the cell provider signal to do messaging.

Most of the time, apps / services make wakelocks to check periodically to make sure they are not missing anything.

Nothing to worry about.
[BetterBatteryStats] fndpena:
No clue?
[BetterBatteryStats] Karpfenhai:
Mate, it's all in the thread...

Nlp should be clear anyways.. it's location provider..

Data stall means either it's flapping between 4g 3g 2g (happens mostly while traveling) or connection was revised due to no connectivity/connectivity lost.

Hmkay?

Tapatalked from my Galaxy SII
[BetterBatteryStats] flvinny521:
Thanks for your advice, I did some searching on it as well and also found a few people mention it as a way for corporations to control the phones of their employees, restricting their rights to certain actions, but I'm pretty sure that was unconfirmed. My initial post that you quoted was with the Sprint DM Services still active. Did you see my follow-up? I froze it just to test what would happen, and while the "Preparing Network" notification disappeared, I ended up with a wakelock for several hours. This morning I went ahead and thawed it again and I'm letting it sit idle for a few hours so I can see if the wakelock disappears.
[BetterBatteryStats] mikoal:
Chamonix and Perseus,

Ok, so I followed your advice and I did two BBS logs. Brief explanation below

Log1:

From 100- 70/60% was playing game (puzzle and dragons) using wifi network (this drains less), and had the game running on the background for a couple of hours.

From midnight to 7:30am, the phone was left idle, with wifi off and just data on. This went from 58% to 49%, which is an average drain i think, roughly 1% per hour.

Log 2:

From 8:35am to 9 ish, it went from 46% to 15% from just streaming radio and surfing the net and Imgur. I turned off the screen for a few mintues too. otherwise it would drain faster

I know Imgur drains a lot, but just with streaming radio and surfing the net drains a lot of power. Actually playing puzzle and dragon with data drains it fast too....... i suspect anything that uses the phone's radio to access data drains it very fast. <-- Log2 is my issue

My screen is set at autobright, and it isn't on high at all. I've done this will low setting before and still drains.

I'm still doubtful that this can be resolved, but will be surprised and glad if BBS can resolve this IN-USE drain.....not idle drain.

Keep in mind, i have mostly everything greenified, yes there are apps like weather widget, news widget, gtalk, whatsapp, wechat, etc that i leave on, but.......they dont affect my idle drain significantly, nor do i use all of them when the phone is on.......

Confused, but hopeful for a solution.

Note: if a pure idle dump is required, i have posted that before, there wasnt much wrong with it...
[BetterBatteryStats] mcshadows77:
i've too short screen time :(