yashsingh1/xdaforums huggingface dataset:
[BetterBatteryStats] steve austin:
Thank you fro the reply. I took the BMW widget off my home screen. I have it logging every half hour, but there is a pinging rate that you can selet up to 60 seconds. So I see who this is not helping me wi the rest. HOWEVER, this is my favorite battery monitor. I got rid of Current widget because of its frequent pining. Do you know of any other comparable battery monitor out there? I think BMW would be cool WITHOUT the 60 second pinging.

As far as the bible app, I have tried to remedy this by stopping it cold with Gemini App manager. I went into expert mode an stopped all "auto start" features. i just lloked, after you mentioned it, and half the features are now active again....:confused: Gemini normally works. I may have to use another app to stop this from starting.

As far as the sync's I have set FB, gmail and yahoo mail for 2 hour intervals (the last time I checked). I don't know how to make sure this stays the same every day. The wakelocks are always the things that I can not get a handle on stopping (unless you are saying that bmw and the bible app are the direct causes of the wakelock problem).

AlarmManager (Android System): 17 m 47 s (1067 s) Count:2011 2.4%

SyncLoopWakeLock (Android System): 9 m 15 s (555 s) Count:2184 1.3%
[BetterBatteryStats] p107r0:
ymmv, but I have BMW. 5 min refresh rate, and it does not seem to hurt my battery, difference is I don't use widget, only the notification mA icons - maybe give it a try, who knows?
[BetterBatteryStats] taylerdurden:
Hello. I have X10S v8.3 installed with Stock SE Kernel in Locked Bootloader, but I have a bad battery life. I have seen in the BetterBatteryStats app that I have many Kernel Wakelocks for reason "usb_bus_active". Is this normal? I have attached the BetterBatteryStats dump.

Thanks in advance
[BetterBatteryStats] chamonix:
This reading looks very weird. Could you please do the following:

- check your USB connector and mare sure there is nothing stuck in there

- reboot your phone

- splug/unplug USB

- wait a few minutes then go to "kernel wakelocks" to see if that wakelock is there again and if a refresh increases the value

If the value keeps on counting and your plug is clean your kernel does not recognise unplug properly
[BetterBatteryStats] chamonix:
The only thing I see in that run is the effect of wifi because it keeps waking up your phone and this is nothing as dramatic as you describe. You will probably have to take more readings untill the problem you mentioned reappears
[BetterBatteryStats] steve austin:
I just uninstalled it a few minutes ago. I can't remember the titles specifically, but as I indicated previously, there was an interval check for monitoring and the highest I could go to was 60 seconds. Then on another screen, for the history, I chose 30 minutes. I don't think that one was too bad. That 60 second one was the killer.

With that said, I am sure the alarms will go down. They were at 729 for bmw when I submitted my log. I want to know how the battery will be effected by this and if this has any impact on the high drain once an app/process is started. That is what is really getting me at this point. But thanks for the input.
[BetterBatteryStats] virus786:
Chamonix may I ask when the next version will be out? And what new features will it have?

I know ETAs are frowned upon but 1.8.1 has some bugs like >100% values. ie. Phone is unplugged for 4 hours then some service like deep sleep will have 6 hours. Obviously a bug of some sorts?

Anyway thanks for this awesome app :)
[BetterBatteryStats] EP2008:
94% deep sleep?????????? HOW???? That's amazing.
[BetterBatteryStats] palmy999:
Hi all,

I played with BBS over the last few days and noticed it gets terminated from time to time e.g.

1. It was unplugged since 9am.

2. I checked at 12pm with "since unplugged" and it shows "since 3h".

3. I check "since unplugged" again at 1pm and it shows "since 30m". But "since charged" shows "since 4h".

Is that normal and does it affect the stats if I were to use the stats from "since charged"?

Thanks in advance.
[BetterBatteryStats] cricketAC:
If your phone rebooted itself, bbs "since unplugged" starts from zero. So at 1230, your phone restarted by the value a you gave in your post.

Sent from my LG-P999
[BetterBatteryStats] palmy999:
Phone did not reboot.
[BetterBatteryStats] grotesque02:
I have a question!

