yashsingh1/xdaforums huggingface dataset:
[BetterBatteryStats] xelra:
Ha? :confused:

I always wondered how to deactivate fd myself on an AOSP rom.

The code doesn't work. I don't use a third party dialer. All stock here.

Since I'm on O2 Germany (no fd support in their network) I hope to gain a few extra seconds of battery life. :)
[BetterBatteryStats] Robot12:
O2germany Supports fast dormancy.

http://forum.o2online.de/t5/Mobiles...nd-pay-per-bill-im-android-market/td-p/202386
[BetterBatteryStats] cyhamada:
I know this post is from a while ago...I also have a problem with "qem_wakelock" and want to freeze it with TB.

I can't find it in the list of apps in TB...couldn't find Bridge Service either. Does it go by another name?

Thanks in advance.
[BetterBatteryStats] Mushroom.:
Got the log loaded into Wireshark, but can't really make sense of it.

Lots of packets sent to "Broadcast," and a few different Samsung addresses, as well as a "CheckPoi" address.

I've attached the endpoints section from Wireshark with the addresses I was referring to. Can anyone make heads or tails of it?
[BetterBatteryStats] Atticustrd:
Anyone know what suspend_backoff is?
[BetterBatteryStats] Robnw:
BBS essentials

I've had BBS installed for a few weeks, played with it a little in the beginning, then backed off until I could spend more time to understand it. I now reading through this long thread but if someone can provide me a few essential pointers, I'd appreciate it.
[BetterBatteryStats] cdmackay:
I believe this is when the phone tries to suspend (i.e. go to sleep to conserve battery) but something stops that happening; when that happens we record a suspend backoff.

If you look at dmesg (e.g. with a terminal app or via adb) you should see the problem.

If you see it mention a process like eventN-XXXX, then XXXX is a process id (pid), which can be found like this:

ps | grep XXXX
[BetterBatteryStats] xelra:
I bet that more than 2 thirds of your broadcasts come from that Samsung device.

What kind of home network is that anyway? Do you have 50 siblings?

Anyway, sort by packets and also have a look at conversations.

The Samsung device and all those Dell devices look suspicious from what I can see.

Try to find out what kind of broadcasts are listed.
[BetterBatteryStats] Mushroom.:
Its a work network with lots of devices. And yeah the Samsung device had the most traffic. Maybe this is a dhcp thing?
[BetterBatteryStats] xelra:
If it's a work network you are lost anyway. You won't be able to shut down the sources of your problem, even if you identify them.

Actually, there seem to be lots and lots of sources of chatter on that network. The Samsung one only being the worst.

You are probably best advised to turn wifi off at work, if that works out for you.

BTW, delete that capture file. You could be violating your employers network security terms by capturing traffic.

Mr. corporate espionage. ;)
[BetterBatteryStats] fratermus:
There is a howto link posted by the author in post #3. It's not exhaustive, but it does lay out a suggest approach to interpreting and acting on the data.
[BetterBatteryStats] abtamis87:
Galaxy s3 overnight stats

Hi guys, just found this app yesterday and really like it so far!

Checking the log dump I think that a lot of useless wake-ups occur.

Anyways, the phone has an 2100 mah battery and lost 9 percent overnight. Last screen on was at midnight, then it turned on again at 6.30 am by my alarm.

I got the phone since the 11th and have.not managed to get a full day out of it yet, while I did manage this with my dhd.

Anyways, could one of you please check the log file and confirm if there is anything that I can improve?

Thanks!
[BetterBatteryStats] goan0900:
Hi everybody, I use this App a few days now and i managed a lot so far, but right now i am kind of stuck, so i hope someone can help me.

My log and the Screen shows that i have every half hour an awakening. I did turn off data and sync over night.

thanks
[BetterBatteryStats] stanbel:
Hi

mialwe, recommended me to show my batter stats here

because I have no Deep Sleep and phone uses 100MHz very rarely

