yashsingh1/xdaforums huggingface dataset:
[BetterBatteryStats] #illidan:
Well under the built in battery stats in settings the signal bar is completely green. I'll do what you asked me to do & repost a log here but last night my network stats wakelock suddenly dropped to just 10 mins on its own for a similar period of time. I have an inkling that it may be related to an app called carat which got updated yesterday & the change log in it did say that there were improvements in the way the app collected data for analysis so I'll freeze that as well just to check.
[BetterBatteryStats] AndroidLiz:
Hopefully I did this dump right...

Not sure if I did this correctly, but here is my dump.
[BetterBatteryStats] selectah:
Hey would you guys help me with this dumbfile? Right now the phone uses 5% at night and I know it can do 2% and better.

I always try to minimise battery consumption. I don't want to miss Facebook app and whatsapp though.

What I recently did was playing with e-Mail clients. I usually used k9 but bbs gave me the impression that it wasted a lot of battery. I tried maildroid but I saw high counts as well. My routine after every Rom update was to delete e-Mail and Gmail apk's. So I had 2 Gmail accounts and 2 other IMAP accounts. My idea was to swap to Gmail and import my 2 others in 2 new Gmail accounts. So now I'm using 4 Google accounts in Gmail. My primary with syncing mail, contacts, gtalk etc. The others only syncing mails. 2 of them importing from my 2 external accounts.

Now I get the impression that was not a good idea and I even read that Gmail has high battery consumption. What do you guys think? What is the most power saving solution?

But here is my dumbfile :)

http://db.tt/BwoNQEc1

Sent from a mobile device
[BetterBatteryStats] peip:
Problems with wakelock

Hi everybody, I have some issues with a process called event0-1946, event1,2,3 and 4 too.

Do you know what could be?

I have 4.0.3 Samsung Rom and Kernel Apolo (it seems like phenomenal)

Thanks
[BetterBatteryStats] Karpfenhai:
That's the Android system server, means, if it has a high count, some internal process is the reason..

Tapatalked from my Samsung GT9100
[BetterBatteryStats] g4rvd4:
Hi all,

I've been noticing some rapid battery draining during standby on my SGS3, and was advised to post BBS dump here.

Doing that, would you be kind enough to help me out in solving the issue? I am completely new to this so don't even know where to start 'eliminating' wakelocks.

Thanks will be given for any and every helpful post. :)

Edit: Whoopsie, forgot the dump! :D
[BetterBatteryStats] Karpfenhai:
Just post your dump mate, there are several experienced users here who may help :cool:

But..read the OP with care and do it right.

Sent from my GT-I9100
[BetterBatteryStats] mchu6am4:
Hi...is there a layman's guide on how to interpret the results/information gathered by the app?
[BetterBatteryStats] chamonix:
The dupfile is incomplete, please check it for empty sections next time before uploading.

About mail I guess it's different for everyone but a rule of thumb would be that less accounts are better.

For me I found poll being better than push. The reason for that is pretty simple: the main advantage of push is that the overhead of connecting over and over again to check is eliminated by a keep-alive connection. Now I very often travel by train and my connection is less than stable during those intervals. That means the keep-alive fails a lot, causing reconnection overhead. Poll only connects at the configured interval ( > 30 minutes) and so causes less overhead
[BetterBatteryStats] chamonix:
'ps | grep 1946' will tell you what process it is waiting for an event. Coming release will resolve that automatically by merging the process list and decoding those eventX-YYYY entries (will require a lot of testing from your guys as I don't see/have those wakelocks)
[BetterBatteryStats] chamonix:
Have you alread tried those?: http://xdaforums.com/showpost.php?p=15869904&postcount=3
[BetterBatteryStats] chamonix:
The next release is coming closer and will require quite some testing from you guys. The main features are (besides bugfixes):

- network stats: I finally fixed issue #1 :D

- CPU states

- active monitoring / alerting for screen-off periods

I have to finish the last feature and hope to provide the first RC this week
[BetterBatteryStats] hyperN:
Battery drain on Galaxy S2 Silm + Fluxi

Hi I'v been advised to go to this tread and ask for help.

Recently I've flashed Slim and Fluxi, and I've noticed battery drain. It seems that wlan_rx_wake is causing it. I've tried this, but it didn't help:

Also when i left mobile over the night in morning I've noticed that event0-1850, event1-1850 etc. (to event7-1850) where active. What is that ? (google didn't help much).

