yashsingh1/xdaforums huggingface dataset:
[BetterBatteryStats] Karpfenhai:
Re: [APP][2.1+][26 Jan. - V1.12RC7] BetterBatteryStats

Hey there,

-disable kik

-disable all autostarts from maps

-disable nfc

-set your widgets / weather apps to a higher update rate ( 6 hours)

-disable lightflow

If you don't use Google search, freeze it, same for Google now / + .

Install a custom kernel which blocks broadcast receiver to reduce your Wi-Fi overhead.

Post another dump afterwards, good luck.

Tapatalked from my Galaxy SII
[BetterBatteryStats] kozmo21:
Disable all location serivce options in ROM and Google settings.

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

The apps lightflow and kik messenger are causing a lot of wakelocks... disable/freeze to see how it affects battery.

Google+ and quicksearch also causing wakelocks... disable/freeze to see how it affects battery.

There may be more, but I just made a quick look and heading to bed.

Next time, make an idle dump... unplug and let sit for 4 hours or overnight not touching, then dump file.

edit: too slow :(
[BetterBatteryStats] InvaderPastulio:
Cheers, people, I'm going to try the things you mentioned :)
[BetterBatteryStats] lennie paz:
I disabled the LED, uninstalled the ESPN app, and I lost even more battery than I did the night before.Not to mention, that LightsService is still showing up. I wonder what LightsService is? Here is a new dump:
[BetterBatteryStats] Karpfenhai:
Re: [APP][2.1+][26 Jan. - V1.12RC7] BetterBatteryStats

Hmm, weird.. does the drain persist in flight mode?

This clock seems to misbehave, to much wakeups imho.

Maybe you have a bad signal reception in your area?

Another baseband may help then.

Afaik 97% deepsleep should not drain that much, your maps still shows some wakes, did you disable all autostarts?

Tapatalked from my Galaxy SII
[BetterBatteryStats] lennie paz:
I haven't tried airplane mode yet. I have about 2-3 bars on 4G in my house. As far as maps go, I did notice that I forgot to turn off Google Apps Location after using it yesterday. What's the difference between that setting, and Google Location Services?
[BetterBatteryStats] chamonix:
Wow, the thread has passed 2 Mio. views! You guys are awsome, keep up the good work
[BetterBatteryStats] navdra:
I have hard time figuring out what these two top partial wakelocks are:

PhoneApp

AudioOut_2

I guess that PhoneApp is dialer app and is preventing phone to sleep due to poor judgement (I've read that it monitors for some sensors in some cases...)

AudioOut_2... does that has to do something with Google+?

Anyway, I'm attaching the dump. If you have advice on further improving phone's operation, please advice.
[BetterBatteryStats] It_ler:
AudioOut_2 is usually soemthing sound/audio/voice related.

Could also be caused by phone calls or listening to music while screen off.

Please provide an idle dump = at least 4 hours of doing nothing/screen off all the time.

In your current dump, you have mixed usage ... what leads to unwanted and wanted battery drainers mixed up in the stats.

In an idle dump, you can identify the unwanted drainers much easier.

I see Fast Dormancy wakelocks. Change the FD setting on your phone to minimize these wakeocks.

You can use gokhanmoral's Fast Dormancy app from Play store. It works fine on the SGS2 too.

And think about updating your XXLPQ (ICS) ROM to a newer version ... I made good experiences with the latest JB ROMs (XWLS8 and XWLSD).

Just have a look at my kernel and stock ROM tests (link in my signature).
[BetterBatteryStats] Zam1000:
I have Disabled Fast Dormancy (but still get wakelocks from it), unistall Viber, put mail sync with longer sync time.

Little more battery left, but not much.
[BetterBatteryStats] kozmo21:
Did you reboot after toggling fast dormancy?
[BetterBatteryStats] Zam1000:
Sv: [APP][2.1+][26 Jan. - V1.12RC7] BetterBatteryStats

Absolutely.

There is kernel wakelocks, before it was even partial wakelock.

Sent from my GT-I9305.
[BetterBatteryStats] w1040:
Re: [APP][2.1+][26 Jan. - V1.12RC7] BetterBatteryStats

May I know what app is Gtalk_async_conn_mygmail?

I thought it is google talk but I already disabled Talk and It's still there.

Oh this appears on partial wakelocks.

It driving me crazy!
[BetterBatteryStats] It_ler:
GTalk wakelock is kind of collective wakelock for all (Google) apps connecting to the internet.

So it's not that easy to find the real culprit for that wakelock.

Check your Alarms and Network stats ... maybe you can find a very "communicative" Google app in there.

Good luck !
[BetterBatteryStats] kpavl01:
Is Facebook Messanger as bad as Facebook application?

I need a good app for messanging on facebook. I see there are the normal facebook messanger, IM+ and Go! Facebook Messanger?

Which one is the best battery wise? Which one makes less wakelocks and wakes up device less?

I get crazy numbers on GSam battery monitor for Go!Facebook Messanger. I installed it and after 1 h it was 240 wakelocks (i get around 1500 walelocks for Android System in a day, will post dump tomorow).
[BetterBatteryStats] rufik:
@chamonix

I think dumping logcat should be done with option "-v time". It would be easier to debug.
[BetterBatteryStats] Dexter_prog:
Hey there. I've been trying to figure out what's causing me so much battery drain for the past week and I haven't reached any conclusions. Even though I suspect it being google maps, I can't still be sure. I tried disabling all autostarts for google maps and it didn't make a difference.

Here are two logs of different days with little to no usage (mostly over night when I was sleeping). Can anyone help me?

PD: interestingly enough, LINE has been frozen by Titanium Backup but it seems to still be waking up the device :/
[BetterBatteryStats] Dexter_prog:
Hey there. I've been trying to figure out what's causing me so much battery drain for the past week and I haven't reached any conclusions. Even though I suspect it being google maps, I can't still be sure. I tried disabling all autostarts for google maps and it didn't make a difference.

Here are two logs of different days with little to no usage (mostly over night when I was sleeping). Can anyone help me?

PD: interestingly enough, LINE has been frozen by Titanium Backup but it seems to still be waking up the device :/

edit:

damn, for some reason it didn't upload the attachments, here they are:
[BetterBatteryStats] It_ler:
Last one is looking much better IMO :good:

Probably caused by the changed wifi policy - wifi on but not running all the time.

That can optimize your battery life.

Have you disabled all location service options in ROM and Google settings?

Then you may have to reboo the phone after disabling some autostarts (for LINE and Maps).

And disable Fast Dormancy with gokhanmoral's Fast Dormancy app from Play store. I see some fd wakelocks.

Good luck !
[BetterBatteryStats] Dexter_prog:
taht's because I was trying between wifi set to "always" and to disconnect when screen goes off (as I was using the latter and still had battery drain)

I'm afraid I need the location options as I often use google maps and Ingress, both needing ways to locate me.

I'll disable FD and see how it goes.
[BetterBatteryStats] chrone:
Re: [APP][2.1+][26 Jan. - V1.12RC7] BetterBatteryStats

I wonder why the signal in other category only showed as moderate signal when on 2G? Also when on 3G there's no good, moderate, and bad signals.

Is this intentional? Sorry if this has been asked before. Searching quite difficult with so many posts like this thread. Hehe

Sent from my Nexus 4
[BetterBatteryStats] linus98:
Hello everybody, I need help from you. My setup is in signature. My battery lasts more than one day, but the screen on is still quite low. Place a Logcat partial, hoping you can help me to improve my situation.

I apologize for my English.
[BetterBatteryStats] Xardas:
R: [APP][2.1+][26 Jan. - V1.12RC7] BetterBatteryStats

Hi man:D

First you've been on data since the reference began so you have to consider that data connection causes normally more battery consumption then wifi..

Your partial wakelocks are fine.

The kernel wakelocks aren't really bad but you have an high multidp and some other kernel /modem related wakelocks that could be better..

My opinion it's this :

Try to change kernel first, before the modem, cause on 7h 35min 19s of device on stats you've got 7h of good signal so I suggest you to change kernel and if it doesn't get better than the modem..

21% lost in this time with 1h 20min of awake it's not so bad depending on what you've been doing.. ;)

± Sent from a Galaxy far far away ®
[BetterBatteryStats] TheMysteriousOne:
Would using the watchdog feature cause delay in waking up the screen while unlocking?
[BetterBatteryStats] Dexter_prog:
update: seems to be wifi-related. I charged it up to 100%, then disabled wifi and disconnected it. It's been 4h40m and battery loss is 0.4%. What could be causing the issue with wifi? Or perhaps it is my ****ty carrier mobile data speed not letting app sync properly and thus using less battery?
[BetterBatteryStats] kpavl01:
Some of you guys told me to use my phone and than post dump and logcat because my phone is ok when it is sleeping but when I use it It goes crazy (more than 2500 Android System wakelocks in GSam battery monitor) and I noticed that Tapatalk uses cpu in background and also that my phone is 36 minutes held awake.

http://dl.dropbox.com/u/34820089/BetterBatteryStats-2013-02-12_175520790.txt

http://dl.dropbox.com/u/34820089/logcat-2013-02-12_175520790.txt What is up with this? I can't open it.
[BetterBatteryStats] It_ler:
I experienced the same wifi drain (significantly higher compared to GB and ICS) on all JB ROMs till now.

And Jeboo uses the stock JB wifi driver.

Maybe another wifi driver (as used by SiyahKernel v6.0b4) has a little bit better battery life with wifi running.

As you can see in my kernel tests (link in my signature), on my phone, there is still a very high battery consumption when wifi is running ... on all JB stock ROMs ... regardless of the kernel.

My conclusion ATM is: Set wifi policy "Keep wifi running" to "Never" or "only when pluged in".
[BetterBatteryStats] Dexter_prog:
I did check your test a couple of days ago (great work, by the way) but I guess I didn't see that or couldn't reach that conclussion.

Funny thing is that I had it set to "only when plugged in" since the first JB came out, and since JB got official I've been experiencing battery drain with that option set the same way. I don't know why. I should revise BBS logs and see if something is waking the device up and making it re-enable wifi. Is that even possible? Or am I missunderstanding the meaning of "waking the device up (by an app)"?
[BetterBatteryStats] Karpfenhai:
Re: [APP][2.1+][26 Jan. - V1.12RC7] BetterBatteryStats

It's clearly your Wi-Fi, switch back to cm10 stock kernel.

Post an idle dump next time, Thx.

Tapatalked from my Galaxy SII
[BetterBatteryStats] kpavl01:
I posted it few days ago, don't you remember? You told me to post this kinda dump. Should I set Wi-Fi on and let phone overnight?

I am on CM 10.1 and i have siyah v5 vsync.

On my last good dump I was on JellyBam and I have left my wifi on and I lost only 5% over night (idle). It was JellyBam + the same Siyah vsync kernel.

I really like this rom, is there anything else I could do?
[BetterBatteryStats] It_ler:
Just to make thing clear:

A wakelock prevents the phone from going into deep sleep state - so the phone is and stays awake.

An alarm wakes up the phone from deep sleep state - so the phone switches from deep sleep to awake.

So there are two different scenarios:

1. There is an app running (in the background), which holds an internet/wifi connection ... even if the screen is off => wakelock.

2. An app is autostarting while phone is sleeping, connects to the internet/wifi ... even if screen is off => alarm.

That's why you have always to check both - wakelocks and alarms.

Good luck !
[BetterBatteryStats] Karpfenhai:
Re: [APP][2.1+][26 Jan. - V1.12RC7] BetterBatteryStats

Oh, I'm sorry then <blushing>, you can try to clean your Wi-Fi.. disable possible broadcast sources. On cm10 stock they are blocked, but afaik on siyah as well... I'll take a closer look later tonight from my laptop..

Tapatalked from my Galaxy SII
[BetterBatteryStats] kpavl01:
How to clean wifi? Idk what are broadcast sources?

Thanks.
[BetterBatteryStats] chamonix:
No delay as the event "unlock" or "screen on" causes a service to start to do the work and all that happens in its own thread. Of course on single CPUs the processor still has more work to do parallely to the UI being updated but the processing is more I/O than processing and so is not be preemptive.
[BetterBatteryStats] Dexter_prog:
so, when my device is "awaken" (but the screen is still off) the option "wifi off when screen goes off" (so to speak) won't be working that way?

Aha! I tried pinging my phone from my computer and the packets arrived! That means my wifi is NOT turning off when the screen goes off

I guess I could have seen this from the BBS logs, right? and the do show it: "Wifi On (): 8 h 34 m 17 s (30857 s) Ratio: 100.0%"

edit: well, just tried the same on my girlfriend's phone (S2 also) on ICS and it behaves the same way but she doesn't have battery drainage.
[BetterBatteryStats] kpavl01:
Re: [APP][2.1+][26 Jan. - V1.12RC7] BetterBatteryStats

I am in bed now and I will read the whole post when I wake up.

1. I have 3 phones and one pc on my wifi network. I use static ip (i could try without it).

I searched for wifi analyzer. My wifi network is the strongest and i dont know what to do in that app. Added pictures at end!

2. Signal reception is ok but today I played a little bit with it. Switching from 2g to 3g, airplane mode etc.

This modem is XXLPS and it is the best one I tried.

Signal is from -75 o -85 while on 3g (i couldnt find a good modem until now and i noticed when changing too much from data on/off, 3g/2g, airplane that signal tends to get lower).

About signal I could use the phone tomorow without playing with signal and dump a file again.

EDIT:

Did you disable

autostarts from GSF ? ------No, what is that?

guess its normal due to

your huge amount of data transfer from

playstore.-----today I only downloaded adobe reader

Added pictures.
[BetterBatteryStats] Karpfenhai:
Re: [APP][2.1+][26 Jan. - V1.12RC7] BetterBatteryStats

See the figures, it states 150 mb via Wi-Fi from playstore..

Anyway, this screen recommends you the ideal channel for your environment:

This is my signal strength:

The second channel 1 almost as strong as yours could be the culprit. Use what Wi-Fi analyzer tells you as add ideal channel or just try channel 3 or 8.

Good luck!

Tapatalked from my Galaxy SII
[BetterBatteryStats] acme99:
Hello! I have a Galaxy SIII, and some battery drain that's driving me crazy... My phone will be ok for most of the day, then for no apparent reason will start to drain the battery like crazy. Like go from 80% to 15% in 3-4 hours. I have to restart it to stop it... Using Battery Monitor Widget I can see that normal usage is about 40-70 mA, then it jumps to 300-400+ mA until it dies. :eek:

I installed BBS, but since this crazyness starts whenever it likes to I can't get a clean log. Is there a way to start logging from a precise place in time or extract an period of time to analyse? I can't figure this out... Like right now, it's been acting crazy for the last 3 hours, but I unplugged it this morning... How can I get only the last 3 hours?

Thanks! :)
[BetterBatteryStats] kozmo21:
When you notice it starting to act up, just go to menu > set custom ref. ... it will start from that point. Just make sure when you save the dump it says custom, instead of boot or unplugged.
[BetterBatteryStats] cute_kayani:
Re: [APP][2.1+][26 Jan. - V1.12RC7] BetterBatteryStats