Also I attach SetCPU screenshot

View attachment BetterBatteryStats-2012-06-15_152058231.txt

Thanks for any help and recommendations
[BetterBatteryStats] Mushroom.:
Yeah, wifi off at work is allowing the phone to sleep properly, and I have no issues on other wifi networks, so I will go with that.
[BetterBatteryStats] Miche1asso:
Can anyone please explain this? I have

bcm_sdhc.3

which takes up to 70-80% of the wake locks. dmesg reports dozens of messages like these:

[ 9061.470245] wake_lock: bcm_sdhc.3, start expire timer, 64

[ 9061.470794] wake_lock: bcm_sdhc.3, start expire timer, 64

[ 9061.472656] wake_lock: bcm_sdhc.3, start expire timer, 64

[ 9061.473175] wake_lock: bcm_sdhc.3, start expire timer, 64

[ 9061.477203] wake_lock: bcm_sdhc.3, start expire timer, 64

[ 9061.477752] wake_lock: bcm_sdhc.3, start expire timer, 64

[ 9061.479614] wake_lock: bcm_sdhc.3, start expire timer, 64

[ 9061.480102] wake_lock: bcm_sdhc.3, start expire timer, 64

[ 9061.492340] active wake lock bcm_sdhc.3, time left 63

[ 9062.000701] wake lock bcm_sdhc.3, expired

[ 9062.000701] expired wake lock bcm_sdhc.3

I attach a copy of BBS screenshot. Is there any way to find out what's going on?
[BetterBatteryStats] riskaa:
please help analyze dumpfile

Hi all,

I'm attaching my dumpfile here.

Went to sleep last night with about 80& and woke up this morning with about 20%. I did play with my phone a little during those hours (Google talk, and Market)

I know that K9 push mail is causing many wakelocks, and I should probably turn off my wi-fi when sleeping.

Could someone to explain Power Manager to me.

Also...what else is causing my battery to drain

Thanks so much,
[BetterBatteryStats] cxdz810:
AlarmManager (Android System): 22 m 10 s (1330 s) Count:1182 4.5%

ImapFolderPusher Bin work:INBOX (com.fsck.k9.K-9 Mail): 10 m 49 s (649 s) Count:2213 2.2%

ImapFolderPusher Bin Home :INBOX (com.fsck.k9.K-9 Mail): 10 m 48 s (648 s) Count:1930 2.2%

K9 mail has eaten your battery (check settings inside program) and some strange alarm bug that occured and heavily used procesor (22 minutes!)

Disable alarm and K9, and monitor battery...

Root is recommended, install titanium, uninstall and freeze all bloatware, install adaway, install ''autostarts'' (or autorun manager) and take full control of your device :)

Call *#9900# and disable Fast dormacy

Deactivate or uninstall Samsung apps on Applications menu

Deactivate auto sync for accounts

Deactivate google location service

Deactivate auto backup of Gmail account

Set wifi policy to “always”

Set brightness level to automatic

Disable motion

Disable S-Voice
[BetterBatteryStats] riskaa:
cxdz810,

When you say "disable alarm"...do you mean my alarm clock??

I am rooted, and have titanium. I'll do the other things you suggested. thanks.

riskaa
[BetterBatteryStats] cxdz810:
All apps that are periodicaly updated and refreshed use inbuilt android alarm manager for wake up, for example: facebook and twitter apps updates, weather, G+, etc.

And, yes, try turn off alarm clock.. Go step by step..
[BetterBatteryStats] riskaa:
ok, i don't have facebook or twitter or G+.

Friendcaster is set to manual, as is my weather app.

I'll turn off alarm clock and see what happens.

Thanks.
[BetterBatteryStats] bsoplinger:
I have a question about a few of these:

1) fast dormancy? What is that?

2) auto brightness vs. min level? Seems settings it low as possible would be better to get max life.

