yashsingh1/xdaforums huggingface dataset:
[BetterBatteryStats] lordgoata:
You can still use Latitude with all the maps autorun crap disabled, I do it myself (using Backitude). Basically Maps will sit there running all day long, grabbing data about your environment and reporting to Google to improve their Geolocation databases. "But I haven't even used Maps!" you cry. Well thats the point - it autoruns to ensure its running, even when you don't use it. Install an app ? Google Maps starts. Change connectivity ? Google Maps starts. Boot the phone ? Google Maps starts. You get the idea. So, disable all of that, and Maps will be quiet until you open and use the app, and when you do it runs just as before.

In the meantime, Backitude happily carries on grabbing your location and updating Latitude as you desire.

BUT, that's all irrelevant if you don't/can't root :p
[BetterBatteryStats] Ogawa:
Thanks for the help! Not to be a pain, but a few questions:

I don't use the email app at all, just gmail. There's no way to disable it. thoughts?

As for gmail, I need email all day and need to be alerted when mail comes in. 3 accounts and I need all...

not sure what you're saying about gsm/3g...

Lastly, doesn't turning all of this off just defeat the purpose of having a smartphone? Am i missing something...
[BetterBatteryStats] Carter07:
Hi, please anyone knows how to fix these partial wakelocks?

I have and LG L9 with ics 4.0.4.

http://imageshack.us/f/845/2013012420154804.png/

http://imageshack.us/f/822/2013012420154833.png/

for AudioOut_1 I unchecked "Keytones", "Touch sounds" and "Screen lock sound" in Settings > Sound but it's the same.

thanks in advance.
[BetterBatteryStats] bbarrios:
Battery drain

Greeting from Honduras,

I own a SE Xperia Ray, lately its battery life has been very bad. Hoping you guys can guide/help me with that issue; so if anybody can see my dump file from BBS would be great.

Thanks in advance.
[BetterBatteryStats] payne_307:
Ok. There's another funny thing i figured out today. Yesterday I reset my phone to factory settings. And didn't install anything apart from Better Battery Stat and the stock ROM provided by my handset manufacturer - Intel Corp. I realised that if I uncheck on Latitude, do not update location from this device in Location Settings, my phone sleeps like a baby. I had my phone more than 85% of the time in deep sleep. The moment I checked the option to report my location from the device, my phone hasn't gone into deep sleep even for a second. The more funnier part is with the same settings on my Galaxy Ace running Gingerbread official ROM v2.3.6, latitude doesn't act that crazy and the phone remains 90%+ times in deep sleep when screen off. Same with my friend's Atrix 2.

