yashsingh1/xdaforums huggingface dataset:
[BetterBatteryStats] Ninsassin:
Hey, I was wondering is anyone else getting these high google search awakes?

Also, other than that my awakes are pretty good?
[BetterBatteryStats] MattyDip:
No one?
[BetterBatteryStats] chamonix:
Well, I guess everyone was waiting for you to post a dumpfile so that we have something to look at
[BetterBatteryStats] MattyDip:
I posted it today in the morning. Look a the previous page.:o
[BetterBatteryStats] superbobup:
Thanks! I do agree some apps request for fine location and for those, it's best to keep off GPS. I guess it does come down to what apps you use (I really only use Maps and ALTitude for my location apps, so I think I'm OK :) ).
[BetterBatteryStats] dewaski:
How do we view the more intricate graphs? I can't seem to find that option.
[BetterBatteryStats] chamonix:
Sorry, I missed it.

Your main areas of concern should be:

"wlan_rx_wake" (): 52 m 16 s (3136 s) Cnt:(c/wc/ec)2083/0/2083 15,4%
======================
Alarms (requires root)
======================
com.facebook.katana (): Wakeups: 340

com.rageconsulting.android.lightflow (): Wakeups: 113

cloudtv.hdwidgets (): Wakeups: 68

Keeping yout Wifi always on causes a lot of awake time: turn off Wifi when you are not using it

Facebook keep waking up your phone: Facebook is known for that, it's poorly designed

Lightflow: looks like a lot of wakeups in 5 hours to me: did you have a recurring altert?

cloudtv: a widget waking up your phone..... hm...... :X
[BetterBatteryStats] chamonix:
Sorry, I saw it, read it but didn't find the time to process it. But I will :)
[BetterBatteryStats] chamonix:
Do you mean "menu" - "more" - "history"?
[BetterBatteryStats] MattyDip:
mmm... Lightflow, Facebook and HD Widgets are all apps that I had before on previous Checkrom.

But all this alerts from Facebook look strange to me. Now I checked and I don't have any alarm from it. Will check tomorrow in the morning if things went better.

Thanks
[BetterBatteryStats] chamonix:
Alarms are not something that comes from Facebook but someting that the Facebook app uses to wake your phone up again and again.
[BetterBatteryStats] salleq:
HD Widgets and Facebook should be on the front page with letters the size of a cat. Then again, history shows that few people read op :(

I can't understand why the former has a million different wake up rules (according to autostarts), and you can't disable them all, otherwise the widget stops working.
[BetterBatteryStats] jolivera:
Major battery issue

Hi, all!

I guess this is some kind of a "battery gurus thread", so I'm going to leave a problem that is driving me nuts. :silly:

I've owned a Samsung Galaxy S3 for a month. Since 2 weeks ago, after a custom ROM no wipe instalation, my battery charge doesn't reaches the 100% level. It stucks in 66 - 68% and don't go beyond, even after hours of charge, even with celular power on or completely off. As it never reaches 100%, the phone led keeps in fixed red (charging) and never turn green (complete charge).

I've made all kind of wipes, through recovery mode, ultimate kernel cleaning, wipes scripts, flashing by odin with repartition, etc. etc. Nothing helps.

The odd is that in another SGS3, my battery charges to 100%, and the other's SGS3 battery (with full charge) in my phone reports de same 66% level, :confused: meaning that the problem is with my phone, no with my battery.

Over that, 2-3 days ago my battery started to deplect in 12 hours, even by night, with cero use!! :eek: I'm reading about the usage of betterbatterystats, and hope to find de responsible of this behaviour, but would appreciate very much any idea or hypotesis about the no 100% charge.

Thanks in advance, :fingers-crossed:

Javier.
[BetterBatteryStats] itsLYNDZ:
Here is my latest
[BetterBatteryStats] BusyPooping:
Why does BBS keep asking for su status. I have already granted it su and it keeps asking
[BetterBatteryStats] Karpfenhai:
YOU Again!! ahhhh!!! :silly:

Your SD Card seems to be faulty, sdio is S ecure D igital I nput O utput.

take it out and confirm the wl is gone, sometimes a format fixes the issue.

Plus update to the most recent BBS version and take another reading, all others are good looking so far ;) :highfive:

---------- Post added at 12:41 AM ---------- Previous post was at 12:40 AM ----------

RTFM!!!

Read Post 3 (FAQ) or some pages back... answered many times ;) I dont wanna repeat myself to much. :silly:
[BetterBatteryStats] dewaski:
Yeah that's the one, thanks!
[BetterBatteryStats] RisingRider:
Hi everyone.. bought a galaxy note a couple weeks ago, and had pretty fast battery drain until installing a custom rom and kernel (plus getting rid of noLED might have helped).

Anyhow, checking BBS and CPUSpy I see my phone mostly goes into the deep sleep, but not as much as it should. Looks like AlarmManager is the culprit?

Attached my dump here. Can anyone take a look? Thanks!
[BetterBatteryStats] chrone:
can someone here shed a light on how to read the BBS 1x1 Widget?

what is the battery indicator showing and the vertical bar beside of it? I know the vertical bar shows the deep sleep and screen awake ratio or something like that, but where is exactly the deep sleep, is it the bar on top or the bottom one?

sorry just read the couple first page and could not find any info on this. no luck reading through the help and faq guide either.

thanks in advance. :)
[BetterBatteryStats] Memphisto11:
I'm still facing "no reference since...." error with the latest update.

Especially for Kernel Wakelock Since unplugged.

Is there any settings I should be doing after the update?
[BetterBatteryStats] chrone:
plug and unplug the usb will solve this. take a look a couple posts from the page 1. :)
[BetterBatteryStats] Karpfenhai:
You gonna be kidding right?

BLN is clearly your main culprit, get rid of it and post another idle dump!

Read the howto to understand the dump.

Alarm manager is just the collector for alerts shown under the alarm section.

Tapatalked from my Samsung GT9100
[BetterBatteryStats] M.A.K:
Still doesn't solve it for me.
[BetterBatteryStats] myonlyst4r:
Drain in Flight Mode

Can someone take a look for me?

Device isnt rooted. This Dump file is for a recent ~3hour Flight Mode Idle session. Any help would be appreciated!

http://pastebin.com/Vj8JaVwG
[BetterBatteryStats] Karpfenhai:
com.qihoo360.mobilesafe.opti.powerctl (): Wakeups: 476

Alarms: 476, Intent: com.qihoo360.mobilesafe.opti.powerctl.ACTION_MONITOR_TIME

I don't know what this is but its keeping your phone awake, so disable it if possible, all others are good so far.

Tapatalked from my Samsung GT9100
[BetterBatteryStats] MattyDip:
The developer of HD Widgets said that he will soon solve the battery wakelocks problem. What I don't understand is why there are so many alarm caused by Facebook even if I disabled notifications.
[BetterBatteryStats] tltan86:
--- Edited on 07 Aug 2012 ---

--- End of Edit ---

I've similar issue. Linux Installer (https://play.google.com/store/apps/details?id=com.galoula.LinuxInstall) have this problem as well.

Sent from my bot crawling all over the web
[BetterBatteryStats] peron:
Thanks that was this software

http://xdaforums.com/showthread.php?t=1685816

I removed it now.
[BetterBatteryStats] jolivera:
Add my dump file, after a "total charge" (66%) and 12 hours of practically no usage (by night). After that my battery went down to 3%.

What take my attention was the "battery-emergency" and "battery-monitor" (in bold letters, in Kernel Wakelocks), but didn't find any reference to them in XDA neither Google.

I would appreciate any help.

Thanks,

Javier.
[BetterBatteryStats] selectah:
Thank you chamonix. Unfortunately you can't merge Gmail accounts with each other. Or am I wrong?