3) wifi policy always. This is when the phone shifts from wifi to 3G data or is this when the phone turns off wifi if the screen is sleeping for example. If the latter is seems counter intuitive.

4) motion: those are settings like face down for speakerphone or louder in pocket, etc.?

5) what is S-voice?

Sent from my Sprint Evo View 4G (PG41200) using Xparent Purple Tapatalk 2
[BetterBatteryStats] nctrns:
Hi. My phone spends a lot of the time being awake. I wonder if this is an app issue (3G Watchdog?) or ROM issue (IceColdSandwich 8.0 on Desire HD). Can someone help me?
[BetterBatteryStats] punkeroso:
Awake when in airplane mode

Hi,

as I've always done with my Nexus S, I put my new Galaxy Nexus in airplane mode when I sleep. With the GN, the phone stays awake during this perdiod as you can see in the attached screenshot. I've also attached a dump file.

I've just flashed the latest factory image and I have less than 10 apps installed.

Can someone help me?

Thanks
[BetterBatteryStats] Tritonio_GR:
@punkeroso You should first go to kernel wakelocks, menu, refresh, and then reattach the new stats export cause this one doesn't contain the kernel wakelocks. (Is this a bug?)

---------- Post added at 02:27 PM ---------- Previous post was at 02:20 PM ----------

@chamonix how is this possible? The 3G watchdog wakelock lasts 50minutes but the phone is only awake for 4minutes and the PowerManagerService (which should contain the 3G watchdog wakelock lasts 2min.

@nctrns try disabling 3G watchdog for a night and see how it goes. Unless someone has a better idea.
[BetterBatteryStats] punkeroso:
No way, I've refreshed many times but kernel wakelocks remains always empty.

May I need root privileges?

Thanks
[BetterBatteryStats] Midnight1970:
I've been getting some horrible battery times -

here's my dumpfile, I hope it's complete....
[BetterBatteryStats] chamonix:
Your ploblem is named BLN
[BetterBatteryStats] chamonix:
JD or other tools alike are trying to hide the symptoms but cause more problems than they solve. I have explained why those tools can't work many times in this thread, search will tell you where to read if you want to.

About carrieriq: make a search in xda about what that software does and how to remove it
[BetterBatteryStats] chamonix:
For unknown reasons backup keeps your phone awake _all_ the time. It's sunning that you even got to 14 hours!

That may be a one time effect or one backup provider is going nuts. If you are using an offline backup like titanium I suggest you disable the cloud service.
[BetterBatteryStats] chamonix:
6 minutes awake in 6 hours 24: there is nothing to be worried about
[BetterBatteryStats] chamonix:
No because BBS does not start at boot, it just runs a routine to clean / process the references "since....". Disbling that will cause erroneous readings
[BetterBatteryStats] Phil3759:
Now I understand

Thanks a lot
[BetterBatteryStats] chamonix:
K9 and nextapp.systempanel.r1 are your main causes of wakeups. You may want to try switching from push to poll with K9.
[BetterBatteryStats] chamonix:
3gwp.ServiceLifeCheckr is the main cause of awake
[BetterBatteryStats] chamonix:
The main cause of awake is MediaScannerService

Either that was a one time effect or you may have a faulty SD.

I also notices that GPS was on. Besides being a very expensive location provider it was in use quite some time and so keeping your phone awake. You should turn it off when you don't need GPS location
[BetterBatteryStats] Midnight1970:
The one thing I don't understand - when I'm on a STOCK rom, with all these settings enabled as they are now, I get STELLAR battery life... but whenever I place a custom rom, I run into awful life like this.... I'm just curious where the line is between the two. I've always run with GPS & Wifi always on.... Just not sure where I'm going wrong there.... I'll swap the SD card out with another for the time to see what that does. Thanks. :)
[BetterBatteryStats] billab0n6:
How do i attach txt file using xda app? I dun wanna copy the whole log...
[BetterBatteryStats] ganick:
Hi chamonix,

