yashsingh1/xdaforums huggingface dataset:
[BetterBatteryStats] happiboi:
https://github.com/asksven/BetterBatteryStats-Knowledge-Base/wiki/SyncLoopWakeLock

in short.. seems like account/data sync
[BetterBatteryStats] steve austin:
ok, back for the third go-round. I see that the phone was in deep sleep 79%, however, I performed just 3 actions from the time I unplugged it (1:00 am) til I recorded stats (Almost 7). Cut the phone on at 4 something to see if I was still @ 100%, downloaded 2 files from dropbox totaling 30 mb's and watched a 30 second video. Phone off. So from roughly 4:45-ish t0 6:58 I lost 20% battery...?!? Attached are the stats as well as the bmw pro stats so you can see the consistent drop off. Again, thanks in advance for any assistance you can provide me.
[BetterBatteryStats] g3ckospy:
Hi chamonix,

could you help me analyze my stats?...

thanks,
[BetterBatteryStats] gaui:
chamonix, couldn't you add drop in mA under "View Serie" so we don't have to use bmw for that? :)
[BetterBatteryStats] chronophase1:
I'll fully charge tonight and repeat the airplane mode test and see if it happens again.
[BetterBatteryStats] mattman83:
Hi Guys :)

Won't pester you with a full log (it's pretty clean, yay), but just wondering if any of the below lines are issues?

Partial:
ConnectivityService (Android System): 58 s (58 s) Count:125 0.9%
AlarmManager (Android System): 36 s (36 s) Count:124 0.6%

Kernel:
"deleted_wake_locks" (): 7 m 4 s (424 s) Cnt:(c/wc/ec)19094/0/704 1.5%
"PowerManagerService" (): 2 m 27 s (147 s) Cnt:(c/wc/ec)93/0/0 2.2%

Alarms:
android (): Wakeups: 17
Alarms: 44, Intent: android.intent.action.TIME_TICK
Alarms: 4, Intent: com.android.server.action.NETWORK_STATS_POLL
Alarms: 8, Intent: com.android.server.ThrottleManager.action.POLL
Alarms: 3, Intent: com.android.server.WifiManager.action.UPDATE_WIFI_STATE
Alarms: 2, Intent: android.appwidget.action.APPWIDGET_UPDATE
Alarms: 5, Intent: com.htc.intent.action.Socket_RXTXGrouping
Alarms: 0, Intent: com.htc.USERBEHAVIOR_FLUSH
Alarms: 2, Intent: android.app.backup.intent.RUN
Alarms: 5, Intent: android.content.syncmanager.SYNC_ALARM

Thanks in advance!
[BetterBatteryStats] chronophase1:
Didn't repeat the same thing. Heh. I think it may have been a sync loop issue now that I think about it. And I already know about that. Haha.
[BetterBatteryStats] numoh:
Need help to identify what drains my battery

Thanks for whoever has made an effort to help me on this.

Appreciate it.
[BetterBatteryStats] UgloBuglo:
Hi!

Anyone here that can take a look at a dump from my Galaxy Note?

It was taken in the morning after I left the phone alone for most of the night.

I might have checked the time a few times I think, and there was a Titanium Backup job running during the night.

I uploaded it to pastebin here http://pastebin.com/76rKs6WY

I'm quite the rookie on this, but as far as I can tell there is a wakelock called l2_hsic going on for several hours... is that normal or something I should look more into?

Any tips and ideas are most welcome :)
[BetterBatteryStats] :
Hi again,

Turns out that disabling "use wireless networks" for location in "Location & Security" settings stops the huge amount of wakeups (almost 400 in just over 6 hours idle time, GPS was already off).

Are these wakeups invoked by an application, or is it Android that decides to "cache" the location in case an application wants it.... If it is an application, how do I find the guilty one? And if it's android, anything can be done to lower the frequency?

Running Temasek's century build and Etana kernel 3.0.31.
[BetterBatteryStats] azzurious:
Hi everyone, would appreciate if someone can take a look at my GNote dump.

http://pastebin.com/uShKbwpf