Hello,

Yesterday i got OTA on Official JB Spain, which i flashed fews weeks ago.

But after yesterday's update my battery is at worst situation.

I am getting this partial wakelock, and this is eating my battery. Please tell me what is this and which app it can be, so that i can remove it. This all happened after OTA on official Spain JB.

*sync*_com.google.android.apps.magazines_Account {name=EM, type=com.google} (com.google.android.apps.magazines.Google Play Magazines)
[BetterBatteryStats] It_ler:
Go to your menu Settings > Application manager > All tab > search for Google Play Magazines, click it to open app infos, then click on Disable.

Then reboot the phone and this wakelock should be gone.

Good luck !

---------- Post added at 09:07 AM ---------- Previous post was at 08:59 AM ----------

Wifi on shows only the state of the wifi toggle (wifi toggle on all the time in your case).

You have to look at Wifi running - that shows how long the wifi really was used.

After turning off the screen, the phone needs some time (about 5-8 minutes) to stop wifi and go into deep sleep ... depending on your apps (wakelocks).

So for your wifi test, you should wait for ar least 10 minutes after turning off the screen ... then try to ping the phone via wifi.

Haven't tested it myself ... so please report back your results.

Good luck !
[BetterBatteryStats] kpavl01:
Re: [APP][2.1+][26 Jan. - V1.12RC7] BetterBatteryStats

