yashsingh1/xdaforums huggingface dataset:
[BetterBatteryStats] It_ler:
One BBS dumpfile is enough IMO.

Here are the main wakelocks:

jp.naver.line.android (jp.naver.line.android.LINE): 46 s (46 s) Count:118 0.2%

com.quoord.tapatalkpro (com.quoord.tapatalkpro.activity.Tapatalk): 40 s (40 s) Count:12 0.2%

AlarmReceiver (com.sec.android.app.clockpackage.Clock): 17 s (17 s) Count:8 0.1%

com.ebay.mobile (com.ebay.mobile.eBay): 16 s (16 s) Count:700 0.1%

Here your main Alarms:

com.ebay.mobile (): Wakeups: 350

com.athan (): Wakeups: 323

com.yahoo.mobile.client.android.mail (): Wakeups: 85

jp.naver.line.android (): Wakeups: 62

So, try to uninstall/disable/freeze those apps if you don't need them every day. If you need them, try to disable autostart options in Autostarts app (from Play store).

BTW, what is "athan"?

EDIT:

Casanoaa was quicker than me ...
[BetterBatteryStats] mailistman:
thank you for prompt reply guys :good:

pop3 : how do i do that ? i have 2 gmail accounts on Gmail app & 2 yahoo accounts using YMail app.

signal is up and down. i use 2G most of the time & no wifi as i think will save more juice. i toggle to 3G/H+ if needed.

it's an auto prayer notification for moslem.
[BetterBatteryStats] Casanoaa:
Next time just dump a file after this receipt: Unplug and leave your phone 4 hours without touching it and dump a file.

I see your phone isn't rooted that means we cannot see your alarms and network. If we could it would be easier to identify problems.

Disable all autosync... Google account, google plus,soundcloud, google contacts (manual sync)..

Sign out of google talk.

Start with this ;)

Then provide an idle log after all this.

---------- Post added at 05:06 PM ---------- Previous post was at 05:04 PM ----------

Assign pop3 settings for these emails. Add email, manual setup, pop3 ... You can also do this with your stock email app..
[BetterBatteryStats] SmokingBoy:
It's incredible, I'm very disappointed and angry!

I proceeded in this way: I blocked every maps autostarts and all location service options are disabled;

I have frozen with titanium perfect applock, avast, gmd gesture control and beautifull widget and still the phone won't go in deep sleep mode!!!

When I looked at partial wakelocks in the first position there was android system... I'm a newbie but I don't think is possible to freeze this process too...

what's wrong? What's cause this iussue and how can I solve it?

Now I can't post a dump file cause the phone is switched off.

What is a logcat, how can I create one?

thank you for your patience
[BetterBatteryStats] Casanoaa:
Let me see your dump.. Provide an idle log.. You can't have a phone with 100% deep sleep.
[BetterBatteryStats] morphmk:
Can anyone have a look?

Can anyone have a look at the attached log file and give some advice?

Thank you in advance.
[BetterBatteryStats] SmokingBoy:
Thank you for your reply.

Now the phone is charging. As soon as possible i post it, I know that I can' have a phone with 100% deepsleep but mine is 0% in 2,5 hours!

Can you post a link where is explained how to do a logcat? After I will do this also.

edit: what is idle log?
[BetterBatteryStats] Casanoaa:
Just save logcat like you save a dump.

Idle log:

Unplug and leave phone 4 hours without touch and then save logcat and dump a file.

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

Turn off autosync of your google account. Log out from talk and latitude in maps.

Disable tasker if you don't use it daily.

Disable whatssapp backup and autosync. Disable whatsapp if you don't use it daily.

Use autostarts app and disable all maps autostarts.
[BetterBatteryStats] SmokingBoy:
sorry i had not seen that!
[BetterBatteryStats] connectandroid:
yeah that would be great i currently use foldersync for doing that to google drive
[BetterBatteryStats] pat357:
After spending a of lot time lurking (and learning !) here in this thread, I still have some serious issues.