Thanx in advance.
[BetterBatteryStats] Hawkeye1103:
trying to repost can someone plz help me ... thanks in advance. Sry for the repost

http://xdaforums.com/showpost.php?p=26074676&postcount=5060
[BetterBatteryStats] drdionysius:
alarms

My battery life is mwoah so I checked it out with BBS and this line looks suspicious. 717 wakeups? Is that normal?

Alarms (requires root)

======================

com.android.phone (): Wakeups: 717

Alarms: 714, Intent: com.android.internal.telephony.gprs-data-stall
[BetterBatteryStats] flshg:
Had a quick look, kernel wakelock from multidpd looks significant. Might be useful for you to look at http://xdaforums.com/showthread.php?t=1308030&page=58.

---------- Post added at 12:49 PM ---------- Previous post was at 12:43 PM ----------

Juice defender and battery monitor widget seem to be waking up the phone a lot. Freeze those apps.
[BetterBatteryStats] NoSpamDan:
After removing Juice Defender (it was disabled but I haven't used it in a while), setting my Beautiful Home Weather update interval to 16 hours, and a reboot, I unplugged my phone and let it sit while sleeping. Yes, I didn't sleep much that night, baby in the house ;)

This log looks much better for sure. On a full charge, the phone lost some 3% over a 4 1/2 hour period? I'm not sure I believe this entirely because a little usage of the phone after I got up brought me quickly down to 80-something% and then it seemed more stable and steadily discharged throughout the day... I was on WiFi the entire time.

Is there anything I should take care of at this point?
[BetterBatteryStats] suku_patel_22:
The graph looks pretty good. Don't worry

Sent from a Desire S waiting for Kernel 3. WAKE UP HTC!!!!
[BetterBatteryStats] Karpfenhai:
That's quite prefect so far, congrats!

Disable haptic feedback and keyboard (Swype) sound to bring down the audio_out wakelock.

Swyped from my GT-I9100 using XDA App.
[BetterBatteryStats] gaui:
You're not the only one. You have a bad signal so your phone is constantly looking for another cell tower or switching to/from roaming.

You could try some other radios or switch carrier.

I've had this problem for a long time, tried many different modems but no luck. So now I'm gonna try switching carrier. :)
[BetterBatteryStats] mahercs:
I'm no expert, but it looks like you listened to music for almost 20 minutes. If you did, then that would drain your battery some.
[BetterBatteryStats] teo2411:
Yeah, I did, but these wakeups happen even when I don't listen to music.
[BetterBatteryStats] gaui:
Please post a full BBS dump.
[BetterBatteryStats] teo2411:
Just charged it to 100%, I'll post one tommorow in te evening.
[BetterBatteryStats] mzaur:
Run it overnight and post dump in morning. The less actual use time the better
[BetterBatteryStats] UgloBuglo:
Since no one took a look at my dump from yesterday, I took a new this morning after a night of no activity at all.

I have almost 7 hours of kernel Wakelocks l2_hsic, is that normal?

http://paste.ubuntu.com/990224/
[BetterBatteryStats] teo2411:
Here it is, I have to put it as an attachment because it has links in it and I don't have 8 posts...
[BetterBatteryStats] abax2000:
Strange Wake in the middle of the night

Hi all,

I notice some wakes during the night I cannot explain. Phone is Galaxy S II.

Can anyone please have a look at the dumbfiles and help on identifying the app that causes it?

BTW, can anyone pls explain the following entries on the stat screen? Usually "No or Unknown Signal" takes up the whole duartion, while the other two are very short.

No or Unknown Signal

Moderate Signal

Good Signal
[BetterBatteryStats] barrist:
I'm going to post a proper log tomorrow morning after an overnight sleep on idle, but i wanted to ask in advance about the alarm

com.android.internal.telephony.gprs-data-stall

Am I right in that that means data drops? .. i seem to get like a 150 overnight wakeups from this alarm. i'm also getting about 20% battery drain on idle overnight, so something's definitely up.

(on Galaxy Nexus GSM, Paranoid Android, Franco Kernel r160)

