yashsingh1/xdaforums huggingface dataset:
[BetterBatteryStats] chiaotzu:
How do I reset it? I mean, I have charged the phone, but before starting the custom reference. Seems to me that the dump gave the stats from the bootup of the phone. How do I make a dump so that it will give only stats from reference point? I'm going to make a dump one more time. Do I need to take it for another 4 hours? or just 30 minutes or so is sufficient?

Thanks a lot and sorry for all these questions.
[BetterBatteryStats] bobdoblo:
4 is minimum, the longer the better as you can get a better "picture" of how your phone behaves.

Just leave it overnight will be best:thumbup:

Thanks It_ler:thumbup:

*NeatROM*
[BetterBatteryStats] It_ler:
Yes, you can set a custom reference. Then you will have to change to the "Since custom ref." view before "Dump to File".

Alternatively, you can reboot and have a new "Since boot" reference.

Unfortunately you have to record another 4 hours to get reliable results.

Good luck !
[BetterBatteryStats] chiaotzu:
Will do it and post it tomorrow morning, good night and thanks guys. Appreciate your help. :)
[BetterBatteryStats] Tungstwenty:
@Sven,

Could you have a look at the comment I added on #237? (it's closed btw)
[BetterBatteryStats] ccs86:
Hey Casanoaa,

What do you think?

http://xdaforums.com/showpost.php?p=36700645&postcount=12312

Thanks!
[BetterBatteryStats] It_ler:
GMX mobile is eating your battery. Uninstall it. Use another mail app, such as stock email. There you can sync your gmx and gmail emails. Set to pull mail with manual update only.

Then I see Facebook and Viber. If you don't need these apps every day, disbale/freeze it.

Good luck !

---------- Post added at 09:12 PM ---------- Previous post was at 09:04 PM ----------

Do you really need bluetooth on all the time?

If not, disable it.

I see Facebook and MyTracks (in Google Maps). Think about disabling/freezing these, as they are using your phone a lot.

Good luck !
[BetterBatteryStats] chamonix:
Ack and reopened
[BetterBatteryStats] BlowingNose:
Good Job dude! :good:
[BetterBatteryStats] chamonix:
It just hit my mind while looking at the screenshot: what if there was an error of a factory 60? Would minutes instead of hours make sense?
[BetterBatteryStats] Karpfenhai:
Hmm...

..hmmm..

i.. think the PWL values are corrct (compared to awake on stock Battery monitor)

..or do you think the Others valued are calculated in hours instead of minutes?

..now im confused.. :P

maybe this is the right point, adding awake times from PWL to overview (other) uses micro instead of second? but that would be factor 1000 .. damned, factor 60 ,, means instead of 34 minutes for swype, it would only add a half minute?

Or do i miss your point completely?
[BetterBatteryStats] aayende69@:
This is one of my best diagnostic tools to get the best battery life from your phone
[BetterBatteryStats] oae08:
Hey everyone. Want to ask about the Backup and Reset (in settings). Just one question though, if i untick "Backup my data" and "Automatic restore", will contacts still be synced to my gmail ? because thats the only way I have backup for contacts. The other stuff i use titanium backup pro to backup all user apps and system data so its enough right?

Thanks for your help :good:
[BetterBatteryStats] Karpfenhai:
Yes thats right.

But Titanium also stores your contacts and sms quite reliable, so no online backup is needed...
[BetterBatteryStats] kingusienka:
Here is another overnights BBS Dump file. Numbers seem to be alright this time:)
[BetterBatteryStats] julio8a00:
By far the most useful app on my phone! :victory:
[BetterBatteryStats] kozmo21:
Do as It_ler mentioned, disable/freeze google+ ... Only other thing to try is uninstall facebook and use friendcaster instead.
[BetterBatteryStats] fmifmi:
thanx! :good:

