yashsingh1/xdaforums huggingface dataset:
[BetterBatteryStats] yahyoh:
are using aokp jb ? i think its google now try to disable it and see how battery act :rolleyes:
[BetterBatteryStats] bosoxdanc:
Anyone?
[BetterBatteryStats] yungskeeme:
Yup. This is the first time I saw Google Now showing....
[BetterBatteryStats] Noed:
Yeah, Google Now, look at its settings, there's many, disable the checks you don't need.

Google is fun with our battery... the most battery eater apps for me are from Google... Latitude, Location History, Google+ and now Google Now.

- - -

I'm fighting with calendar sync, it's producing too many alarms/wakes. Anyone help?

I already frozen all apps that use calendar... but I can only get rid of calendar alarms if I freeze system apps CalendarProvider.apk and GoogleCalendarSyncAdapter.apk... then all calendar applications will stop working (even Jorte and the paid Business Calendar I own)
[BetterBatteryStats] yungskeeme:
My settings. Guess I gotta do some more research.
[BetterBatteryStats] Noed:
See attached image, 30min stats, 22 calendar alarms. All apps that use calendar are frozen, unless there's something hidden.

Sent from my Swag Nasty Samsung Galaxy SII
[BetterBatteryStats] t-pip:
I'm getting big locks on networklocationlocator service but not sure why. Can someone have a look at my dump and see if they have any ideas why?

http://pastebin.com/SJJnZtX7

Thanks.
[BetterBatteryStats] yuhaohuang:
16% in 8 hour night

Hi all,

I've been getting higher than normal battery drain since upgrading to Omega v27.1. I've turned off alot of the unnecessary services but have left my Wifi on last night. I've been trolling through the hundreds of pages on this thread and the Omega thread to see if someone has similar BBS log patterns but havent been able to find any.

Can someone have a look at my logs and point me in the right direction?

Thanks in advanced.
[BetterBatteryStats] NunoPitbull:
Please, someone answer me...
[BetterBatteryStats] -viperboy-:
Hi, how are you? Feel better?
[BetterBatteryStats] Karpfenhai:
Your wakeups are caused by: 1. Background traffic (Sync + Exchange), 2. dirty wlan (search for tips) and i guess bad coverage (Syncloop wakelock).

Do you need the samsung push service?

Note, you should also take care for the count, not only the time, every single wakeup causes an average awake of 6 seconds.

Good luck!

---------- Post added at 06:34 AM ---------- Previous post was at 06:31 AM ----------

Didnt i tell you, the dumps are Useless b/c they are not Idle?

Read the f*****g manual ;P

..or at least the OP - #3 how to produce a valid Dump!
[BetterBatteryStats] droidmark:
I've been happy most of the time with battery life on my Verizon Galaxy S3 until a couple days ago when suddenly it plummeted to about 7 hours under conditions where previously it would've been over 20 hours (ie, mostly on wifi).

The stock Battery app showed unplugged from charger for 3h 35min. Android System was at 88%. CPU total 3h 32m, CPU foreground 5 sec, Stay awake 3h 29m.

I found BetterBatteryStats and this thread so I installed the app and have attached the log files. Had to zip the logcat because it was too big!

Thanks for any help on correcting this problem!
[BetterBatteryStats] droidmark:
Looking at this myself, it seems SDM_Partial_Wakelock might be the culprit. A quick google suggests this might be related to Samsung OTA update. I run stock rooted ROM and have been postponing the current OTA for the past few days. Might this be responsible?
[BetterBatteryStats] Karpfenhai:
Yes, but it should be verizon (found on google too) not Samsung OTA, but im not 100% sure;)

Youre root, freeze it, guess you will be able to install updates by yourself ;)
[BetterBatteryStats] droidmark:
I've been wanting to get rid of the nagging to accept the OTA update. If freezing SDM fixes the battery problem AND ends the nagging, it'll be a double bonus! Fingers crossed...
[BetterBatteryStats] cdman1980:
I just bought the BBS app in the playstore, is there a difference with the xda version?

Great app btw.
[BetterBatteryStats] gOOglEy03:
Yes. The Google Play Store version you pay for, and the xda version is free. Also, the xda version includes RCs while the Google Play Store is only stable releases.
[BetterBatteryStats] damon412:
Still trying to figure out what's keeping my phone awake.