BTW what setting do you use or would suggest to use on Backitude - I mean the timing intervals, locations steals, wakelock options, polling method and timeout. Just remember for me latitude was a hit because it never gave my stale location nor uploaded incorrect location (i know it has for many but for me it always worked fine). So please suggest a setting that saves battery as well as keeps my location up to date as well (I'm not asking for every 5 min update but not a 3 hour long interval as well). Defeats the purpose of checking friends and family on maps.
[BetterBatteryStats] Karpfenhai:
Re: [APP][2.1+][05 Jan. - V1.12RC6] BetterBatteryStats

What about altitude, "the better latitude"

from just the same famous developer of bbs?:D

Tapatalked from my Samsung GT9100
[BetterBatteryStats] payne_307:
I just purchased ALTitude with the full license a couple of mins ago. Saw the free version to be doing fine. Lets see how it works. The only concern I see is though every one has said the developer is too responsive, I didn't hear from him even though I have emailed my BBS dump file a couple of weeks ago to which he had replied he would check that on a weekend and then nothing heard further. I hope he supports his products, which BTW are definately nice, so that users like us don't feel left behind. I wish I had skills like him on Andriod to fix these issues by myself. I normally have fair idea about windows but I'm a noob on Linux.
[BetterBatteryStats] Karpfenhai:
Re: [APP][2.1+][05 Jan. - V1.12RC6] BetterBatteryStats

Chamonix is usually quite responsive..

If you would check his git sources you would see he's busy working on certain products for our all benefit.

Some of us are here to support Sven in terms of knowledge and to relieve him.

So, don't mail him a dump, he's the dev, mail him dmesg and logcats in case of problems, drop the dump here for assistance.

Tapatalked from my Samsung GT9100
[BetterBatteryStats] etn8127:
Stock Nexus 7 8GB here, Portenzo case with Magnetic sleep/wake function (not sure that part matters). Joined the forum after researching a glitch where I would set the "Keep wifi on during sleep" setting to "Never", but the wifi bar would be solid blue in my Android battery stats, & would decrease about 15% overnight. It somehow fixed itself near the Holidays and battery life was outstanding - but now it's happened again. So I got the BBS app, charged up last night and unplugged this morning before I left. Dump is attached. Weird thing is, today the tablet was at 100% battery when I opened the case (was idle for about 11 hours while I was at work without losing any charge? Something has to be going on there, too). Would like to see if someone could please take a look and see if anything seems suspicious. Thanks!
[BetterBatteryStats] Kocai:
Re: [APP][2.1+][05 Jan. - V1.12RC6] BetterBatteryStats

Thanks for the feedback. Coverage is the same actually. I got better result on my N4 with data disabled. And like I said, usually it's not like this. I'm worried it's either the ROM, since I upgraded to CM10.1, or the modem. Highly doubt it's because of the ROM since CM10 and CM10.1 aren't that much different. So I'm trying another modem. If it doesn't make much difference, I'll try going back to CM10.
[BetterBatteryStats] waydhee:
Re: [APP][2.1+][05 Jan. - V1.12RC6] BetterBatteryStats

Hi there can anyone helpme to get better batt perfomance there my dumpfile

http://db.tt/Y8HyO9n0
[BetterBatteryStats] Kocai:
Next time, provide an idle dump for at least 4 hours. That way you can find out if your battery drains or not if it's in idle or not being used. If you're using your phone, of course the battery will drain.

But I looked at your dump and it seems that kakao talk is the one that drained your battery a lot, among other things. msm_hsic_host kernel wakelock is Nexus 4 kernel wakelock. Try custom kernels to see which one can reduces it.
[BetterBatteryStats] fenstre:
Re: [APP][2.1+][05 Jan. - V1.12RC6] BetterBatteryStats

Something I noticed is that a lot of 2.3.x ROMs don't let a background app turn on the GPS. That may cause better battery life on Gingerbread.
[BetterBatteryStats] droidbond:
Re: [APP][2.1+][05 Jan. - V1.12RC6] BetterBatteryStats

Can somebody please help me understand these stats.....please guys my android system is eating lot of my battery and my draining too quickly even when i bought a new battery just few days back...attaching screenshot...plz help and what the hell is this audio_out....thnx..
[BetterBatteryStats] beboo55:
here is the file again guys after applying what you mentioned, it was overnight, left the phone alone and screen off for complete 8 hours and i lost 18% battery which i do not think it is good, the strange thing that the phone till last weekend gave me more than 40 hours on one charge with the same settings, applications and average use, suddenly dropped to about 18 hours per day then i applied the autostarts, turned the phone data off while connected to WiFi so now i can have about 28 hours on one charge, i am sure something is wrong, but what it is, that is where i need your help guys, thanks in advance
[BetterBatteryStats] Karpfenhai:
Call me blind but i cant see a dumpfile....

So, you own a Note, fortunately one of my collegues too.. 4 mins audio_out out of 7 hours is nothing to worry about...

The Note is quite sensitive in terms of RIL, check Getril whether it is matching and try to find a more battery friendly Baseband within the desired thread.

An undervolted Kernel might help too

Next time, no Dump, no support!

Thx!
[BetterBatteryStats] It_ler:
Your main wakelock are:

Gbackup (pl.polidea.gbackup_full.G-backup Full)

AlarmManager (com.google.android.googlequicksearchbox.Google Search)

You can uninstall/disable it, if you don't need it.

Or you can try to change the app's settings ... or disable autostarts of these apps (e.g. with Gemini Apps Manager or Autostarts app from Play store).

You many alarm is:

com.google.android.apps.maps

Double check that all location service options are disabled.

And in post #3 there is a link to Karpfenhai's description of how to "optimize" Maps.

Give it a try ... it works for me.

Good luck !
[BetterBatteryStats] kozmo21:
Make sure to reboot after making changes with autostarts.
[BetterBatteryStats] It_ler:
Oh sorry ... something is wrong with your BBS dump.

I think the since references were not recognized correctly.

You have to record a new dump.

Please reboot after your battery is fully charged.

Then you may have to plug and unplug the USB cable, and start recording ... doing nothing / screen off all the time ... for about 4 hours.

That will hopefully lead to a reliable dump file.

Good luck !
[BetterBatteryStats] droidbond:
Re: [APP][2.1+][05 Jan. - V1.12RC6] BetterBatteryStats

http://db.tt/9KnnJsdt

Here is my dump file...now can you guide me in the right direction please....thnx
[BetterBatteryStats] etn8127:
Will do, and I'll repost when I get it charged up and recorded.
[BetterBatteryStats] den_breacker:
Can someone take a look at my dump file, to help me get better battery life ?

https://dl.dropbox.com/u/4155361/BetterBatteryStats-2013-01-25_085516742.txt

Thanks !
[BetterBatteryStats] irish-sid:
Please read and help

I really need some help. I have been frustrated for weeks now with my battery life, I don't know what else to do. I've tried newer versions of my rom (always a proper full wipe), turning off all features like sync, location ect.. I just can't get good battery life anymore and I don't know why. I used to get 48hrs and 7hr screen on. Now I'm losing 20% overnight, it barely lasts a day and 2.5 hrs screen if I'm lucky. I have the same apps I've always had.

I'm at the pulling my hair out stage, so could some of you please have a good look at my file and tell me what's happening please, I just want my god battery back.

I have enabled root features too.

Edit: I've also attached a pic showing the drain overnight.
[BetterBatteryStats] lordgoata:
I used to use ALTitude, but found Backitude more configurable. I still keep an eye on both, and Brian (Backitude) seems to have vanished off the face of the earth! Who ever adds the ability to send specific lat/long coordinates to Latitude via Tasker, will be the one I stick with forever :victory:

---------- Post added at 02:06 PM ---------- Previous post was at 01:44 PM ----------

Well that makes some sense as its not doing any location detection :)

