yashsingh1/xdaforums huggingface dataset:
[BetterBatteryStats] Karpfenhai:
Your welcome mate! :thumbup:

Tapatalked from my Galaxy SII

---------- Post added at 10:30 PM ---------- Previous post was at 10:26 PM ----------

Nope, it's not, but you've missed to read the op.. :p

Tapatalked from my Galaxy SII
[BetterBatteryStats] Waldos:
[MENTION=4355376]Karpfenhai[/MENTION] [MENTION=4705372]Casanoaa[/MENTION] Are there are any update about teh new GFS services on 4.3?

Thanks [MENTION=1330150]chamonix[/MENTION] for the BBS app!!

You guys are so great!!
[BetterBatteryStats] solidedgard:
So, I'm here with the dump
[BetterBatteryStats] Casanoaa:
No. I wait for a rom from wanamlite.

I dont think it differs much from these settings provided by me now.
[BetterBatteryStats] Waldos:
I put here the 4.3 services :) Maybe this can help you:

http://xdaforums.com/showpost.php?p=44315808&postcount=18261
[BetterBatteryStats] Karpfenhai:
Nothing unusual so far.. just one minute overhead... provide a longer but clean idle reading.. but.. afaik 2.3.6 is the most battery friendly android ever..

So.. if your battery is not degrading due to age.. maybe your screen digitizer does... Good luck

Tapatalked from my Galaxy SII

---------- Post added at 12:42 AM ---------- Previous post was at 12:40 AM ----------

Not yet, I'll wait for more stability (graphic glitches and camera) but I agree Casanova..

Tapatalked from my Galaxy SII
[BetterBatteryStats] razen_kain:
wrong percentages

I coulld have

SWORN

i posted this here this morning but now i dont see it anywhere. Well chamonix here is my dumpfile with the root features turned off. Doing the math, the percentages are still wrong. Closer, but still wrong... IDK

https://www.dropbox.com/sh/dlthf8vm4nuc3ry/jcDOS98Eo9
[BetterBatteryStats] solidedgard:
i've bought a new batt last week :crying:

what you mean for screen digitizer ? sorry i'm not english
[BetterBatteryStats] chamonix:
Again, this dumpfile is useless as it is not idle. Please read the first posts of this thread on how to provide an idle sump
[BetterBatteryStats] Karpfenhai:
don't do the last step first, just provide a clean idle reading.

Tapatalked from my Galaxy SII
[BetterBatteryStats] mahdi-pc:
Hi There

Did you remember that you said to me if my consumption is high during flight mode? Well I tried the phone in Flight Mode over a night and my battery consumption reduced to 0.25% per hour(2 percent in 8 hours).So right now I am so confused that should the consumption of anthena must be too high?!!!!

I attached a photo from my Rom and Kernel.
[BetterBatteryStats] IRKONIK:
Err, hey people.. Take a look at this, and please tell me what the f*ck is happening on my phone:

Thank you :)

Via Tapatalk 4 BETA, that, surprisingly, is free.
[BetterBatteryStats] Gunkk:
Read the faq on GSF, 3rd post or so.
[BetterBatteryStats] den_breacker:
I've read in this threat that greenpower / juicedefender cause more wakelocks then they save battery.

So I uninstalled Greenpower. But now my battery life is much worse.

Before, my battery lasted at least 24 hours. Now my battery was empty after only 12 hours (other things kept equal off course).

I agree that greenpower may cause a lot of wakelocks, but for me the net result is positive. Keeping 3G enabled all day drains my battery like hell.

Or do you guys manually disable 3G / wifi when not needed ?
[BetterBatteryStats] sshafranko:
I had the same experience with juice d. I installed it right back. Plus it jandles my wifi and data conectivity when needed.

Sent from my SCH-I605 using Xparent BlueTapatalk 2
[BetterBatteryStats] chamonix:
Once you have removed these band-aids your phone shows its real drain profile. That means not the end of the journey but the begin. What does bbs say about the main causes of drain?
[BetterBatteryStats] nitin_ko:
does anyone have an idea about MAPAL_LITE_SOCKET_RECEIVE kernal wakelock

thanks in advance
[BetterBatteryStats] Casanoaa:
No but you have to provide an idle log..

Unplug and leave phone 4 hours and dump a file.
[BetterBatteryStats] Xoib:
Just a follow up, don't know if I can generalize this but anyway I share with you.

My past dumps was on a WiFi router b/g, very normal log for 8h screen off, 20min awake (see attached file 2 2013/08/13)