i deactivated gmx and gmail sync completely (didn't deinstall in the first), deinstalled viber. i kept facebook for now, going to make a test maybe today with facebook deinstalled.

here is my dump over night (data on, otherwise absolutely idle) for about 7h.

i can see that facebook still causes 14 wakelocks, what is RILJ causing 130 wakelocks? i am using the device not for voice-calls, is there a way to deactivate this?

the kernel-wakelocks that i still need to optimize are multipdp and l2_hsic i think, l2_hsic has a count of 332? isn't that too much for 7h idle-time?

alarms: com.google.android.gsf causing 31 wakelocks, how can i optimze that, what is it exactly?

and now the big question: what is that in network, when the phone is not touched:

0 (Mobile) (0): 1.0 MBytes 81,2% :eek:

more hints to optimize are welcome! (or is 1%/h in idle state with data-on "standard"?)

edit: found one more that is strange:

"tx_hsic" (): 33 s (33 s) Cnt:(c/wc/ec)11872/0/0 0,1%

isn't the count of 11872 very high?
[BetterBatteryStats] kingusienka:
The reason why I use Facebook app is that when I tried all the other clients I had an issue of not seeing any posts by some of my friends, only Facebook original app dealt with it correctly...

Does FB cause issues even when I turn notifications off, like I have now?
[BetterBatteryStats] jeremysherriff:
No that's fine. Fyi Facebook blocks some functions from third party apps, such as advanced filtering and updates of news feed info. By design.

Sent from my Nexus 4
[BetterBatteryStats] kingusienka:
Oh, I didn't know this. I will do some tests tonight with Facebook and Google plus completely frozen...
[BetterBatteryStats] It_ler:
Looks much better now IMO :good:

Only Facebook and RILJ (radio interface library) are quite busy.

About the RILJ: You can try to flash and us another modem. You can also have a look at GetRIL app from Play store. it can change the RIL files corresponding to your current modem file.

Good luck !
[BetterBatteryStats] fmifmi:
ok, i'll check the getril app :)

are the other things i mentioned "normal"?:

"tx_hsic" (): 33 s (33 s) Cntc/wc/ec)11872/0/0 0,1%

-> a count of 11872 is a frightening number and looks way to much for 7h for me, but i don't know what this is exactly? :rolleyes:

0 (Mobile) (0): 1.0 MBytes 81,2%

-> what causes more that 80% of data and is not assigned to a special name? :eek:

com.google.android.gsf (): Wakeups: 31

-> is there a way to optimize these wakeups, or is a count of 31 in 7h ok?

thanks an advance for your time :o
[BetterBatteryStats] k3v0:
Thank you. After about a week using this app, I am at battery depletion rate of 0.4%/hr overnight and 95.6% in deep sleep.

I started using bbs after I experenced an overnight depletion rate of almost 10%/hr.
[BetterBatteryStats] tboooe:
nothing more I can do except change roms?

I have taken all the normal steps such as turning off sync, location services, auto backup, etc but I am seeing massive Partial Wakelocks with AlarmManager (Android System). In an 8 hour period, this wakelock was on for 2.5 hours! The strange thing is that BBS is reporting 7.75 hours of deep sleep but my graphs show a lot of wakeups. This doesnt make sense to me. How can I have 7.75 hours of deep sleep (out of 8) yet also have 2.5 hours of partial wakelocks?

Anyway, assuming I have done everything I can to minimize this partial wakelock, is my only alternative to switch ROMs?
[BetterBatteryStats] chiaotzu:
Guys, Please have a look at my Dump File and let me know what all wakelocks should I get rid of? What all things I can improve upon?

Thanks a lot.
[BetterBatteryStats] Casanoaa:
Yes it is normal... O (mobile) / 0 (wifi) must be something android related.

I am testing with my phone to get lower alarms but 31 wakeups in 7 hours is very good.

Which autostarts settings did you use for GSF.. Mine , Karpfenfai, Hilmesh? Or haven't you used autostarts app

---------- Post added at 03:59 PM ---------- Previous post was at 03:37 PM ----------

Very nice dump.

Disable autosync your gmail. Set your mail settings to pop3 with manual sync. Also disable all autostarts for mediascanner.
[BetterBatteryStats] fmifmi:
thanx for your help!

0 (Mobile) (0): 1.0 MBytes 81,2%

ok, i was just wondering that there is no name für this, and it causes 80% (by the way wifi is off, just mobile data is on)

