yashsingh1/xdaforums huggingface dataset:
[BetterBatteryStats] xelra:
When everything is low already, something that's also low will seem to be pretty high in relation. That's all there is to it.

AlarmManager is a wakelock that fires for every alarm. Look into the alarm tab to see which Alarms are causing it.
[BetterBatteryStats] haarsh:
Hi,

I am trying to take a DUMP by not touching the phone , BUT i am receiving messages, calls which I tend to reply . Is it ok to make the phone offline (Airplane mode) for 4,5 hours until I dump data

OP says to - leave the phone alone 1-4 hours

Thnx
[BetterBatteryStats] TechXero:
Ok here's round 2 ...

2 days ago got 18h overall with 6h15mins screen on, only past day or so back to drain. Only this time it's after I followed your instructions from Round 1 ....

Please let me know what else I can do ! Dump below !
[BetterBatteryStats] luizlee86:
Here is a new log (5/6 hour, overnight)! Can someone analyze it please?
[BetterBatteryStats] azrash:
Did you accidentally plugged it in to the charger when you took the dump?

" Since Unplugged

Since 6 s "

Sorry to say but you need to produce another dump, take it immediately after the idle period without connecting it to the charger.

---------- Post added at 06:42 PM ---------- Previous post was at 06:39 PM ----------

Airplane mode won't emulate the idle period accurately because your data connection would be off etc. Best time to take it is in the morning. Simply unplug it from the charger before you sleep, and take a dump file first thing in the morning
[BetterBatteryStats] TechXero:
Hey guys!

Posted a dump earlier just wondering y no one looked it up yet? Sorry but am going on a trip in a few hours need to know what I can do not to have to worry about it dying on me! Trip will be almost a full 24h no charger coz it's out in the wild!

Thanks :'(
[BetterBatteryStats] azrash:
suspend_backoff" (): 1 h 52 m 10 s

If I am not mistaken,this might be caused by Google Chrome for Android. Try updating it to the latest version, or uninstall and install the latest version of chrome for Android.

If the problem persists, try un installing Chrome.
[BetterBatteryStats] luizlee86:
What the...?

Sorry! I didn't check it before generating the log... I did it right after waking up, so I was a little sleepy... :o

But I didn't plug it in to the charger, I think I should just refresh the stats on BBS.

Sorry for the bothering... I will be sure to post a right dump later.

Thanks!
[BetterBatteryStats] xelra:
It's a problem we geeks don't have. No one is ever calling us. ;)
[BetterBatteryStats] haarsh:
Hi,

Thank you for the reply :). I think it wont be a problem if I receive texts / calls during that time. I'll try to do it today and post my DUMP.

Thnx again

Haha. Yeah wish no one would call me and help me to stay IDLE :D
[BetterBatteryStats] chantoine:
First, your WiFi was on, which is'nt the best way to begin (44 minutes of deleted_wake_lock).

Then, in one hour awake, you got 27' of DownloadManager (Media) wakelock and some twitter stuff.

And last but not least, 35MB of data traffic with Gmail.

I'd start by deactivating all syncs, install K9mail and stop using gmail app, cut off WiFi...

hth
[BetterBatteryStats] ddc87:
I don't have Chrome installed...and didn't have it since last 2-3 full wipes and clean ROM installations.
[BetterBatteryStats] TechXero:
Well, thanks for reply but first off can't shut down wifi my work relies on it, second media? I never download stuff like that on my phone that's y I got a PC for! Third K9mail? What is in it that is better than Gmail? Finally you telling me Gmail pushed 35mb of data while I was snoring?

As a side note I would like to mention that while using phone battery drains faster than I can count which I don't think is normal!

Thanks again ;)
[BetterBatteryStats] irish-sid:
would anyone have a quick look at this for me please?
[BetterBatteryStats] azrash:
I am not completely sure myself as my knowledge in this is pretty limited. Hopefully others can give you better information
[BetterBatteryStats] Karpfenhai:
Thats a logcat, we would appreciate a dump ;)
[BetterBatteryStats] irish-sid:
Is it not attached to my post? It shows it is here.
[BetterBatteryStats] TechXero:
Can anyone explain to me what apps to use for twitter, Gmail n Messages that have push notifications without draining battery? coz from what I have been told Sync services consume more than usual! I really want standby time to be around a day n a half at least! Now barely getting 10h and that is on a good day!

Attached Dump file a few posts earlier!

Thanks guys ;)
[BetterBatteryStats] kevindd992002:
Can I use the yahoo mail instead of k9mail without any problems?
[BetterBatteryStats] InevitableDJ:
Hi Guys,