#9123

I created a cleaner dump this morning. 8 hours of idle time losing 4.3%/h.

What is more concerning, the wakelocks with higher counts or the ones that have larger time running? Also, I don't understand what c/wc/ec means. I think c = count, ec = expirecount, and no clue what wc is. What does it mean when you have expirecounts?

My next step if no one has any ideas about these wakelock culprits is to reflash stock ROM and see if I can get it to sleep then.
[BetterBatteryStats] ManUtd07:
Hi, I'm running Viper4G v1 on my EVOLTE. Wondering if someone would be able to help decipher my dump file as I'm experiencing battery drain while not using my phone too much. At least, more drain than I thought would occur. Any help/advice is appreciated.
[BetterBatteryStats] damon412:
How much % drain did you have for that?
[BetterBatteryStats] ManUtd07:
If I remember right, I went from full 100% to between 40-50% in about 10 hours. Maybe it's right but just seemed to drain a little more than usual. Just didn't feel like I used the phone all that much.
[BetterBatteryStats] Karpfenhai:
Hmmm, your dump doesn't show something obvious, beside google cloud backup and a weird wallpaper wakelock, do you use an active wallpaper?

Tapatalked from my Samsung GT9100
[BetterBatteryStats] chamonix:
That is passive assuming IT decides to get teh fix and everyone interested reads that data
[BetterBatteryStats] chamonix:
sure, the kernel guys shiuld take care of shutting down the peripherals prio to try to sleep. No worries, if the have that info they should know where to look.
[BetterBatteryStats] chamonix:
thw only explanation I see is that both views are using different references. Your bbs stats covers one hour so if the wakes were before that they wouldn't be included. Can you tell us more about the time span of the graph?
[BetterBatteryStats] chamonix:
You won't find much because your stats show nothing wrong so I'd say you have reached the point when you should start enjoying your phone and use bbs from time to time for regression.

Just one candidate: if you don't use kies air freeze it.

About your remark: on the one side I can understand that it can be frustrating not to get told 'do this or do that' but we are all here to learn. Somethimes I think people confuse getting vague answers with gettings answers that bring them forward. Therw is a thin line between what you ask for and being spoonfed.
[BetterBatteryStats] sowen222:
The time span of the graph is exactly the time covered by the BBS file.

I charged then restarted the phone to start my test. At the beginning, wifi and data were on, but I turned them off then turned the screen off... you see this at the start of the graph. At the end of the test, I turned the screen on, switched wifi back on, then dumped the BBS file. As soon as the wifi-on showed up in the graph, I made a screen shot.

So both use exactly the same references, which is why I'm confused :confused:
[BetterBatteryStats] nobnut:
I have nothing conclusive for you, but there is something that may be worth considering. What initially wakes your phone from sleep is probably listed in the BBS stats. However, we know that following wake, all devices need a period of 'cooling down' before they sleep again. It is possible that your Sensation (on it's stock ROM) for some reason doesn't enter a sleep state as quickly following a given wake than other devices.

I am not suggesting that this happens after every period of wake, but I will give you a hypothetical example... your phone enters a sleep state fine after seeking network location, but for some reason, after it syncs with HTC Sync (for example) it takes a much longer time for the sleep state to be entered.

Now, if this is the case, am I right in assuming that this happens at a similar time every day? If so, it is easy to investigate and resolve.

Tomorrow morning at that time, view the 'running processes' from within Android's application settings and see which ones are running and for how long. You should find your answer.

If my theory is correct, that is the reason that BBS doesn't show this long period of wake. It is because the app concerned didn't cause wake for this time period. The issue is actually with the phone entering a state of sleep (kernel possibly). Do you see the difference?

@ShivaShidapu

I have given up giving advice or explicit instruction in this thread. The reasons are that:

1. I got extremely fed up defending each and every post I made to people who disagreed with me (which is fine)

2. If I gave someone advice to remove Juice Defender, or Green power (for example), it is very hard for that person to get over their preconceptions about how great these apps are. What they want me, or others to do is to provide a new 'magical' solution that allows them to run their device with fundamentally flawed apps that actually use more battery than they save but without the negative stuff that is attached to them.

There are some things we now know about wake/sleep thanks to Chamonix's great app, there are still many things that we are still speculating about. In other words we don't have all the answers you want :( ... yet ;)

The secret of deep sleep and long battery life is simple. Don't install any apps on your phone and if possible, don't switch it on in the first place. What we are trying to do is to give people a balance... as much functionality as we can, with as little cost attached to it as possible.

PS Your stats are fine. As Chamonix said... go and enjoy your phone :)
[BetterBatteryStats] sowen222:
Yes, I see the difference. It happens every night, usually around 05h00, and then again for a longer period at around 08h30. So in order to figure out what it is, I set the time on the phone to 07h45 and put the phone into the same state it would be at that time in the morning. And that's what resulted in these stats. I had turned off sync generally, and specifically turned off the syncing for accounts for HTC Sense, HTC Show Me, and Weather... so those aren't the culprits. I have my suspicion, so I've now contacted the developer of the app I suspect with the output from his app's logfile.