I bought your app recently if you can take time to read my dump file and help me to optimize it I will very appreciate it.
[BetterBatteryStats] cordell12:
You Did It!!! :cool:

Thanks
[BetterBatteryStats] chamonix:
The doc is being written but as I haven't addressed that topic yet let's go (I can copy later).

Graph Bars

Related Preferences:

- Hide graph bars: no need to explain

- Wakelock % ref: one of "% of time on battery", "% time awake", "% time awake - time screen on)

Details:

"Other" view:

"Other" shows the "awake", "wiki on", "screen on", etc. times relative to the total time of the sample (since....) in percent. The bar shows this percentage graphically

"Partial wakelocks" view:

First it is important to understand what reference it to be used (see related prefs).

As we use our devices during readings we have to understand that there are three basic states that our phone ca be in:

- screen on (implies obviously awake)

- screen off but awake

- screen of and in deep sleep

The percentages displayed as figures and as bars show the relation of the wakelock duration to the chosen reference:

- wakelock time to total time on battery: this is the default value android knows and is not very speaking

- wakelock time to awake time: if we analyse our phones by letting them alone (screen off) this relation is more representative as we assume that the phone is awake only because there are wakelock preventing it from doing what our phones do the best: deep sleep. Of course this is not true because wakelock do not wake the phone (alarms do) but they prevent it to get back to deep sleep asap so that is exactly what we want to prevent.

To summarize this is a realistic calculation of the optimization portential we have by addressing wakelocks

- wakelock to (time awake - time screen on): this value whould be used with caution but may be useful if we analyse statitistics during a periode we have used the phone (I was told people do that). Substracting the screen on time gives more realistic readings as we "accept" that the phone will not go to deep sleep while we use it. It is important to note that this value is not 100% accurate as unfortunately the battery-service does not make any difference between wakelocks occuring while we use the phone (those do not prevent to phone from deep-sleeping as the user interaction does) and wakelocks being held when the phone could go to sleep. By this inexactitude the potential shown by the sum of wakelock percentages may be a little optimistic as some of them did not prevent the phone from going to sleeping

Hope this helped clarifying the bars. Please feel free to comment on this text as I plan to transfer it to the doc later and after edition from your feedback
[BetterBatteryStats] itandy:
0.8.1 solved graph bars problem for my HTC Incredible S too. Thanks!:D
[BetterBatteryStats] chamonix:
Not Only does it use wifi location but also tower based location (aka coarse based location). If you have high wakelocks you may be using google latitude that is knowingly anything else than optimized when it comes to draining your battery (I believe nobnut hat posted a side-by-side comparison showing the time graph from battery history, especially the awake periods with and without latitude in this thread).

Unfortunately with latitude you only have two choices:

- disable it and lose the functionality

- keep it and live with the drain

I'm only a little confused as your original question was on GPS and now we are talking tower/wifi location.
[BetterBatteryStats] nobnut:
@Chamonix

I sent you a pm regarding Market vs XDA 'compatibility' of BBS. Don't worry, there isn't a problem but there is an issue you might want to consider.

Thanks as ever!

EDIT: I've just seen your earlier "Oh bugger" Tweet... not sure if this is related.
[BetterBatteryStats] nobnut:
For anyone interested.
[BetterBatteryStats] dzontra11:
Ok..i turn off latitude about 30 min. a go and still have this....

[/URL]

Uploaded with ImageShack.us[/IMG]
[BetterBatteryStats] nobnut:
Are you refering to the blue bar showing wake but without screen on? If you are, then no that is not Latitude as the wakes you see from that are shown as tiny individual bars as per my screenshot.

It is impossible to say what caused your problem. All we can see is a blue bar.

You will have to work out what was running at that time to cause wake.
[BetterBatteryStats] MaluNoPeleke:
I have also tried it on my ASUS Transformer Honeycomb tablet (3.2) and it works but there is a problem with the connected keyboard dock: Because of the battery in the dock it is often charging and that makes it hard to read long term stats.