oops... haven't used "autostarts app" yet, is it the one called "autostarts" from "michael elsdörfer" from the market or something different?

where can i get a settings-file for it?
[BetterBatteryStats] Casanoaa:
Without using autostarts you get this gsf counts. It is very good.

Maybe you can apply some settings for gsf in autostarts but i prefer not to do it because your gsf count is good.

Remember log out from talk and latitude in maps.

Here is latest settings for gsf. http://xdaforums.com/showpost.php?p=36432767&postcount=11995

EDIT: mediascanner was not for you. : )
[BetterBatteryStats] chiaotzu:
Thanks mate. I receive important mails regarding lecture schedules, events and meetings on gmail. Can you recommend some alternative way to get these emails. I don't use stock email app and froze it already in titanium backup after disabling it in Applications. Should I use stock email app for getting mails instead of Gmail app or is there any particular setting in Gmail which will help me to reduce the wakelocks.

How do I get rid of check-in service which is causing following partial wakelock?

Checkin Service (Google Services): 2 s (2 s) Count:104 0.0%

Also what are the following Kernel wakelock?

"multipdp" (): 4 m 3 s (243 s) Cnt:(c/wc/ec)192/0/192 1.3%

"l2_hsic" (): 4 m 3 s (243 s) Cnt:(c/wc/ec)500/215/500 1.3%

Would really love to get help on these. Thanks a lot. :)
[BetterBatteryStats] Casanoaa:
Try manual sync with your gmail email app then? can't you du that? i haven't used that app. Maybe you can set it to pull every 3 hours or so. Push is very energy-sucking. Your gmail wakelock either isn't that big and acceptable.

Checkin service 2 s is not a problem you can't get rid of gsf but minimize it and 2 sec is nothing.

Multipdp is the same as wlan_rx which is data receiving and l2_hsic is also data related . When you receive and send data a chip activates and makes l2_hsic wakelock. 4 minutes in 4 hours is nothing to worry about.
[BetterBatteryStats] chiaotzu:
Ah, thanks mate. I'll try and see if I can do that with gmail.

Good to know all the explanations of those other wakelocks. Also should I disable all the autostarts of Media Storage, ecause I can't seem to find Media Scanner application in Autostarts. The only closely related entry is Media Storage.

Screenshot of the same is attached.
[BetterBatteryStats] Hilmesh:
You are at the right app for media scanner. You can disable it. I just did the same yesterday after getting advice from casanoaa
[BetterBatteryStats] chiaotzu:
Ah, will do that. Thank you. :)

Sent from Samsung Galaxy S2 I9100 - NEAT ROM Lite 4.0
[BetterBatteryStats] Hilmesh:
Gmail is bad. When I started Wi-Fi my Gmail app it seems downloaded 80mb. What it downloaded I don't know. But when I am on 3g it behaves properly. Any ideas?
[BetterBatteryStats] Casanoaa:
Yes see here:

http://xdaforums.com/showthread.php?p=36709629

Also to show all entries in autostarts. Enter settings in autostarts app and untick all to show system entries also.
[BetterBatteryStats] EP2008:
What are the side effects from disabling the media scan?
[BetterBatteryStats] chiaotzu:
Go to Gmail -> Settings -> Your Emai ID entry -> Data Usage -> Download Attachments -> Untick that. :)
[BetterBatteryStats] Casanoaa:
Nothing.

When your phone starts up mediascanner runs so you can open your, mediastores faster. But if you don't need it to make that wakelock. You can easily just disable it's autostarts.

Your mediascanner would work and have none sideeffects. You just get rid of the partial wakelock.
[BetterBatteryStats] Hilmesh:
This is already done. But still I get it. It keeps downloading like 1mb per 30 seconds
[BetterBatteryStats] GabrielSousa:
huge drain on AlarmManager (Google Services),

how can i fix it ?
[BetterBatteryStats] It_ler:
You have to look into your Alarms.

