yashsingh1/xdaforums huggingface dataset:
[BetterBatteryStats] xelra:
It's definitely Bluetooth. Check more thorough.
[BetterBatteryStats] Miche1asso:
bcm_sdhc.3 issue FIXED

For future references (i couldn't find ANYTHING in Google) It seems I have fixed the problem. My SD card was formatted FAT32/EXT2 (for Link2SD). I tried with my original 2GB Micro SD and I had the following results:

- 1 FAT32 partition: the phone went in deep sleep. bcm_sdhc.3 activity wasn't noticeable.

- FAT32/EXT2 partition: bcm_sdhc.3 was awake 80-90% of time (but only when the display was off)

- FAT32/EXT3 partition: the phone went in deep sleep. bcm_sdhc.3 still on top of the kernel locks list, but at a minimum.

So I have backed up my 16GB MicroSD, repartitioned it, reformatted as FAT32/EXT32, restored the content from the Mac. The issue mostly disappeared and the phone does go into deep sleep immediately.

Obviously Android didn't recognize half of the restored applications, and restoring them with App Manager I get success while they instead go into oblivion, but that's another story.. (God if I *HATE* Android and anything Linux related!!!).
[BetterBatteryStats] Ravermichl:
Hi,

i installed your great program and locked at the wakelocks. i found out, that after 6h of leaving the phone alone it was almost 20 minutes awake!?

but i can't really figure out whatever is causing it, also AlarmManger is awage really often!?

So i attached this dumpfile. Maybe someone can help me :)
[BetterBatteryStats] Karpfenhai:
Get rid of battery monitor widget!

That's it, nothing else to improve.

:D

Tapatalked from my Samsung GT9100
[BetterBatteryStats] Ravermichl:
thank you so far, but are you sure its the only reason? what about alarmmanager counts?

i added the alarmdump.txt.
[BetterBatteryStats] boldo:
Thks!!!!
[BetterBatteryStats] billab0n6:
Anyone able to help have a look?
[BetterBatteryStats] p107r0:
I'm starting to doubt, whether BMW is really a hard battery eater,

have it set to monitor every 5 minutes, no widget on homescreen, only mA icon in notification bar, and the effects on my device seems to be negligible: the recorded current in standby is (usually) below 10-20mA, and the alarm count moreless corresponds to time/5...
[BetterBatteryStats] Karpfenhai:
Its everyones choice...

but this tool is useless (imho) It only helps to get users more obsessed ;)

Lets do a simple calculation:

6 hours and 12 mins = 372 minutes vs. 375 !!! Wakeups from BMW

For me it seems bmw is waking up the phone every minute! (Michiraver)

So the phone jumps from deepsleep to 200 Mhz every minute, this costs battery..

I heard some users are happy by changing the refresh rate..

Conclusion, measuring the ma rate produces an active wakelock, if you can life with that, no big deal, but users are reading and posting in this thread b/c they wanna know what consumes their battery, so its quite normal to tell them what can be disabled/frozen/deleted/uninstalled, but the choice whether they will follow or not, is up to them ;)

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

Mate.. please grant SU access to BBS and provide a fresh

IDLE

Dump afterwards.

Thx!
[BetterBatteryStats] sahirs:
Hmm. I was traveling and had it on flight mode for the last few days, and obviously the battery lasted 3 days!

I don't have any third party backups installed - only the default Android "backup my device to Google". I'll disable that to see if it gets better without it.

Thanks,

Sahir
[BetterBatteryStats] coolbry95:
Does anyone know what BTlowpower is? Its the first time i have seen it.
[BetterBatteryStats] omron2010:
Please look at my dump

