yashsingh1/xdaforums huggingface dataset:
[BetterBatteryStats] Karpfenhai:
Based on your dump there is no problem, the only awake is caused by network traffic, sdio_al which points to internal modem connection, so i assume your carrier signal could be weak and therefore your device looses more juice than before..

Logcat is only needed for Debugging the app or in case of unexplainable values / drain.

Maps... AHA ... savior of the Universe!.... Maps.. Aha ....

See post 3. disable all autostarts, sign out unnecessary location servoces, post another dump afterwards.

Good Luck, both of you!
[BetterBatteryStats] coolloser:
Thanks, I'll post another tomorrow. Gonna disable autostarts on a few other things too, like G+, Amazon store and DoubleTwist as well as turning off Tapatalk notifications (no point having it on when I have email notifications anyways).
[BetterBatteryStats] Karpfenhai:
Not sure whether its a breaktrough but this looks weird to me :

E/AudioRil( 1917): Connect_RILD() error

E/AudioRil( 1917): audio secril init failed.

I/AudioFlinger( 1917): AudioFlinger's thread 0x429b4008 ready to run

W/AudioFlinger( 1917): Thread AudioOut_2 cannot connect to the power manager service

D/AudioHardwareTinyALSA( 1917): Entering AudioStreamOutALSA standby mode

E/MediaPlayer( 2183): Attempt to call getDuration without a valid mediaplayer

V/SamsungPowerSound( 2183): File duration : 0

V/MediaPlayer( 2183): start

E/MediaPlayer( 2183): start called in state 0

W/AudioPolicyManagerBase( 1917): FM radio recording off <-- this repeates very often.

Sooo... im a bit puzzled, it seems the problem starts right at the beginning ( E/ indicates Error) and either related to "Awesomeplayer" or your FM Radio, was the earjack attached all the time?

If this is a non samsung stock Rom or kernel i recommend to show this logcat to the Dev.

Lets try some things, first backup your Phone.

Second, change kernel, not sure if audio ril is a part of the kernel so just try it.

Third , Fix permission within CWM

Fourth, factory reset your device.

Fifth, flash a clean Stock rom.

Sixt, Donate the device to me if 1-5 are not working! :laugh:

Note try all steps independend from each other!!

Good luck!
[BetterBatteryStats] oae08:
Re: [APP][2.1+][19 Feb. - V1.12RC11] BetterBatteryStats

Hey thanks for your help will try yur advise. Its actually a sammy rom called omega v42 for the s3 and im using the stock kernel. Also the earjack was never attached.

One questiom though, can it be an app causing this or its not possible? Because i have this rom for almost 2 weeks and only in the last 2 days im getting this. Thanks
[BetterBatteryStats] marin2000:
AudioOut_2
[BetterBatteryStats] oae08:
Re: [APP][2.1+][19 Feb. - V1.12RC11] BetterBatteryStats
[BetterBatteryStats] and8res:
Re: [APP][2.1+][19 Feb. - V1.12RC11] BetterBatteryStats

I c .. so here are the new files

Fully charged and unused for 4 and half an hour
[BetterBatteryStats] Karpfenhai:
Hold on guys, something is going wrong here, currently 3 person on 3 different samsung device are reporting the same issue, i wonder if that is related to Samsung roms only...

I afraid we will see a flood of this very soon, lets collect some details:

Did you receive an Update for your rom lately?

Did you switch the kernel to a newer base?

Did you update a certain app?

I personally think something was messed up recently.

I think we need more advanced Persons in here, maybe Chamonix or Tungstweety?

Please report this issue to your favorite ROM Dev as well, follow the rules, brief description plus Logcat and maybe DMESG.

It might be to early yet and i really hope its a false alarm!

---------- Post added at 08:12 AM ---------- Previous post was at 08:03 AM ----------

Did you issue the command in a terminal?

It looks incomplete to me.
[BetterBatteryStats] and8res:
Re: [APP][2.1+][19 Feb. - V1.12RC11] BetterBatteryStats