At the moment I'm fowarding incoming e-mails from the the 2nd Gmail account. But that is not satisfying because I have to write mails as well. At least I'm importing e-mails from all non-gmail accounts to my first Gmail account.
[BetterBatteryStats] myonlyst4r:
Can someone help me out?
[BetterBatteryStats] cmg5461:
bumping to find in tablet
[BetterBatteryStats] Wacco001:
May I suggest you have a look here.

It's a Google Gmail support page about "Sending mail from a different address" with Gmail.

Hope this is what you need.

Cheers,

@ chamonix.

Excuses for going OT in your BBS thread with my reply.
[BetterBatteryStats] lowg:
Just bought the version on in the Play Store after using xda edition for about a week... Just wanted to say Thanks chamonix for this great app and making it available to us on XDA to try it out.

Already helped determine two major battery drains on my GS3! Know this tool will be invaluable in future as I tweak my device :good:
[BetterBatteryStats] chamonix:
Could you please post a logcat using the latest version?
[BetterBatteryStats] chamonix:
https://github.com/asksven/BetterBatteryStats/blob/master/BetterBatteryStats/assets/small_widget.png
[BetterBatteryStats] chamonix:
I admit I have never tried with two gmail accounts but I forward all my mail addresses to one gmail account and have created the corresponding identities there to be send the right headers when writing / answering to mails.
[BetterBatteryStats] chamonix:
I guess the easiest way to find out if the problem is software (charge throttle by the kernel) or hardware would be to try charging the battery with the phone off. If it goes to full charge then the electronics should be intact, if not then something is wrong with the hardware. I read about you wiping/reflashing, have you also tested another kernel?

About your dumpfile:

Since 11 h 18 m 50 s
Awake (): 6 h 29 m 56 s (23396 s) Ratio: 57,4%
Deep Sleep (): 4 h 51 m 14 s (17474 s) Ratio: 42,9%
Screen On (): 12 m 22 s (742 s) Ratio: 1,8%
Phone On (): 1 m 51 s (111 s) Ratio: 0,3%

That's pretty much of awake.

As you noted your main problem is not userland but kernel:

"battery-emergency" (): 3 h 51 m 30 s (13890 s) Cnt:(c/wc/ec)1355/8/0 31,7%
"battery-monitor" (): 2 h 8 m 20 s (7700 s) Cnt:(c/wc/ec)6099/0/6100 17,6%
"fuel-update" (): 1 h 52 m 36 s (6756 s) Cnt:(c/wc/ec)3223/2882/3223 15,4%

I feel that the charging problems you related about and this picture are no coincidence. Is there a place where we could browse the source of the kernel you use? Google is not that good at searches with hypens and maybe we would be better served using a local clone of the kernel sources and grep.
[BetterBatteryStats] chamonix:
I am aware that I lag almost a week behind but I have been into some time intensive testing and a lot of "real work" this week. I will try to catch up till end of the week. Apologies to anyone who has not got my attention yet.
[BetterBatteryStats] Tungstwenty:
Actually, I learned a few days ago that the kernel is still running "normally" even with the phone off. Well, it had to otherwise there would be no charging animation except if implemented directly by hardware.

This was after a comment from GM about adb being available on Siyah after shutting down the device and connecting to a computer while still turned off!
[BetterBatteryStats] M.A.K:
I did a few days ago:

http://xdaforums.com/showpost.php?p=29770439&postcount=7349
[BetterBatteryStats] hyperbolic:
I finally got a complete dump file with no reboots since I got the UV in order.

I froze Exchange and found something with less wakelocks (though I still have), and froze a few more apps/services I don't need.

Please do tell me which app/service I can freeze/remove in order to get rid of the wakelocks.

Thank you very much.
[BetterBatteryStats] jolivera:
Thank you very much for your response.