Thanks. Wifi analyzer reccomends chanel 14.

Could you tell me what are autostarts from gsf?

Edit

I disabled all i could (only one or 2 recievers left). I used rom toolbox pro and clicked on advanced freezer.

Does disabling autostarts from gsf affect anything?
[BetterBatteryStats] It_ler:
Just have a look at post #3.

There you will find a link to Karpfenhai's description of how to optimize Autostarts for Maps ... with screenshots and a short description.

Autostarts are like app based rules, on which trigger (event) an app will be started.

With root and some apps (such as Gemini Apps Manager and Autostarts from Play store), you can change the default autostart options for the apps.

GoogleServiceFramwork (GSF) is a very important/basic app needed for many system apps/functions.

So be very careful when changing any autostart option for it.

Disabling the wrong option can lead to even more wakelocks and worse battery life.
[BetterBatteryStats] kpavl01:
Re: [APP][2.1+][26 Jan. - V1.12RC7] BetterBatteryStats

Thanks. I will see that.

I noticed that some recievers cant be disabled. Came back to default.

EDIT: Sorry about editing too much.

1. My phone shows 100% battery even after 30 min of usage. What could be the reason? Later on it is all good. I even think that it later loses the % he should lose before (when he stayed at 100%).

2. My phone was in water the other day and it was in rice for 3 days. Could any of that be the reason?