I get a typical sleep from only ±80 % after unplugging it and leaving my SGIII alone.

Can you please help me out by looking at my BBS dump and giving tips/advise how to improve this 80% ?

(I have both the registered version and the XDA version, but only one was enabled.

Thanks in advance !!
[BetterBatteryStats] Casanoaa:
Disable kaspersky and use gokhan morals fd app on gplay.

If you dont use push. Disable samsung push services with tb pro.

Then yor are good.
[BetterBatteryStats] Karpfenhai:
@ Sven, here are the latest files for Bug #332

I upgraded to the most recent Version on this cm10 rom, and used since boot only this time, same issue..

View attachment logcat-2013-01-13_173027532.txt

View attachment BetterBatteryStats-2013-01-13_173031946.txt

Thx for your work on this.
[BetterBatteryStats] sk3201:
After removing my top scorer apps in regards to wake locks, I noticed today over 100 alarms from com.android.phone, which is now the number 1. made no calls, confused. Anyone else experienced this?

Gesendet von meinem Nexus 4 mit Tapatalk 2
[BetterBatteryStats] chamonix:
Indeed a good idea: https://github.com/asksven/BetterBatteryStats/issues/334
[BetterBatteryStats] tangcla:
Is there any wiki page for KWL mdm_hsic_pm0 ? Between that and fast_dormancy, I'm getting 40% KWL. :(
[BetterBatteryStats] Karpfenhai:
Here you go:

https://github.com/bruce2728

initial source :P --> https://github.com/CyanogenMod

XDA Thread -> http://xdaforums.com/showthread.php?t=1782009

I think the times and values are correct (other), but the Partial wakelocks, which imho are also shown corrct are not substracted / added somehow.. Happy digging btw ;)
[BetterBatteryStats] SmokingBoy:
here i am again and still deepsleep = 0%

Please help me

edit: and still i'm not using some apps frozen before...
[BetterBatteryStats] chamonix:
Well the digging confirms that what is returned back from 'batteryinfo" is substracted correctly (prev post). For that reason I would question what comes back (the partial wakelocks is the only data still retrieved from the android private API besides the time base.

Have you tried any other CM10 based ROM, e.g. JellyBam to see if there is any difference?

Of course if anyone has a spare pyramid, even broken (as long as it works enough the debug) that would make things easier ;)
[BetterBatteryStats] Casanoaa:
Logcat is unneccassary right now.

Uninstall lightflow.. i thin that the biggest

problem.

Log out of google talk.

Manual sync your google account.

If you are not using whats app uninstall
[BetterBatteryStats] Grex25:
Check the brightness setting in your ebook app. A lot of these apps default to max brightness. That will definetly kill you battery real quick.
[BetterBatteryStats] notyourstar:
Thanks, but it was set to a low setting. I find that my battery will drain without me even doing anything with my phone
[BetterBatteryStats] azrash:
install the latest stable version v1.11

read the end part of the first post on how to post an idle dump, share it as an attachment or via Dropbox link and we'll help you out.

Sent from my Desire Z
[BetterBatteryStats] kentandrei:
I bake something for you sir :) now with wifi on..
[BetterBatteryStats] Karpfenhai:
Hmm, its my Girls phone, so no i cant try another rom ;) She's even got used to work with android....

But there are other pyramid users facing the same issue, maybe one of them will help.. ?

Its a popular phone so im sure we will get feedback,

cheers mate!

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

I wanna cake too ;)

Looks pretty good, i think you can life with that, but..

1.4 / hour is still to much, maybe you should change Modem, i know a matching ril might be a problem on Jelly but not an issue, go for KI3, KI4 or KH3 since they are known as battery friendly. Also Siyah... many features, but battery... would you mind to try Stock kernel? Just for a test. I think with your current setup Stock may save more power..