There you will find the apps/processes that cause the AlarmManager wakelock.
[BetterBatteryStats] chamonix:
That was what I was thinking looking at the other - awake and assuming that the awake value was right because the sum of pwl (assuming the factor 60) sum up to something near the awake. Now if you tell me that the awake (and other stats alltogether) are the problem and pwl values are wrong I have to think over it again. I have got some feedback and offers of other users but I think I should first strengthen my understanding.

Can you confirm what values from the dump chapters are right and which ones are wrong?
[BetterBatteryStats] GabrielSousa:
heres the log
[BetterBatteryStats] It_ler:
If you don't want to attach the whole BBS dump file, please attach at least the Alarms section of the dump.

It is really hard to read through the pasted list of alarms IMO.
[BetterBatteryStats] chiaotzu:
Thanks mate, done everything. :good: Anything else I need to do for battery optimization? :) :angel:
[BetterBatteryStats] Casanoaa:
Nope . Provide an idle log now : )
[BetterBatteryStats] pat357:
I'm not so surethat disabling the "Media.." is a good setting : would it not be like always skip CHKDSK in windows ?

Does this service not check for a correct file-system ?
[BetterBatteryStats] nobnut:
If you haven't worked out how to get it running by tomorrow, send me a pm. I will flash MIUI onto my old Nexus S and see how we can get BBS running for you :)
[BetterBatteryStats] xavihernandez:
Ok I will try to find.

Thank peeps !
[BetterBatteryStats] beepsilver:
Try typing "wife eye" or "whyf eye"...it's not perfect, but it's close :D
[BetterBatteryStats] X-GoD:
okay, i have had the the app on now for some time. how do i interpret the information to tell me what is chowing my battery life? what do i need to look for?
[BetterBatteryStats] ejstubbs:
OK, now this is odd

AlarmManager has disappeared completely from my wakelocks list:

===================
General Information
===================
BetterBatteryStats version: 1.1.1.0
Creation Date: 2011-09-29 09:35:58
Statistic Type: (3)
Since 2 h 21 m 44 s
VERSION.RELEASE: 2.2.2
BRAND: MOTO
DEVICE: umts_jordan
MANUFACTURER: motorola
MODEL: MB525
===========
Other Usage
===========
Wifi On (): 2 h 21 m 44 s (8504 s) Ratio: 100.0%
Wifi Running (): 2 h 21 m 44 s (8504 s) Ratio: 100.0%
Bluetooth On (): 2 h 21 m 44 s (8504 s) Ratio: 100.0%
Awake (): 16 m 32 s (992 s) Ratio: 11.7%
Screen On (): 1 m 28 s (88 s) Ratio: 1.0%
=========
Wakelocks
=========
StartingObexPbapTransaction (com.android.bluetooth.Bluetooth Share): 35 s (35 s) Count:2 4.0%
ProviderThread (UID): 29 s (29 s) Count:21 3.2%
SyncDataListener (com.motorola.blur.service.blur.Motorola services): 25 s (25 s) Count:5 2.8%
LockerService (com.teslacoilsw.widgetlocker.WidgetLocker): 16 s (16 s) Count:4 1.8%
GTALK_ASYNC_CONN (UID): 14 s (14 s) Count:6 1.6%
RILJ (UID): 6 s (6 s) Count:146 0.8%
PollingManager (com.motorola.blur.service.blur.Motorola services): 5 s (5 s) Count:20 0.6%
StartingDockService (Android System): 5 s (5 s) Count:12 0.6%
CalWidgetProvider (UID): 4 s (4 s) Count:12 0.5%
sleep_broadcast (Android System): 2 s (2 s) Count:11 0.3%
Checkin Service (UID): 2 s (2 s) Count:144 0.3%
ActivityManager-Launch (Android System): 2 s (2 s) Count:2 0.3%
GTALK_CONN (UID): 1 s (1 s) Count:130 0.2%
=========
Processes
=========
system (Android System): Sys: 1 s (1 s) Us: 3 s (3 s) Starts: 0
suspend (0): Sys: 5 s (5 s) Us: (0 s) Starts: 0
com.android.bluetooth (com.android.bluetooth.Bluetooth Share): Sys: (0 s) Us: 1 s (1 s) Starts: 0