also get alot of com.google.android.intentnt.action.SEND_IDLE under com.google.android.gsf in alarms.
[BetterBatteryStats] diddly3000:
I have a dump file for bbs. Can someone look at it? What is the process of posting the dump file. PM or post here
[BetterBatteryStats] HosainH:
Hi guys, i'm getting a very abnormal battery drain of 10-20% per hour without using the phone and i'm having to charge every 8~ hours because of it.

I have replaced the battery already and tried stock rom, slim ICS, Glados kernel and air kernel with no success. I was hoping someone could take a look at my dump file to help me determine the culprit?

http://dl.dropbox.com/u/14208458/BetterBatteryStats-2012-05-16_135620705.txt
[BetterBatteryStats] gaui:
I don't see the Alarms section in the dump? It's necessary.
[BetterBatteryStats] Karpfenhai:
Hmm, not too bad, are you using a live wallpaper?
[BetterBatteryStats] O_s_s:
Hi everyone! Previously i have a HTC HD2 and according to current widget there was 3-5 mA drain during sleep. Now i have Galaxy S2 and can't get lower than 13-18. I've uninstalled most unnecessary apps, disabled almost all syncs, disabled location services, disabled fast dormancy and cannot get reasonable consumption. But usage consumtion is very good. I use stock rooted XXLPQ + Siyah 3.2.2 Apretiate any advice, sorry for my english.
[BetterBatteryStats] Karpfenhai:
Looks good so far, BUT, get rid of BatteryMonitorWidget it wokes your phone a thousand times...

Second, try to use KI3 or KI4 Modem instead on LPQ, Don't use live wallpaper :P (as above)

Third, dont trust 2-3 ma.. just divide 1650 (Stock) or 2000 / 15 and you have your theoretically standby time ;)
[BetterBatteryStats] O_s_s:
Thank you for advice, can you recommend good alternative to current widget/battery monitor widget?
[BetterBatteryStats] Karpfenhai:
Yes, BBS ;)

Just go to more --> History --> menu again --> view serie.

Should be enough information, maybe the ma consumption will be added in the next release too (feature request).

Have fun! ;D

PS: Somehow you can reduce the WL from BMW by setting the update frequency, but i have no clue cuz i dont use it..
[BetterBatteryStats] douglatins:
I been having huge drains after a reboot what is a good procedure to fix this?

Sent from my phone
[BetterBatteryStats] :
Nm, didn't read to well....
[BetterBatteryStats] riskaa:
I also like Badass Battery Monitor.
[BetterBatteryStats] HosainH:
No i'm not, i'm a massive minimalist and only have 2 homescreens with 3 widgets (a clock, agenda widget and alarm widget). I can't even leave the phone on overnight if I want to use it the next day :(
[BetterBatteryStats] jeremysherriff:
Hi

Do you know if there is a IMM76I-based ROM/kernel for your phone? The IMM76D version has data connection/drop issues and this is a part of your issue.

As @Karpfenhai said, this dump looks OK, no issues stand out for me. But, two problems with the data: "Good Signal (): 9 m 32 s (572 s) Ratio: 2.3%" but nothing else to indicate the reception strength over the rest of the time. Can you post a screenshot like this one? The screenshot should cover the same time period as your next dump >>

Issue #2: "vbus_present" (): 1 m 13 s (73 s) Cnt:(c/wc/ec)168/0/169 0.3% indicates that your phone was on charge during the dump period, which is weird coz it's a "since unplugged" dump.

Can you charge, unplug, reboot, leave it idle for a while, then post a dump file a few hours later? And take that screenshot as I mentioned above.

---------- Post added at 07:49 PM ---------- Previous post was at 07:47 PM ----------

No need, just remove the BMW widget from your homescreen. When you want to know what mV etc is being used, open the app. It's the widget itself that is causing most of the wakes.
[BetterBatteryStats] HosainH:
I don't have a screenshot but I checked better battery stats at the time and I had 5 bars for 74% of that same duration and 26% 4 bars. I do agree it feels like something is wrong with the connection, I will do another log with the screenshot you requested and have a look for that ROM. It's a Nexus S btw so it should do.
[BetterBatteryStats] ballmead:
Is it ok to keep the BMW App running/monitoring in the background?