Regards!
[BetterBatteryStats] smwln:
Disabled Auto Sync, left the phone idle for four hours after charging it to 100%
[BetterBatteryStats] Karpfenhai:
No its not lightflow, but i guess here it is...

com.sec.factory (com.sec.factory.cporiented.FtClientCPO)

Active since: 6 h 12 m 42 s

Last activity: 6 h 12 m 42 s

It should more look like :

com.sec.factory (com.sec.factory.cporiented.FtClientCPO)

Active since: 30 s

Last activity: 4 m 27 s

and thats from an 12 hours Dump!

This puzzles me too :

om.android.email (com.android.email.service.EmailDebugService)

Active since: 4 h 3 m 15 s

Last activity: 6 h 32 m 41 s

Does your mail app crash?

Okay, lets try to help, afaik ...

com.sec.factory (com.sec.factory.cporiented.FtClientCPO)

...points to samsungs factory test app, which is not really needed, so freeze it !

(Factory test + Factory Mode app via Titanium Backup)

Turn of screen Rotation for a while, reboot, and take another reading, (Hint Deepsleep should be entered and visible in BBS within 30 seconds after screen off, so just check whether it sleeps before measuring a longer idle period)

Good Luck!

---------- Post added at 02:45 AM ---------- Previous post was at 02:40 AM ----------

The good news is, your device sleeps like a new born child :;)

The Bad News, Battery Consumption is too high ...

But its a Note.. soo.. try another Radio check the desired thread for recommendations.

Get an undervolted Kernel, this could help too.

Generally, invisible (no WL) drain can mostly be explained by 1. Bad network coverage and 2. high wlan trasmit power needed due to bad wifi coverage..

if your Phone sleeps quite good, check in flightmode whether the drain dissappeares.

regards!
[BetterBatteryStats] smwln:
Whenever I am out, the battery dies really fast, hardly lasts 7-8 hours.

I was thinking to replace the battery as I thought the issue is with battery itself,

I need to go on a trip soon this week and I can't really use it as a primary phone, confused what to do :confused:
[BetterBatteryStats] notyourstar:
Done!
[BetterBatteryStats] xscribble:
I'm getting awful battery life, and it looks like the wlan wakelock is causing it.

I then looked and saw I'm getting 100% No Data connection and no No or Unknown Signal - I don't think that's true, I get around 2 bars in my house.

What's causing my phone from deep sleeping? I went out last night and my phone almost died in 5 hours and I had to turn airplane mode on to save the last 10%...

btw - rooted on stock rom/kernal
[BetterBatteryStats] azrash:
refer here

Sent from my Desire Z

---------- Post added at 01:20 PM ---------- Previous post was at 01:00 PM ----------

based on your dumpfile these are the main cause

"wlan_rx_wake" (): 3 h 8 m 18 s (11298 s) Cnt:(c/wc/ec)38/0/38 89.4%

"wlan_wake" (): 18 m 31 s (1111 s) Cnt:(c/wc/ec)641575/18/0 8.8%

it means that you have a dirty wifi, try turning the phone's wifi off to see if it helps, but it can also be because of an app.

Since you are rooted, please enable other features like alarms and network logging too, as per instructed in the OP. with those two, we can analyze whether an app is misbehaving or other things like kernel/modem is at play

best regards

Before posting a dump please make sure that the references for kernel wakelocks and alarms were processed correctly. Reading a dump takes a few minutes and it would be great if you could not waste the time of whowver studies in, aiming at helping you.

Generally a dump "since unplugged" is better than "since charged". When you start your analysis make sure to follow following procedure:

- plug/unplug the charger

- leave the phone alone 1-4 hours

- save a dump and check that the chapters "Kernel wakelocks" and "alarms" (if you have root) are populated

- Post the dump as attachement
[BetterBatteryStats] xscribble:
Thanks! I just rooted recently actually because I wanted to fix this issue.