Here is my dump. My awake ratio is 37,6% :( PowerManagerService and wlan_rx_wake are big contributors under kernel wakelocks section as far as I can tell. Maybe there is more going on. I hope somebody can scan my complete log to give me some advice.

*wifi* (Android-systeem): 2 h 17 m 43 s (8263 s) Count:236 27,6%

"PowerManagerService" (): 2 h 18 m 5 s (8285 s) Cnt:(c/wc/ec)738/0/0 27,6%
"wlan_rx_wake" (): 57 m 36 s (3456 s) Cnt:(c/wc/ec)3450/0/3450 11,5%
[BetterBatteryStats] TheeWolf:
Hi,

I have been monitoring my battery stats during nights the last few days.

looking at the battery usage in the settings, I see that my phone was awake at some times. Looking at the dump file, I see it has been awake, though not for too long.

My battery consumption has been minimal (3% over the night, 7 hours), but I want to know what is the reason my phone is awake and how I can disable it.

I disabled Google location services, disabled sounds, no battery monitoring widget, of course no WIFI, Data, etc...

You can see that under wakelocks, some services have a high number of counts, for example:

ConnectivityService (Android System): 29 s (29 s) Count:339 0.1%

AlarmManager (Android System): 16 s (16 s) Count:338 0.1%

*backup* (Android System): 2 s (2 s) Count:99 0.0%

SyncLoopWakeLock (Android System): 1 s (1 s) Count:366 0.0%

Are those wakelocks the reason for the phone being awake?

Again, I know that 3% over the night is fine, but I feel that during the day my battery consumption is pretty high (about 1% every ten minutes or less with WIFI on and just texting or something), and I'm using a ROM that many are appreciating for having a good battery life (combined with the kernel I'm using), I've chosen a governor (SmartassV2) that should be battery friendly, not to mention I'm using a new battery (Anker, 1800mAh, used less then a week).

Thank you for your help.
[BetterBatteryStats] primoberti:
Hi all,

I have been observing some battery fluctuations in my one month-old Galaxy Nexus, and I'm not sure who's to blame. Following a friend's advice I installed BetterBatteryStats to see what was happening.

After a day of light use, this is what I got:

No Data Connection (): 23 h 14 m 43 s (83683 s) Ratio: 97,3%
No or Unknown Signal (): 23 h 14 m 43 s (83683 s) Ratio: 97,3%
Deep Sleep (): 18 h 3 m 40 s (65020 s) Ratio: 75,5%
Wifi On (): 17 h 29 m 47 s (62987 s) Ratio: 73,2%
Wifi Running (): 17 h 29 m 44 s (62984 s) Ratio: 73,2%
Awake (): 5 h 50 m 20 s (21020 s) Ratio: 24,4%
Screen On (): 2 h 32 s (7232 s) Ratio: 8,4%
Phone On (): 19 s (19 s) Ratio: 0,0%
Good Signal (): 16 s (16 s) Ratio: 0,0%

Mind you, my Galaxy Nexus has seen worse days, but still I though the difference between the ScreeOn (8,4%) and Awake (24,4%) ratios would be significant enough to see if anything out of the ordinary was happening. I have attached the complete dump (no alarms, my phone is not yet rooted).

Does anybody see any problem here? Or am I worrying too much?

Thanks!
[BetterBatteryStats] xelra:
Bluetooth
[BetterBatteryStats] mikeage:
Apparently, Purdue will be coming out with a paper describing apps that misuse wakelocks (and an automated tool for detecting them via static analysis).

I wonder if the buggy apps they name will be a surprise to anyone here ;)

http://www.purdue.edu/newsroom/research/2012/120613HuSmartphoneBugs.html
[BetterBatteryStats] ivAnash:
Anybody know what the activity name for this app is??
[BetterBatteryStats] darowen:
may I have your help to view my dump?

recently I have been research about my battery life for my galaxy note,

previously full charged can stand 24 hours, now only about 12 hours...

have tried to format, yet still the same.

brightness set to 15%

wifi always on, close wifi network notification

sync off, auto update off

please help help me,I don't know study the bbs state and don't know how to solve it
[BetterBatteryStats] cdmackay:
Would anyone be able to explain the following, edited extract, please? [full log attached]