Sounds like a bug to me - possible with the Android version running on the Intel processor, I've not seen the problem myself, and the fact its ok on other non-Intel phones seems to indicate its not a general problem per se.

That totally depends on your exact requirements! My setup is somewhat complicated, as my updates come from Tasker (via Backitude steals), so my Backitude settings wouldn't be much use to you. But set the Standard Mode polling to whatever frequency you want your normal polling to be, say 15minutes. Set the WiFi Mode polling to whatever frequency you want your polling to be when connected to WiFi.

Use location steals only if you want Backitude to push updates to Latitude when any other app on the phone does a location request (such as weather widget, Navigation etc).

Min change in distance is how far you must move before an update will be done. So when the standard mode polling triggers, the location will not be updated on latitude, unless you have moved by this amount.

Latitude re-sync rate is the bit that stops it going stale. If you are in the same location for 2 hours, with a min distance of 100m, you will not get any new updates in Latitude, as the min distance will not have been achieved each time the polling happens. By using the re-sync value, Backitude will push the last location back to Latitude.

eg.

10:00 arrive a x,y

10:15 still at x,y (min distance not met, no update)

10:30 still at x,y (min distance not met, no update)

10:45 still at x,y (min distance not met, no update)

11:00 still at x,y (min distance not met, no update)

11:15 still at x,y (min distance not met, no update)

with re-sync on and set to 30 minutes

10:00 arrive a x,y

10:15 still at x,y (min distance not met, no update)

10:30 still at x,y (min distance not met, re-sync triggers)

10:45 still at x,y (min distance not met, no update)

11:00 still at x,y (min distance not met, re-sync triggers)

11:15 still at x,y (min distance not met, no update)

Thats the basics more or less, but is totally offtopic now, if you want more info goto the Backitude forum - I'll reply if/when I can, but I don't always remember to check every day :)
[BetterBatteryStats] paul c:
Your wi-fi is on all the time - that's going to be a big factor
[BetterBatteryStats] irish-sid:
I've always had wifi on, and surely it's better than having data on? My wifi is also set to static.
[BetterBatteryStats] iovaniorgovan:
Did I bored the audience with my reply?
[BetterBatteryStats] GoJo ^^:
As said, the apps (ebay, battery monitor..) have always been here, it's not the problem. Ok i'm going to check post #3...
[BetterBatteryStats] Karpfenhai:
Re: [APP][2.1+][05 Jan. - V1.12RC6] BetterBatteryStats

nope, but some of us need to work to afford their life's.. :D

I'm sure you will get your answers later today, just be patient I'll have a closer look by myself tonight.