This has been bugging me for a while i get these crazy wakelocks on my phone and i cant seem to figure out what they are, i Googled all these wake locks but i don't quite understand them. i have a log-cat of and bbs log for my battery drain. i would really appreciate it if you guys can tell me what it is.View attachment logcat-2012-10-30_153445207.txt

View attachment BetterBatteryStats-2012-10-30_153440961.txt
[BetterBatteryStats] Karpfenhai:
Yeah, thats an easy one ;)

Your music player caused the most awake, followed by wifi, then Location based services.. the rest looks good so far ;)
[BetterBatteryStats] InevitableDJ:
thanks that's awesome for the fast reply, can you let me know what wlan_crtl_wake, wlan_rx_wake, ls_hsic and others with fd do ?
[BetterBatteryStats] haarsh:
I have finished charging my vibe. NOW I disconnected it from the charger and let it stay on the bed lying down. I will post my DUMP if I am lucky enough not to have any calls / messages ..hopefully :fingers-crossed:
[BetterBatteryStats] Karpfenhai:
l2_hsic and secril_fd are normal in your case no need to worry about, both are related to mobile data traffic.

The wlan thing.. was discussed multiple times here, it is most probably caused by Broadcast senders in your network, like an ipad or another pc, TV, set top box et cetera.. the only thing you can do is cleaning your network (Configure the router to block this traffic) or find a kernel which disables Broadcasts on your device, both are tough btw..

Shark for root my help to identify the senders..

Good luck!
[BetterBatteryStats] ddc87:
Could someone else take a look at this, please?

Google Chrome is/was not installed.
[BetterBatteryStats] drahmed86:
Hey.... Anybody home??? HELP!!!
[BetterBatteryStats] rchtk:
Permission problem

Hi.

Great apps that I do not regret buying. Thank you!

Since some time, I can not get the CPU states to display.

I can't really said what triggered it, JB upgrade, CF Autoroot, or superuser update of a few days back.

In logcat I see

E/CpuStates(28595): /sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state: open failed: EACCES (Permission denied)

As root in a terminal emulator, I'm able to cat the file. As terminal user I cant enter stats.

Any idea if I am alone with this or what is happening or how to solve this?

I removed the app from superuser app, rebooted and I was prompted to allow BBS to gain root which I did. Still the same problem only for CPU States.

The strange thing is that I think before rerooting, I had the info. Maybe the app takes it from somewhere else if not root?

Samsung S3 JB stock

moved here

http://xdaforums.com/showpost.php?p=33484130&postcount=1523
[BetterBatteryStats] TechXero:
So far am on my trip took my iPhone as a precaution... And let me tell you it's good I did coz I only got 16% left on my HOX and that's only after 7h barely using it! Just one 10min call n some XDA!

No one here answers a question split into 2 posts I guess by one user! Or maybe it's overwhelming to answer so many people! I dunno all I know is am loosing a lot of battery when I need it the most! Maybe that's Android's downfall or shortcoming!

On iPhone on standby so far 3 days without touching it lost 5% don't think any DROID will get that! Anyway this will be an extremely long post giving all the details of my situation so please don't let it be for nothing and answer, in detail what are the apps/tools I need and what are best practices for my specific case to get at least a day of standby n 5h screen on give or take a few!

Now on to my case.

I have already sent 2 logs, both times I was told it was my wifi causing the drain, only I cannot do without it coz my work relies on it badly. I did take Beacon Interval up to 200 from 100 meaning less requests! Then I was told BMW also was causing drain so I uninstalled it. Also brightness set to manual n lowest. Maps frozen via AutoStarts app as well as other GPS apps with Google Location Services completely disabled.

Ok Sync is on at all times due to the fact that I need my push notifications all the time like Gmail, Twitter, messages and chat requests. I also use Lockscreen weather n status bar weather.

All that said, if Sync causes so much drain, what do you suggest as a replacement? Gmail, Twitter a problem? Then what else can I use that doesn't kill my battery? I use 3G as well when am out very important like I said earlier. Not gonna attach another Dump file coz already did twice, the before n after still not getting close to what NEED to survive with this phone!

A reminder as to how I use my phone. I browse for 20 to 30 everyday, use XDA 60% of the time, chat on WhatsApp for 5 to 15 when I need it, chat on GTalk for an hour and finally reply to emails!

As to what ROM/Kernel am on, easy, IceColdJelly v3.1 with ncx kernel v10b1 with uc -50.

Sorry for lengthy post but now desperation just reared its ugly head n I need a solution! And I need it like yesterday! Please don't let the time it took to write this post go in vain!