3. Should i disable ony that recievers that are told by Karpfenhai?

Note: I don't use maps and dont have it installed. I can't see that he wrote about GSF autostart recievers?

4. There is no channel 14 on my router so I picked 13, we will see....i think my neighbours use automatic channels.

And i noticed this!
[BetterBatteryStats] nemer12:
Google services eating my battery over the night 123 wake looks + i think..

also i dont understand my phone stays awake when the screen is off or not ? because the Battery MAnagement from Sony..says that it stays 90% percent of time.

please help
[BetterBatteryStats] Karpfenhai:
Re: [APP][2.1+][26 Jan. - V1.12RC7] BetterBatteryStats

2 questions,

LTE version?

AT&T Network?

Tapatalked from my Galaxy SII

---------- Post added at 10:45 AM ---------- Previous post was at 10:37 AM ----------

Please read the op how to produce a valid dumpfile, yours does only contain a minute....

Take an idle reading, don't touch your device for several hours.

Tapatalked from my Galaxy SII

---------- Post added at 10:54 AM ---------- Previous post was at 10:45 AM ----------

As IT_ler wrote, disabling too much gsf autostarts may lead to problems, that's why I asked you in the first place.

Let's settle the Wi-Fi for a while,I hope there will be a difference.

Dude if your phone was watered, rice it's not the best idea, normally it needs to bee dismantled and soaked with 99% alcohol (w/o battery) because the minerals from the water will lead to slow corrosion and the phone will die soon.... alcohol can swamp out the water but after some days it's too late..