Tapatalked from my Samsung GT9100
[BetterBatteryStats] irish-sid:
Perhaps you might find time to look at mine too please?
[BetterBatteryStats] paul c:
Well, you could configure things so that it's NOT on all the time - this is what apps like Juice Defender do, and that's where they get most of their savings, managing the data connection. JD/similar apps are frowned upon here since they are mostly an interface for things you can set up yourself (sorry can't provide references inside the thread, since the search button has been missing all day).

But that said, if that's been a constant, it won't/shouldn't be causing the difference in the drain.

Is your phone signal a lot worse than before? There are a lot of dim green bits on the signal quality bar - I recently moved back from ICS to GB and the signal quality improved (no idea why, but just saying).

Overnight I get bit less than 1% drain/hr, but with connectivity heavily reined in. So your 1.9%/hr is high but shouldn't leave you out of juice. Maybe something you restored like system settings or message stores, if you have moved from a different Android version..?

If the phone behaves (reasonably) well when switched off, maybe the drain is when it's switched on? Would be interesting to see for example the CPU speeds for a period you're using the phone normally with the screen on. Are you using a CPU governor like SetCPU?

When I moved from ICS to GB, the different kernel had different clockspeeds available, so I had to reconfigure the restored settings and redefine the governors, I recall it picked up the maximum available - even though it scaled up, it still spent a lot of time up at the maximum.
[BetterBatteryStats] irish-sid:
No, I don't use any cpu apps or juice defenders. I'm on a custom rom though, omega. But that shouldn't be a problem either because I was getting 2 day battery on 7.1. I did try going back to 7.1 but the drain remained the same. Something must have changed and I can't figure out what it is.

I'm on wifi Peru much all day which is why my phone signal looks like that. If I turned wifi of of get 3 bars of H+ No bother.

I've also never used custom kernels.
[BetterBatteryStats] bbarrios:
Any ideas guys? :confused:
[BetterBatteryStats] chamonix:
After too intense weeks at work where my spare time was for my family I'm back. I have a new RC but want to spend some time catching up in the thread and reading an impressive amount of mail before releasing. I hope you guys did well and behaved in my absence ;)
[BetterBatteryStats] kozmo21:
Couple of things that are draining battery are

viber: try to freeze/delete

you have fast dormancy wakelocks: use Gokhanmoral's Fast Dormancy app from Play store to stop this

have a few maps wakelocks: use Karpfenhai's description of how to "optimize" Maps (link in post #3 )

Samsung push wakelocks: go to Samsung Apps: menu > settings > uncheck "send push notifications"

google search and google+ also are acitve: try to turn off/freeze.

Since you said you have good signal, try to do a dump with wifi turned off for comparison.
[BetterBatteryStats] irish-sid:
Thanks for the tips, I've replied to each in red writing and will try overnight.
[BetterBatteryStats] kozmo21:
Yeah, any of VOIP apps are going to cause wakelocks because they have to run all the time to work. Play around with some others to see if there are any better?

You want to turn fast dormancy off/disable... just hit the toggle button once and you should be good.

Maps will start at boot by itself. If you follow that post and use autostarts or gemini to prevent it from starting at boot, it will eliminate those wakelocks. You can still use maps if needed though, just remember to manually stop it after or reboot.

Good luck on your next dump.
[BetterBatteryStats] chamonix:
I must diagree: an app can keep a connection active without causing wakelocks. Take for example a chat app ng XMPP or IMAP: both use a keep-alive frequency of about 25 minutes and so do not require a permanent and active connection of any active piece of code holding a wakelock
[BetterBatteryStats] kpavl01:
Re: [APP][2.1+][05 Jan. - V1.12RC6] BetterBatteryStats

I plan to dump a file in the morning. I'll charge it now and let it over night. I already did this once on another rom but now i've seen in GSam battery that AndroidOS causes much wakeups so I am worried.

Just one question. Should I make wifi on or off?
[BetterBatteryStats] chamonix:
leave wifi as you have it set for everyday use
[BetterBatteryStats] gorandroid:
i need a qick answer please, i have a massive battery drain on RR 3.1.3 dori v7.44, and also when im on wifi it drain for 2-3 hours completely? it's really anoy to me :(
[BetterBatteryStats] kpavl01:
Use static IP adress, use lbe security and gemini (described here : http://xdaforums.com/showthread.php?t=1909996).
[BetterBatteryStats] iovaniorgovan:
Re: [APP][2.1+][05 Jan. - V1.12RC6] BetterBatteryStats

Hello chamonix, welcome back.

I shared my experience with the S3 i9300

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

I think you have a better point of view in there. Any feedback is welcomed. Thanks!
[BetterBatteryStats] Karpfenhai:
Okay, lets see what i can do for you ;)

Lets ignore your partial wakelocks since they are brilliant, it seems you did your homework quite well! :)

Now the hard part ...