===================
General Information
===================
BetterBatteryStats version: 1.8.1.0
Creation Date: 2012-06-19 17:10:21
Statistic Type: (3) Since Unplugged
Since 7 h 4 m 30 s
VERSION.RELEASE: 4.0.4
BRAND: Samsung
DEVICE: GT-N7000
FINGERPRINT: samsung/GT-N7000/GT-N7000:4.0.3/IML74K/ZCLP6:user/release-keys
HARDWARE: smdk4210
ID: IMM76L
RADIO: N7000XXLA4
Rooted: true
===========
Other Usage
===========
Deep Sleep (): 19 h 32 m 32 s (70352 s) Ratio: 46.8%
Wifi On (): 7 h 4 m 30 s (25470 s) Ratio: 100.0%
Wifi Running (): 7 h 4 m 30 s (25470 s) Ratio: 100.0%
Awake (): 1 h 49 m 9 s (6549 s) Ratio: 25.7%
Screen On (): 20 m 58 s (1258 s) Ratio: 4.9%

================
Kernel Wakelocks
================
"vbus_present" (): 9 h 9 m 59 s (32999 s) Cnt:(c/wc/ec)6/0/7 22.0%

How can Deep Sleep time be almost three times longer than actual monitored period?

And as this is a "Since Unplugged" dump, why do I see "vbus_present", which I thought was related to charging?

thanks much indeed...
[BetterBatteryStats] shinyfong:
Guys i need your help i do not know what is happening to my phone

Since Unplugged

Since 2 h 35 m

Awake (): 2 h 35 m 28 s (9328 s) Ratio: 100.0%

Good Signal (): 2 h 32 m 10 s (9130 s) Ratio: 97.9%

Screen On (): 1 m 56 s (116 s) Ratio: 1.2%

below is my full log

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

General Information

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

BetterBatteryStats version: 1.8.1.0

Creation Date: 2012-06-20 05:12:34

Statistic Type: (3) Since Unplugged

Since 2 h 35 m 28 s

VERSION.RELEASE: 4.0.4

BRAND: google

DEVICE: GT-N7000

MANUFACTURER: Samsung

MODEL: GT-N7000

BOOTLOADER: unknown

FINGERPRINT: google/yakju/maguro:4.0.4/IMM76I/330937:user/release-keys

HARDWARE: smdk4210

ID: IMM76I

TAGS: release-keys

USER: liquid

PRODUCT: GT-N7000

RADIO: N7000XXLPT

Rooted: true

===========

Other Usage

===========

Awake (): 2 h 35 m 28 s (9328 s) Ratio: 100.0%

Good Signal (): 2 h 32 m 10 s (9130 s) Ratio: 97.9%

Screen On (): 1 m 56 s (116 s) Ratio: 1.2%

=========

Wakelocks

=========

AlarmManager (Android System): 59 s (59 s) Count:372 0.6%

My Tag (com.androidlab.gpsfix.GpsFix): 52 s (52 s) Count:2 0.6%

RILJ (Phone): 24 s (24 s) Count:935 0.3%

FacebookService (com.facebook.katana.Facebook): 18 s (18 s) Count:4 0.2%

AudioOut_1 (1013): 10 s (10 s) Count:4 0.1%

NetworkStats (Android System): 9 s (9 s) Count:72 0.1%

sleep_broadcast (Android System): 5 s (5 s) Count:4 0.1%

Checkin Service (Google Services): 4 s (4 s) Count:28 0.0%

NetworkLocationLocator (com.google.android.apps.maps.Maps): 2 s (2 s) Count:3 0.0%

ActivityManager-Launch (Android System): 2 s (2 s) Count:77 0.0%

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

Kernel Wakelocks

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

No reference since unplugged set yet (): (0 s) Cnt:(c/wc/ec)1/1/1 100.0%

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

Alarms (requires root)

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

No reference since unplugged set yet (): Wakeups: 0

i think i realized i never check the kernel wavelock box, i will re do it again, but from this log, can anyone tell me why my phone is awake all the time? thanks
[BetterBatteryStats] chamonix:
Power Manager: https://github.com/asksven/BetterBatteryStats-Knowledge-Base/wiki/PowerManagerService
[BetterBatteryStats] chamonix:
What I was referring to is that third party apps can use google's backup by implementing a simple interface. That means that google backup will call that app and let it back up its data to the clound. Now if any app is doing stuff that doesn't comply to the standard it may theoratically result in something like your problem
[BetterBatteryStats] chamonix:
That is bluetooth. If you see that wakelock it means a bluetooth connection was held
[BetterBatteryStats] chamonix:
That's a quite old version of BBS. Please update and provide a new dump as newer version contain much more details
[BetterBatteryStats] shinyfong:
Could someone help me? I don't know what's keeping my phone awake ):
[BetterBatteryStats] Karpfenhai:
Check processes under BBS and provide a complete Dump ... :confused:
[BetterBatteryStats] shinyfong:
How do I do it sorry I'm noob
[BetterBatteryStats] atrix4nag:
My BBS dump