Thanks so far.
[BetterBatteryStats] nobnut:
Indeed, I only mentioned HTC Sync as an example. See what the Dev comes back with. In the meantime, you could uninstall the app and test again.

Sent from me to you using stuff
[BetterBatteryStats] sowen222:
That is so true. I took one look at JD and realised it was going to cost more energy than it saved, so never installed it. Same for a number of so-called energy savers. Unfortunately, people who aren't developers become fan-boys or app-fundamentalists and see experts as a threat :-(

Your help is very much appreciated! And I promise not to ask for 'magical' solutions ;-)
[BetterBatteryStats] CekMTL:
Thx to all the shared knowledge of the generous ppl here, I have been able to manage 25+ hours with a stock Samsung battery, with a VERY HEAVY usage pattern (I have it glued to my hands literally).

Screen on time is almost 5,5 hours in auto mode, and I've used GPS, spotify over 3G, and WiFi has been on all the time.

Happy :)

Enviado desde mi GT-I9100 usando Tapatalk
[BetterBatteryStats] chamonix:
it would be interesting to see a logcat and a dmesg covering those times. As nobnut said it is not impossible that your phones stays awake even if there is no wakelock involved. This happens a lot with experimental kernels and is mostly related to periperals (screen, sensors) not being turned off properly. Somewere in the sequence of getting asleep I remember a check if there are some devices still listening on irqs and if yes the process is being interrupted (used to be in older linux at least, I haven't studied any android kernel in the last 2 years.
[BetterBatteryStats] chamonix:
Thanks for the detailed analysis, I will try to reproduce it with the debugger. What it looks like is (as your last observation confirms) there are multiple "main" screens (activities) created and each of them can hold another reference. Of course this is not by design but may be interesting if I could condition it.

On my todo list I have a plan for a lightweight reference storage (as per today it is a deep copy of whole lists). I need that for multiple purposes, one being performance but also for the widget functionality automatically storing a reference when screen goes off and shows any bad boys since that ref when the screen is turned back on.

If I could do that I could also avoid keeping the reference in memory and serialize it to the SD instead, avoiding the workaround with the "back" button.

Unfortunately I have no clue yet on how to do that but I have some pieces of source to study.

In the meantime I have taken your observations into a new bug (#34) description in order to fix what is not consistent behavior.
[BetterBatteryStats] chamonix:
Happy users make me happy, thanks for the feedback!
[BetterBatteryStats] CekMTL:
Yes, its ppl like yourself and nobnut that inspire me to learn coding for android and keep coming up with crazy original ideas ... but first I have to learn how to compile kernel, etc.....

Also I still have to track the bloody TIME_TICK of alarm manager and the high OS usage (more than 4 hours).

:) thx again and hopefully some day soon I can give back to the community ;)

(I accept any kind of pointers links info etc)

Enviado desde mi GT-I9100 usando Tapatalk
[BetterBatteryStats] chamonix:
My tip of the day: don't trust the percentages from the android process view.

Reason: what is shown as % is not a value like CPU or time but a mix calculated from different parameters like data traffic etc. on a group of aps under a generic term like "android OS".