And yeah, I've tried turning off wifi but if gives me that bam_dmux wakelock.

How can I figure out which app it is?
[BetterBatteryStats] azrash:
enable those other root options, and take another idle dump. Try leaving the screen untouched for 4 hours. And share it here again. You'll get a better data now, since you can see the alarms part. The alarms would show how many times an app is triggered.

I suggest that you leave your wifi on first. We'll work it out in the new dumpfile.

Sent from my Desire Z
[BetterBatteryStats] kingusienka:
Hello, here is my newest BBS Dump file.

I've diconnected the mobile from the charger yesterday on 15:55 and the test run around 6 hours 40 minutes.
[BetterBatteryStats] SmokingBoy:
hello all,

tonight before I go to sleep I have frozen LightFlow and finally the phone went in DeepSleep for 94% of the time.

thank you very much to all for the availability and patience.

it was bothering me a lot

bye
[BetterBatteryStats] It_ler:
There is something wrong with the way you create the BBS dump.

Since is only 4s, but your phone was actually running > 6 hours.

So all numbers in the dump file are agin weird.

And the Partial wakelocks are missing.

How I would do the recording:

1. Charging the phone while it is turned off.

2. Unplug the charger, then trun on the phone.

3. Start BBS and look at "Since boot" view. Wait so some time (about 1 minute) and click refresh. If yu see that the statistics are filled in with reliable values, then BBS got the boot trigger and you can start recording the dump.

Only if the numbers in "Other" + "Since boot" are not filled in correctly, change view to "Other" + "Since unplugged". Plug in the charger/USB cable and unplug it again after some seconds. Wait for some time (about 1 minute) and click refresh (still for "Other" + "Since unplugged").

Now the numbers should be filled in reliable.

4. Turn the screen off and leave the phone "alone" (idle) for about 4 hours.

5. Unlock the screen, open BBS, check that you are in the correct view ("Other" + "Since boot" or "Since unplugged") and refresh it. Then click "Dump to File".

Now we hopefully get a BBS dump with correct numbers :fingers-crossed:

What I can see in the current dump is only a Fast Dormancy wakelock. So you may have to toggle FD on your phone with gokhanmoral's Fast Dormancy app from Play store.

And Google+ is active on your phone. If you don't use it every day, disable/freeze it.
[BetterBatteryStats] kingusienka:
OK, I've done a short test using the instructions above and I've got 6 min since time, exactly how long the test took, so it should be okay now. I will perform a major test overnight and post BBS tomorrow morning.
[BetterBatteryStats] Casanoaa:
Log out of latitude in maps.

Use autostarts app and disable all maps autostarts.

Turn off locationsservices in rom/settings

Disable Plume

Manual sync your google account, google apps etc.

Manual sync Readitlater

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

We all knew Lightflow is a killer . Congratulations

Have you seen Karpfenhai' answer to your problem which i missed. http://xdaforums.com/showthread.php?p=36681839
[BetterBatteryStats] fmifmi:
hi @all!

this is a great app. i am new on android, and i am looking for the cause of my battery drain.

i'm not sure if this is "normal". i have a i9100 with standard-battery, original samsung 4.0.4 rom. i have mobile-data on (wifi off), but i am doing nothing big with the phone (no calls, no internet surfing, no music on, only sometimes i check whatsapp and mails).

the battery goes from 100% - 5% within 1,5 days (mobile data is on, but actually just waiting to get whatsapp-messages or mail most of the time).

is that a normal battery-drain for my usage? :eek:

i think that multdpd and l2_hsic are causing problems (l2_hsic has a count of ca. 1300 in 6h).

just rooted my phone yesterday to get more info from betterbatterystatus, try to post an idle log for about 4h, one with mobile data on and one with mobile data off, tomorrow.

hope that someone can give me hints, what exactly causes the battery drain, and how i can improve it.

thank you so much :rolleyes:

cu fmi
[BetterBatteryStats] masteriori:
Hi all,