All in all battery dropped for about 15% overnight.

During day was same story except, instead of "event0...7 - 1850", now "event0...7 - 1848" showed up.

Mobile during all this time was in deep sleep.

I've also attached BBS dump file
[BetterBatteryStats] chamonix:
Dealing with #2 or #3 makes no sense, you should focus on #1 and that is wlan_rx_wake.

First solution: turn off wifi when you are not using it and those wakelocks will disappear

Second solution: study this and find the cause with wireshark: http://xdaforums.com/showthread.php?t=1308030

Once that is resolved take another dump, if eventY-XXXX is still there do a 'ps | grep XXXX' in order to find the process waiting for events
[BetterBatteryStats] stuart0001:
I get this occasionally. A reboot fixes it but wondered if anything can be done to prevent it.

I'm on stock software
[BetterBatteryStats] hyperN:
Thanks for your answer, but please can you give me link on a tutorial or smth. which will show how to use wire shark in order to find problem. Thanks.
[BetterBatteryStats] CRXed:
I am using Fluxi kernel and this is what I see if I have taken the phone off the charger like a while ago.

See attachment.

Now 10 hours later, that vbus_present is still there.

My USB plug is perfectly fine, but BBS just remembers the time the phone was on the charger over night.

Any idea?
[BetterBatteryStats] kikian94:
thanks a lot
[BetterBatteryStats] selectah:
Okay, is the dumbfile maybe incomplete because I had Wakelock as % of time awake - time screen on? I don't know. I will try another one this night.

Poll would be not my thingy. I want (most) of my messages immediately, but thanks. But for train rides a push/poll toggle would be very interesting I guess.

Did you mean as less accounts as possible in any case or just as Gmail accounts in Android? What would be the most energy saving setting for 4 mail accounts? Is there a workaround?

Sent from a mobile device
[BetterBatteryStats] p107r0:
one simple solution would be to set your main gmail account (in the PC browser) to fetch mail from other accounts, don't remember where the setting to do that is, but it definitely works, few years ago I've set this up for most of my mails (including few non-gmail ones) and it works ok
[BetterBatteryStats] itm:
Wifi eating my battery?

I've been getting much worse battery life on my S3 than on my S2, having restored exactly the same apps (using Titanium Backup). I tried using Juice Defender but it didn't seem to be helping much, so following advice elsewhere on this post I disabled it.

My battery has lost 50% charge between just after midday and 11pm today, which is pretty poor considering the low phone usage (a couple of short incoming calls and a couple of texts). I've been at home all day, making occasional but not heavy use of it, and it has been within 15 feet of my wifi router pretty much all day.

I've had bluetooth disabled, as well as the Google location services. I haven't disabled GPS because I believe that it's only active when a specific app requests it?

I'm not sure how to interpret my log (it's attached), but it looks as if wifi has been consuming most of the power. Is that correct? If so, would it have been a better idea to leave Juice Defender enabled, as I understand that it's default setting is to disable wifi and re-enable it at regular intervals to sync, check email etc?
[BetterBatteryStats] brainwash123:
I'm seeing pretty high numbers for the Kernel Wakeups -> spi_tty_wakelock.

I'm using Razr with 4.0.4, there is no option for Call TTY, I have seen something similar but it is disabled.

Could be something like /dev/tty, but I have no idea what triggers it.

I will try to get logs with the device completely asleep, but I get the same result, this process does not seem affected by the time the device spends awake.

7 h standby with 1h screen on:

================
Kernel Wakelocks
================
"spi_tty_wakelock" (): 34 m 7 s (2047 s) Cnt:(c/wc/ec)743/0/743 8.2%
"PowerManagerService" (): 7 m 4 s (424 s) Cnt:(c/wc/ec)3156/0/0 1.7%
"alarm_rtc" (): 5 m 10 s (310 s) Cnt:(c/wc/ec)475/0/163 1.3%
"bpwake" (): 2 m 55 s (175 s) Cnt:(c/wc/ec)414/15/414 0.7%
"uart_wake_lock" (): 2 m 26 s (146 s) Cnt:(c/wc/ec)530/4/530 0.6%
"vril-moto-dlst-atcmd" (): 1 m 44 s (104 s) Cnt:(c/wc/ec)2861/0/0 0.4%
"suspend_sync" (): 32 s (32 s) Cnt:(c/wc/ec)5072/0/0 0.1%
"alarm" (): 31 s (31 s) Cnt:(c/wc/ec)1228/334/0 0.1%
"radio-interface" (): 29 s (29 s) Cnt:(c/wc/ec)131/0/0 0.1%
[BetterBatteryStats] Karpfenhai:
Cmon man, that was not to hard to find..:D

Spi_tty is a part of the Motorola modem driver implementation, i think it indicates active data traffic.

On Samsung this wakelock is called multidpd.

if you try to go on flight mode, use wlan or disable data network, the wl should be gone, please proof.

Good luck!

Tapatalked from my Samsung GT9100
[BetterBatteryStats] #illidan:
Well it wasn't carat as the networkstats wake lock came back again. I disabled juice defender & 3g watchdog like you said & did a bbs dump. Hope it helps cause I can't seem to figure out what is causing it & there its driving me insane.
[BetterBatteryStats] g4rvd4:
Some help please? I'm not getting good standby times.. :(
[BetterBatteryStats] brainwash123:
Sorry, I was not able to find this information using the search function nor google search. Thanks for the input.
[BetterBatteryStats] selectah:
Which wouldn't be my Intention since I put effort in seperating social/anonymous accounts from work/uni accounts and so on. So in my case I guess it would be Best to swap to k9 or maildroid again and having one Gmail for all Android stuff. But maybe I try one merged Account vs. My old setting.

-Can someone tell facts about about battery consumption comparison between the apps with comparable settings? (gmail/maildroid/k9)

-Any General battery related advantages between them known here?

Sent from a mobile device
[BetterBatteryStats] chamonix:
Drop JD and report a reading please.
[BetterBatteryStats] chamonix:
JD ist still running:

com.latedroid.juicedefender (): Wakeups: 6

Check your setting, make sure it's off and report a reading
[BetterBatteryStats] foosion:
The problem seems to be the native SIP application in ICS. When I turn off the ability to receive SIP calls, battery usage drops.
[BetterBatteryStats] :
How to do that mate? I don't use it anyway...

Sent from my SGS2 - SlimICS Rom & Fluxi Kernel
[BetterBatteryStats] foosion:
For ICS: Phone App - three dots menu - settings - internet call settings - accounts - receive incoming calls check box.

There's a warning that it "reduces battery life" that is worth noticing.

I believe there's a similar setting in GB. Also apps such as sipdroid
[BetterBatteryStats] itm:
I already dropped JD before uploading the log.
[BetterBatteryStats] dyskinesia:
USB kernel locks

Cannot find this one.

Kernel lock is eating battery: "usb"
[BetterBatteryStats] dyskinesia:
Too early to tell but I found "usb" listed as a process started at boot.

I killed it via autostarts app. Fingers crossed
[BetterBatteryStats] brainwash123:
It usually means that the USB cable is connected.
[BetterBatteryStats] dyskinesia:
But not in this case. No usb connected.
[BetterBatteryStats] bradwdx:
I'm having a similar issue with a us tmo sgs3 running rooted stock. BBS was working fine for almost a week up until about yesterday. I did recently attach a bluetooth device, but i still get "The 'batteryinfo' service could not be accessed" even with bluetooth off.

Here's the logcat from system tuner pro:

E/18:27:11.993 Unknown StatType 1. No reference found
I/18:27:12.374 invoking android.os.ServiceManager.getService("batteryinfo")
I/18:27:12.374 invoking com.android.internal.app.IBatteryStats$Stub.asInterface
E/18:27:12.384 An exception occured in BatteryStatsProxy(). Message: Need BLUETOOTH permission: Neither user 10236 nor current process has android.permission.BLUETOOTH.
D/18:27:12.434 ion: Mapped buffer base:0x5d063000 size:491520 offset:0 fd:49
D/18:27:12.534 ion: Mapped buffer base:0x5d175000 size:630784 offset:0 fd:68
E/18:27:12.544 substractFromRef generated negative values ("msm_ipc_read" [ (0 s) Cnt:(c/wc/ec)-3172/0/0 0.0%] - "msm_ipc_read" [1 s (1 s) Cnt:(c/wc/ec)44/0/0 0.0%])
E/18:27:12.544 substractFromRef generated negative values ("msm_ipc_read" [ (-14 s) Cnt:(c/wc/ec)2508/0/0 -0.2%] - "msm_ipc_read" [15 s (15 s) Cnt:(c/wc/ec)1291/0/0 0.1%])
E/18:27:12.544 substractFromRef generated negative values ("msm_ipc_read" [ (-16 s) Cnt:(c/wc/ec)-870/0/0 0.0%] - "msm_ipc_read" [1 s (1 s) Cnt:(c/wc/ec)44/0/0 0.0%])
E/18:27:12.544 substractFromRef generated negative values ("msm_ipc_read" [ (-15 s) Cnt:(c/wc/ec)-4573/0/0 0.1%] - "msm_ipc_read" [1 s (1 s) Cnt:(c/wc/ec)3334/0/0 0.0%])
E/18:27:12.554 substractFromRef generated negative values ("power-supply" [ (-6 s) Cnt:(c/wc/ec)-1572/0/0 -0.1%] - "power-supply" [6 s (6 s) Cnt:(c/wc/ec)1582/0/0 0.0%])
D/18:27:12.564 ion: Unmapping buffer base:0x5d0db000 size:630784
D/18:27:12.664 ion: Mapped buffer base:0x5d99b000 size:3768320 offset:0 fd:65
D/18:27:13.585 ion: Unmapping buffer base:0x5d063000 size:491520
D/18:27:21.974 ion: Unmapping buffer base:0x5dd33000 size:3768320
E/18:27:22.494 Activity com.asksven.betterbatterystats.StatsActivity has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView@41c653a0 that was originally added here
E/18:27:22.494 at android.view.ViewRootImpl.<init>(ViewRootImpl.java:437)
E/18:27:22.494 at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:215)
[BetterBatteryStats] virus786:
Just a quick question.

I have a sgs2, what is the dialler code to disable HSDPA+ and rather to only use 2G/3G?

Thanks

EDIT: nvm, found it. For those curious it is: *#301279#
[BetterBatteryStats] xelra:
You're doing it wrong.

You're supposed to use one account with filters and labels.
[BetterBatteryStats] kami2k:
what is surfaceflinger, alarm_rtc, alaram and event2-987? thx
[BetterBatteryStats] mahercs:
I am not 100% on the others, but in researching surfaceflinger, I think it has to do with the touchscreen process. Every time you touch the screen, surfaceflinger is used. With ICS recently installed, it's always at the top of my wakelocks.

Please, if I'm off, the experts here should correct me.
[BetterBatteryStats] lesnaej16:
Close Ur Wifi-Turn it OFF...

force stop facebook on settings>application>manage services...

Setting>Background Data Traffic>disable

Try it...
[BetterBatteryStats] Tungstwenty:
surfaceflinger is for screen drawing, buffers, etc.

alarm_rtc is for the service that handles when the device should wakeup to perform certain things in the future (not to be confused with the alarm clock)

event?-nnn is something related with the user process with pid nnn. You can check with "ps | grep 987" in a terminal, but have in mind that the numbers change every time you reboot.
[BetterBatteryStats] lesnaej16:
setting>background data traffic>off