I say (in facts that's a quote): don't trust any stats you haven't falsified yourself ;)

Want to try to understand how it is calculated: look for BatterySipper here

http://grepcode.com/file/repository...id/settings/fuelgauge/PowerUsageSummary.java/
[BetterBatteryStats] CekMTL:
Yeah very true!

Thx for the info; most kind of you!

If you need translation into Spanish, just let me know ;)

Enviado desde mi GT-I9100 usando Tapatalk
[BetterBatteryStats] jr67:
I apologize if this was already asked before.

I just tried to do a dump of all alarm events in terminal emulator and I get the following message:

Permission Denial: can't dump AlarmManager from from pid=17291, uid=10088

I ran a dump of everything and going through the output (not easy to do on a phone) I noticed I get the same message for "battery" "batteryinfo" and a bunch of others. Any ideas, suggestions? Is this not possible on Froyo?
[BetterBatteryStats] carlos67:
Make sure you type "su" at the terminal prompt before running the dump command. It only works if terminal is run as superuser. After typing "su" and hitting enter, your prompt should change from a "$" sign to a "#" sign. Then type the dump command. ;)
[BetterBatteryStats] jr67:
Thanks man.
[BetterBatteryStats] ejstubbs:
Would the same reservations apply to limiting the CPU when the battery is low? SetVsel has a couple of additional settings to limit the CPU to vsel2 at most when the battery capacity goes below a certain %, or to raise the up_threshold to 99%. I guess the same argument could apply as for the screen off vsel limit.

If there's no value in the various options to limit CPU in certain conditions then I'll probably ditch SetVsel and just use the 2ndinit bootmenu to set the vsel & MHz ranges.
[BetterBatteryStats] damon412:
I'm not very familiar with EVO battery drain standards. That does seem a little fast, but you also have G_Talk running. Sorry I can't be of much help. I'm here too trying to get help with my phone.

On that note, I flashed back to rooted Stock AT&T ROM then did a factory reset & wipe as well as a wipe Cache and Dalvik wipe. Basically took it back to exactly how the store gave it to me(except the root access). Started it up and installed BBS, plugged and unplugged for reference, and I'm still seeing the same wakelocks as before.

Next step I guess is to start disabling everything I can to see if I can make it stop. So frustrating.
[BetterBatteryStats] ManUtd07:
Thank both of you for the advice. I do not use an active wallpaper so that's weird. And I'm not signed in to G_Talk, at least I don't think so. When I go into the app it has me as signed off. I appreciate the help however.
[BetterBatteryStats] kingofcomedy:
I have improved the battery life of my Nexus 7, but I still have a lot of alarms from com.google.android.googlequicksearchbox. and com.google.android.gsf. I thought I had frozen a lot of google-services already but it looks like I have missed the important one yet. Maybe someone got a clue? :)
[BetterBatteryStats] gigeaky:
hi, i'm wondering how to find out which is the culprit for my hi android os usage...

and it started a couple of days ago

i have 3 txt files on my pc:

battery_history

BetterBatteryStats-2012-10-06_032650778

logcat-2012-10-06_032626630

which one should i upload so, maybe, someone could help me out?

edit: file uploaded :)
[BetterBatteryStats] chantoine:
BetterBatteryStats-2012-10-06_032650778...
[BetterBatteryStats] Hilmesh:
Hey Karpfenhai, can you please take a quick look??? I think it looks good but still would like your opinion.

After continuously following the posts for the first time i have changed my Modem to LP6 and somehow i feel i got better signal than LQ6 & UHLPH.

What i do not want to change is Gmail Mail only Sync, Skype & IM+. Again this is only when i switch on 3G & then turn on sync. and after checking everything i turn off both 3G as well as Sync.

I dunno if this is important but if you look at the CPU states then my phone remains on 500 Mhz & 200 Mhz for an almost equal amount of time. Does this also affect the battery? Any ideas here.

I am Using Phenom 6.1 Medium as Extreme is not supported and also have used the init.d script with governor as On Demand. Will do a similar test after 10% with Geroxx intensive and see which is better!!!

How do i find out how much time i have been on 3G??? is there anyway of doing the same with BBS?