- no I didnt receive and update ... I've been using Hydrx Rom for 2 months

- yes I did switch the kernel base but always the same kernel with different configurations ( Hydrxtreme kernel ) .. and also am setteled at ( hydrxtreme -100 C kernel )

- I do update my apps whenever there is an update ..

;)
[BetterBatteryStats] oae08:
Re: [APP][2.1+][19 Feb. - V1.12RC11] BetterBatteryStats

It was all the same to me the only single thing that i changed recently is i installed the app greenify. Could this be the problem? Any other guys who have the same problem have greenify too?
[BetterBatteryStats] marin2000:
I am on NeatRom 4.3 and changed kernel to Siyah 6.0b5 recently, phone is Galaxy S2 .

---------- Post added at 08:37 AM ---------- Previous post was at 08:29 AM ----------

A link to the explanation of the AudioOut_2 wakelock http://xdaforums.com/showpost.php?p=30088906&postcount=3
[BetterBatteryStats] oae08:
Re: [APP][2.1+][19 Feb. - V1.12RC11] BetterBatteryStats

I have everything off since day 1 except screen lock sound. I dont think this is the issue. Im starting to believe its most probably an app that we have all updated and has a weird bug or something.
[BetterBatteryStats] alexkno:
yes besides some store updates I updated whatsapp from their webpage (to get the new look) one or two days ago...at least the wake counts for new whatsapp alarm_trigger seem to match the audio_out wakelock number + 1 for my regular alarm which is supposed to trigger audio.

The other app which recently had an update was beautiful widgets. Both apps are running all time (messaging and widget), so I could hold them responsible for it.

he others with that problem: are you using one of the apps, too?

Will freeze it and give it a try

---------- Post added at 09:46 AM ---------- Previous post was at 09:43 AM ----------

yes, but as said: all system sounds, haptic feedback, key sound etc are switched off since first day...wasn't touched a long time. So me too I assume it's a app causing it without raising a sound
[BetterBatteryStats] linus98:
I changed the kernel and this is my dump. Tips?
[BetterBatteryStats] dragon135:
Re: [APP][2.1+][19 Feb. - V1.12RC11] BetterBatteryStats

Could someone explain what is the meaning of this high alarm ?

Sent from my GT-I9300
[BetterBatteryStats] It_ler:
Please provide an idle dump (doing nothing / screen off all the time) of at least 4 hours.

Then we can see the unwanted battery drainers (if any) a lot easier.

---------- Post added at 10:18 AM ---------- Previous post was at 10:15 AM ----------

Yes, it's Samsung Push.

Disable Samsung Push in Samsung Apps menu, or better disable/freeze Samsung Push (e.g. in Settings > Application Manager > All) completely.
[BetterBatteryStats] nikosssb:
Anyone?
[BetterBatteryStats] Hilmesh:
hi 3G basically is a battery guzzler ;). cannot do anything about it. But Wifi is a different issue , there are seniors here who have Wifi ON all the time and still make 5 Hrs of screen ON. so check on the wifi. Also a BBS dump after usage is a good idea and then post it here. Some one will surely answer. You could also try GSAM battery app ( I am not used to it much , ESD is :). Cheers
[BetterBatteryStats] Sergeiu:
My Battery Analysis

Hello,

Will appreciate if you can check my stats. Is it okay to lose 10% at the night for about 10 hours of sleeping of my device.

Thank you!
[BetterBatteryStats] Hilmesh:
hey there , if you are going to have 3G enabled while sleeping it is going to eat battery. maybe you can try and reduce it by making your syncs manual or set to timed intervals. also you do have secril FD showing. you can use Gokhans app to disable FD and see the difference. please also take another idle dump for atleast 4 hrs without any usage and with all features of BBS working (there is no Alarms in this dump).
[BetterBatteryStats] addicted1900:
AW: [APP][2.1+][19 Feb. - V1.12RC11] BetterBatteryStats

Hey all,