Please find my attached dump, and let me know, If I need to do anything..

Awake (): 1 h 3 m 11 s (3791 s) Ratio: 7.6%

Screen On (): 35 m 55 s (2155 s) Ratio: 4.3%

is this a problem?
[BetterBatteryStats] atrix4nag:
in BBS menu>more> dumpt to file.

This action will save dump file on your sdcard folder. with name BetterBatteryStats-YYYY-MM-DD_Time.txt
[BetterBatteryStats] omniwolf:
BBS sometimes doesn't work

Hi Chamonix,

Thanks for a great app

Occasionally I get this error:

The thing is - i'm not running MIUI. I'm runnign Wanamlite v12 - it's a samsung ROM (LPG).

There doesn't seem to be any way to predictably reproduce it, I've had about 3 different kernels and it happens regardless of that.

Any ideas what it could be?

Thanks!
[BetterBatteryStats] fallenwout:
Can someone check my log file? No hurry

My phone seems to be awake a lot.
[BetterBatteryStats] omron2010:
Here is some extra info. I used Shark to monitor my network traffic. I see lots of SSDP traffic on IPv6 and IPv4 as well (mainly IPv6 :confused: ). If you need more info, let me know. Really curious what could be causing my battery drain.
[BetterBatteryStats] lafila:
BBS Dump

Hi there, I'm new here at the xdadevelopers forum, but i have a problem with two kernel wakelocks which are overdimensionized taller than the other ones.

The first one is called "multi_pdp" the second one "dpram".

This measure took place in the night with deaktivated Wifi and activated packet data (GSM only).

By the way, do you think 7% battery usage is ok for 9 1/2 hours idle with activated packet data?

I'll be glad for any help @ this problem.
[BetterBatteryStats] Karpfenhai:
Hey there, your phone itself behaves pretty good, its the network which causes the drain!

Go for another modem / baseband, which is known for good reception.

Switch to 2g only if possible.

Good luck!

Tapatalked from my Samsung GT9100
[BetterBatteryStats] Sincitybronze:
Interesting. I got the same message this morning for the first time. I'm on Slim ROM.
[BetterBatteryStats] Ravermichl:
Hey ..

after using shark i found out, that my router is constantly sending igmp to the phone or i find pakets comming from 192.168.2.100 (my desktop computer ) to 239.255.255.255 (??). how is it possible that i find these on the shark logger in android !? also there are comming lots of packages from 192.168.2.1 to 244.0.0.xxx (any number).

turning wifi of, the problem is gone ?

i think this is where wlan_rx_wakes come from! what to do about that? its really anoying !?

/edit: after turning of my desktop pc the packages dropped rapidly and after turning it on again the raised high !

so i turned of igmp under windows 7 and will see if it works.

but i couldn't find out how to turn it of in android. seems to be kernel related and im not an expert on this. but many people have this wlan wake issue and i think a dev could diable igmp very easily ... can someone report that? i don't know how to do it ;)
[BetterBatteryStats] jago25_98:
Please forgive me but searching for "E" and "M" in this thread hasn't proved possible and I'm only on page 300 of 500.

What are:

- E

- M

?

Ideally we need to change the Dalvik VM to intercept and tell us where the wakelocks are coming from.

Very rough notes I've added to wiki. These need to be cleaned up:

-j
[BetterBatteryStats] shinyfong:
This is my dump file have a look and give me opinion on what i can do thanks!
[BetterBatteryStats] Karpfenhai:
6 Mins out of 5 hours is quite perfect, the rest is related to network, nothing to worry about! ;)

Enjoy your Smartphone!
[BetterBatteryStats] xelra:
It's a problem with your PC, not your phone. Your phone is supposed to answer requests.