But this one, is on a WiFi router n, it seems that my Nexus 4 doesn't like the noise of these waves 1h30 awake ! (see attached file 1 2013/08/14). It not a surprise, qcom_rx_wakelock and suspend_backoff was excited !
[BetterBatteryStats] den_breacker:
I've attached the dump file.

It actually isn't that bad at the moment...
[BetterBatteryStats] Casanoaa:
Disable lightflow

Disable facebook and use another app.

See post 3 in this thread about gsf.

See post 3 in this thread about gsf.
[BetterBatteryStats] chamonix:
If you disable location tracking from maps it would look even better. The overhead caused by that is unbearable imho
[BetterBatteryStats] Xoib:
Hey, I was just sharing my research my stuff / benchmark / result under certain conditions.

Btw I think 20min awake for 8h sleep is good enough for a device with wifi on.

But thanks anyway.
[BetterBatteryStats] bbernardini:
Just curious...are the GSF tweaks from this post (linked from post #3):

http://xdaforums.com/showpost.php?p=35755907&postcount=11160

...still worth doing for 4.3 ROMS and updates apps?
[BetterBatteryStats] miten_sheth:
Any help here?

http://db.tt/530OEhSO
[BetterBatteryStats] Karpfenhai:
Good news, gsf settings for 4.3 are exactly the same as on 4.2, so our guides are still valid!

Tapatalked from my Galaxy SII
[BetterBatteryStats] rocada:
Help me:http://db.tt/i9Vsy50J

Wtf is data tracking?
[BetterBatteryStats] Deni_NS:
Well as I see this two lines

"msm_hsic_host" (): 3 h 4 m 51 s (11091 s) Cnt:(c/wc/ec)3707/8/0 42,2%

"suspend_backoff" (): 2 h 50 m 25 s (10225 s) Cnt:(c/wc/ec)1024/0/1024 37,6%

So it's something with fast dormancy. Find on your LG forum how to disable it.
[BetterBatteryStats] peron:
My battery seems to drop around 2.5% per hour while idle and screen off.

I cannot really tell if this is normal behaviour considering I have two email accounts syncing, one push and the other every 30 minutes.

I have greenify and froze everything I could with the exception of whatsapp.

Log attached.
[BetterBatteryStats] smaugh:
Great app

Very good app.
[BetterBatteryStats] guido_glx:
That's wierd, 2,5% lost per hour while deep sleeping 97% of the time.

I have the same device (i9100) and that doesn't happen to me.

How old is your battery?
[BetterBatteryStats] hellraizerN7:
Hi, here is my bbs dump.

Some help would be really appreciated. Since on 4.3 (stock everything) on my Nexus 4, the powermanagerservice (or Android OS) won't let my device sleep that much.

The weird part is, that the powermanagerservice and the partial wakelock wake times don't add up. The services has much higher usage than all of my totals in partial wakelocks.

I have posted just 16 minutes of wake time, but that is only since using BBS. Before I used wakelock detector and got the same results (days with wakelock problems and a lot of drain), and even there the service had more run time than all partial wakelocks combined.
[BetterBatteryStats] peron:
The battery is three weeks old.

Old battery behaved in a similar way suggesting me some process might be sucking its juice
[BetterBatteryStats] Karpfenhai:
On stock battery monitor, has AOS the highest amount?

Tapatalked from my Galaxy SII
[BetterBatteryStats] chamonix:
That reading does not allow any interpretation : too short sample, not idle. Please read the first posts and provide an idle dump

PowerManagerService bigger than the sum of partial wakelock: search a few pages back, I posted a possible cause in Form of a patch to aosp by jbq that may not have been merged to your build
[BetterBatteryStats] bbernardini:
Hello, all. I'm trying a new ROM/kernel combo, and I'm about to look through the log from my latest idle test. Is 1.4% loss/hour acceptable, or does it seem high?
[BetterBatteryStats] peron:
Nope screen is by far the number one 62% = 42 minutes screen on time
[BetterBatteryStats] darkgodz:
I put a post in the S3 Q&A forum and some one suggested I also post here.

I am looking for some one to peek at the dump log i used from BBS and see what may be causing my occassional reboots.

It "looks like" a surge of some sort but I am not positive.

thanks in advance.

Question and Logs are here.
[BetterBatteryStats] Waldos:
With System Tuner there are new services and other change its name. With autostarts are same name but there are new services too.

You can see the difference on the SS here: http://xdaforums.com/showpost.php?p=44559561&postcount=18424
[BetterBatteryStats] chamonix:
Well that's a lot. First what would be interesting is if you are talking about a soft or a complete reboot. A soft reboot would be userland restarting as opposed to the complete phone rebooting. In the first case the logcat keeps on going and in the second it gets reset. dmesg/kmesg would be the right tools n the second case.

At what time did a reboot happen?
[BetterBatteryStats] Karpfenhai:
Okay mate, especially for you:

Note, these settings are safe, means your playstore will work, they will close/break your permanent Google connection and some notifications.

Regards

Tapatalked from my Galaxy SII
[BetterBatteryStats] Waldos:
Thank you so much [MENTION=4355376]Karpfenhai[/MENTION] !! :D
[BetterBatteryStats] salman45:
Hello . Please read my battery stats. Thanks

http://db.tt/13MynHTs
[BetterBatteryStats] Karpfenhai:
There is nothing supicious in your dump, get a fresh battery ;)
[BetterBatteryStats] mhannigan:
That is completely false. There would be no benefit to keeping a socket open. Keeping your network connection active 100% of the time certainly isn't going to save you battery.