Will this cause less battery drain than the widget?
[BetterBatteryStats] chamonix:
Sure: https://github.com/asksven/BetterBatteryStats/issues/172
[BetterBatteryStats] chamonix:
Statistic Type: (3) Since Unplugged
Since 5 h 39 m 19 s
Bluetooth On (): 5 h 39 m 19 s (20359 s) Ratio: 100.0%
Deep Sleep (): 4 h 57 m 49 s (17869 s) Ratio: 79.1%
Awake (): 42 m 35 s (2555 s) Ratio: 12.6%
Screen On (): 14 m 41 s (881 s) Ratio: 4.3%
Phone On (): 6 m 43 s (403 s) Ratio: 2.0%

So that means 42 minutes awake out of 339.

=========
Wakelocks
=========
AlarmManager (Android System): 22 m 24 s (1344 s) Count:971 6.6%
*sync*_com.htc.socialnetwork.facebook_Account {name=dam********************************m, type=com.facebook.auth.login} (UID): 3 m 20 s (200 s) Count:3 1.0%
SyncLoopWakeLock (Android System): 3 m 17 s (197 s) Count:1059 1.0%
*backup* (Android System): 2 m 30 s (150 s) Count:311 0.7%
MAIL_PWR_LOCK (com.htc.android.mail.Mail): 1 m 57 s (117 s) Count:6 0.6%
FacebookNotificationService (uk.co.senab.blueNotify.FriendCaster Pro): 1 m 26 s (86 s) Count:12 0.4%