you are using so much browser...

facebook and twitter... always on background...

close it whenever ur not using it...put widgets on ung homescreen

hope i may help u

---------- Post added at 02:34 PM ---------- Previous post was at 02:29 PM ----------

Settings>ACcount & SYnc>disable

Settings>Applications>Manage>Force Close the Facebook if ur not using IT...

also disable the GPS locator,hope it may help you

---------- Post added at 02:54 PM ---------- Previous post was at 02:34 PM ----------

how would my phone goes to deep sleep if i dont have 2x battery saver???

i try to uninstall it but when i sleep for 7hours,my battery drains from 55% to 25% :(
[BetterBatteryStats] itm:
Sorry I'm being dumb but I can't find this option in the (stock) settings menu???
[BetterBatteryStats] chamonix:
Thank you for the feedback. I don't know why that permission would be required but I'll release a version with that perm set for you to test.
[BetterBatteryStats] chamonix:
Because those are not saving battery but just hiding the real problem. Turn them off and provide another reading or leave them on but I won't be able to help you. It's up to you...
[BetterBatteryStats] chamonix:
That reading makes no sense to me. If your phone was plugged to the charger at the point in time you took the reading it is useless. If on the other hand the phone was unplugged your kernel still believes it is plugged in:

- either you have something stuck in the plug or

- the kernel you are using has a bug
[BetterBatteryStats] chamonix:
Since 4 h 15 m 28 s
Deep Sleep (): 3 h 58 m 50 s (14330 s) Ratio: 93.3%
Awake (): 16 m 38 s (998 s) Ratio: 6.5%
Screen On (): 3 m 45 s (225 s) Ratio: 1.5%

11 min awake (16 -3 -2) in 4 hours is pretty decent.

================
Kernel Wakelocks
================
"multipdp" (): 8 m 21 s (501 s) Cnt:(c/wc/ec)78/0/77 3.3%

The main reason for those 11 minutes awake are data traffic. Now the next version of BBS will make your life easier on finding out the reason but here are a few things for you to check:

- I see social hub is running. If you are not using it freeze it

- you have an enterprise VPN service running. Was it active in those 4 hours (VPNs tend to cause quite some traffic and keep-alives)
[BetterBatteryStats] Terminator19:
Hey, thanks for this app, I was just wondering what the "tpd" process is though as you can see below it is using a fair bit of battery life up:

At first I thought it was twitter (despite everything related to it being disabled) and someone replied back to me with this:

And I just checked there and this is what comes under "android system":

As well as system UI being listed there.

So any ideas? :)

Mobile is HTC one S, stock ROM and not rooted.
[BetterBatteryStats] araje:
Hello friends,

I charged my phone fully before sleeping and took a dump of bbs log. I tried to take care of some obvious settings that were causing wake locks by reading this forum, but still I am relying on your expert help to nail it down.

Attached is the bbs log. Can you please help me. http://db.tt/CSFZJIAz

Thanks

Anup
[BetterBatteryStats] #illidan:
My bad! The last time I didn't freeze the jd unlocker so I guess that's why it was still active. Got that done now & I'm posting the dump if it's any use because the good news is networkstats is back to normal for last night atleast but I will have to see if it crops up again. So it was because of jd that I was getting the wakelock.
[BetterBatteryStats] mark wild:
Hi... Can I have some suggestions for better battery life?

Hi... I use your app to monitor my battery, that is suffering a massive drain in ANDROID OS. Can you give me some advice, what can I do, and maybe suggest a modem for me?

View attachment BetterBatteryStats-2012-07-04_083915402.txt
[BetterBatteryStats] chamonix:
Data traffic, lightflow and go weather are your main concerns
[BetterBatteryStats] chamonix:
Perfect!
[BetterBatteryStats] chamonix:
Your main problem is caused by exchange mail (awake, wakeups). That's the only thing I can see in this reading as it was a pretty mixed use with audio playing while screen off and audio streaming.