I have a problem with my N10. The powermanagerservice keeps my tablet awake. I read that the powermanagerservice is a placeholder for all the partial wake locks that occurred, but in my case it seems that it isn't. Can anyone give me a hint?

Oh, and Android OS keeps the Device 2 hours awake... Dont know what to do anymore, Fullwipe already done, it happens on different Kernels and Roms :/ Or is it normal ?

Gesendet von meinem Nexus 10 mit Tapatalk 2
[BetterBatteryStats] Hilmesh:
post a dump please.
[BetterBatteryStats] Sergeiu:
Thank you for fast assistance. All my sync in all accounts set to manual. Hate auto sync :)

So only fd sucks all of my juice?!
[BetterBatteryStats] Hilmesh:
i am not very sure. you could just toggle the settings and check the difference. it may make a difference if you do not know whether your operator supports FD. Also you have Audio out 2 wakelock which is basically sound from the speakers (Calls, Music, etc) so that will ofcourse eat some battery. :) also you seem to be having Stock backup enabled. maybe if you do not need it always you could disable and use 3rd party softwares. Also there is MMC1 detect which has 567 counts, which looks high (usually related to media detection in internal / ext SD cards).
[BetterBatteryStats] hughfollett:
Hi guys! I have an s2(i9100) and I'm currently a stock rooted 4.1.2 rom. My battery was draining fast but it was quite old, so I've bought a new one. This morning I plugged the phone for some seconds and then unplugged it to get the dump file, and let it alone for about 3 hours. When I plugged it it was at 95% of the battery.. 3 hours later it was at 93% with wifi and data off. So could someone help me? Log is attached.

Thanks in advance!!
[BetterBatteryStats] alexkno:
so after updating via whatsapp webpage to the latest version from today I didn't have the audio_out2 wakelock until now.

Of course 3hours are too less to say anything but it seems to have improved for me for the moment.
[BetterBatteryStats] o0boiboi0o:
u can disable by going setting/account&sync/google. Turn off the sync there. Then, when u need to update, say u add in new calendar entry on ur phone and wanna update to google, just tick the sync for calendar ONLY. no need to on the sync for the whole account.
[BetterBatteryStats] Karpfenhai:
Re: [APP][2.1+][19 Feb. - V1.12RC11] BetterBatteryStats

Disable Wi-Fi for some min and you will see a "deleted-wakelock" appear, there is your answer.

Tune your wlan.

Tapatalked from my Galaxy SII

---------- Post added at 02:22 PM ---------- Previous post was at 02:19 PM ----------

See post 3 for maps optimisation, post a valid dump afterwards, this one is messed up, use since unplugged.

Tapatalked from my Galaxy SII
[BetterBatteryStats] It_ler:
Oh, you have some strange numbers in your BBS dump:

Level lost [%]: -24 Bat.: -24% (68% to 92%) [-6,6%/h]

Deep Sleep (): 3 h 58 m 22 s (14302 s) Ratio: 108,2%

Ok, BBS seems to missed a trigger for a "Since" reference.

You have to create a new dumpfile. Try to reboot, plug&unplug the USB cable before next recording.

But first, check post #3. There is a link to Karpfenhai's description of how to "optimize" autostarts for Google Maps.

That is your main battery drainer IMO.

Good luck !
[BetterBatteryStats] hughfollett:
Really thank you It_Ier! However, I'm going to flash the new Alliance! I'll provide a dup after the flash. I'm using Apolo kernel from pedestre, have you ever tested it?
[BetterBatteryStats] nani67:
hello friends...

i have a problem with my battery consumption recently..

when i got my galaxy S3 with 4.0.4 iwas getting very good battery backup. used to charge every alternate day

now since 4.1.1 & 4.1.2 updates by samsung ( am using Indian versions, stock without root ), the battery consumption is very high.

it doesn't even last for a full day.

plz someone guide me on how to optimize it..

am attaching the battery stats log.
[BetterBatteryStats] It_ler:
No, I have a small conversation in my kernel test thread about Apolo kernel.