Sincerely,

A desperate man!
[BetterBatteryStats] raone18:
secril_fd-interface and max CPU speed

Hi,

I am having battery drain due to secril_fd-interface wakelock. I read it is mobil data related, but observed that even if I turn my dataoff it would remain. Strangly, I have also noticed my CPU speed is maxed for unreasonable time. Attached is dump file. appreciate any help. :fingers-crossed:
[BetterBatteryStats] Casanoaa:
Use Gokhan Morals Fast Dormancy toggle and disable fast dormancy on your phone and try see. Your wakelock should disappear.

https://play.google.com/store/apps/developer?id=gokhanmoral&hl=en_GB
[BetterBatteryStats] raone18:
If this app can be used for galaxy s2???
[BetterBatteryStats] Casanoaa:
Try it .. It is not going to happen something to your phone.. see one has tried and says this

https://play.google.com/store/apps/details?id=com.gokhanmoral.fastdormancytoggle.i9300&feature=search_result#?t=W251bGwsMSwxLDEsImNvbS5nb2toYW5tb3JhbC5mYXN0ZG9ybWFuY3l0b2dnbGUuaTkzMDAiXQ..
[BetterBatteryStats] InevitableDJ:
Thanks for the info, and I've noticed when I'm at work that's when I seem to see that a lot it must be do to with my work wifi. I at home like on the weekends I don't see it that much. I good thing it I work in IT so ill just go through the settings of the wifi and see what I can do. Once again thanks for all the info really appreciate it!
[BetterBatteryStats] jamestig:
Dear All,

I've been seeing a much higher battery drain on my SGS2 on Vodafone in the UK since upgrading to ICS via Kies several months ago. Prior to the upgrade using Gingerbread my battery would last well into a second day without recharging and while leaving WiFi on all the time. Since the upgrade I initially found I was losing a full charge in around 12-14 hours. I've tried lots of suggestions to improve the battery life including keeping WiFi switched off unless I'm using it and switching off automatic syncing with any apps that do this, hard resetting the phone, removing Facebook app, etc. I'm now able to get around 20 hours battery life out of the phone if I hardly use it. This still seems low to me, particularly compared to my experience before I upgraded when I was getting much more life without the measures I have since taken to conserve the battery.

What I'm most concerned about is that my phone loses about 40-50% of its battery overnight, when I'm not touching it. It never lost this much battery overnight before I upgraded to ICS. This makes me think that there may be something that I've overlooked and that may be still using up the battery in the background even when WiFi is switched off and I don't think the phone should be doing anything. The thing that seems really strange to me is that my phone still loses a similar amount of battery (40-50%) if I switch it off completely overnight and then switch it on again in the morning. Is this normal?

I've installed BBS and tried looking at the logs but don't really understand what I'm looking at. I don't have that much technical experience and my phone isn't rooted. I'm attaching the log from last night which I hope someone might be able to look at for me. I charged the phone during the evening, unplugged it before going to bed and left it switched on (but with WiFi, etc. disabled) overnight. In the morning the alarm went off but otherwise I didn't use the phone. I saved theattached log file during the morning at work.

Thanks in advance for any help anyone might be able to give me,

James.

SGS2 on ICS 4.03 (Vodafone - UK)
[BetterBatteryStats] irish-sid:
please?

http://dl.xda-developers.com/attach...1/4/4/2/8/3/1/logcat-2012-10-30_111140247.txt
[BetterBatteryStats] Karpfenhai:
Either your battery is f***ed up or your signal is quite worse, b/c based on your dump the phone should not have lost more than 1-2 % of its charge.

What happens on flight mode, does the drain stop or persist?

Tapatalked from my Samsung GT9100

---------- Post added at 02:11 AM ---------- Previous post was at 02:04 AM ----------

Does the issue persist right after a reboot?

If not, try to remember which app you've used if it appears again.

Tapatalked from my Samsung GT9100

---------- Post added at 02:24 AM ---------- Previous post was at 02:11 AM ----------

I just read your post and reviewed your dump again, you got answers and advices, of you followed them and the situation has not improved, post another dump.. Being rude to people who are sharing their free time being helpful to others does not help to raise their motivation to help you....

Tapatalked from my Samsung GT9100

---------- Post added at 02:30 AM ---------- Previous post was at 02:24 AM ----------

Still the wrong file in the post... And the link leads to an dead end.. Sorry just re-post the right file!

Tapatalked from my Samsung GT9100
[BetterBatteryStats] TechXero:
Did not mean to be rude at all! I respect your efforts in helping us taking time away from your daily life! Sorry!