I have tried several ROMs and kernels, all from XDA (Fox Hound, Xlite, Resurrection Remix, Revolution HD; combined with Siyah, Ninphetamin, Phenomenal and stock kernel), and a pair of stock firmewares from Samfirmware (today I flashed the last stock firmware of my region from Samfirmware, in case I have a problem with the radio band (even when I'm not too sure what that means! :confused:).

I'm performing right now a "full" charge to unplug and see what batterystats shows.

Even the two problems are battery - related, they appeared in different moments, with many flashing/instalations between them. Perhaps they have the same cause, but showed up in different time.

Sorry if I sound confussing. English is not my native language. In fact, I didn't understand very well the last you wrote about the source of my kernel.

Greetings,

Javier.

---------- Post added at 10:10 PM ---------- Previous post was at 10:04 PM ----------

The "cross test" between my phone and battery and the other phone and battery seems to indicate that the problem is with my phone.

Charging battery with my phone power off gives me the same results: battery stops charging at the same level (with charging animation stucked at approx 66%), even after hours, and led never turnes to green.

Thanks.
[BetterBatteryStats] M.A.K:
@jolivera: It sounds to me like your batterystats.bin file is faulty. ie. your battery may be fully charging (as your friend's is) but it is not calibrated correctly so is being reported as not charged.

Have you tried a battery monitor that reports the actual voltage of your battery? A fully charged battery will usually be a bit less than 4.2V. 66% charged would be well under 4V.

To calibrate just delete the file '/data/system/batterystats.bin' when your battery is well charged and then let your battery run down completely to the point of failure.
[BetterBatteryStats] jolivera:
I have the Battery Monitor Widget; in this moment it reports about 4000 mV with 65% of charge (I have just unplugged after reach 66%). But I had the idea that charge percent was about de mA, not voltage. Am I wrong?

Between the trillions of things I have tried, I have wipped battery stats from recovery, other time I deleted manually the '/data/system/batterystats.bin', then performed a complete charging cycle. Nothing changed.

May be another place where android stores battery related data, that can be surviving all my attempts of wipe?

Thanks.
[BetterBatteryStats] Karpfenhai:
Its ablind shot, but can you enter *#*#4636#*#* please? tap on battery information.

Also try this code *#0228#

Did you try the system inbuilt battery reset function?
[BetterBatteryStats] M.A.K:
Well, you can't measure the available mah in a battery but a fully charged Li-ion battery is 4.2V, a discharged battery can be about 3.5V or less. The less power available, the lower the voltage.

If deleting batterystats.bin doesn't help then it could be a hardware problem. You said before that your friends battery also reads low in your phone but normal in his. And yours does the same. It would seem that your battery is charging fully but the voltage is being misread. So if you can't find a solution, make sure you stop charging at 66% else your phone may be overcharging your battery. This wouldn't be to healthy for the battery and may not be to healthy for you if the battery explodes. ;)
[BetterBatteryStats] sewe:
No need to apologize man, you're doing a hell of a job with this app and thread!

Skickat från min GT-I9300 via Tapatalk 2
[BetterBatteryStats] itsLYNDZ:
Unplugged my phone at 8 and checked it at about 9:30 and it was down to about 75%. I have an extended battery and a custom rom that's supposed to be good for battery life. I just don't understand why my battery won't even last until the end of the day. I hardly use it plus have all these things to make it last longer. I would hate to see what it would be without. I dont have anything syncing either. At 12 my battery was around 65 and when I went to get it from my purse at 3 it was at 48. My Vibrant would last a day and a half with the same setup and extended battery! Only switched to the blaze cuz it stopped charging. Any ideas as to what's going on? I did remove and reinsert my sd card.
[BetterBatteryStats] Rob2222:
Galaxy S3 Original an Siyah Kernel are quite talky about charge throttling. Or better sayed "input current" throttling.

If you have root, you can see it in the App OS Monitor, when you set the Message window to dmesg and then enable filtering in OS-Monitor options and enter 77693 as filter.

You just need to put a 1,8m-USB-extension-wire between the original S3 charger and the original S3 cable and often the voltage drop is enough, that the S3 goes into soft regulation where it limits the input current.

Then you get messages in OS-Monitor that the device is in soft regulation and to what value the input current is regulated to.

BTW, is there any other/better live dmesg app with filtering?

BR

Robert

---------- Post added at 01:54 AM ---------- Previous post was at 01:50 AM ----------

Galaxy S3 now charges even until 4,35V. FYI.

BR

Rob

---------- Post added at 02:02 AM ---------- Previous post was at 01:54 AM ----------

This really could be a hardware problem. At least youre not the first one, who is reporting charging problems with SGS3.

BR

Robert
[BetterBatteryStats] M.A.K:
I was only refering to the Li-ion spec. But I do find it interesting (surprising) that a major electronics company would purposely over charge their batteries...
[BetterBatteryStats] Karpfenhai:
The Battery itself has a safety function to prevent overheating and charging (afaik).

Ive read some threads about this problem, some people telling after an kies update the issue is gone, some saying as workaround activate power saving mode and it will charge, some saying USB Charging works, wall charger dont..

But anyway this has nothing to do with battery consumption and BBS so guys, keep the thread clean!

And post the problems in the desired thread, not here, Thanks!
[BetterBatteryStats] chamonix:
This is a call for reports!

Obviously some users still have problems with disappearing reference since charged. If you are plagued by this bug I would like you to do the following:

- turn the watchdog off

- plug / unplug usb

- verify that kernel wakelocks since unplugged shows some data, take a dumpfile, dmesg and a logcat

- do not reboot!

- whenever you notice the problem save another dumpfile, dmesg and a logcat

I hope with that info we will be able to find a pattern (device, rom) and gather enough info to progress and finally fix. Please post the narrative history of events with the logs.

Why are those logs so important?

Obviously the bug is not trivial and not reproducible. The only change I have is to walk through the sequence of calls from logcat and dmesg looking for events or results that are out of the norm. Those could be anything from micro boots to unhandeled errors.
[BetterBatteryStats] enigmatyq:
last night i charged my phone to 100%. i didn.t touch it until now..but i lost 7%...3g off wifi off gps off..only gsm signal...no wakeloks.i tryed to change modem,same results.
[BetterBatteryStats] Karpfenhai:
Cmon man don't get to obsessed! 7% out of 9 hours are good! Assuming you are on cm9 or 10! How is the signal strength in your area? What happens on flight mode? Which modem did you try, ki4 or kh3?

Next, undervolt your device, minus 100 for 200 mhz.

Enjoy your phone!

Tapatalked from my Samsung GT9100
[BetterBatteryStats] enigmatyq:
i'm on slim ics 4.2 ,fluxi kernel,xxlq6 modem.i.ve tryed dream kernel..an i lost nothing in 8h...but i like fluxi...i don.t know what eat battery.signal strenght is very good..full.already undervolted -100
[BetterBatteryStats] carreddy:
SOD

Attached is the Dump file after an SOD. Can the Reason for the SOD be traceable with this log?
[BetterBatteryStats] Karpfenhai:
Nope, thus can maybe been traced by kmesg or dmesg, search for kmesg on your phone, its a file.

But your Sod is most probably caused by a kernel fault, did you set up a screen off profile with other governor?

Mixing governors will lead to sod for sure! Or do you use to aggressive undervolt?

Tapatalked from my Samsung GT9100
[BetterBatteryStats] Rhonin86:
Unexplainable Deep-Sleep

Hi folx,

i've got a weird time display of the deepsleep parameter ? Have a look @ the attached image. Has someone an explanation for it. CPUSpy shows me the right deep-sleep time. So are there any wrong data saved which lead to the wrong deepsleep time ? I wiped the battery states in CWM but the problem occurs again - it doesn't matter if i take since unplugged or since charged.... :confused:

Any tips ?

THX in advance....

Rhonin
[BetterBatteryStats] TecQuality:
me too mate :)
[BetterBatteryStats] TecQuality:
folks, i need to fix these wakelocks, any suggestions? thanks

ps. using CM10.
[BetterBatteryStats] itsLYNDZ:
Can someone check mine on the last page? thanks!
[BetterBatteryStats] flash5000:
I have the same problem with CM10 and the latest BBS version...
[BetterBatteryStats] carreddy:
Thank You!! Haven't messed with the Governors or Voltages! Haven't found a kmesg or dmesg file through root explorer search!

Happens with 2 different ROMS!
[BetterBatteryStats] oz_90:
Help for reading a dump

Hi everyone. Yesterday I full charged my phone, and left it untouched while I was sleeping, but when I woke up my phone has ate 61% of battery.

Can somebody help me to read the dump file? :)

EDIT: I don't have chrome installed.
[BetterBatteryStats] yhrn:
The kernel wakelock "suspend_backoff" has kept your phone awake almost all the time. If you have Chrome installed you can try to disable "Enable Tilt Scrolling" under "Developer Tools" and reboot. It's only a workaround but it seems to work for a lot of people (myself included).
[BetterBatteryStats] oz_90:
Thanks for your reply, but I don't have Chrome installed. Any other suggestion?
[BetterBatteryStats] runwaypimp:
Weird WiFi on/off pattern. Help.

Hey Guys, Hopefully someone smarter than me(which will be most of you) can help me figure out what is causing some unusual Wifi on/off patterns. As you can see in the screenshot. Something prevents my WiFi from staying off during sleep. The Setting, 'WiFi on during Sleep' is set to NEVER. Maybe this is normal? I think it might be causing extra battery drain?

I'm running Android 4.1 with the Faux 006 mainline Kernal.

My Battery life isn't terrible but its not great. It used to be better on ICS when running Juice Defender. I'd rather not run JD anymore.

BetterBatteryStats dump attached too. Its just a 5 ish hour period. I didn't use the phone much, if only a few minutes.

Any help would be super. Its doing my nut trying to get this phone last 24hours.
[BetterBatteryStats] itsLYNDZ:
Can someone check mine from a few pages back. Thanks!
[BetterBatteryStats] myonlyst4r:
Battery Drain in Flight Mdoe

Can anyone help me out here?

Its draining 4% in 3hours of Flight mode. Something is wrong here?

http://pastebin.com/Vj8JaVwG
[BetterBatteryStats] dewaski:
Is there an option to stop the app from resetting the stats when you turn off the phone? That happens in the stock battery status settings as well.
[BetterBatteryStats] ironia.:
How can I stop the Google my tracks app partial wakelock?

Tnx
[BetterBatteryStats] hyperbolic:
Been waiting for a replay since yesterday, but it seems I have been overlooked. :\

I really want to solve this wakelocks and need help.

If I knew how to solve this wakelocks I wouldn't ask for help, but I REALLY want to get into these wakelocks once and for all and to understand why apps are waking the phone and which are they.

Original post:
[BetterBatteryStats] yhrn:
Not really - sorry. However, if you experience the same again get a dmesg and post it here. I think Chamonix would be interested.
[BetterBatteryStats] chamonix:
Since 1 d 6 h 31 m 31 s
Deep Sleep (): 1 d 2 h 36 m 24 s (95784 s) Ratio: 87.2%
Awake (): 3 h 55 m 7 s (14107 s) Ratio: 12.8%
Screen On (): 2 h 44 m 20 s (9860 s) Ratio: 9.0%
Phone On (): 1 h 26 m 21 s (5181 s) Ratio: 4.7%
AudioOut_1 (1013): 26 m 27 s (1587 s) Count:320 1.4%

30 hours runtime - 26 hours deep sleep = 4 hours - 2:45 = 1:15 hours awake

You have been calling for 1:30 and listened to music for 26 minutes.

Left is 0.

Interesting: airdroid has used more data traffic than your email in that time. If you have been using it a lot then it's ok but you should be aware to the costs.

In a nutshell: if that is normal use enjoy your phone... except screen on power usage there is not much room for improvement
[BetterBatteryStats] chamonix:
3g watchdog is what look very obvious. Why shoud a software that is supposed to manage 3g bandwidth be active while you are in airplance mode?