Firewalling something off always comes at a loss of functionality.

Best solution is to solve the problem at its root.
[BetterBatteryStats] killian32:
Can anyone help me to understand why Awake time is so high (about 25%) ?
[BetterBatteryStats] nehalem176:
Hi guys,

need confirmation here with this process: com.google.android.gsf.gtalkservice.service.GTalkService

currently i just logged out gtalk then freeze it. after that, i manually disable process for gtalk with the apps names, autostarts. my playstore working without any issue. my hesitation, is this process required for those apps that have .c2dm or any push service?? im kinda lost here. can i completely get rid this process or alternatively can i minimize usage for this process?
[BetterBatteryStats] atrix4nag:
My BBS dump

This is my todays BBS dump.

Do I need to anything to improve my battery life, Please suggest.
[BetterBatteryStats] kpm197:
Thanks. I switched to 2g only and it used 15% in 6 hrs standby. Still pretty poor. I'll have a look at another modem/baseband. I don't know where to start with that but I'm sure google will help :)
[BetterBatteryStats] gaui:
Your main problem is Battery Monitor Widget

Your main problem is auto sync and Facebook (cr)app
[BetterBatteryStats] atrix4nag:
So my next steps should be remove auto sync from Accounts & sync.

And what about facebook? I need to completely remove it?

or any other options? Once again thanks for your help.
[BetterBatteryStats] Karpfenhai:
Just use friendcaster instead :)

Tapatalked from my Samsung GT9100
[BetterBatteryStats] chamonix:
I definitely should change that error message. The error is caused by the batteryinfo service not responding and I have no clue of the reason. It all started with MIUI but since then I have tested in on MIUI and it works great. What device are you using?
[BetterBatteryStats] chamonix:
You dump is incomplete. Please follow the instructions of the first posts and make sure all info is there before posting
[BetterBatteryStats] chamonix:
Still the same: half of the awake time is caused by packets waking your device.
[BetterBatteryStats] chamonix:
Multipdp is caused by apps sending/receiving data, I could trace back dpram to a Onedram Device Driver by samsung. You should definitely take that dpram wakelock to your kernel thread
[BetterBatteryStats] chamonix:
multipdp (data traffic) was the main cause of awake during that period. It could be anything between bad connection, an app syncing pictures etc.
[BetterBatteryStats] chamonix:
Nothing, your phone sleeps like a baby. Enjoy it!
[BetterBatteryStats] chamonix:
fahrbot.apps.blacklist (): Wakeups: 1213

Thats a wakeup every minute!!! What is that app? do you need it? it that behaviour based on settings? if no get rid of it!
[BetterBatteryStats] Memphisto11:
Galaxy Note

Hi all, I joined this forum hoping to resolve the "mystery" of random depleting of my Galaxy Note battery life on stock ICS rom. My battery can last 3 days longest and gone as fast as within a day.

After doing lots of reading up on the many different ways to save battery life e.g. tons of power saving apps, flash with franco kernel...etc, I thought it will be good to understand what is causing all these random draining of power.

I was initially using CPU Spy to check if my phone is going to deep sleep as it should, but it does not give me the details of what is keeping my phone awake. Until I came across BBS yesterday and decided to give it a try.

The dump file and screen shots I have provided is based on 6 hours sleeping time. I restarted the phone before turning in.
[BetterBatteryStats] atrix4nag:
Downloaded, let me see how it works. uninstalled facebook..
[BetterBatteryStats] chamonix:
Assuming the cause is always the same the mystery is solved:

*backup* (Android System): 6 h 31 m 41 s (23501 s) Count:342 85.4%

The google cloud backup keeps your phone awake. Is see two possible reasons:

- the service is overloaded or degraded

- one app using the backup extensions is misbehaving

My tip: if you have an offline backup like titanium turn the cloud backup off
[BetterBatteryStats] Memphisto11:
Thank you for the advice!

I unchecked "Back up my data" and monitor for a while but my phone still does not go into deep sleep.

Is there any other thing I need to do?

I only have BBS, WhatsApp, Instagram, Dolphin Browser, CPU Spy and Flash player installed apart from the stock apps.

