yashsingh1/xdaforums huggingface dataset:
[BetterBatteryStats] It_ler:
Please attach the BBS dumpfile directly in your post. (When writing a post in advanced mode, underneath the icons and the miscellaneous options you have "MANAGE ATTACHMENTS" button.)

I can't get the files from your dropbox.

---------- Post added at 11:11 PM ---------- Previous post was at 10:50 PM ----------

1. Please provide an idle dump while doing nothing / screen off all the time. Then it's easier to find the culprits for battery draining.

2. I see AudioOut_2, which could be caused by something like voice commands, music player, etc. Maybe you should check all audio/voice settings.

3. GPS and Network location locator was active. Disable all location service options in ROM settings.

4. Google Maps was active as well. In post #3 you can find a link to Karpfenhai's description of how to "optimize" Maps.

5. I see Google+. Maybe you should disable/freeze it. Just to see how much influence it has to your battery life.

6. There is something called "Cut the Rope Experiments", Twitter, Facebook, "Ultimate custom widget", etc. Please check if you really need these apps/widgets and disable/freeze everything what you do not need every time. You can activate it if you need it only when needed.

7. I see Gmail. Maybe try another email app, such as K9 or stock Email app. Just to check the difference for battery life.

8. com.android.inputmethod.latin (com.android.inputmethod.latin.spellcheck.AndroidSpellCheckerService) ... what is this? Spellchecker for Latin ... find and disable/freeze it please.

9. com.cyanogenmod.updater.updater.service.UpdateCheckService (com.cyanogenmod.updater.service.UpdateCheckService) ... ok, that update checker service should be disabled by an option in your ROM.

10. com.maxmpz.audioplayer (com.maxmpz.audioplayer.player.HeadsetMicroService) ... Audio player with headset/microphone service ... that was busy nearly all the time. Maybe it was not closed correctly, or you heard music while screen off?! Please don't do it for an idle dump.

Then try again.

Good luck !
[BetterBatteryStats] fabolous50:
Okay here they are, I believe it's posted correctly now. Thanks so much in advance
[BetterBatteryStats] xelra:
From what I can see, your screen on time would be approximately 9 hours. That would be fabulous.

If you want to push your standby time, you also need to provide an idle dump. A dump best taken over night while you sleep.

The reason is that only then you can isolate the problem apps that woke your phone from deep sleep.
[BetterBatteryStats] Karpfenhai:
Thx mate, but it's my gal's birthday present...

BTW you're right, no kernel wl on unrooted nexus 10.

Will root next week and report.

View attachment BetterBatteryStats-2012-11-24_032143928.txt

View attachment logcat-2012-11-24_032147436.txt

Gesendet von meinem Nexus 10 mit Tapatalk 2
[BetterBatteryStats] fabolous50:
Ok. I will do that
[BetterBatteryStats] impactor:
How am I supposed to use this app?

After turning it on, all I get is:

Other (menu option)
Since unplugged (menu option)
Devide is plugged in: no stats (it isn't)

(0 s) Ratio: --%

I added a widget but after two days nothing changed.

I'm on HTC Desire, MIUI XJ (GB) rom.
[BetterBatteryStats] psaico:
Hi all.

Can Someone tell me whats is draining my battery? Attached of my dump file.

TNX
[BetterBatteryStats] It_ler:
1. Facebook was active. try to disable/freeze it. Just to check its influence to battery life.

2. GPS was on. Disable all location services in ROM settings.

3. I see Google+. Disable/freeze it.

4. One More Clock Free is using your CPU. remove its widget or disable/freeze it, Just to see how much battery power you can gain without it.

5. Try to provide an idle dump next time, without doing anything (screen off) ... and no phone calls next time. Then it's easier to identify the culprits.

Then try again.

Good luck !
[BetterBatteryStats] chamonix:
I just wanted to remind you guys of the "vote for features" post on my blog

You can see that there is already some progress for 1.12B1 but you still can vote on the unimplemented features till december 1st.
[BetterBatteryStats] lickwidice:
Hi LT,

Please analyze my file. http://pastebin.com/YYQZ4seS

I've uninstalled FB / Removed the google quick search / completely disabled location services and follow your instructions for google maps.

Looks like im getting 1% per an hour in sleep is that good?

Thanks
[BetterBatteryStats] It_ler:
I don't know who is "LT"?!

I am "IT_LER" (all in captial letters for better reading) - first character is a big "i".

Your BBS dump looks better now.

But I still see "com.google.android.googlequicksearchbox (): Wakeups: 52".

Try to disable/freeze all Google search apps you find in menu Settings > Applications > All.

Good luck !
[BetterBatteryStats] Karpfenhai:
From what I can see, the Google search box is the only culprit left, try to prevent from going online our disable it.

You should try another modem, ki3, ki4 and kh3 are known as very battery friendly.

Good luck!

Tapatalked from my Samsung GT9100
[BetterBatteryStats] CMNein:
I haven't found any mention of msm_hsic in this thread, only l2_hsic. The N4, among others, exhibits an msm_hsic wakelock. Any insight into what this might relate to? Not much info on the intarwebz, but appears to be data related. Here's the N4 thread: http://xdaforums.com/showthread.php?t=1999368
[BetterBatteryStats] lickwidice:
Ah perfect thank you for your reply will try out KH3 and see how it goes. Looks like that one will work best in my country.
[BetterBatteryStats] bradddo:
quick noob question, how do i attach my log or dump file on the mobile app forum?

sorry.
[BetterBatteryStats] suku_patel_22:
You can't. Upload to Dropbox or pastebin

Tapatalked from Desire S running Andromadus
[BetterBatteryStats] It_ler:
1. Please don't paste your dumpfile directly in the post. Makes the whole thread difficult to read.

Attach the file instead, or add a link to it.

2. Google Maps seems to be the main culprit. In Post #3 you will find a link to Karpfenhai's description of how to "optimze" Maps.

3. Please disable all location services. I see Network location locator and GPS.

Then try again.

Good luck !
[BetterBatteryStats] keatlck:
Here is my battery stats dump (Dropbox link). I disconnected my phone at night and dumped the file in the morning.

Device : Samung Galaxy Note 1

Android version 2.3.6 Kingroid Notemania Blue ROM

Maps autostarts disabled

Wifi- Off

Data- Off

AutoSync-Off

All off but lost 8% at night. When i just flash the Rom without install any apps, it only drop from 100->98%. So i wish to find out what happen to my device. Hope you all can help. Thanks! :o

*Restart the phone before i go to sleep.

https://www.dropbox.com/s/f8l5kie34nfldpp/BetterBatteryStats-2012-11-25_102617104.txt
[BetterBatteryStats] BeowolfAgate:
Peculiar battery Drain

Hi LT,

I have gone through a major part of this thread and got very valuable info from it. Initially I used to be a follower of JD however after reading through this thread I came to realize that it is actually a waste.

I have implemented most of the tips mentioned in this thread (no location services, moving Gmail to stock Email app, signing out from GTalk, latitude etc, disabling most of the Samsung bloatware and apps which I don't use).

I have managed to contain my partial wakelocks however there are still few kernel wakelocks which are still preventing my phone to ideal deep sleep time (my deep sleep % is still less than 80% :( ).

Attaching my ideal BBS dump. I am on Samsung Galaxy S3, not rooted, stock 4.1.1 JB (XXLK1)

The top 3 are

1. battery_monitor - no battery widget on home screen still this persist and my biggest headache. Is it BBS itself? i don't think so as otherwise this must have been caught by now

2. wlan_ctrl_wake - searched for it but even Google is not having much on this.

3. l2_hcis

any help would be greatly appreciated.

Edit: I further noticed that If i switched off wifi then both my battery_monitor and wlan_ctrl_wake lock disappears. Latter I can understand but why battery monitor is linked to wifi. It is puzzling.
[BetterBatteryStats] psaico:
For the moment i have disabled only GPS service and the first attachment is with screen off, wi-fi on but out of range, no phone calls, 1 sms and 2 mails (BetterBatteryStats-2012-11-25_073113605) while the second attachment is with offline mode (BetterBatteryStats-2012-11-25_133824572).

In the first case i have lost 22% of battery, it is normal?

Tnx!
[BetterBatteryStats] It_ler:
Looks quite good IMO.

I see Network location locator. So there seems to be a location service active. Please disable all location service options in ROM settings menu.

Then try again.

Good luck !

---------- Post added at 02:44 PM ---------- Previous post was at 02:39 PM ----------

Looks ok, as Deepsleep ratio is fine.

Maybe you can "optimize" K9 settings a little bit (e.g. disable push mail and use longer update interval).

And an idle dump of about 4 hours or more is better to see the "drainers".

---------- Post added at 02:47 PM ---------- Previous post was at 02:44 PM ----------

26 minutes is to short to analyze the BBS stats.

Please provide an idle dump of about 4 hours or more.

---------- Post added at 02:53 PM ---------- Previous post was at 02:47 PM ----------

1. Please install latest BBS app version (v1.11.0.0 from post #2).

2. Google+, Facebook and Gmail were active. Please disable/freeze these apps to check its influence to your battery life.

3. There were some location services on, I see GPS. Please disable all location service options in ROM settings menu.

Then try again.

Good luck !
[BetterBatteryStats] Vit5000:
Thanks for your reply. Will make an idle dump tonight.

Just realized that BBS seemingly emits a low-volume white noise over the external speaker of my mobile phone. Didn't have it before installing it.. ?!
[BetterBatteryStats] skinien:
Hello.

I'm hoping someone could help me determine whether or not the stats I'm getting are accurate. I'm not saying that the app is wrong, rather I think that the OS is not giving accurate data.

Since Unplugged:

Since: 41 m

Deep Sleep: 31 m

Awake: 10 m

Screen On: 9 m

KWL: 1m

PWL: 17 m

The phone is saying that it's been in partial wake for 17 out of 41 minutes. However, if you take Deep Sleep + Screen On you basically get the total time. This tells me that when the screen is off, it's going into deep sleep. When I look at the Partial Wakelocks, it tells me that AlarmManager is keeping the phone awake. However under Alarms, the counts aren't high enough to match.

I'm not really having issues with batter life - I'm not getting excessive drain or anything like that. I'm just wondering if anyone has seen something like this before.

Thanks!

EDIT: I know 41 minutes is a small sample time but I just had my charge for over two days and it was reporting in the same manner as above.
[BetterBatteryStats] Tungstwenty:
It won't make a difference, since Sven is not reading the /proc/wakelocks contents in root context.

Unless you use your root permissions to run an init script to add 'r' permission to everyone after every boot.

A solution for this would be including in BBS a check for the file permissions or read failure type, and if this situation occurs then re-read with from an su execution, like alarms. It would then work for all devices, although requiring root on some of them.

This same approach would also cover a few situations previously reported where installing other apps (CPU monitorization, I think) would have them restrict reading from wakelocks, cpu frequencies, etc.
[BetterBatteryStats] BeowolfAgate:
Sure I would get a larger sample today when I would go to sleep.

However just to see the story from other angle I reinstalled JD and then left it on for the same duration and I can actually see the difference, my deep sleep % is 91 with JD, the battery monitor and the wlan_ctrl locks are gone

I know JD is masking them by using the schedules but then isn't it masking well?
[BetterBatteryStats] psaico:
OK I updated BBS frozen FB, G+, Gmail and other software in use. I fully charged my phone, and for 4/5 hours will check my battery. Tomorrow I will send the dump file.

Tnx!
[BetterBatteryStats] brianbgrp:
http://db.tt/GCyu53RR

Dump file from BBS on my stock ota rooted n4 with 1 hr wake lock from that msm_hsic_host wake lock. 1 hour out of the past five or so since unplugging. Only 25 mins screen on time

Sent from my Nexus 4
[BetterBatteryStats] albie999:
Would someone be able to take a look at my dump files on post #10168 please

Thanks in advance
[BetterBatteryStats] It_ler:
1. I see Network location locator. Please disable all location service options in ROM settings menu.

2. Google Maps was active. In post #3 there is a link to Karpfenhai's description of how to "optimize" Maps.

3. Google quick search box is using your CPU. Remove it from homescreen and disable/freeze it. Just to check its influence to your battery life.

Then try again.

Good luck !

---------- Post added at 10:19 PM ---------- Previous post was at 10:05 PM ----------

Sorry, I already had posted my first impressions of your BB dump here => http://xdaforums.com/showpost.php?p=34497723&postcount=10173

1. Disable all location service options in ROM settings menu.

2. Have a look at Karpfenhai's description of how to "optimize" Maps (link in post #3).

3. Facebook and Gmail are active. Disable/freeze all apps that you don't need or think about an alternative app, such as K9 or stock Email app instead of Gmail.

Then try again.

Good luck !
[BetterBatteryStats] chamonix:
Release 1.12B1

First beta of 1.12 is up, see post #2 for changelog.

BBS has undergone some heavy refactoring in order to separate data collection and display. This was required to be able to introduce "from/to" stats (instead of "since"). If not for the purpose of testing / reporting I recommend not using this release. Please make sure to add a dumpfile and a logcat to your feedback: incomplete reports will be ignored.

Happy testing
[BetterBatteryStats] brianbgrp:
Okay. Will test those steps and set a custom ref point in BBS and let her run a bit. I'm about to just uninstall maps anyways...rarely use it and it just likes to cause issues

Sent from my Nexus 4
[BetterBatteryStats] albie999:
Whoops, sorry I did not see the nested answer. I don't have any battery widget running, or any battery monitor that I am aware of, apart from betterbatterystats and gsam battery monitor ... Not sure if gsam would drain?

I do also run power manager, for setting things like Bluetooth etc on when a power source is available
[BetterBatteryStats] Karpfenhai:
@Sven, New version is working but very very slow between opening and showing data:

up to 10 seconds later:

Beside that, it seems to work, will check again after a longer period

One thing, could you make the drop-down fields smaller?

Or maybe a way to hide them on demand?

Is it right that only current is shown in menu 3 our am I doing something wrong?

Thx for your effort!

Tapatalked from my Samsung GT9100
[BetterBatteryStats] brianbgrp:
Since shutting off maps stuff and disabling search bar thru apex launcher its been 3 hours almost...and the msm wake lock is only at like 11 minutes compared to earlier being over an hour out of five hours. So something helped. Thanks!

Sent from my Nexus 4
[BetterBatteryStats] MXIIA:
Only 20 minutes screen time today and still have a persistent msm_hsic_host wakelock... any ideas?

https://dl.dropbox.com/u/21006050/BetterBatteryStats-2012-11-25_205611679.txt
[BetterBatteryStats] bradddo:
I know this might sound a bit snarky. what is the benefit of getting your battery to go 30 hours or whatever if your smartphone has a bunch of the features that make a smartphone turned off. if you dont get your emails or social updates or weather or whatever things you need sent thru to you then you might as well use your old flip phone. I am not trying to be rude , i want more than 9 hours out of my phone but if its just sitting in my pocket in deep idle whats the point of all the teckie gizmo awesomeness built in?

any one care to chime in ?

really not trolling here, just been wondering this lately since battery life is an issue and i see some posts with people getting tons of hours of battery but most of the phones capabilities turned off.
[BetterBatteryStats] eden1988:
I noticed that "No or unknown signal" is being swapped by "good signal" and vice versa, mind if you fix this on next version, thanks a lot! :)
[BetterBatteryStats] azrash:
Well everything has a trade off, the key here, is finding the balance that you are happy with. The advise given here would always be to maximise battery life, it is up to you to decide which one to turn off and which ones to be kept on if you are using it. I can get my battery lost level to 0.5%/hour, but I rather keep certain things that I think is crucial for me to keep on running and be happy with around 2%/hour battery lost level in idle.

Most of the crazy number of wakelocks are because of poor implementation of the app. Take a weather widget for example, some apps would stay running as a service, although it isn't necessary to do so. And some sets the default refresh rate to 30 minutes, which I find is not necessary unless you are living in area with volatile weather, islands maybe. I use snowstorm. It doesn't has a running service, just runs for a few seconds at a interval that you have set, and will not update if you haven't move to a different location within a time period. Which I think, is very efficient for a weather widget.

Cheers
[BetterBatteryStats] jeremysherriff:
@chamonix hi, long time since we chatted :)

I'm trying to use the watchdog feature of BBS, but I do not get notifications?

I have some screenshots attached showing the 2x2 widget (ignore the 1x1 widget) and my BBS Watchdog settings. AFAIK this should have produced an alert? I have not been able to get a watchdog alert ever.

Phone is a GNex running stock (+rooted) 4.2. BBS is v1.11 XDA edition.

Is there something I should be doing differently?

I have set the last option ("display toasts") which then shows "BBS: watchdog processing.." but I think it is calculating incorrectly.
[BetterBatteryStats] bradddo:
Thanks for the thoughtful reply and for not biting my head off. I sorta figured i would get trashed for that post. Your example is exactly what i would like to do, and i forget how to set some of my apps for updates throughout the day.
[BetterBatteryStats] tony yayo:
I totally agree with you. I also think it's stupid to turn half the things on the phone off. Just buy some extra batteries and use it as intended.

As for the BBS app, it does work great for finding the things that are eating the battery the most so you don't necessarily turn EVERYTHING off, just what is really eating it up, which is probably something you aren't gonna use anyway!
[BetterBatteryStats] chamonix:
I'll do some profiling today.

Sorry for not being precise on the 'to' sample: 'current' is the only sample available in b1, I need to change the retrieval and naming logic to avoid reading the whole reference in order to get its timestamp before I can populate the comboboxes.

I'll also try to come up with an idea about the real estate.
[BetterBatteryStats] chamonix:
To me it is rather about finding out unnecessary overhead that about transforming my phone into a dumb phone. Many apps have settings allowing you to change their behavior without losing features and for some there are better alternatives with lower energy footprints.

BBS allows you to find the overhead and shows you the costs of features. After that it's up to you to decide if you want and can make something about it
[BetterBatteryStats] It_ler:
Very good :good:

IMO, 0,5%/h and 99,3% deepsleep ratio is very good.

You can improve it by shutting down the phone completely :D

---------- Post added at 08:41 AM ---------- Previous post was at 08:35 AM ----------

1. Google Maps was active. In post #3 there is a link to Karpfenhai's description of how to "optimize" Maps.

2. At least on location service option seems to be on. Please check ROM settings menu and disable all location service options.

3. Gmail was active. Think about an alternative email app, such as K9 or stock Email app and disable/freeze Gmail app.

4. I see Google quick search box. Remove it from the homescreen and disable/freeze it.

5. Apps like Facebook and Twitter were active too. Please disable/freeze all apps that you don't need very often. Just to check their influence to your battery life.

Then try again.

Good luck !

---------- Post added at 08:47 AM ---------- Previous post was at 08:41 AM ----------

I see K9. Maybe you can optimize its settings (e.g. disable push mail and extend update interval) a little bit.

And check if turning off wifi all the time is better or worse than wifi on all the time.

Good luck !
[BetterBatteryStats] championc:
GTALK_CONN Partial Wakelock

Hi all,

I have run BBS and shows my phone has been running 18h 55m and the top Partial Wakelock is showing as GTALK_CONN as 23m 15s Count 1829. From what I can see on even this page alone of this Thread, it seems like this is just completely nuts. GTALK_ASYNC_CONN is showing as only 40s.

How can I find out what GTALK_CONN is ? Any suggestions ?
[BetterBatteryStats] It_ler:
Usually it is a wakelock for general (Google) internet connectivity.

So you may find a hint in network stats.

Good luck !
[BetterBatteryStats] BeowolfAgate:
Hi LT,

Unfortunately I was not able to get the 4 hours ideal time, I managed to a 2 hour one. Will get the full file by tonight. Still the same problem.

Here is my Dropbox url for BBS Dump file not sure how to attach this from the Tapatalk app

http://db.tt/hplw3FGr
[BetterBatteryStats] Jimieo:
Well originally I came here to report that with the latest official version, I was having issues where when the app would open it wouldn't show the current stats.. I would need to refresh it.

I was going to report missing features on the latest beta, but I am a dumbass and I installed the old old verison.. Not the new beta. lol
[BetterBatteryStats] It_ler:
Hmm ... I'm still not "LT" ... :(

BBS dump looks quite ok.

I see "de.devmil.minimaltext (de.devmil.minimaltext.Minimalistic Text)".

Maybe you can check this app/widget, if you really need it. Try to disable/freeze it and check the battery life again.

Good luck !
[BetterBatteryStats] Juanmiwow:
The best app to check the battery drain!

Thanks! :good:
[BetterBatteryStats] jeremysherriff:
Bump (sorry)

Screenshots are in this post: http://xdaforums.com/showpost.php?p=34641141&postcount=10237
[BetterBatteryStats] JokerAce:
what is this com .Google Android.googlequicksearchbox? iI have a widget on home screen, does it cause alarm wakeup?
[BetterBatteryStats] Peew971:
OMG! I bought this app to look for a draining app but it's so technical I have no idea what to do. Can I have a guide for dummies to use the app please?
[BetterBatteryStats] drahmed86:
:good: you'll NEVER feel sorry.
[BetterBatteryStats] BeowolfAgate:
Apologies lt_ler I will write ur full name from now on

I managed to get a 7 hour ideal dump Dropbox url as below

http://db.tt/hCJ2sVUG

Still only 80% Deep Sleep:( and 2.4% battery drain per hour in ideal state.

The biggest problem are the same two

Battery_monitor

Wlan_ctrl_wake

And I don't have any battery monitor widget on the home screens

I will remove the minimalistic widget which I have for the clock and then check

Thanks for ur advice and eagerly looking to solve this problem now
[BetterBatteryStats] chamonix:
Sorry, I missed the first post. I will do some testing as from what I see it should have alerted you (#299)
[BetterBatteryStats] chamonix:
How about posts #1 and #3?
[BetterBatteryStats] chamonix:
The kernel wakelock is I believe the battery level updating and is a side effect of your phone waking up pretty often.

The main reason for your Wakeups / awake if WiFi being always on, causing your phone to be woken up by incoming traffic (multicasts/broadcasts)
[BetterBatteryStats] chamonix:
I have been profiling b1 and found some places to optimize the new state retrieval logic. I also found the root features (alarms, network) to be much much slower on 4.2 than 4.1 (using supersu)