Any scope of further improvement?
[BetterBatteryStats] damon412:
1 day standby time with 2.5 hours of screen time and your only down to 40%? I would kill for that kind of battery life. Your awake time is 0.8% of the time your screen is off. I know your are just looking to improve more but man, it makes me mad at my phone when I see things like this.
[BetterBatteryStats] pokedroid:
Hey all, I just learned about this app and installed it last night hoping it would settle in and I'd get some info throughout the day today after I unplugged. However I can't get any stats to pull for me, all I get it this.

Is there a setting that i'm missing? Thanks if anyone can help me out
[BetterBatteryStats] Karpfenhai:
Guess you will not like this series.. :D

Will comment all posts later tonight..

Cya

Tapatalked from my Samsung GT9100
[BetterBatteryStats] damon412:
I like it because I have hope that I can get a GS3 with that kind of battery life, but I hate it because I don't have it yet and can't figure out what's wrong with my phone. Today is the last day to exchange my phone at the store, so I'm going to do that. If i get similar results I will go back to the drawing board. I just can't understand why my phone never sleeps.
[BetterBatteryStats] Karpfenhai:
Did i asked you if you use chrome?

Second is your sd card maybe faulty?

The suspend backoff points either to chrome or another app using the gyro, try to narrow down that. If your sd card is not faulty, have you installed apps on your sd? If yes, move them to internal storage, since ics, apps on sd may cause issues.

Good luck and don't worry, we will work this out!

Tapatalked from my Samsung GT9100
[BetterBatteryStats] gigeaky:
I don't want to be pushing but has anyone took a look at my ststs? :o

Sent from my Slim (ICS) SGS2 using the microwave oven
[BetterBatteryStats] damon412:
I installed chrome at one point, but have since uninstalled and done a couple factory resets/data wipes since then and the wakelock still shows up.

I don't have an SD card. Only using internal memory atm.

Currently reverted back to At&t stock ROM unrooted without any apps installed except BBS. It' still there, though.
[BetterBatteryStats] yahyoh:
rom ? kernel ? :D

---------- Post added at 08:23 PM ---------- Previous post was at 08:17 PM ----------

bln + wlan rx wakelock :rolleyes:
[BetterBatteryStats] Gunss:
Clean and useful.

Nice. :good:
[BetterBatteryStats] gigeaky:
Ok, thanks any idea what could I do about wlan rx? As for the bln I guess I need to disable it

Sent from my Slim (ICS) SGS2 using the microwave oven
[BetterBatteryStats] yahyoh:
do use google now ? if not u can't do anything its ur modem (router) fault cuz its not filtering wifi traffic which will cuz that wakelock

cuz my isp modem make wlan rx wakelock go crazy like hell which didn't happen with my linksys modem :)
[BetterBatteryStats] Hilmesh:
Hehe, no need to kill , just judiciously follow the first few posts which have clear instructions about major issues and then follow this thread and posts by the Op and Karpfenhai and you will probably do better than me. Tomorrow i will post my final values at 5% after which i will recharge and go for Geroxx intensive. But you are right by far till date this is best that i have got and the biggest change i did was change my Modem. All the best. If all fails then post here and i am sure that you will find help. :)
[BetterBatteryStats] gigeaky:
Disabled Google now hope everything goes back to normal

Also disabled Bln

Sent from my Slim (ICS) SGS2 using the microwave oven
[BetterBatteryStats] Karpfenhai:
It's not just wlan, maps is taking a huge portion of your awake overhead too!

Disable google now and disable all autostarts from maps as well, read #3 how to do so.

Bln, already stated.. Regarding your wlan...it seems to be quite dirty (many other devices and or many other wifi networks nearby..

You could do the following:

Switch channel to something more rare.

Set a static IP on your device and tell the router which Mac addy to assign it (your phone!) Plus increase the beacon interval up to 200 msec.

Try to find the noisy device (tough) and teach out how to behave (stop shouting broadcast)

Also possible, find yourself a kernel with disabled broadcast receiver (afaik siyah)

Good luck and post another dump after finishing your homeworks. :D

Tapatalked from my Samsung GT9100
[BetterBatteryStats] gigeaky:
I almost understood something from what you've said... I need to do some research

Sent from my Slim (ICS) SGS2 using the microwave oven