The reason why I mentioned random is because sometimes my phone can go into deep sleep but the power still depletes unusually fast.

This is where your brilliant app will come in handy to catch the problem causing wakelock.
[BetterBatteryStats] omniwolf:
sorry, for some reason i assumed this app was only for my phone, silly me.

I have a samsung galaxy S II

seems to have only started doing this recently - maybe on my latest ROM.
[BetterBatteryStats] sianzb0i:
how or where shld i start troubleshooting?

I undervolted, froze apps etc and there are still so many wakelocks. i do not know where are these processes linked to. is there sth like a database to refer to??

Can anyone help me to start?
[BetterBatteryStats] MyLifeRocks10:
In first Page there are some links or better post ur complete log here.
[BetterBatteryStats] sianzb0i:
i will do a charge and discharge for about few hours b4 posting the logs. ;) thanks!
[BetterBatteryStats] rebar71:
I found the partial wake lock MAILSERVICE_PWR_LOCK to be keeping my phone awake at least 60% of the time it should be in deep sleep.

removing the HTC mail widget from my home screen has cured this. does anyone know if this wake lock can be fixed another way? i can live without the widget, but i used it a lot. the behavior doesn't make sense to me as the widget doesn't even update until you access the home screen that it lives on.
[BetterBatteryStats] chamonix:
No there is nothing else do do but you may need to reboot as ungoing activities will not be interupted when you disable the service
[BetterBatteryStats] chamonix:
This behavior is a pain and is not related to custom ROM even if I was never able to reproduce it myself, on stock or on a ROM.

Unfortunately I don't have an S2 for testing but I would be happy if someone could point me to a Nexus S, TS101 or GNex ROM having the problem, preferably in a reproduceable way
[BetterBatteryStats] MattRob:
Hello, still having trouble with my Galaxy S2. In the past I could make it till the end of the day, since most recent ROMs I hardly make it 7 - 8 hours a day. I have a spare battery, and it is difficult to make it through the day with two batteries. I do not think it is the Resurrection ROM, as others are doing ok with it wrt battery life. So probably some App somewhere that really runs down my battery.

I am a heavy user, so I know I won't make it 2 days, but this is quite frustrating. If somebody can help, that would be much appreciated. I am using Lama (suggestion earlier on from this thread), so keeping WiFi and BT on and off when needed. But still my battery is terrible, so hoping somebody can find what it is. I have attached the BBS, so that will help. I also use CPU Spy, which shows about 50% deep sleep, 45% in 200 Mhz and 5% in 1200 Mhz.
[BetterBatteryStats] chamonix:
What I see from this reading:

- Wifi being on for the whole runtime shows its costs: 36 minutes wlan_rx awake

- E-Mail (with exchange) is your second problem. It's not that much the related partial wakelock but the number of awakes (alarms) caused (about twice a minute!)

- the third overhead would be location but it may reduce once wifi is not always on as this is a known behavior of Maps

- next on the list would be the eventX-1899. Those wakelocks are caused by the process 1899. To get more info on that it would require that you do a 'ps aux | grep 1899' (or whatever number shows in the kernel wakelock list after the reading) right after dumping. One we know what process it is we can also find out whether it is a "bad" wakelock or not (not all are bad)

I suggest you fix the first and repost a reading so we can go on. We start with an awake / screen on ratio of 3 h 37 m to 1 h 17 m so there is quite some potential.
[BetterBatteryStats] MattRob:
Txs for quick response, will shut down WiFi tomorrow to see if that makes a big difference, although I really prefer to use WiFi when at home or at the office. Email exchange in the weekends will be much less than during weekdays. Email is very important for me, so I need that. Will report back later !
[BetterBatteryStats] gaui:
I made a little script where you can calculate the drain of a service under "Battery" (fx. Screen, Android OS or something else):

http://gaui.is/php/drain.php
[BetterBatteryStats] bala_gamer:
anyone of you here using hd widgets??? its causing too much wakelocks despite changing the update interval :(
[BetterBatteryStats] :
U using hd widgets beta? Delete data uninstal and reinstall. Not from a backup btw

Also check your sync settings