Anyone got any explanation for that? Up until a couple of days ago AlarmManager was always in the top one or two. I don't understand how it can have disappeared altogether. I smell a rat!

Also, can anyone shed any light on the current main wakelock culprits?

- In terms of time: StartingObexPbapTransaction

- In terms of counts: RILJ, Checkin Service and GTALK_CONN

As far as I know I don't use gtalk, although I've heard rumours that it is required for the Market app to function correctly. I don't know what the others are for, or how to reduce their wakelocks.

EDIT: Googling suggests that RILJ might have something to do with Google Maps (which does seem to have a habit of autostarting in the background for no readily apparent reason). Not making any useful progress tracking the others down though.
[BetterBatteryStats] Mikulec:
That does look pretty normal, no big wakelocks, how many % did u lost in that 14 hours?
[BetterBatteryStats] X-GoD:
It was at about 40%, so it lost 60% in 14 hours. :(

that is just crazy:mad:
[BetterBatteryStats] Mikulec:
U could also post screenshot from battery graph, from the dump I can see that u were constantly on wifi but not using it (only 13 minutes of screen-on time), how did u use your phone? Maybe u could try to turn off wifi when u dont need it.
[BetterBatteryStats] X-GoD:
how do i take a screenshot?

also before, wifi was always on and my bat lasted 2 days easy.
[BetterBatteryStats] Mikulec:
U should post some info: phone, rom, ...?
[BetterBatteryStats] xavihernandez:
Does the battery monitor from MIUI do kinda same analysis than BBS ?

EDIT : @chamonix & nobnut

Seems that disabling battery monitor from MIUI allows BBS to access battery stats. I have disabled it to see what can BBS say.
[BetterBatteryStats] X-GoD:
ah, i must have forgotten.

sgs2

2.3.4 XXKH3 stock rom non-rooted
[BetterBatteryStats] Mikulec:
so u can do screenshot with pushing the power and home button simuntaneously.
[BetterBatteryStats] Galactus:
Slightly off topic, but something that has helped my battery life a lot is using 3g watchdog pro. Was curious to see what was using my phones internet (wifi or 3g) and noticed a few apps I used actually used it a lot. For example liveprofile was downloading information every 30 seconds, Full Screen Caller ID was logging information a lot until I turned off google reporting in that app now its gone.

Facebook was ridiculous, I've got manual syncing and yet it managed to use up 5mb worth of data just by me turning the phones screen on, so that got uninstalled (will use the mobile webpage from now on :D) Now that I've done this I've noticed my screen on time and phone awake times are almost an identical match :D. Oh yeah, for the whatsapp users, I haven't noticed any background logging from the app, only data used has literally been me sending messages so I'm pleased with that since I use whatsapp a lot

P.S. if this has been mentioned before then I apologise but I cba to go through all 124 pages lol
[BetterBatteryStats] nobnut:
Glad to hear you got it sorted out.

I flashed MIUI on my Nexus S and yes, I found the same as you. Disabling battery monitoring enables BBS.

Battery monitoring in MIUI performs a similar function to BBS but it only appears to show wakelocks/activity graphically. It doesn't appear to sort by value.

I did like the UI though (screenshot attached - sorry for the poor quality of the image, I couldn't be bothered to work out how to take a screenshot using MIUI and I couldn't be bothered to boot the phone up again when I realised the pic I had taken was blurred :p).
[BetterBatteryStats] Panda_Face:
Does Track Your 3g do the same thing as 3g Watchdog Pro? What are the benefits for buying Watchdog vs using a free app to track my data usage? I don't mean to sound hostile, just curious.
[BetterBatteryStats] chamonix:
@x-god

You phone never sleeps (see ratio awake / total time is 100%)

It's amazing that your battery lasted that long.

Check you wifi settings: I guess either you have set wifi to keep the phone awake or there is a bug
[BetterBatteryStats] chamonix:
@nobnut

Nice! Does anyone know where to find sources? I'd be interested looking at that and add feature for users preferring images to figures.
[BetterBatteryStats] chamonix:
@mikulec

You forgot step 1 and jumped to the wrong conclusion.

Step 1: look at awake / total ratio

Step 2: search the cause

(see how-to for details)

Step 1 tell you the phone never sleeps and that is not wakelock related (my guess is wifi prevents the sleep completely)
[BetterBatteryStats] It_ler:
No, MediaScanner searches for changed/new media files (e.g. music, videos and pics) ... for faster access in Gallery, (stock) Music and Video Player. And maybe for attaching the phone in MTP (as media device) to a PC/TV/etc.
[BetterBatteryStats] vivalasven:
Has somebody an idea how can i stop this massive wakelocks from location Service?

I get crazy :banghead:

http://db.tt/ppseE5sQ

_______________________________

gesendet via Brieftaube namens Tapa
[BetterBatteryStats] pat357:
How get min. drain with ALTitude enabled ?

I'm still struggling to get my battery usage under control. I hope you guys can help me out with this.

My goal is to get the minimum drain when the phone is "not used", but I prefer to keep track of my geographical position.

This seems to be a tough process.

To minimize the battery drain by "Google's Location" service, I bought ALTitude Full from the same author as BBS is.

My idea was : because BBS is very good (the best ?), his ALTitude tool must also be top-notch.

In attachment you find my BBS log and my BetterlATitude log.

My observations / actions / questions :

- Although I've already changed my "Fast Dormancy" from enable to disable, I still have a lot of wakelocks like ""l2_hsic", "radio-interface", "multipdp", "secril_fmt-interface",... . Could a bad connection cause this same symptoms ?

- My AV (Kaspersky) keeps a lot of wakelocks, even after I disabled almost everything (no scanning, no auto updates, no "cloud-scans, no SMS/call filtering,.... I'm going to contact Kaspersky about this and if they have no proper solution, I'd loose my spend money for it and have to switch to another AV.

- I've started with the settings from this forum to disable (minimize) Google Maps and GSF, but with these settings, the ALTidude tool stopped working too.

I'm still trying still to figure out whether the ALTitude tool somehow needs the Google services or not. If so, what part from GSF and Maps can be disabled in for example in Autoruns to let ALTitude to do it's job.

- Please do not just say "disable Maps and GSF in Autoruns" as I've already tried that : Sven's ALTitude tool stops working too and I don't want that.

Also don't say "you'll have to choose : location and big drain or no drain (far less) but no location".

Both are possible it seems : read about Sven's ALTitude

Any comments or advise to help me is more than welcome !

Thanks in advance !
[BetterBatteryStats] fmifmi:
Thanx again!

I think i have much info now to do tests on my own for some days.

Froze some apps with tb now that i think i do not need. Just to find out what is maximum battery life i can get. Afterwards i will activate some things again, as is still want to use the device as a "smart"-phone.

Thank you guys for your work and help!:good:
[BetterBatteryStats] It_ler:
NetworkLocationLocator: Disable all location service options in ROM and Google settings.

Please provide an ide dump - at least 4 hours of doing nothing / screen off all the time. Then we can find the unwanted battery drainers a lot easier.
[BetterBatteryStats] Casanoaa:
You are welcome
[BetterBatteryStats] vivalasven:
Ive reached my thanks Limit so Thank you very much. I'll take a look at it tomorrow :thumbup:

_______________________________

gesendet via Brieftaube namens Tapa
[BetterBatteryStats] Karpfenhai:
I simply think the values shown @ PWL view are correct, but are not added to the other view. it seems "other" does only contain added KWL.

Could this be?
[BetterBatteryStats] chiaotzu:
What is idle log? Is it something I should make when the screen is on? I noticed something. My battery is saved in deep sleep, but when my screen is on, it is consumed at a faster rate than pure stock with no root. What could be the reason? Are you asking me for the same log where I'm using my phone for an hour or so?

Thanks a lot for helping me till now. I took care of deep sleep at least, hopefully. :)
[BetterBatteryStats] Casanoaa:
Unplug leave phone 4 hours without touching it and dump a file
[BetterBatteryStats] yahyoh:
guys i've tested many twitter apps and most or them create alram :( even if notification and auto refresh totally off :/

is that normal , is it bug in twitter api ??