There is no support thread on xda (yet), and the recovery is onyl available in Spanish (no English translation planned yet).

So I will not test this kernel ATM.

But have heard some positive feedbacks.

You are welcome to report back your experiences in my kernel test thread. (Link in my signature.)

---------- Post added at 03:12 PM ---------- Previous post was at 02:58 PM ----------

Please provide an idle dump (doing nothing / screen off all the time) for at least 4 hours next time.

Then it's much easier to find the unwanted battery drainers.

I can see "MediaScannerService (Media): 33 m 51 s (2031 s) Count:69 3.4%" which seems to be unusally high.

If you have an external sd card, backup all data (e.g. to PC) and format the external sd card.

Maybe there is a corrupt file on the sd card which causes the MediaScanner looping around.

Good luck !
[BetterBatteryStats] cute_kayani:
Re: [APP][2.1+][19 Feb. - V1.12RC11] BetterBatteryStats

What is Package Access Helper, it's draining my battery. Plz tell me how to stop that.

Force stop not working.
[BetterBatteryStats] nani67:
thank you for the suggestion,

i will get the ideal dump tonight and what you said about sd card is true

there is some problem , when ever i unlock the phone i see a message sd card removed unexpectedly
[BetterBatteryStats] and8res:
Re: [APP][2.1+][19 Feb. - V1.12RC11] BetterBatteryStats

Any help ?
[BetterBatteryStats] miatawnt2b:
This may be a dumb question, but I can't find autostart configuration anywhere in autostarts app. Is this part of the process using a different application?

-J
[BetterBatteryStats] It_ler:
Sorry, thought that you've got already an answer.

I see "AudioOut_2 (1013): 2 h 59 m 5 s (10745 s) Count:42 71.8%" as your main wakelock.

Some other users reported that they had this AudioOut_2 wakelock with Viber.

After disabling/freezing Viber, the wakelock was significantly lower.

You may try this and report back.

Good luck !

---------- Post added at 04:42 PM ---------- Previous post was at 04:38 PM ----------

I think that I didn't get your question?

To change the autostart options of your apps, you have to install and use another app, such as Gemini Apps Manager or Autostarts from Play store.

I have only installed Gemini Apps Manager and never used Autostarts app, so I can't tell you the exact way to change the autostart options in that app.

I think you have to click the app you want to change and select something like "config autostarts" to get the screen like you've quoted.

Good luck !
[BetterBatteryStats] Karpfenhai:
Re: [APP][2.1+][19 Feb. - V1.12RC11] BetterBatteryStats

You need to uncheck this:

Regards

Tapatalked from my Galaxy SII
[BetterBatteryStats] 3x3cUt0r:
My battery hardly last a day, unplugged and went to sleep, and here is the log.

Thanks for the help guys
[BetterBatteryStats] Parvinder25:
Re: [APP][2.1+][19 Feb. - V1.12RC11] BetterBatteryStats

I'm in CM10.1 nightlies latest. Don't know from where everytime some process comes up and eats battery. Few to name are kworker, rilj, audio_out2.

Latest snapshot:

Please help.
[BetterBatteryStats] It_ler:
To get the Alarms and Network stats, you have to enable all root options in Advanced menu and tick all stats in Dumpfile menu.

What I can see in your current BBS dump:

NetworkLocationLocator: Disable all location service options in ROM and Google settings.

com.badoo.mobile.Badoo: Maybe something to disable/freeze?!