Can you add the option to display a user specified timeframe?
[BetterBatteryStats] dzontra11:
Thanx anyway,problem is ,,i dont know how to read this graph,,what is blue bar ,,what yelow etc.....
[BetterBatteryStats] nobnut:
It is there already :)

Menu > 'Custom Reference'
[BetterBatteryStats] nobnut:
Sigh.

I keep asking you to read this thread. Please take the time to read the thread and you won't need to ask these simple questions. Every question you have asked has been answered before... I should know, I was the one to answer them.

The bars are pretty obvious if you take a short time to think about them. Anyway, see the notes I have made to your screenshot below. Basically:

1/ Battery charge curve - how much charge your battery holds over the specified time period

2/ The strength of your mobile signal - from Green (good) Yellow (average) Beige (poor) Red (no signal)

3/ When your WiFi was connected

4/ Awake - blue bar means the device was awake

5/ Screen on - blue bar means the screen was on

6/ Charging - phone plugged in and charging

Obviously, if 5 is not displaying (screen off), 4 should also be blank (sleeping). If the screen is off but the device is not asleep, you have a wake problem.
[BetterBatteryStats] dzontra11:
Tnx man a lot..i try yo read but problem is my English..its not good enough.
[BetterBatteryStats] nobnut:
No worries. I understand. If you need me to explain in more detail at any time, just ask :)

At least you can speak English as well as your own language(s). I can only speak English and about three words of German and French :o
[BetterBatteryStats] LandUzu:
couple 'o questions

Hi guys.

I am trying to optimize my battery as finitely as possible by streamlining my applications data usage and awake time.

I have downloaded and installed Gemini as suggested by nobnut, great app! Using BBS alongside BWM i have identified that Google Maps is constantly open, if i terminate it, it just starts right back up before my eyes. i decided to kill EVERY option in its auto start list, but this resaulted in my having no weather updates?? Obviously trying to update my postion/weather for said postion. i just did not realise that it would use GMaps to do this. mmmm

Is this the case?

I remember reading in one of your posts nobnut, that you have 6 email accts, but only use 2-1 exchange and one other and i think i also read that you use the satndard HTC Mail app for receiving these. I have 3 Gmail accts, but could cut that to 2, please elaborate as to why the standard app is better for you and not Gmails own push app. I think this could also save me precious battery too :)

Do you think id benefit from switching 3G off? I have read that this can adversly affect battery life if constantly trying to switch/search between 3G & GPRS.

I have attached a couple of screenshots to display my current (pun intended) setup ;) i am happy with my usage at present, but any suggestions to further enhance3 my battery saving are welocmed and appreciated. :D

My setup is as follows: Wifi off most of the time, GPS off, Phone signal fairly poor and modest usage inbetween.

TIA for your assistance.

Apologies for the screenshot size LOL, ill note that for next time ! ;):rolleyes:
[BetterBatteryStats] ithehappy:
Well I disabled Auto Start of these apps, turned Off everything instead of On.

Now this is the list of my Running Applications after doing the modification,

May I know what is this DRM content and could it be configured to Off from Auto Start?

Regards.
[BetterBatteryStats] nobnut:
No, you need to turn them off... not on. The colous are confusing... green is off and red is on.

DRM is needed, it relates to playing some media (Digital Rights Management)
[BetterBatteryStats] nobnut:
Hi,

I forward any email accounts I rarely use into my Gmail account. I don't use Gmail to access this as I also have an Exchange server account. I therefore use the default email account to sync both Exchange and Gmail. Both of these are on a 1 hour sync (push causes small periods of frequent partial wakelock similar to the thin lines in your screenshot).

The reason I don't use Gmail is that if i did, I would have to have 2 email programs running (Gmail and default), why do this when one program can sync both acounts? ;)

I have actually frozen Gmail.