Mike
[BetterBatteryStats] lionsmatara:
Dear brothers,

This is my dump file.

Please check it and help me to get best battery life...

http://db.tt/MAwe1lZI

Thanks.
[BetterBatteryStats] It_ler:
Congratulations mate :good:

A battery loss of 0% in more than 5 hours with a deep sleep ratio of about 99% ... very good.

I can find nothing to improve.

Enjoy your phone.

BTW, you talked about battery drain when using mobile data connection ... Have you been in airplane mode during the 5 hours?

If yes, then record a new dump with mobile data connection enabled.
[BetterBatteryStats] Xoib:
In fact, I was speaking about GCM in this particular case.

The way it works is that without GCM, your app would either have to have a socket open to your server and ping it every 5 minutes or so in order to keep the socket alive.. Another option would be to make an HTTP call to your server every 5 minutes or so to see if there's anything new to fetch..

With GCM, there's one unified process that's already running to get messages. Now your app just subscribes with a broadcast listener, then if on that GCM process there's ever a message for your app, it would be broadcasted to your app, and at that stage you can whatever you want.

This conserves battery because you are just piggybacking on the already existing GCM service on the OS instead of running your own, thus using less battery.
[BetterBatteryStats] lionsmatara:
Thanks dear bro...:thumbup:

No bro. Test with mobile data connection enable.

So thanks again ur reply. :beer:
[BetterBatteryStats] sam145:
Hello dear guys ;)

Here is my battery stats please check it and tell me what the Mistake 0___0

I get fast battery drain

http://db.tt/OQoAPWTt
[BetterBatteryStats] miten_sheth:
This is my dump file.. Can you'll tell me the problem.?

http://db.tt/530OEhSO
[BetterBatteryStats] It_ler:
1. Please provide an IDLE dump = doing nothing with the phone (screen off all the time).

2. The get reliable numbers, we need at least 4 hours.

3. As your phone seems to be rooted, enable root option in Advanced and TICK all stats in Dumpfile menu in BBS app.

4. Consider to turn wifi off, if you can also use your mobile data connection. Or use Better Wifi On/Off app (from Play store) to automatically control wifi state. It can really save a lot of battery power.

---------- Post added at 12:48 PM ---------- Previous post was at 12:44 PM ----------

Your battery life is OK, but could be much better IMO ... with better deep sleep ratio.

Main culprit seems to be:

"wlan_htc" (): 4 h 8 m 2 s (14882 s) Cnt:(c/wc/ec)966/0/965 61.0%

"wlan_rx_wake" (): 52 m 47 s (3167 s) Cnt:(c/wc/ec)2508/0/2508 13.0%

> Wifi

As I said before, check again with wifi turned off.

If you have better battery life and deep sleep ration with wifi turned off, use Better Wifi On/Off app (from Play store) to automatically control wifi state of your phone.
[BetterBatteryStats] nckeong88:
Hi, may I know what is the cause of com.android.phone alarm? It has top counts. Thanks.
[BetterBatteryStats] Casanoaa:
It's a wakelock which appears when your phone you have poor network signal or if your phone constantly switches between 2g and 3g.
[BetterBatteryStats] den_breacker:
Wouldn't it be nice if we could somehow automate the process of disabling all autostarts for gsf?

It's kind off a hassle to do it every time (every time you flash a new rom...)

Or having an option to backup those settings, so that you can restore them on another rom.

Just a thought :)
[BetterBatteryStats] Casanoaa:
Backup your System Tuner or Autostarts.. With Titanium Backup Pro and restore the app and settings after you've flashed your new rom.
[BetterBatteryStats] Xoib:
Even with a script with the 'am' tool and a good cron system or put in the init.d.
[BetterBatteryStats] poo706:
Sweet! I was thinking the same thing, didn't realize it was that simple.