If I block some apps with autostart, and after I uninstall autostart, the apps I have blocked run at the next phone boot or I have to enable before uninstall autostart?
[BetterBatteryStats] xelra:
How did you setup these "transports"?
[BetterBatteryStats] cricketAC:
Sometimes they auto reboot. Other reason might be that some one plugged it even for a sec .

Sent from my LG-P999
[BetterBatteryStats] palmy999:
Can you do better than what the HP call center guys are doing?
[BetterBatteryStats] Tenkie:
Anyone know what the top two wake locks are and how to cure them (if possible)? I've had it recurring every charge cycle and it's the only wake lock that I can't really figure out.

Thanks in advance!
[BetterBatteryStats] chamonix:
I won't give any ETA, read the thread a few pages back and you will find a hind.

About the behaviours you talk about: there is no issue in the issue tracker about those so don't expect them to be fixed. If you can give me instructions to reproduce that problem I'd be happy to fix it.
[BetterBatteryStats] steve austin:
this is a perfect example of what is going on with my phone and its driving me nuts.

- I unplug the phone at 3 am - 100%

- I wake up at 7am (no use, no screen time) - 95%

- I take a screen shot and dump bbs file send one 65kb email. This lasts all of 6 minutes - 90%

one hour later I turn on the screen - just to see if i was still @ 90% - and it went down to 85%. I don't get it. I am posting screenshots of usage at both times I checked the battery and the bbs logs.

Something is siphoning off my battery well after my screen locks. ideas? Thanks.
[BetterBatteryStats] cdmackay:
I've seen (and reported too) this same oddness a few times, but it seems to happen randomly; I know of no way to reproduce on demand.
[BetterBatteryStats] kami2k:
well it shows sync and wifi is enabled, also remove gmail, facebook, etc, and for notification vibrate only disable sounds. it will be improved

---------- Post added at 08:55 PM ---------- Previous post was at 08:53 PM ----------

it depends upon the appz, some restore the setting upon uninstallion. also if you are using trial versions, they properly do that also

---------- Post added at 09:00 PM ---------- Previous post was at 08:55 PM ----------

disable power managment, and also try going into settings<applications<manage apps<running.....and see what app keeps running when ur not using it.

and just uninstall the apk
[BetterBatteryStats] meatty:
Battery Life Abysmal

I've been lurking for a while, trying to figure out why, when I upgraded from Stock GB (unlocked) to stock ICS, my battery went from reasonable to unusable. Since that time, I've changed my ROM and my Kernel (currently running Matr1x and AOKP), and calibrated my battery. I've tried some of the things in the other threads (force stopping programs, turning off location services, bluetooth), to no avail. I got BBS and did what the recommended procedure seems to be - I charged it overnight, then unplugged it and let it collect stats for a while. Attached is my BBS dumpfile. During the 1 h 43 m that this dump file was created, my batter went from 100% to 84% without turning on the screen except to create the dump file.

I realize I'm being a noob here, but I can't figure out what to do to fix my problem. Please help! :confused:
[BetterBatteryStats] kami2k:
where is the dump file dude? no attachments?
[BetterBatteryStats] meatty:
Sorry - realized it and tried to add it, but since I'm not at the 10 post threshold, it restricts from posting more than once every 5 minutes. I've edited it to add the attachment.
[BetterBatteryStats] kami2k:
uninstall facebook, gmail, turn off wifi and auto sync, and you are good to go
[BetterBatteryStats] meatty:
And then reinstall them? Or are you saying permanently?

Removing facebook is one thing, but turning off gmail and autosync makes the thing worthless to me.

---------- Post added at 05:37 PM ---------- Previous post was at 05:32 PM ----------

And further to that - why would ICS be so much worse under the same load as GB? I had the same apps running on GB.
[BetterBatteryStats] kami2k:
lol permanently, use 3rd party fb app, its pretty much battery consuming, and just sync once a day for some time, also use 3rd party app for gmail, turn off auto sync, you have to sacrifice your apps or your battery, :)

---------- Post added at 09:39 PM ---------- Previous post was at 09:38 PM ----------

ICS is more memory hungry u can check other roms if you are rooted, like miui or cm9
[BetterBatteryStats] xelra:
I'm using fb app, imo chat messenger with 5 accounts always logged in. I have sync on for everything and wifi, too.

My battery life is great. It's about 2 days with screen off and about 1 day with normal usage. 16-20 hours with very heavy usage.