Tapatalked from my Galaxy SII
[BetterBatteryStats] nemer12:
Hope that now is good..

if this stats that i've posted are not ok

so

1. charge the battery and unplug

2. dont touch the phone for 4 hours(i can do this while i'm asleep)

3. go to apps and hit dumpfile

4. post this file

?
[BetterBatteryStats] kpavl01:
I didn't disable any gsf autostarts now. I will post more dumps soon.

It was watered a week ago. Dropped it in water and picked it right up (it was maby a second in water). I can't dismantle it because idk how. Now you scared the **** out of me.
[BetterBatteryStats] cute_kayani:
Re: [APP][2.1+][26 Jan. - V1.12RC7] BetterBatteryStats

There is no Google Play Magazine , but in AutoStart App it shows it. In Android settings it's not.

So i enabled connectivity changed of Google Play Magazine in AutoStart App, which was disabled.

Lets see.
[BetterBatteryStats] dan44762000:
just got the app from the play store .

i want to know what to do for first use ,

it says "no reference set yet " only had it installed 5 minutes but do i just leave it now or do i need to change something in settings to make it start monitoring my battery .

thanks

dan
[BetterBatteryStats] and8res:
Re: [APP][2.1+][26 Jan. - V1.12RC7] BetterBatteryStats

Hi

Is this result good ?

Am using Hydrx Rom & -100c ( Kernel )
[BetterBatteryStats] Smartie36:
Hi,

In a bit of a rush so haven't had time to search the thread but will do later but might anyone know why I get no info at all from the app unless I set a custom reference and use that as a starting point to monitor, selecting any other option like since boot or since unplugged displays no info, this is using BBS on my S3, on my older S2 it's working fine.

Am running Stock 4.1.2 firmware (XXEMA2) on my S3
[BetterBatteryStats] Casanoaa:
It looks fine. That can i do with stock kernel and stock jb 4.1.2 with my s3

---------- Post added at 05:29 PM ---------- Previous post was at 05:22 PM ----------

Log out from google talk and latitude in maps.

Disable all autostarts for maps with autostarts app. Disable maps if you do not use it with tb pro.

Disable locationsservices in rom settings.

Furthermore disable autostarts for gsf. You can try these settings http://xdaforums.com/showpost.php?p=36432767&postcount=11995
[BetterBatteryStats] linus98:
I know that each terminal is different, but with the same ROM and same kernel settings, I get these results :confused:
[BetterBatteryStats] and8res:
Re: [APP][2.1+][26 Jan. - V1.12RC7] BetterBatteryStats

According to my knowledge .. Each phone acts different behaviors than other phones .. So you should try the other frequences * Kernel Settings * to see which are the best for your phone ...
[BetterBatteryStats] Casanoaa:
Disable google search with tb pro

Use pop3 settings for mail app rather than exchange

Then you can get rid of these alarms

com.google.android.googlequicksearchbox (): Wakeups: 298

com.android.exchange (): Wakeups: 288

Disable fd with gokhan morals fd app
[BetterBatteryStats] nemer12:
thx for ur answer..but the thing is that I dont use GTALK...MAPS or I dont use also " on for location" all are on off.but they are working in background :(.
[BetterBatteryStats] Casanoaa:
Then disable maps with titanium pro and use my settings for gsf for autostarts for minimizing wakelocks and alarms. We can't get rid of gsf but we can reduce it.
[BetterBatteryStats] kpavl01:
What autostarts do you tick to remove for gsf?
[BetterBatteryStats] Casanoaa:
You can try these settings http://xdaforums.com/showpost.php?p=36432767&postcount=11995

Karpfenhai uses SGSII

Casanoaa uses SGSIII

After applying autostarts settings remember restart your phone.
[BetterBatteryStats] chrone:
disable autosync before went to sleep from the power control widget will help reducing the gsf wakelock.

no need to become paranoia with the partial wakelock and such if you have good battery life with good screen time on. :)