[poo]
[BetterBatteryStats] mhannigan:
That works for the server side, and would work fine on the client side as long as delay_while_idle flag is set to false. I didn't realize you were talking about using GCM vs not using GCM, though. I took the statement out of context - sorry about that! Now, I humbly agree with you and will stop sticking my nose in at the end of conversations.
[BetterBatteryStats] den_breacker:
When I use these settings, the gmail app stops working. Every time I open it, I get:"unfortunately, Gmail has stopped working".
[BetterBatteryStats] azeem40:
Here is my idle log for almost 4 hrs. Next I am gonna use my phone and post a BBS log. How is it? Airplane mode is on and facebook sync is set to every 4 hrs. Thanks.
[BetterBatteryStats] Karpfenhai:
That's sad but I don't use Gmail...

Revert your changes and reboot, then apply them step by step until Gmail stops, revert last change, reboot, confirm Gmail is working, skip this particular one and go further.

Do this for every change which affects Gmail, a pain in the ass but should fix the issue.

Disabling all services with gtalk in name should be sufficient.

If you open the bug report and scroll down to trace you might see why it's not working, but idk whether it crashes for you..

Good luck

Tapatalked from my Galaxy SII
[BetterBatteryStats] Casanoaa:
Your Event Log Service (Google Services) is too high. In autostarts or system tuner it should be enabled. (Google Services Framework).

This is also too high SNS (com.sec.android.app.sns3.SNS), disable SNS if you dont need push in facebook. (Titanium Backup pro)
[BetterBatteryStats] azeem40:
I just installed Autostarts, but I don't see that service (Google Services) disabled.
[BetterBatteryStats] hawkdown77:
Hi there...... can help me?? I leave my phone 4 hrs screen off for dump batterystats

What do I do to stop wakelocks ...?

thank you

.
[BetterBatteryStats] exwan:
here's a dump after i leave my phone overnight.

i tried using the newest version posted on page 1. but cant find enable debug in setting., so i revert back to using an older version.

i hope it's ok.

i dont know which log you need. so i think better to post both log that in my phone.

please help me. and thank you in advance.
[BetterBatteryStats] azeem40:
Your top 3 wakelocks arent taking up much time, so imo you are good to go.

---------- Post added at 11:35 PM ---------- Previous post was at 11:33 PM ----------

Disablr wifi overnight and see if it gets better. I personally always enable airplane mode overnight.
[BetterBatteryStats] chamonix:
Thanks!

I have added an issue to github so that you can follow the progress: https://github.com/asksven/BetterBatteryStats/issues/408
[BetterBatteryStats] artttur:
Very helpfull app.Great work!
[BetterBatteryStats] Casanoaa:
Event log services is in Google Services Framework. See post 3 in this thread about GSF.
[BetterBatteryStats] hwjrmrm:
hello,thanks for your app...I have a problem.."phonewindowmanager mbroadcastwakelock"looks take me much battery..

look at the picture please
[BetterBatteryStats] exwan:
anything weird about the wakelocks beside wifi? i'll try post another dump tommorow
[BetterBatteryStats] chamonix:
Working on tracking down nlp wakeups caused by the new location status implementation by google I have written a little tool called XposedTrace. If allows to hook into the method calls of certain classes (AlarmManager, LocationManager, etc.) and to see the calls, the parameters and the callstacks. I am doing some testing right now and will start working on the output after that. As that tool may be handy to other I will create a dedicated development thread for maintaining it and will link from here. For those who are impatient you can check the sources here.
[BetterBatteryStats] Deni_NS:
Well as i saw the thing behind nlp wakelock is that when you go into google settings app (the green one square G) and go into location then under your email turn off the location reporting and location history then the nlp wakelock is wanished and "almost" totally disappeared...
[BetterBatteryStats] chamonix:
I have documented that workaround a while ago. What I am after is to track down the bug (and fix it) causing location reporting to wake my phone up every minute.

Before google introduced the proprietary and poorly designed location provider in the Google Play services combined with g+ location forcing to use that crappy location provider on us location tracking used to work. The fused location provider is flawed and that is what I am after
[BetterBatteryStats] Deni_NS:
The question now is:

Can you make and provide a fix or is it the thing that only Google must fix?

I have utmost confidence in your work and I hope you can make something that millions of people will have benefit from the fix :)

Thank you again for your magnificient work in this community!
[BetterBatteryStats] chamonix:
One is sure: I will at most be able to provide a workaround and enough information for Google to fix it as Google Play services is closed source.

I don't know the chances for a fix yet as I an just starting to build a tool set to help me document the problem but who knows, this info may help google to fix it.