The main cause of awake are alarms (we'll come to that later), the second one is HTC bloatware (facebook), Syncloop is a side affect of sync and should go down after you got rif of facebook.

================
Kernel Wakelocks
================
"PowerManagerService" (): 23 m 7 s (1387 s) Cnt:(c/wc/ec)1089/0/0 6.1%
"vbus_present" (): 21 m 44 s (1304 s) Cnt:(c/wc/ec)0/0/1 5.8%

Weird here is that your phone reports 21 minutes on charger despite "since unplugged" stat. You should check your kernel thread for that.

======================
Alarms (requires root)
======================
ccc71.bmw.pro (): Wakeups: 878

You should decrease the update freq of BMW, this is far too high

org.koxx.pure (): Wakeups: 267

This is pretty bad too and causes far too many wakeups

com.facebook.katana (): Wakeups: 70

It looks like you have facebook running twice (HTC bloatware + facebook stock app). Imho both are bad
[BetterBatteryStats] chamonix:
I'm lloking into the total drop since.... for "other" stats but there is no way I can add this to the series without doing active monitoring and causing drain. That's against the philosophy of BBS so unfortunately this is not going to happen
[BetterBatteryStats] chamonix:
JD is causing mostly of the awake time looking at this run. Get rid of JD and repost a dump
[BetterBatteryStats] chamonix:
That looks pretty good. I suggest that you turn off wifi when you are not using it and you could get rid of some more overhead
[BetterBatteryStats] chamonix:
sorry but an alarm dump is not the right place to start when looking for causes of drain. Please post a BBS dump
[BetterBatteryStats] chamonix:
You should take that to your kernel thread
[BetterBatteryStats] chamonix:
Your main problem is Alarms but unfortunately without root you won't get any details on the cause. The second cause is kernel or radio related so you may want to try updating the baseband
[BetterBatteryStats] chamonix:
Post a dumpfile "since unplugged" after laving your phone alone for 3-5 hours (don't forget to plug/unplug) before that)
[BetterBatteryStats] chamonix:
FB is still on, the other main cause of wakeups is maps: you should check your maps cache settings and make sure the collection is not on all the time.

Your BMW settings are set to collect data far too often

cleanwidget: a widget is not supposed to wake up your phone, you should check the settings or turn it off.
[BetterBatteryStats] chamonix:
Special thanks

I wanted to express my gratitude to nobnut for generously donating his Nexus S. I will use that phone to try nailing the "batteryinfo" service problem some users have.

If anyone with a Nexus S could point me to a ROM where that problem occurs I'd be happy to try it (preferably not MIUI).
[BetterBatteryStats] :
Try freezing google reader, I've found it to drain my battery a couple of times by not letting it sleep.
[BetterBatteryStats] :
Hi, can anyone explain what causes the mmcx_detect (where x is number) kernel wakelocks?
[BetterBatteryStats] Stockmoose16:
Kernel wake locks

I'm having trouble with kernel wakelocks, and have tried everything from changing roms and kernels to erasing all unnecessary apps. I'm attaching a BBS screenshot of the wakelocks as well as a log dump. Would really appreciate any advice... Can't find any answers on the forums.
[BetterBatteryStats] steve austin:
*** i don't have the htc sense/friendstream facebook installed. I am confused about the double listing. Again, i will try to find an alternative outside of friendcaster.

thanks, as usual, for your insight. my questions remains, what is causing the huge/sustained drain AFTER I use the phone for a few minutes? That 20% drop (from above) is what is the real problem at this stage.
[BetterBatteryStats] Napalm Candy:
Hi, I had very bad battery life, so less than a day (3h screen on, and about 10h battery life).

I disable Latitude (but... to me is really useful), also I had to disable location (so, again useful to me), I disabled to see what are the cause of battery drain, and uninstalled Battery Monitor Widget

Now, it is not too much bad battery life, but with almost everything disabled, something continue draining battery

I had alarms on com.android.providers.calendar (14 wakeups in 1 hour), algo com.google.android.gsf (11 wakeups in 1 hour) I never use google talk.

"multipdp" is a kernel wakelock that I see too much times at the top of the list, and I'm not sure what is it.

So, I upload a Dump file, please if you can revise it :)

PD: I edited personal email addresses
[BetterBatteryStats] mahercs:
I saw Reader on my dump as well, but all I did was turn off the sync for it and it went away. I use a third party widget to display my rss feads via Reader, and I thought I had to have sync on for it to update, but it works just fine without it. Give it a try.
[BetterBatteryStats] californicated:
The last two nights (also before) I got many small wakelocks in flightmode, draining about 20% of my SGS2's battery. Don't find anything suspicious in the log. I've also attached a logcat.
[BetterBatteryStats] chamonix:
Please provide a "since unplugged" reading after leaving your phone alone for 2-4 hours, 15 minutes is not enough
[BetterBatteryStats] chamonix:
I can only explain what I see and I think you are on a good way to resolve your drain
[BetterBatteryStats] chamonix:
Please leave your phone alone for 3-4 hours after plug/unplug and then save a dumpfile. The timeframe for this reading is too short and has too much screen on time to see anything
[BetterBatteryStats] mariotme:
Hey chamonix

I tried finding some extra info regarding wlan_rx_wake kernel wakelock.

It affect almost 80% of the current galaxy nexus kernels out there. Is there anyway to get rid of it? It throttles when connected to wifi only
[BetterBatteryStats] chamonix:
Two things drew my attention:

Kernel Wakelocks
================
"led_wake_lock" (): 37 m 59 s (2279 s) Cnt:(c/wc/ec)17/0/0 3,2%

A led notification kept your phone awake for 37 minutes

======================
Alarms (requires root)
======================
com.android.email (): Wakeups: 1753

Mail is waking up your phone every 30 seconds
[BetterBatteryStats] chamonix:
This IS interesting. The two read lines are not caused by BBS code but seem to occur somewhere in the BatteryStats or BatteryStatsImpl that I call. Even if I don't understand why this perm is required I can try to add it to BBS perms and see if it changes anything: https://github.com/asksven/BetterBatteryStats/issues/173

I'll provide a test version soon for that
[BetterBatteryStats] Stockmoose16:
Does anyone have any insight?!!! I'm desperate to get this fixed.
[BetterBatteryStats] hars73:
I have the same since my new wifi router and my Sony Ericsson Xperia Mini Pro. I've got loads and loads of wlan_rx_wake kernel wakelocks when connected to wifi.

I also saw in the logging of my router that when my phone is connected to my router, the phone is constantly sending and receiving messages to the DHCP server:

180	May 17 17:46:31	DHCP	NOTICE	DHCPS:Send ACK to 192.168.1.102

179	May 17 17:46:31	DHCP	NOTICE	DHCPS:Recv REQUEST from 5C:B5:24:4E:90:66

178	May 17 17:46:31	DHCP	NOTICE	DHCPS:Send OFFER with ip 192.168.1.102

177	May 17 17:46:31	DHCP	NOTICE	DHCPS:Recv DISCOVER from 5C:B5:24:4E:90:66

What could cause this. I didn't have this problem with my previous router. With my new router my battery is empty within 8-10 hours and doing nothing with it, just connected to wifi. Also saw in BBS that my phone almost never gets in deep sleep and is almost always awake.
[BetterBatteryStats] mariotme:
Lets hope Chamonix would chime in and shed some light on us :)