Maps: Disable some autostarts for Maps like described by Karpfenhai (link in post #3).

jp.naver.line.android.LINE: Maybe something to disable/freeze?!

BeautifulWidgets: Maybe something to disable/freeze?! Just to check its influence to your battery life.

Twitter: Maybe something to disable/freeze?! Or try to disable its autostarts like for Maps.

WeatherUpdateService (com.cyanogenmod.lockclock.cLock): Maybe something to disable/freeze?! Or disable auto-refresh/update.

Gmail: Maybe something to disable/freeze?! I use stock Email app and widget, create all my email accounts as pull mail with manual sync. So I could disable Gmail app completely in Settings > Application Manager > All ...

Good luck !

---------- Post added at 05:07 PM ---------- Previous post was at 05:05 PM ----------

If you had some phone calls, it might be quite normal.

If not, then you should try to flash another modem ... maybe your current modem file does not fit to your RIL (radio interface library) and/or to your mobile provider.

Good luck !
[BetterBatteryStats] miatawnt2b:
Thanks. I was actually a little confused. I didn't realize that there were two different applications shown here. I got it now! Thanks!

-J
[BetterBatteryStats] MoMaz:
Hello All

I original posted back on post 13376 but still have not found an answer or no suggestion. Can someone please take a look at my log and let me what may be causing "ScheduleNextAlarmWakeLock". Thank You

http://xdaforums.com/showpost.php?p=38246676&postcount=13376
[BetterBatteryStats] nikosssb:
Re: [APP][2.1+][19 Feb. - V1.12RC11] BetterBatteryStats

If someone could help me analyze my file it would be great. This is not an idle dump file. I already posted one and bttery drain was minimal. Im trying to see what's eating my battery during use. This is a normal day with 3G on times and wifi on other times. I am running arhd 18.2 with lyapota mod 3.6.1

Here's my file:

http://db.tt/kKsZQEHH

Thanks!
[BetterBatteryStats] It_ler:
You mean "ScheduleNextAlarmWakeLock (com.android.providers.calendar.Calendar storage): 1 h 4 m (3840 s) Count:126 11.8%" :confused:

It seems to have something to do with your calendar. Check that you disabled auto-sync of your calendar.

If you have an calendar widget, you should remove it from your homescreen too.

And check post #3. There is a link to Karpfenhai's description of how to optimize autostarts for Maps.

That generate many alarms on your phone.

Good luck !

---------- Post added at 08:15 PM ---------- Previous post was at 08:08 PM ----------

Please provide an idle dump (doing nothing / screen off all the time) next time.

Then it's much easier to identify the unwanted battery drainers.

Your main wakelocks seem to be:

Viber, Facebook, WhatsApp and Maps.

If you don't need those apps, disable/freeze them. Or try to disable their autostarts (like described by Karpfenhai for Maps - link in post #3).

And check that all location service option are disabled in ROM and Google settings.

Good luck !
[BetterBatteryStats] illmatic24:
Does this look normal? I feel like Android System is eating up my battery...
[BetterBatteryStats] and8res:
Re: [APP][2.1+][19 Feb. - V1.12RC11] BetterBatteryStats

I already dont use viber..just installed !!!
[BetterBatteryStats] kpavl01:
If i flash a 4.2.2 based rom on my galaxy s 2, should I update my BBS to the latest version?
[BetterBatteryStats] chamonix:
It makes a lot of sense to me ;)

- one off: that is easy and could also be extended to, e.g. take 10 reading while I sleep for 10 hours

- autocreate idle: I like that one as well and it shouldn't be too difficult to see how long ago 'screen off' was created

-drop > x: I'd prefer a mix of timer + check the drop since the previous reference because otherwise I'd have to wake up the phone every time a battery event occurs and that may cause some overhead (will test though as I assume that no battery events are broadcasted except the battery drops by 1% (assuming I can register to be woken up on battery events, what I need to test as well)

- show battery % lost and more info like screen off time since last reference: this one will require some changes in the reference data structure and database as BBS does not have that info handy without loading the whole reference. That should not be a big problem though as this data can be save to the database row as absolute values. When that is available it is not that tricky to use that data at runtime while populating the list and have the adapter calculate the label by making relative values out of the absolute ones + the previous record.

I'd like to go on and refine those requests (#350..#353 on github)
[BetterBatteryStats] chamonix:
heard of google? http://www.droidforums.net/forum/htc-rezound-help/229959-what-package-access-helper.html#post2332661
[BetterBatteryStats] chamonix:
Start by reading the gettings started, how-to and FAQ at the beginning of this thread please
[BetterBatteryStats] chamonix:
If you want alarms to work you will need the latest RC yes
[BetterBatteryStats] nani67:
hi,

i have charged my S3 to 100% and then left it idle...

this is the log file from bbs,

please let me know if you find anything unusual...

hello,

now the battery is almost 8%, am adding the log of bbs..

please help me in finding the problem....
[BetterBatteryStats] skingg:
Hi, first of all I had a sudden quick drain of my battery two days ago and thus I purchase BBS off PlayStore and instantly found the problem (caused by a mounting/unmounting wakelock after I removed a flash drive connected to an OTG cable which seems to be a common bug on Samsung roms), so thank you for the wonderful app! :)