My current theory is that the problem is caused by the cell tower location. I am on GSM and potentially some of the behaviors on that king of network are different from coma (where I assume all the testing was made). More to come....
[BetterBatteryStats] toothpick321:
Can anyone help? I'm suffering a major battery drainage and would be grateful if someone could assist me with analysing the attached BBS log

Thanks !
[BetterBatteryStats] Jambu95:
These wakelocks had annoyed me for months, full wipe and factory reset few times, still no use.
[BetterBatteryStats] pjadec:
Both do only "Idle log" AND read OP carefully.
[BetterBatteryStats] azeem40:
I am saying that the service is enabled.
[BetterBatteryStats] Waldos:
I have this doubt since a while.

How can i comple from github? Im On Win_XP_x32
[BetterBatteryStats] chamonix:
Clone the repo and compile it from eclipse or ant.

If you don't how to do that wait for the apk. But remember this is a tool to help you in generating more logging, not a solution. Reading those logs require a serious understanding of how android works and I will provide no support in how to use the tool.
[BetterBatteryStats] xI mEzMeRiZe Ix:
So is there any way to deal with the new location services in 4.3 and Play Services without sacrificing location data for apps? Been getting some bad idle life: http://db.tt/eKvxi6Ez
[BetterBatteryStats] chamonix:
Sure there is. If you turn off location tracking from maps 90pct of the overhead is gone
[BetterBatteryStats] xI mEzMeRiZe Ix:
What exactly does that affect though? Google Now always suggest I turn it on to get better suggestions.

Edit: Also, my dump file showed that my phone was awake a lot, but only a few minutes were related to location. What's it doing the rest of the time?
[BetterBatteryStats] superbobup:
IIRC Location Tracking is basically the same as location reporting in the old Maps. If it's on, you continuously update your location to Google's servers and they track it for you. It helps Google Now give location based cards - you're at work and a traffic card pops up telling you how long it takes to get home; it wouldn't be possible without location reporting. Turning it off disables this and, IMO, many many many other, useful feature. But, if you don't need the location context for what you do, no need to always have it on :p
[BetterBatteryStats] xI mEzMeRiZe Ix:
Unfortunately, I do use all those features. Guess I'll just have to wait for good battery life until I upgrade from my Gnex. My N7 doesn't have any issues with idle battery life, despite all the same settings and apps.
[BetterBatteryStats] chamonix:
Well what were the other causes? It's all there in the dumpfile
[BetterBatteryStats] REH1:
I think I've done this right, feel free to yell at me if I haven't. I'm getting bad battery drain using slim bean 4.2.1 on s2 i777. This is mostly standby time and around 50% drain in I think 4.5 hours?
[BetterBatteryStats] chamonix:
No you havent't. That dumpfile is no idle dump. Please read the first posts of this thread and try again
[BetterBatteryStats] REH1:
Thanks for the quick reply, I'll read the first posts again.
[BetterBatteryStats] azeem40:
Can anyone answer me in post #18501?
[BetterBatteryStats] REH1:
Attempt #2 thank you for your help, Hopefully I got it correctly this time. My idle drain doesn't seem to be too terrible at all... But if I am using an app (Facebook, a game, etc) I can watch my battery drop at a huge rate, like 1% per minute used?
[BetterBatteryStats] azeem40:
1 hr and some minutes isn't long enough of a time. Atleast 3+ hrs is required for an accurate reading. Also, try wifi off and see.
[BetterBatteryStats] REH1:
Oh, I read on the first page that it recommended 1-3 hours. I'm currently at work so tried to do a quick idle with my phone for a reading. So I guess that an overnight idle would be best then? My problem is that my idle really isn't terrible, average probably 3-6% drain per hour. However if I'm trying to use any apps like Facebook or games etc, I can watch my battery drain so fast.... Literally like 1% per minute which I don't think is normal at all. And my screen usage...with just average phone use, not staring at games or facebook is OFTEN around 50% battery drain, and kernel drain is usually around 20%... are these "Normal"?

I will however do a long idle log sometime through the night and post the log and hopefully it will make things clear. Did I atleast do the log right last post?
[BetterBatteryStats] hawkdown77:
Try use greenify to stop Facebook wakelocks and other programs

Its very simple to use.
[BetterBatteryStats] hawkdown77:
Im gettin a error when i open betterbattery stats.

I receive the message: "selected from or to reference could not be loaded. Please refresh"

But i refresh and same message appear.

Edit: i forced close and clear data and now it works fine.
[BetterBatteryStats] Rustork Matra:
less edyght

Who can help me? I am very upset :crying:
[BetterBatteryStats] exwan:
here's a new overnight dump woth wifi / data and gps off.

please take a look.