would really appreciate if there is some sort of option in either the router or another way to sort it out
[BetterBatteryStats] Karpfenhai:
Hey there, just one short question, does the problem disappear as soon as you connect the charger for 2 seconds?

And, if yes, do you use a hands free kit with you phone (car)? Furthermore, do u charge your phone, when driving and bt is connected?

Okay 3 questions.. :D

Answer is appreciated, wenn du zit hascht heut abig, merci vielmals. :cool:

Swyped from my GT-I9100 using XDA App.
[BetterBatteryStats] nldxda:
Would one of you please have a look at my dump?? I let the phone sit for about 6 hours in standby.. This one went from full to 68% or so..... I always get horrible battery life, no matter what rom / kernel combo I try .. thnx
[BetterBatteryStats] jeremysherriff:
Yes, I think so. Just check that it isn't refreshing the data too frequently (5 or 10 min is perfect). I don't know why, but the widget itself seems to wake every minute, which is against how I thought widgets work. But this is simply more proof that I don't know everything ;)

---------- Post added at 12:48 PM ---------- Previous post was at 12:41 PM ----------

I don't have the answer, but yes you have awful battery life:

Since 5 h 36 m 21 s
<..>
Awake (): 5 h 29 m 13 s (19753 s) Ratio: 97.9%
Deep Sleep (): 7 m 7 s (427 s) Ratio: 2.1%
Screen On (): 1 m 32 s (92 s) Ratio: 0.5%

That's close to 100% the exact opposite of what we want!!

In your case it's becasue of a kernel wakelock, but I don't know what is causing it:

Kernel Wakelocks
================
"suspend_backoff" (): 5 h 22 m 11 s (19331 s) Cnt:(c/wc/ec)275/0/274 95.7%

If you install a fresh ROM (openOptimus maybe?) and wipe /data etc, don't reinstall apps, does it continue? I do suspect an app is causing the suspecd to fail - and I'm guessing Pinger. I used to get 48-72 hours on my P500 easily on openOptimus with V20h baseband.
[BetterBatteryStats] xelra:
Double post was definitely not me.

Tapatalk! :mad:
[BetterBatteryStats] steve austin:
possible wakelock explainations...?

I have not reat through this entire thread or done a search, so if this is already listed then forgive me. I found this post http://xdaforums.com/showpost.php?p=17207481&postcount=18. The meat of it is that you can use Terminal Emulator to figure out the source of wakelocks. The problem (for me at least) is that I opened TE and put in the info and I did not see anything come up. Not sure if there are spaces or if everything has to be entered with Caps as I see it. Below are the. Hopefully, if someone gets it to work, some alarmManager wakelocks can be exposed, maybe.

IGNORE THIS POST * DUPLICATE INFORMATION THAT HAS ALREADY BEEN POSTED *
[BetterBatteryStats] nldxda:
Haha yea the battery life sucks.. I've tried the official cm7 nightlies and RC's with the stock cm kernel and with a few of the modded kernels and always get this kind of performance.. same thing with oxygen rom.. I'll try open optimus w/o any extra apps to see how it goes and post the results.. thnx
[BetterBatteryStats] fxrb:
Yes it does (for a random amount of time).

Yes, when in the car.

Yes I do.

Indeed :rolleyes:

Schnäller gots nimmer - au viele Dank ;)