If you want push, or particularly want Gmail, then the above won't be very useful for you.

More to follow... (got to make a quick urgent phonecall damnit)
[BetterBatteryStats] LandUzu:
coolio....

...i eagerly await you bud.
[BetterBatteryStats] ithehappy:
Yes, that's what I meant. Edited.

So DRM can't be configured! Cool

Thanks.
[BetterBatteryStats] chamonix:
Since 2 h 5 m 51 s
Deep Sleep (): 1 h 53 m 9 s (6789 s) Ratio: 90.0%
Awake (): 12 m 38 s (758 s) Ratio: 10.0%
Screen On (): 7 m 37 s (457 s) Ratio: 6.1%

5 minutes awake in 2 hours 5 is not bad for a start.

The first reason for awake is *backup*. If you are using an offline backup method like titanium you may want to turn google's could back up off.

Next is location in combination with google maps and wifi. First thing you should check is:

- is latitude logged on: if you don't need it log off

- is automatic check-in enabled: same as for latitude

For the rest there is not much you can do if you want to keep Maps running. You should be awake that maps causes a lot more overhead when wifi is on.
[BetterBatteryStats] Miche1asso:
I realized only now that I needed to add the file dump. So just to be safe I made all possible logs. AlarmDump has been generated with the command

dumpsys alarm > AlarmDump.txt

all others should be self.explanatory. Please note that my phone NEVER goes to deep sleep. I am pretty sure the culprit bcm_sdhc.3 has to do with the Ext2 partition for Link2SD. I tried booting the phone using the old Micro SD and it nearly didn't show at all. Still it makes no sense to me that a driver for the SD card should wake up the phone.

Any help will be greatly appreciated. Thanks.
[BetterBatteryStats] Midnight1970:
I simply turned off the GPS and Google location service, and in 9 hours I've lost 12%... a DRAMATIC turnaround.... thank you. :)
[BetterBatteryStats] ganick:
I don't have titanium backup on my phone, I turned off the latitude and check in stuffs just now.

I don't really use the map much, what can I do with it?
[BetterBatteryStats] strobolus:
Does anyone know what BTlowPower kernel wakelock?

I see on the forum there are other people guessing our asking but no one seems to know.

On my galaxy nexus it shows 9:39 hours of wakelock out of 21 hours.

Any help would be appreciated.

Thank you!

Sent from my Galaxy Nexus
[BetterBatteryStats] Karpfenhai:
This wakelock normally only occurs if bluetooth is on / is connected, its the indicator for bluetooth connected but on idle. (Handsfree kit?)
[BetterBatteryStats] strobolus:
Bluetooth was off for the whole time, and I did not see any bt indicator.

I have never seen this wakelock before.

there is only one app I installed since this happened and although it seems to have nothing to do with this I uninstalled it.

Any thoughts?

Thanks!

Sent from my Galaxy Nexus
[BetterBatteryStats] riskaa:
Thanks Chamonix.

Can you explain Power Manager to me please?
[BetterBatteryStats] pablo216:
Hey guys.... I've been for 22 hours and my battery is just over 50%, this makes me quite happy. The thing is that I have only 1 hour screen time. I can live with this, but the kernel wakelocks bother me.

wlan: I will take the ipv6 steps on my W7.

led_wake_lock: Bye Bye BLN

but what are those event1, 2, 3, etc?

Any ideas??

Thanks in advance for your help!
[BetterBatteryStats] Karpfenhai:
Those EventXXXX are the android system server, its the famous Android OS Wakelock.

You cant do anything against this but lowering your general WL triggers like Whatsapp ;)

The gsf reconnects per example are masqueraded behind Event..´XXXX

Disable Location services, freeze Maps Autostarts, disable all Gtalk entries from GSF (Autostarts)

Good Luck!
[BetterBatteryStats] pablo216:
Thanks for your quick reply! So I guess this will be a difficult one to pinpoint!