I've just attached my first idle dump after going through some information about BBS. If anyone is kind enough to explain the following, when I check the stats of this app in my dump:

(Wakelocks) : com.commonsware.cwac.locpoll.LocationPoller (com.phewtick.Phewtick): 1 m 32 s (92 s) Count:77 0.4%

(Alarms) : com.phewtick (): Wakeups: 77

I noticed the 'count' of the wakelocks and the number of 'wakeups' of the alarms tallied at 77, thus I thought these two are probably the same.

But when I moved on to another app processes:

(Wakelocks) : jp.naver.line.android (jp.naver.line.android.LINE): 51 s (51 s) Count:472 0.2%

(Alarms) : jp.naver.line.android (): Wakeups: 240

The count and wakeups of the wakelocks and alarms are vastly different "474 : 240"! What gives? And what does it mean in the wakelocks description of the time in seconds, counts and the % of the "51 s (51 s) Count:472 0.2%" for each item individually?

I'd really appreciate if someone can go in brief a couple of these details as I'm fairly new to BBS and am trying to understand some of the processes going on here.

Also, I notice there is the 1.12RC version of BBS here, should I uninstall the 1.11 version I purchased from the store? I'm still on official 4.1.2 stock rom if its any good.

Thanks in advance.
[BetterBatteryStats] Santic7:
Well it looks like something is woking up my precious one again :)

Can someone please take a look :)
[BetterBatteryStats] Karpfenhai:
Re: [APP][2.1+][19 Feb. - V1.12RC11] BetterBatteryStats

Note, a wakelock holds your phone awake (prevents deepsleep)

A wakeup (alarm) wakes your phone from deepsleep for a certain action (update).

Tapatalked from my Galaxy SII
[BetterBatteryStats] Andyy2k3:
I wonder what causes the phone to stay active, have a look at the screenshot of Android's stock battery statistic.

"Bildschirm an" means "screen on" ;)

This last period of ~7h with screen off is overnight and the BBS logs attached regard this period, too.

Why does AlarmManager has still so much wakelocks (screenshot 2), it's almost 4,5h?

In the log you can't find any reason for that, please help me.

screenhot 1:

screenshot 2:

View attachment BetterBatteryStats-2013-02-21_020902101.txt

View attachment alarmdump.txt
[BetterBatteryStats] Karpfenhai:
Re: [APP][2.1+][19 Feb. - V1.12RC11] BetterBatteryStats

Your bbs dump shows only the flat line at the end of your screenshot, based on the reference you choose....

If you want all, set to since boot.

Tapatalked from my Galaxy SII
[BetterBatteryStats] Andyy2k3:
I know but I didn't use the phone during this flat graph. Why is it still active persuant to the "Aktiv" bar?
[BetterBatteryStats] gonadwarrior:
Hey guys, I'm a first time user of BBS so please go easy on me. I'm not sure why I didn't do this earlier.

Attached you will find a BBS dump file which I created after waking up. Please let me know if I did this right

I've noticed a few things but hope you guys can better break down my issues :)

https://docs.google.com/file/d/0BzYqQjtra4ZibUJqaDhKbTZZcEU/edit?usp=sharing

Thanks so much!