And I said in lengthy post that yest followed everything to the T with exception of Wifi n Data coz need to stay connected 24/7.... Other than that someone recommended K-9mail and to disable Google Sync? How do I get my notifications then? Please clarify!

And no situation has not improved will send another Dump file when I get up!

Thanks and again apologies if I used wrong words xD
[BetterBatteryStats] haarsh:
Hi,

Finally I have created a DUMP. Actually I am posting 02 dumps the 1st taken after 4 hours and the 2nd after 9 hours. Please tell me if there is anything I should take care of :)

Thank you

tc :)
[BetterBatteryStats] danielo:
HELP needed with analyzing BBS log

Hello,

I have bought a new 2000mAh Samsung battery for my SGS II and my goal is to reach 2 days without charger, but still wasn't successful :( I read a lot of articles and posts here at XDA and I try my best to reach my goal but now I don't know hove to proceed. Can Anybody be so kind and tak a look at my log and give my some suggestion what next I have to do? Logs are from the last night when I turned of all radios except GSM because I want to be able receive phone calls if something urgent will happen.

Thanks in advance.
[BetterBatteryStats] tawheed12:
1.11 sucks for me. Requests SU every minute??
[BetterBatteryStats] chantoine:
It's up to you.

You can Sync manually when it's important to, and set K9Mail to check mails every hour, 30 mins, of more often (which costs more battery), it's up to you.

Following advices in opening post, disabling some google services with "autostarts" and disabling WiFi all the time i don't need it, i get 98% deep sleep, and approx 0,1 to 0,3% battery (2500mAh) drain while idle. I also select carefully widgets to avoid them downloading some piece of bits all day long... and have deleted some apps that behaved badly.
[BetterBatteryStats] ddc87:
Yes, it still there. Somtetimes the phone gets into deep idle for short period of time, but in general not at all...
[BetterBatteryStats] chantoine:
Networkstats is the main problem i think. Maybe you shoud look here :

http://xdaforums.com/showpost.php?p=29171517&postcount=6822
[BetterBatteryStats] haarsh:
I am sorry :(. I don't understand what it is.. Please can you explain.. I am sorry

Thank you

EDIT: I have found this thread [Better Battery Stats - what's causing "NetworkStats" & related Partial Wakelocks?] link: http://xdaforums.com/showthread.php?t=1778635 where this was posted

I have already unchecked GPS and location service. NOW unchecked google search. under Settings->Location. Am I in the correct path OR should I be considering anything else.

Thank you again

tc :)
[BetterBatteryStats] cricketAC:
K9 includes Yahoo plus it's better on battery.

Sent from my LG-P999
[BetterBatteryStats] greenblue:
It is covered in the FAQ. You should read the first few post on this thread as well. It covers a lot of useful material.
[BetterBatteryStats] MOST2K2:
looks great, i will try it.
[BetterBatteryStats] haarsh:
Guys Please READ FAQ. I have found a great post and I am sorry to re-post that(BUT I think I have to :D).

Q: Google Maps is causing a lot of overhead. Must I freeze it?

A: no, Karpfenhai wrote step-by-step instructions on how to configure auto starts and the location service to avoid that

which I have done for some extent(disabling GPS, location service, google search under Settings-> location). I hope this will help for you guys who are having high network wakelocks.

tc
[BetterBatteryStats] Casanoaa:
SIII

How is this looking

I have followed post 3 http://xdaforums.com/showpost.php?p=15869904&postcount=3

Can i do more to reduce wakelocks?
[BetterBatteryStats] luizlee86:
After posting a wrong logfile, here is a right one. =]

Can someone analyze it please?

Thanks!
[BetterBatteryStats] stylez:
[ANNOUNCEMENT] To Devs, please read
[BetterBatteryStats] azrash:
That is pretty good already! Just a minor wlan_rx wakelock, but it looks good enough to me.
[BetterBatteryStats] luizlee86:
Yeah! That's what I thought! =]

Thanks for the fast reply!

Just one question: battery drain while using the phone is obviously higher than whne it if off. But do BBS help to improve it? I know I can undervolt etc., but is there anything else I can do to improve battery life when screen is ON?
[BetterBatteryStats] Kocai:
Hi. So last night before I went to sleep, I set a custom reference to find out how much my battery drains overnight when data (2G only) is on. I lost 6% within 6 hours (1.0%/h). And looking at the partial wakelock, the highest count and time, it's because of the GSF. What puzzles me is that I've already disabled some using AutoStarts and still I get a high count on GSF. Now I think 97% deep sleep is good but 1%/hour without any sync is high. NFC also showed even though I've disabled it. And I was wandering if Intent: com.google.android.intent.action.GTALK_RECONNECT is because bad internet connection? Making my phone trying to reconnect to GSF therefore high count and time on GSF?