Generally spoken, as far as i remember, we agreed in this thread your main problem (battery-monitor" (): 41 m 40 s )

is a symptom, not the cause, it popps up if a certain trigger asks the system "Hey, tell me the battery status".

BTW, sec-battery-monitor is another common name for the same as yours, maybe a little googling on that will bring more reliable results?

So we need to figure out what might be the trigger.. i wonder if the problem persist if you turn of Wifi completely?

If yes, you can try to use a Kernel which has a disabled Broadcast receiver in the wifi stack, siyah kernel for instance.

The battery consumption probably will slightly increase but your second problem (wlan_ctrl_wake" (): 36 m 58 s) should vanish instantly afterward. (around 90% less)

Your last problem (l2_hsic" (): 23 m 57 s) (aka msm_hsic on LG devices) is related to interchip communication between the the Modem and the other parts of the system, which could also point to a bad Wifi setup /driver but more likely the gsm modem. Or (shot in the dark) was your Bluetooth on but not connected?

I wonder if the problem still persist if you are connected to a less secure WLAN (WEP)?

Also i made the experience, invisible ssid*s are a problem for android, so perhaps you could try to "fine-tune" your wifi for test purposes?

General recommendation, go for a kernel with "tuned" Wifi stack / driver and find a baseband which is known as battery fiendly, does your baseband / ril combo match? its the hell of a problem on galaxy note..

Whats next?

- Testrun on flight mode, no drain and battery monitor then --> Problem related to wifi / Baseband for sure.

- Post a logcat and if possible a dmesg for further investigation, logcat can be done within bbs.

- Disable Beautiful widgets, it asks the system every single minute for the time.. Maybe there's a setting "update only when screen on" somewhere. --> Alarms: 382, Intent:

com.levelup.beautifulwidgets.core.ACTION_REFRESHTIME .. thats way to much for a widget..

Hmm, just read your dump once more..

Lets do a short calculation:

384

+ 458

+ 382

---------

= 1224 possible triggers by BW alone!

Its your decision ;)

After some more investigation im pretty sure its your wlan, if you install siyah kernel, activate discrete wakelocks in the Tweaktool (STweaks) and compare with BBS, then you will see the phone was awake due to wlan and battery-monitor is just a side effect, i think Chamonix is working on a similar implementation.. Hope i didn't confuse you too much right now..

Im curious for your findings and i hope im a little help for you, if im not totally wrong...

Best of luck and regards.
[BetterBatteryStats] EtienneBordeaux:
Re: [APP][2.1+][05 Jan. - V1.12RC6] BetterBatteryStats

Can someone analyze my dump file? Thanks in advance. :)

http://db.tt/uwtcD3F9

Sent from my GT-I9300 with Omega v39 + Perseus 31.2
[BetterBatteryStats] Kocai:
The answer is so obvious. Your phone is awake 100% of the time, caused by msm_otg kernel wakelock. Did you have your phone plugged in to PC or OTG devices? For more info, Karpfenhai already explained it before: http://xdaforums.com/showpost.php?p=33431193&postcount=9718
[BetterBatteryStats] electech13:
Re: [APP][2.1+][05 Jan. - V1.12RC6] BetterBatteryStats

Anyone here eventually have issues with this app not responding after a while?

I've used this app on many phones and many ROMs and again this week...like most times...after weeks of use it eventually starts having issues. .I have ROM tell me when app stops responding...and this one is coming up all the time again

Curious I'd this is normal after a while to many..
[BetterBatteryStats] etn8127:
(8GB unrooted Nexus 7) Attached is my revised dump file (as requested), charged, rebooted, plugged/unplugged, recorded nearly six hours. Was having problems with battery drain due to WiFi constantly being on during sleep (have the WiFi set to turn off while tablet sleeps)...but problem seems to have mysteriously gone away. Still, would like someone to take a look for me, please :)
[BetterBatteryStats] Hilmesh:
Hi there,

I used to use GOSMS but i did have a lot of wakeups with the same. maybe you could try and see with stock sms app. Also you have maps ON. do you really need it if not then disable it with Gemini / Autostarts. Also I read somewhere that quite a few people had problems with BMW app , there is a setting to disable historical data in BMW maybe that will help you in reducing its alarms. Have heard Apps like Beautiful widgets also creates a lot of wakes. maybe test your battery after disabling it and see the difference.
[BetterBatteryStats] Mongopusher42:
Ok, theres something very funky happening with my phone, could someone please check this out..

Thanks!!:)