I charged my phone to 100% and calibrated my battery even with BatteryCalibration, and left my phone in sleep mode overnight with alarm ON. When I checked my battery in the morning, it was down to 88% with Android System taking up 90%+ of the battery usage.

Please attached screenshots and BBS file dump. Help will greatly be appreciated.
[BetterBatteryStats] It_ler:
Have you played some music?

There was AudioOut wakelock.

And Skype is eating your battery. Try to record an idle dump without Skype running (don't start it after rebooting). Then you can see the difference in battery life.

Please check that you have disabled all location service options.
[BetterBatteryStats] championc:
Hi All,

I'm reasonably happy with my SGS2 running NeatROM Lite v4.0, on Jeboo Kernel v1.1c and LS6 Modem. I took an overnight Dumpfile and the only small niggle is that I have

Partial Wakelocks

GTALK_CONN

GTALK_ASYNC_CONN

Alarms

GTALK_RECONNECT

But I do not have Google Talk installed at all. I have checked all bits in Titanium Backup and cannot find any reference to GTALK.

Any suggestions please ?
[BetterBatteryStats] It_ler:
It's a kind of collective wakelocks for all Internet activities of any system/Google Apps. Not only for Talk.
[BetterBatteryStats] ccs86:
I still haven't figured out my wlan_rx_wake, but did a long idle dump with wifi disabled.

I've disabled most of the Google Search autostarts, but GSF is still making an appearance.

Any suggestions would be appreciated!
[BetterBatteryStats] tboooe:
Google Services partial wakelocks?

I am not sure if this is bad...My phone has been unplugged for about 8 hours, deep sleep for 7.5 hours, screen on for 20 mins, and 10 mins of kernel wakelocks. I guess that is not too bad but whats confusing me is the partial wakelock of almost 3 hours (Event Log Service - Google Services)! And yes I have turned off data backup, data synching, latitude, automatic Play store updates, etc.

I dont understand how I can have such as massive partial wakelock and how this impacts battery life given my phone only had 10 mins of kernal wakelocks showing. Should I be worried?

Attached is my dump too...
[BetterBatteryStats] Mikulec:
Does anybody know what does this alarm do or with what is connected: com.android.server.LightsService.action.UPDATE_SVC _LED ?

This alarm is more then 2 timesd higher then time_tick alarm.

Does anybody knows what it is?

Thanks.
[BetterBatteryStats] fmifmi:
hi experts!

here is my dump for 4h with data on, did nothing big with the phone, 5% battery drain per hour. :crying:

I believe that this is to much.

any help to improve this is highly appreciated :good:

cu fmi

edit: i deactivated gmx-sync and gmail-sync right now, but i think still there is something to optimize, but don't know exactly what...
[BetterBatteryStats] masteriori:
I play music at most twice a day, that too during week days only. It could also be related to PlayerPro, perhaps it didn't end the process?

As for skype, I will try to idle dump as suggested.

Finally, could you please be more specific with location service options? I already have location access[OFF], location reporting[Your location is not updated], location history[unticked].

Anything else?

Thank you very much for your help :good:
[BetterBatteryStats] Karpfenhai:
@Sven, sometimes it happens but it's pretty rare, the latest stable version produces spinners of death or computing till eternity.... if this happens, only reboot helps, neither plugging nor killing bbs.

I'll let my device in the current state of you need further input, here the logcat (taken manually)

View attachment logcat_eternity.zip

Edit: phone just got booted by itself..

Bbs is working again, it seems it computes till oom.. :(

Edit 2. Can't find last_kmsg on my device... ****ty Samsung Rom....

Tapatalked from my Samsung GT9100
[BetterBatteryStats] Casanoaa:
It's notification led.. Disable it in rom / settings.
[BetterBatteryStats] chrischoi:
So the % per hour. Do I always have to reboot my phone to get that working again? After plugging my phone in to charge, it just shows --%. Doesn't work until a restart.
[BetterBatteryStats] xscribble:
First of all - you guys are awesome, thanks for helping us out!

Attached is my log now, now that I'm rooted it has Alarms and Networks now too.

This sucks, I went to bed with full charge and woke up with 25%
[BetterBatteryStats] It_ler:
Check the ROM's settings for location too. Disable all options for location services (GPS, network, etc.).
[BetterBatteryStats] Casanoaa:
This is the culprit 10139 (Wifi) (com.fsck.k9.K-9 Mail): 34.0 MBytes 94.7%

Set your email up in stock email app .m settings should be pop3 with manual sync.

Disable mediascanner autostarts with autostarts app.

Disable maps autostarts also.

Turn off locationsservices in rom /settings.

Disable autosync with in your calendar.

Mobisystems disable

Use another app for facebook
[BetterBatteryStats] It_ler:
Your biggest wakelock is ""wlan_rx_wake" (): 11 h 36 s (39636 s) Cnt:(c/wc/ec)43/0/43 98.9%".

That prevents your phone from going into deep sleep.

So try to disable your wifi next time.

In advanced wifi settings, you can set the "Keep wifi running when phone is sleeping" to "Never" or "when plugged to charger".

Then your wifi will automatically turned of when screen is off.

There are some other things to optimize (e.g. Maps, K9, MediaScanner, etc.), nbut first you will have to "enable" deep sleep on your phone.

Good luck !

EDIT:

Casanoaa was faster ... again :crying:
[BetterBatteryStats] xscribble:
Thanks both of you - I will try that out and see if I get better results!

I was really hoping k9 mail wasn't the culprit because I really like the push feature it has. By the way - what's the best autostart app to use? I downloaded a free one but it didn't show me Maps or MediaScanner on the list of apps.
[BetterBatteryStats] sirkula:
Sorry if I did something wrong and wasted your time but if you could take a look at my dump file I would appreciate it. Last night phone was ON and charging the hole night, unplugged it at maybe 9:30am and used it like I normaly do and now is 6:50pm and the battery is empty, phone turned off. Managed to create dump file at 8%....

Thank you.
[BetterBatteryStats] azrash:
actually your K9 looks normal for a push setup. Not out of ordinary, I don't think it is the main cause. I do find that stock gmail works better for push, and k9 works better with poll. So there is that.

Your wifi is waking up your device for almost the whole time, this might be because of your wifi is very very dirty :p or there is something wrong with the kernel you are using.

Yeap, disable the wifi, and perhaps we can work on more things in the next dump.

Best one is autostarts.

Sent from my Desire Z
[BetterBatteryStats] Casanoaa:
Enable alarms and network in bbs app.

Provide an idle log. Unplug leave phone 4 hours without touching it and dump a file.
[BetterBatteryStats] chiaotzu:
Hey guys,

I'm facing some issues with battery draining very fast. I'm unsure as to what all things are causing the problems. I have disabled most of the known things from settings which are known to cause wakelocks or battery drains, but still couldn't identify long list of things.

Please have a look at it and let me know what all things are causing the problem. Thank you. Please find attached the dump file.
[BetterBatteryStats] Hilmesh:
Hi there, can you point out the exact service in autostart that should be disabled for media scanner please.
[BetterBatteryStats] Casanoaa:
Disabled autostart entries for mediascanner.
[BetterBatteryStats] Hilmesh:
@Casanoaa - Thanks Friend :)
[BetterBatteryStats] Casanoaa:
You are welcome my friend
[BetterBatteryStats] bobdoblo:
Could some kind soul help this guy out please and look at his dump:):thumbup: http://xdaforums.com/showthread.php?p=36709100

*NeatROM*
[BetterBatteryStats] It_ler:
Unfortunately you have charged your phone while recording the BBS dump.

That is not good as some stats get weird.

Please provide another idle dump without ataching the phone to the charger or USB cable.