I have a Galaxy S2 with stock battery.

So as you can see, good battery life without sacrifices is possible.

First off. Wifi is way more battery friendly than mobile data. The problem is, you have to make sure your phone doesn't get woken up. Therefore you need to clean your network from broadcasts. This is not an easy task, but if you have the will, there's a way. Start with a tool called shark and wireshark. Google is your friend.

Limit your mobile data to 2G. It will save battery. Especially when you are moving. Because bad signal causes wakeups. You also have less handshakes to make while traveling. Put the 2G3G switch in the power widget bar and switch on 3G when you need it. You will be surprised to realize that you need 3G for almost nothing. Not for chating, not for mail. Only for surfing.

The next thing to do, and where bbs can't help you, is to reduce battery usage while screen on and while active with screen off. This is mainly related to your kernel. Governors and other settings play an important role here. Maybe undervolt a bit to squeeze out the last drop of juice from your battery. Install CPU spy. If there's a lot of usage in one of the upper middle frequencies it might be that you phone wakes to 800 MHz while screen off.

You could set in your governor that it should only ramp to 400. It will drop to 200 then anyway.

Those are just a few tips, I hope I could help you. It won't be easy. But battery life is a complicated topic.

No wonder the guys at Berkeley took a interest in it, too.

BTW chamonix, are you planning to put those techniques they published in their paper to use in future versions?

EDIT:

I forgot, get Autostarts or Gemini app manager and disable apps that you don't need to run all the time. Like maps. Google maps causes wakeups when wifi is on, because it sniffs your location.

Turn off everything in location settings also.
[BetterBatteryStats] bsoplinger:
This may be a dumb question...

I've moved to an extended sized/capacity battery. Now is the time to get serious about cleaning up the battery eating apps. To start do I want/need to do anything special like boot into recovery and delete battery stats or run 1 or more charge-use-til-empty-recharge cycles before I start to gather data?

Sent from my Sprint Evo View 4G (PG41200) using Xparent Purple Tapatalk 2
[BetterBatteryStats] kami2k:
every time you unplugged your cell the bbs status will start from there, so no need to do anything just charged once full 100% and let it go upto 50% or less and dump the the logfile and post here
[BetterBatteryStats] yhrn:
I have to agree with xelra - you can definitely have decent battery life without turning your smartphone into a dumbphone with a big screen. On GB I had between 2 and 3 days of battery with light/medium usage and all kinds of sync on (including FB and Gmail). In my opinion auto sync is one of the best things with Android.

Not as good on ICS yet (1-2 days) but I've been flashing a lot lately and I find the phone to be a bit erratic for a couple of days after flashing a new ROM so I haven't really made an effort there yet.

I your case I'm not sure what the main problem is as your dump shows decent sleep ratio so I'll let the experts give you detailed advise. My advise is just to dig deeper and and try to find the best possible battery life (without sacrificing useful things) by fine tuning stuff like xelra describes.
[BetterBatteryStats] chamonix:
I didn't say I never heard of it just that I was not able to describe it. I have added some code to try to get more info.

One case that we could reproduce is after a warm reboot (userland restart) that caused the references to be wrong compared to the 'current' readings. Unfortunately I don't know how to detect that so I can not reset the referenced.

Hopefully with some more logging we can find the root cause.
[BetterBatteryStats] chamonix:
Well I don't see much of a difference in the usage profile "before" and "after" except the screen being on for 10 minutes so if that drop worries you that's the place to look at.

On the other hand I see quite some potential in the usage profile when the screen is off:

- you use both friendcaster and facebook: two apps for the same thing, double resource consumption: if you want my opinion go for friendcaster if a facebook app is important to you

- sync: your usage profile is pretty heavy on sync and you may want to try optimizing that by checking all the acoounts and making sure you really need to sync all that info (contacts e.g.) and what frequency to use

- gmail multiple accounts push: that as for the first issue multiple times the same overhead. A solution with forwarding and tagging your mails may be more friendly on the battery

- In addition to gmail you seem to be using the standard mail app as well, that's another time the same overhead

- pure messenger is causing quite some wakeups and you seem also to use gtalk