Once you fixed exchange/mail I recommend posting a reading without wifi and after leaving your phone alone for 3-4 hours. Once you got that tweaked you can go on and tune real life scenarios
[BetterBatteryStats] selectah:
Here a dumbfile I ran over night.

Is there anything suspicious to see. Can I optimize something.

Some questions:

-Why is nfc always running. I've set it off

-No or Unknown Signal = 100% ????

-Wtf is Audioout2&3. Is that neccessary over night ?

-Why is maps service running over night. What do I have to disable ?

-Is Kernel wakelocks okay ?

thx guys
[BetterBatteryStats] Karpfenhai:
You need to worry about Facebook and gtalk, all other looks good.

Use friendcaster instead.

Tapatalked from my Samsung GT9100
[BetterBatteryStats] adhir_g2007:
What's the problem in my phone :(

What can I do to save my battery ? any suggestions ?
[BetterBatteryStats] araje:
Thanks Chamonix.

Data - yea I am a little heavy on that one.

But I went beserk with LightFlow. Will try to cut it off.

Let me change GoWeather to 6hrs once.

Thanks a lot.
[BetterBatteryStats] selectah:
The problem is that all 3rd party apps I tried for facebook don't show everything. Plus fb app still looks best to me.

Gtalk I don't know what to do else. I've set up transports for fb, aim, icq and msn. Isn't it the most battery saving method to use Gtalk for all these messengers. I could live with using only fb messenger. Is that app better than Gtalk ?

But why is nfc and maps there over night ?
[BetterBatteryStats] suprabhathalder:
I'm currently on RRv2.5.2 (primary) and ParanoidAndroid 1.5... In the primary ROM, I've noticed that there's considerable battery drainage... I've been informed that you guys are the best expertise on this matter... I've attached the BBS log from today... Can you guys please help me overcome this problem???
[BetterBatteryStats] Memphisto11:
Thank you for your analysis.

Is Titanium Backup the best app for freezing?

My company mail is running on gmail and I am required to install Google Device Policy before I can access it.

Could this be the cause of the enterprise VPN service running?

Really appreciate your help. I am now 68 hours since unplugged at 34%. :good:
[BetterBatteryStats] SilverASH:
This is my dump file. Please have a look and give me opinion on what i can do.

I uploaded 2 different dumps. WiFi and 3g were swiched off and no facebook was running. Automatic sync is turned off too.

And what is this *Vibrator* in this dump file?

Thanks.
[BetterBatteryStats] Karpfenhai:
No need for flowers, we are rude bastards :P

Disable all location based services, they are your main issue!

Prevent maps from autostarting , get Autostarts from market and set

ALL

entries under maps to disabled, dont worry, maps will work anyhow.

Post a fresh dump after this measures.

regards.

---------- Post added at 05:50 PM ---------- Previous post was at 05:45 PM ----------

Hey there, its not too bad, disable unnecessary sync like contact sync, do you really need this? do it manually once a day, should be way enough.

this plus your music consumed the most time awake.

The second reading looks much better, only facebook and maps are visible.

good luck!
[BetterBatteryStats] P.Mobile:
ok.. i just wanted to know like what to look for.. whats good whats bad and whats normal?? can someone school me quick :o:confused:
[BetterBatteryStats] SilverASH:
Thanks, I thought it's not bad, just needed expert opinion :D

But tell me where do you see maps? Facebook yes, but maps?

And i disabled contact sync.

Thanks, again :p
[BetterBatteryStats] Karpfenhai:
right under Facebook, only 8 times but in 2 hours, thats a wakeup every 15 mins, maybe autostarts can help with this ;)
[BetterBatteryStats] SilverASH:
I think I was blind :D
[BetterBatteryStats] Karpfenhai:
As a quick shot, i would disable battery monitor widget, second mobile Bible, third, you have a lot sync activity, not only the time its important, also the total count, many many wakeups, try to decrease the sync interval.

good luck!

Tapatalked from my Samsung GT9100
[BetterBatteryStats] kami2k:
for sms notification and call alert use vibrate only, other its good same goes for steve austin
[BetterBatteryStats] chamonix:
How about reading to how-to?