Thank you in advance.

http://db.tt/OTU8v2HC
[BetterBatteryStats] danielo:
Can somebody analyze this, please? I lost 6% of battery in only 4 hours when I have turned of all data connections, autosync, ... I can't see the reason why? Any help is welcome. Thanks.
[BetterBatteryStats] skezza:
I'm getting awful battery out of my i9000. I think it might be the ebay or facebook app. I should have exported my stats before I plugged in but I did take screenshots.

I've uninstalled the ebay app and next time will upload a log. I will then uninstall the facebook app.

What is svnet?

Any help or opinions?

cheers
[BetterBatteryStats] SpideRMaN-17:
Can someone explain what does the 1x1 widget means exactly please ?

Thanks

Sent from my GT-I9300
[BetterBatteryStats] ejstubbs:
Hi Sven

I'm currently tracking the performance of my new "2200mAh" battery. Currently it seems to be doing surprisingly well. I did notice that BBS is reporting the "since unplugged" time as 17h 47m, whereas I know that I took the new battery off charge over 24 hours ago. I did reboot the phone half way through yesterday afternoon, which seems suspisciously close to the time that BBS is reporting as "since unplugged". Maybe those different stats options need a bit more thinking about after all...

I've also been comparing the numbers out of BBS and Spare Parts' Battery History (recall that I am running Froyo). Firstly, the "awake"/"running" vs "screen on" times don't quite tally. BBS reports awake time as 3h 18m, with screen on time 24m 9s. Battery History reports running time as 18.% with screen on time as 2.3%. The proportions of the two sets of stats don't quite match: the raio of awake to screen on as reported by BBS is 8.08, whereas with Battery History it is 8.25. (Either way, it looks too high for comfort.)

When I go in to examine the wakelocks, I get the following:

BBS Battery History
ProviderThread 12m 30s 13m 16s
Alarm Manager 3m 15s 7m 41s
SyncDataListener 2m 2s 3m 7s
GTALK_ASYNC_CONN 1m 51s 2m 32s

It occurs to me that these discrepancies could also be due to the different baselines that BBS and Battery History are using for "since unplugged".

I do realise, by the way, that you developed BBS for Gingerbread users and it's not wholly reasonable for me to ask for it to work 100% on Froyo, so please don't regard this as a priority bug. It's more of an observation, motivated by the fact that BBS presents the information in a much more helpful way than Battery History does. For example, you manage to provide informative process names; in contrast, Battery History reported ProviderThread and GTALK_AYNC_CONN as UID 10002 and UID 10015 respectively, which is not very helpful. Also, in Battery History you have to tap on the process in the list to see the wakelock time :mad: whereas you show that on the main display in BBS :)

It's also clear to me that I need to spend a bit more time trying to eliminate some of those wakelocks!
[BetterBatteryStats] ejstubbs:
Actually it's looking pretty good so far - touch wood, fingers crossed. From a full charge it's been running more than 24 hours and is still showing 3335mV on Battery Monitor Widget. The temperature has been stable all that time as well. Obviously the battery calibration is out: BMW has been showing 1% capacity remaining for the last three hours. It's also reporting sub-10mA current drain, which I take to be a quirk of the way it has to estimate the current (the Defy is known not to report current directly). When the phone does finally shut down due to low battery the calibration should be complete and I can put it on charge again. It'll be interesting to see what numbers BMW comes up with after that.

As an aside: how badly does bluetooth drain the battery? I only turn it on when I'm in the car but the BMW graph drops like a stone during those periods. Or is it to do with it having to switch to mobile data rather than wifi? I really don't want to turn background data off because I need to know when e-mails come in. As it is I have it set to poll every 15 minutes rather than use push.
[BetterBatteryStats] nobnut:
For optimum results, a few charging cycles might be required.

From my experience, bluetooth if left on but unconnected isn't too bad generally, but connected is pretty disastrous for the battery.
[BetterBatteryStats] odub303:
The easiest way to figure this out is to pull and post a log showing the mA usage after the battery has dropped below 100%. I would wait until it is below 90 just to be on the safe side.
[BetterBatteryStats] Whyzor:
I meant to write 'f' instead of 'I' originally, was somehow thinking of the P=VI formula in my head too. Either way, power is proportional to the square of the voltage.