- backup: if you have an offline backup solution like titanium you may want to turn off the cloud version of google
[BetterBatteryStats] chamonix:
That reading is far too short to be representative. Please read the first posts of this thread about how to proceed for providing a representative reading
[BetterBatteryStats] chamonix:
Why should he transform his smartphone into a nokia 6310i ?
[BetterBatteryStats] chamonix:
That's the kind of hints I don't like because they are without context. Of course if you turn off data the battery drain will be less but that's not what this thread is about nor do you need a tool like bbs to make such statements. This thread is about analysing readings and explaining how to improve on that basis.
[BetterBatteryStats] steve austin:
Thanks for your post and insight. I am of the same mindframe. I have a smart phone. i want to use it as such to take advantage of all its potential. However, the way my battery is responding to use is really hindering me from taking advantage of such benchmarks you are posting - and I am using an extended 1900 mA battery (up from 1540 mA stock).

My screen brightness is always at 50% or less. I have used Gemini App manager to halt Drop box, DoubleTwist, Bible and Maps data connectivity. I have gotten rid of, as suggested, Juice Defender and (my favorite battery app) Battery Monitor Widget. However, as you can see from the post I have included, my battery is still draining extremly fast - especially when it is supposed to be at rest.

You mentioned the govs impacting the battery life. The hight end is 1.56 gh and the min mhz is 384. Is the 384 the minimum at which the phone would "ramp up to"?

I have read different things about the benefits of using wifi over data. One person swears by wifi one person swears by the other. I "thought" wifi was better, but I have been advised not to leave it on all night while in sleep mode. Do you see anythiing in my bbs logs to indicate why my phone is draining so fast? Thanks again for the insight.
[BetterBatteryStats] chamonix:
Release 1.9RC1

Here is is and it is a pretty heavy release with lots on new features. That means a lot of testing and I count on you guys.

The complete changelog is in post #2 but I want to add a few details on 2 features to help you do better tests:

Network Stats

This feature was present in BBS' first version but was removed because of an inconsistent behavior. I was able to track down that behavior to a bug in Android so I basically rewrote the whole thing. The good new is it works, the bad new is it requires root. Please also test on an unrooted phone to make sure is has no negative effects except not providing any data.

The report shows the data traffic per package/app and interface so please test Wifi, Mobile and Bluetooth. All three interfaces should be named with speaking names. If you get some non speaking info please report as there may be differences in namings between version / kernels.

Watchdog (is not turned on by default)

This is the first attempt in adding active monitoring to BBS and I tried to do this in a non invasive way, using natural events in order to avoid wakeups. The logic is pretty simple:

- when the screen goes off a reference is automatically stored "since screen off"

- when the screen goes back on (or is being unlocked, depending on prefs) the time of screen off and the awake / total time ratio are checked against the configured thresholds. In case the threshold for awake is exceeded a notification is displayed, clicking on it brings you to the main screen in the "other" stats for the "screen off" reference.

The "screen off reference" is of course also available in the drop down.

If a notification was discarded while the screen was on it gets deleted when the screen goes off again (as the reference is also overwritten).

Besindes testing all that stuff I'd be happy to hear how you like it. I have no clear roadmap about active monitoring so there is space for "inventing" new features; but be warned, I will always be critical about those features when it comes to drain.
[BetterBatteryStats] ifeuerstein:
how do I access the dump file

ran the app, but can't figure out where the dump file is stored. Thanks in advance.
[BetterBatteryStats] chamonix:
in /sdcard (the default external storage), it is called

BetterBatteryStats-<timestamp>.txt
[BetterBatteryStats] steve austin:
* I just saw you released a new version of the app. congrats and thanks! You are about to get swamped. So I understand if you don't have time to respond to my reply anytime soon.
[BetterBatteryStats] mariotme:
Thx for the new RC. Will let you know if i encounter any bugs

Was expecting the new icon Chamonix :p
[BetterBatteryStats] chamonix:
No problem, I need to relax from the release stress anyway so I'm browsing thread ;)

With the new version there is an option called "watchdog" that may help you in finding out what is different in that hour you mention as a "since screen off" automatically gets created when the screen goes off. As you did email just before the network stats feature may also be handy in this regards

Well if you are taking the costs into account there's nothing wrong about it. You still may want to make sure that only one app syncs the contacts though. For me FB is not that important and my technique is a little different: I get email notifications for everything I am interested in and use the web version for checking. Like that I have no overhead of sync at all but still get the infos that are important to me.

I don't think the rate can be definied but you can decide not to sync the contacts.

gmail uses push and has no timing

As I wrote in the previous post putting the accounts together may be a solution. I believe that gmail can poll pop3 accounts on the server you you could deliver all pop3/imap mails using one gmail account.

The wakeups of pure messenger are more likely to be keep alive packets that the client has to send from time to time for the server to know you are still online. There is nothing you can do to change that timeout.

There is no way to delete gmail but you can sign off. Some google framework activities not related to gmail will still show up then.
[BetterBatteryStats] chamonix:
Nope, the new icon is for 2.0 and will come together with a complete new look and feel :P
[BetterBatteryStats] mariotme:
hahaah glad to hear that bro :)

keep up the superb work :good:
[BetterBatteryStats] stuart0001:
Thanks for the new release. However, I'm still getting this error frequently on fully stock device and Rom. Any thoughts?
[BetterBatteryStats] Karpfenhai:
Hmm, since your dump looks good,i would recommend too repeat the test on flightmode, if the drain disappears, the reason could be bad network coverage in your area, try to find a modem with better reception then.

Tapatalked from my Samsung GT9100
[BetterBatteryStats] mariotme:
did you try reboot?

Working fine here on a Galaxy S3 using CM9 Rom
[BetterBatteryStats] chamonix:
Then you are the chosen one :)

Based on the feedback of two users having this problem I will PM you a link for downloading 1.9.0.1RC1 with a small add-on (an additional permission "android.permission.BLUETOOTH") in the hope it helps. Give me 5 minutes and you will get a PM.

I count on you to check that version and give me feedback if the error situation went better. Depending on that I will integrated that attempt to fix into RC2 or drop it as a dead end.
[BetterBatteryStats] stuart0001:
reboot fixes it temporarily but it returns after a few hours.

Excellent. Thanks and ill be sure to give feedback.
[BetterBatteryStats] odub303:
On the new rc, no matter what the preference setting is, the app opens from a widget click to "since screen off" for me. Well keep testing and let you know if i find any other quirks.
[BetterBatteryStats] nivron:
Bought and reviewed! Great work guys!
[BetterBatteryStats] thekayman:
and I bet the three words you do know are not nice words like me ;)
[BetterBatteryStats] Szczepanik:
Chamonix purchased with thanks. You may want to put note about uninstalling xda free version before installing market one on first post also fix market URL (too many https). Cheers Tom
[BetterBatteryStats] nobnut:
You're a wild man! Thank you.
[BetterBatteryStats] nobnut:
Of course! ;)
[BetterBatteryStats] dzontra11:
Just a look that damn things...uarrgh..during night..damn blue bar.

Uploaded with ImageShack.us
[BetterBatteryStats] nobnut:
True, but it is only for a short time. It isn't too bad really. You will have to have a think about what might be waking up at that time... do you have any syncs or updates running on a schedule?
[BetterBatteryStats] dzontra11:
Nope..nothing .

I try to find now what is going on..
[BetterBatteryStats] ithehappy:
Well I have a problem, for the first time since purchase I am seeing that Android System is taking the top place in battery usage graph over Display. I've seen my old screen shots and Android System generally stayed between 12-18%. Display always took the top spot as it should be, ie. around 35-40%. But this time its weird, have a look at the screens please.

Besides, I normally get 5 and a half hour or more screen on time, but this time its half an hour short, and I believe its for Android System taking more time than it should be.

Any ideas?

Thanks in advance.

Sent from GT-I9100
[BetterBatteryStats] nobnut:
As you are probably aware from the SGSII threads, this is a part of the mystery of owning the device... welcome to the club!

There is no known reason or fix... there are literally hundreds of theories (all of them useless). From my experience, this has absolutely no effect on battery drain whatsoever and should be ignored.

Honestly, don't worry about it. I don't, sometimes I see mine at 2%, other times I see it at 70%. I couldn't care less about this figure.

The display usage you referred to is probably pretty meaningless. Do you turn your screen on at exactly the same times every day for exactly the same duration? I suspect not. Therefore this figure will differ from day to day.

If you want something to worry about instead... have a look at this (this guy needs some serious help) ;)