yashsingh1/xdaforums huggingface dataset:
[BetterBatteryStats] jeremysherriff:
Looks OK to me. Whatsapp is draining a bit, but if you use it, fine. If you don't use it, get rid of it.

---------- Post added at 05:26 PM ---------- Previous post was at 05:16 PM ----------

Your dump file is not complete. You need to plug in the charger for a little while, then unplug and let your phone sit idle. The take a dump file and post it.

From the Alrms dump you provided, GoLauncher is your problem, and you have had poor data connections. It will be interesting to see a proper dump file with full information.

Edit: Lol i just saw your newer post with a good dump file, give me a minute to check it ;)

---------- Post added at 05:33 PM ---------- Previous post was at 05:26 PM ----------

Your phone is never going in to deep sleep, it is always awake:

Since 10 h 22 m 3 s
<..>
===========
Other Usage
===========
Awake (): 10 h 22 m 3 s (37323 s) Ratio: 100,0%
No Data Connection (): 10 h 22 m 3 s (37323 s) Ratio: 100,0%
No or Unknown Signal (): 10 h 22 m 3 s (37323 s) Ratio: 100,0%
Screen On (): 6 s (6 s) Ratio: 0,0%

The problem is this kernel wakelock:

Kernel Wakelocks
================
"gpio_kp" (): 10 h 21 m 56 s (37316 s) Cnt:(c/wc/ec)0/0/0 99,9%

Do you have a case on your phone? If so, i believe it is pressing on a button...
[BetterBatteryStats] Galaxicos:
Hi guys, first of all thanks for this great app and topic! The effort people put in to help other is amazing.

My wakelock problems aren't a disaster, but it is surely more than i was used to. The phone is awake for about 45 mins when the screen is not on. I'd like to see what is causing this.

I'm on a Galaxy S2 running Wanam 11.4

Email sync is manual

Maps is frozen by TB

Thanks!
[BetterBatteryStats] Bramboos_95:
My battery drains from 87% to 46% in 9 hours. According to betterbatterystats GPS wakelock is preventing my phone from going into sleep mode. Even with wifi, data and GPS turned off, the GPS wakelock doesn't go away. It does go away when rebooting my phone, but it appears again when I use wifi.

Is there a solution apart from rebooting? Because I couldn't find one in this thread

Bram
[BetterBatteryStats] virgopunk:
Anyone know what can be done about the RILJ partial wakelock? It's currently eating my battery like a hungry hippo. I've heard some people say it's Google maps that's causing it. It kicks of the PowerManagementService Kernal Wakelock.

I've googled RILJ but can't find any specific info regarding tracking down what might be causing it to eat so much juice. from 100% to 85% in 3 hours.

Thanks for any assistance.

EDIT: The only app that I can see might be causing this could be our old friend Facebook. I've stopped all the FB processes and I'll see if this makes a difference. Damn how I hate that app (but the free version of Friendcaster has so much addon stuff in it and I begrudge paying over £3 for the pro app)

Hmmm, I see that there's a Facebook setting for Messenger Location Services which adds your coarse location to all your posts. I wonder if this may have been the culprit (although I would have expected this problem to have been continuous and I've been experiencing it for the last couple of days).
[BetterBatteryStats] ballmead:
Is AudioOut_1 a proper partial wakelock?

On my SGII if I play games, AudioOut_1 shows in the partial wakelocks page for the same length of time I played the game for.
[BetterBatteryStats] o0boiboi0o:
I guess right now RILJ and the com.android.phone related (ie the gprs.data) are some wakelocks that cannot be explained. dunno where they are from and what caused them. :(
[BetterBatteryStats] Karpfenhai:
All good in this case, as long as your phone plays a sound, audioout is fine ;)

Its only a Prob if you don't listen to music or if you don't play and the wakelock persists, in this case you need to disable haptic feedback sounds and swipe sounds to bring it down.
[BetterBatteryStats] nam3less:
Yes. Audio_1 contains all system sounds (sound on keypress, sound on buttonpress, listening to music, game sounds, etc)

EDIT: beat me to it :(
[BetterBatteryStats] mahercs:
Dump the Facebook app and try Android Pro Widgets. Clean and so simple, and you can set the refresh rate to whatever you want
[BetterBatteryStats] virgopunk:
I consider myself pretty slick with all the essential apps and widgets but I'm always amazed that there are so many brilliant apps out there that I've never come across.

APW is brilliant. Just what I was after!

Thanks for the nod :D
[BetterBatteryStats] o0boiboi0o:
Deleted...
[BetterBatteryStats] mahercs:
o0boiboi0o, not to sound rude, but this isn't the place to discuss this topic. Go look it up if you really want to know. (In a nutshell, you can read, post, comment and like):cool:
[BetterBatteryStats] rambell:
Uh...is anyone actually gonna help me decipher my batt stats results posted a few pages back? I see views but no one ever answered me.
[BetterBatteryStats] yhrn:
Is it the post about the fuel_alerted kernel wakelock? If it is then I think it's a kernel/ROM bug. I vaguely remember this being a confirmed bug on some SGS2 ROMs a while ago and when googling it looks like it has popped up again in some ICS ROMs. If you're using a custom kernel you could as on that thread.
[BetterBatteryStats] sagarsaoji:
hey could someone please look at my dump file and help me out. Don't want to seem rude but I'm just afraid with all the posts after mine I might get overlooked. thanks.
[BetterBatteryStats] Galaxicos:
Still getting the same wakelocks. What could be the issue?
[BetterBatteryStats] Lincoln357:
Same thing here,top of the list is Facebook :D

Gonna try APW too
[BetterBatteryStats] KennyLegend:
Or maybe Friends caster
[BetterBatteryStats] ballmead:
I'm a little confused.

If AudioOut_1 is triggered every time your phone makes a sound then why is it a partial wakelock?

My phone is always awake and the screen is on when it makes sounds.
[BetterBatteryStats] HosainH:
I really need someone to help me.. I did a clean install yesterday on my phone and i'm still getting a massive battery drain issue from full to 28% in 5 hours with very little usage. Reinstalled all my old apps/system settings but I really don't know what the issue is!

http://dl.dropbox.com/u/14208458/BetterBatteryStats-2012-05-05_014902302.txt

Please someone take a look!!!
[BetterBatteryStats] Palingenesis:
Is this common? Why don't I see stats?
[BetterBatteryStats] californicated:
@Palingenesis

Update BBS :p

Here my log. Any idea how to increase my battery life? Hardly get 3 hours screen time. eMail sync every hour, no wifi, one or two hours of music via bluetooth
[BetterBatteryStats] rambell:
I am on Stock gb though. There is no way of getting around this unless I flash something?
[BetterBatteryStats] jeremysherriff:
It's a bug in the kernel, used to trigger a certain condition like power saving mode. The bug is that the code to check if the condition should be removed is "=20%" instead of ">=20%" - so if your charging was fast, it may well have skipped over and gone 17...19...21. In which case the code bug comes into effect.

There is no "fix" without changing kernel, unless you can compile your own kernel with the fix combined. It won't happen every time, cos sometimes your battery level will go 18...20...22 so it won't be affected. When it does happen, simply reboot to clear it.

Another thought - don't let your phone get too low, so the power save feature never kicks in. And if it does, make sure to reboot.
[BetterBatteryStats] radosnyz:
You were right. Now deep sleep works :) Thanks :)
[BetterBatteryStats] sunilkumar.maharana:
great app chamonix ............ works well with all gb 2.3.x

nd cm7.2
[BetterBatteryStats] rambell:
Thanks for the explanation! Now I understand why the issue sometimes happen and go away without me doing anything. I have rebooted since and achieved 25 hours minimal use for 30% of batt. Not too bad now me thinks.
[BetterBatteryStats] jeremysherriff:
That was quite a guess ;)
[BetterBatteryStats] dpaine88:
I searched the thread about this *Backup* wakelock I am experiencing but I have a lot of custom words and usage data on the Google Backup servers and unchecking the google backup box would delete them. I am hoping there is a way to stop this from happening other than turning off backup!

Thanks in advance.
[BetterBatteryStats] theooo:
Hello guys, can u please help me? Im using htc sensation running android 4.0.3 and im lots of wakelocks. Anyone know what caused this wakelocks? Thanx in advance guys :)

http://pastebin.com/Q3pmiFnQ

Sent from my HTC Sensation XE with Beats Audio
[BetterBatteryStats] chamonix:
In that case the wakelock is used to make sure the phones does not do to sleep while playing.
[BetterBatteryStats] chamonix:
If your phone drained from full to 28% during those 5 hours wither your battery is dead or the meter shows wrong values:

===================
General Information
===================
Since 5 h 16 m 7 s
===========
Other Usage
===========
Deep Sleep (): 4 h 51 m 24 s (17484 s) Ratio: 92.1%
Awake (): 24 m 42 s (1482 s) Ratio: 7.8%
Screen On (): 11 m 7 s (667 s) Ratio: 3.5%
=========
Wakelocks
=========
GTALK_ASYNC_CONN_com.google.android.gsf.gtalkservice.AndroidEndpoint (Google Services): 3 m 55 s (235 s) Count:527 1.2%
Checkin Service (Google Services): 2 m 10 s (130 s) Count:560 0.7%

The phone has been awake 13 minutes in these 5 hours
[BetterBatteryStats] chamonix:
That simply means that the phone was not unplugged since you installed BBS so there is not data corresponding to that event
[BetterBatteryStats] chamonix:
Your phone was awake 5 hours. Half of them you were on screen the other half you seem to have listenend to musik (BT).

If your want to tune your screen on time you should turn the brighness to manual, reduce the backlight as much as you can and/or look for tools like screen filter or LUX (my favorite)
[BetterBatteryStats] chamonix:
That's a hell of an overhead. It may be a one time event due to the cloud service being unavailable but I'm not sure.

The problem of the backup implementation is that any app could use and cause that kind of behavior without much control / reporting.

I've been doing some reading and there is a toll called bmgr to control the backup activities from an android shell. I can not test it since I have no other apps using the backup framework but it would be interesting to see if the following command tells more about apps using backup:

bmgr list transports

I'm not sure if ithat command aims at listing what we ware looking for but it's worth a try
[BetterBatteryStats] chamonix:
ccc71.bmw caused 335 wakeups, that's one wakeup every 2 minutes

com.handyapps.easymoney caused 97 wakeups, that's one wakeup every 7 1/2 minutes
[BetterBatteryStats] chamonix:
10 minutes is really too short for a reading. An ideal sample would be for 2-4 hours leaving your phone alone after unplug
[BetterBatteryStats] HosainH:
Ok so the log shows that there's nothing weird running and it's not the kernels fault or anything? Guess it's time to order a new battery :o It used to be fine before so I don't know what caused this sudden change.
[BetterBatteryStats] californicated:
Thanks. What is LUX doing better than CM9's own brightness control?
[BetterBatteryStats] JoeSyr:
Running BBS 1.8.1, and I just flashed a rom that uses tablet mode (Paranoid Android for Galaxy Nexus). The BBS icon is one of just a few that is strikingly huge, both in the app drawer and on a homescreen.

I don't know what kind of files or settings are used to specify how app icons resize according to dpi, but is BBS using a limited set? I can provide a screenshot of it compared to the rest of the app drawer if what I'm describing isn't clear.
[BetterBatteryStats] ram3n:
Thanks chamonix!

No wake locks here, just amazing battery life.

I'm using 2000mha Battery with :

Wanam LP9 + Latest AbyssKernel 2.8 = my best combo ever

Duo : AbyssPlug + SIO

UC : 200 - 800 mHz

Extreme CPU and GPU UV values.

This is what I called Perfection.

Thanks to GOD, I'm definitely a happy user.

My 2 cents.

Cheers matey :D

Merci encore l'ami pour ton application qui reste un best of!
[BetterBatteryStats] KennyLegend:
Does anyone what the wake lock "GTALK_ASYNC_CONN" is from please? I already have GTalk frozen with TBu but have 30 mins awake with this.
[BetterBatteryStats] theooo:
Thank you very much dude, i didnt know that there are explanations for what caused android system alarm wakelocks. I should read more before posting here and bother you with my post :)

Sent from my HTC Sensation XE with Beats Audio
[BetterBatteryStats] Lincoln357:
Just flashed a new rom and this is what it showed me for overnight on airplane mode,is this ok?
[BetterBatteryStats] Nightshadow931:
One question, what is cspush?
[BetterBatteryStats] osm0sis:
Hey! Updated to the new version via Google Play the other day, great update! However, I think I found a minor bug: BBS is creating the file "bbs_widget_log" in /sdcard/ when I'm not using any of the widgets. Thanks for the ongoing work!
[BetterBatteryStats] odub303:
Quick feature request. Is it possible to modify the stat type display (in both the app and the widget) such that if you choose "Since Custom Reference", the display will revert back to "Since Unplugged" or "Since Charged" if there is no Custom Reference set? The upside to this would be always seeing the "Since Custom Reference" if you have one set, but seeing another stat type if there is no Custom Reference set without having to change the app (or widget) settings again. Thanks!
[BetterBatteryStats] o0boiboi0o:
Yoz mate. Freeze GTalk is not enough. Download Autostarts from play store and use it to disable any startup that has to do with GTalk under Google Service Framework.

I even use it to disable Checkin and EventLog under gsf too. ;)
[BetterBatteryStats] It_ler:
I had similar wakelocks after installing and uninstalling Google docs/drive app.

The "gtalk_async_conn" wakelocks point to some processes/apps trying to sync/connect to the Google cloud.

1. I disabled all Google cloud services.

Have a look at this thread for getting better battery life => http://xdaforums.com/showthread.php?p=16973603

2. I removed my Google account from settings menu => accounts.

Then I re-created it again.

That fixed these "gtalk_async_conn" wakelocks for me.

The other wakelocks seem to be caused by ReadItLater app and Facebook app.

If you do not use these apps, uninstall them.

If you use these apps, try to change sync settings or search for alternative apps doing the same/similar job for you.

Good luck !
[BetterBatteryStats] hlb3:
I had a serious drain today, lost 45% in like 3 hours. It never happened before, anybody have any ideas?
[BetterBatteryStats] chamonix:
I don't know as I am an AOSP user. What I like about LUX:

- you can define when in measures the brightness: on screen on, continuously

- you can define the brightness curve yourself

- if supports sub-zero settings (brighness < 0%)

I don't know CM9 brightness control so I can't tell if it is better
[BetterBatteryStats] mzaur:
Hey guys,

I'm getting a lot of wakeups from Google Maps on my gf's phone. I have no idea why. Getting very high counts for LocationReportingService and CheckinsNotificationService. Also lots of alarms for ALARM_WAKEUP_LOCATOR. Anyone have a clue why? The GPS is off.

http://pastebin.com/7P3gMw0N
[BetterBatteryStats] chamonix:
Double checking the resolutions of the icons there is indeed something messed up in project file and the xhdpi launcher icon is 512x512 instead of 96x96.

Thanks for pointing that out, I'll fix that in next version: https://github.com/asksven/BetterBatteryStats/issues/165
[BetterBatteryStats] chamonix:
If you listened to 42 minutes of music yes ;)
[BetterBatteryStats] Lincoln357:
Nope...actually,I watched an episode of "Justified" before sleep and it lasts for 42 mins :D
[BetterBatteryStats] gaui:
There's your answer. :D
[BetterBatteryStats] gaui:
Those of you who are using Abyss Kernel please post battery screens. :D
[BetterBatteryStats] viva.fidel:
Not a bug, from the app go to preferences and then dumpfile settings and untick everything if you don't want that log
[BetterBatteryStats] Ivan_Belarus:
Hi, guys

Who would suggest me - what is the f@@@ng service named SystemUpdateService (google services)?

It appeared once and now it takes a lot of CPU time and phone never sleeps in deep sleep. I have frozen and disabled everything I could suppose (fota, accounts sync, gps and so on). Any idea? What do I have to look at?

(XWLP7 ICS 4.0.3) Siyah 3.2b8 (it doesn't matter. happens with any kernel).

UPD: Caught it. Incorrect work of sync services `(contacts, calendar ..) Trying to solve
[BetterBatteryStats] suku_patel_22:
Why do I see *GPS* in my kernel wakelocks when GPS is turned off, and nothing in partial wake locks or processes?

Sent from a Desire S waiting for Kernel 3. WAKE UP HTC!!!!
[BetterBatteryStats] ggclanlord:
Phone on for ~ 8 hours 45 minutes.

Screen on 2 minutes.

Awake 25 minutes.

Disabled lots of gtalk services last night, before unplugging, since was getting hell lot of alarms from gsf, and in details of it, gtalk.

But still the phone has been awake for 25 minutes despite of using only for 2 minutes.

Anyone can analyse the log and find some causes please?

I'm on phone so copy-pasting the log.

Here,
[BetterBatteryStats] jeremysherriff:
Dude it's a smartphone with lots of background processes, you run whatsapp for a starter. 25m awake in 8h is fantastic. Enjoy your smartphone and stop obsessing.
[BetterBatteryStats] ggclanlord:
If you can run over your eyeballs over the alarms part of the log,

Whatsapp just got one wakeup.

And gsf's got 18.

And i wasn't even connected to wifi or mobile network.

So whatsapp definitely isn't a problem.

And this is just a part. Over a full discharge of battery, it comes to almost 1-1.5 hours of extra awake time than screen on, after accounting for sync and whatsapp and other stuff.

So, i doubt that this would happen under normal circumstances.

I usually get 5.5 hours of awake time on a full charge. So 1.5 hours comes to 27.27%. I guess that's a hell lot of time!
[BetterBatteryStats] Antob125:
Can anyone help me out? First time using BBS so not sure how to read it. Here's the kernel and partial wake locks attached

http://db.tt/ku5VetdW

http://db.tt/A5ooaRDb

Also some pics

I'm on Aokp M5 and Franco kernel 156 512gpu

Any help would be awesome thx!

Sent from my Galaxy Nexus
[BetterBatteryStats] astrocity:
I'm having the exact same problem - I'm thinking of switching Kernel - but I'm really used to AOKP. This is the most terrible battery life I've ever had.
[BetterBatteryStats] suku_patel_22:
Well here are my logs.

The GPS didnt allow my phone to sleep over night

reboot sorted it out tough...

Seems like a kernel issue (2.6 kernel on ICS :D)

any one can help to confirm?
[BetterBatteryStats] chamonix:
Indeed, thanks for letting me know: https://github.com/asksven/BetterBatteryStats/issues/166
[BetterBatteryStats] chamonix:
your main problems are:

- wifi keeps sending wakeup packets to your phne: turn off wifi when you are not using it

- facebook causes lots of wakeups: that's the price to pay if you want facebook
[BetterBatteryStats] chamonix:
I will have to think about that as it may be hard to explain but I added the feature request for future consideration. I wish there was a voting function on github...
[BetterBatteryStats] chamonix:
Most of that drain seems to be realated to wifi being left on:

- overhead due to location services on wifi

- incoming wakeup packets

Please turn off wifi and report back with a new reading
[BetterBatteryStats] chamonix:
The problem is that part of android is not documented. Could you please provide a dumpfile where we could look at the big picture?
[BetterBatteryStats] chamonix:
never mind

10 chars
[BetterBatteryStats] chamonix:
That is weird. I had the same problem yesterday on AOKP. I believe the only thing I did was to turn off GPS before turning off runtastic but I will try to reproduce. Today I first closed runtastic and he turned GPS off and everything is fine.
[BetterBatteryStats] chamonix:
Could you provide a little bit more context? a dumpfile would help as cspush does not ring any bells
[BetterBatteryStats] chamonix:
Sorry if I missed some posts, I've been reading on my phone lately. If I missed anyone please repost with a link to the original post, I will try to catch up
[BetterBatteryStats] Paragon_X:
Thanks the weird thing with wifi is I set the option to turn off when screen if off and switch to data... it doesn't seem to be doing that correctly... I'm using rascream trinity kernel combo but i suppose turning it off with tasker is an option.... and facebook yah i use it lol, but nothing is set to sync, but I do have active notifications on... oh well, thanks anyways glad that's the only thing really.
[BetterBatteryStats] chamonix:
samsung-battery kernel wakelock is what bothers me. I don't know that wakelock and google doesn't make it easy to search for the sources. It that a wakelock that appears frequently? I'm only guessing here but could you try to charge your phone, reboot it and, after leaving the phone alone, check the raw kernel wakelocks to see if it appears? If if does not, connect the charger and repeat after leaving it alone a while. If it shows then we would know it is related to charging.if after unplug the wakelock increases it would suggest that your kernel believes it's till on the charger. We could take it from there, I don't want to speculate too much
[BetterBatteryStats] RovG:
Hi Chamonix,

A feature request:

When recording the reference for custom ref. could the battery %age & mV values be recorded as well. Then when dumped to file these values could be displayed under "Since" Additionally the values for the above could also be included in the dump at the time the file was dumped. It would then be easy to calculate the difference in battery %age divided by the duration (i.e. Dump time minus reference time). I guess this could also be done for since unplugged or since charged.

What are your thoughts on this?

Hehe...we'd be adding some battery stats back :D
[BetterBatteryStats] ggclanlord:
I always let the battery discharge till the phone gets switched off.

And always reboot after full charge.

I let it charge to 100%, switch off, remove charger, start phone.

If that's what you meant when you told me to experiment.

Here's the current one.

"samsung-battery" (): 16 m 59 s (1019 s) Cnt:(c/wc/ec)404/204/404 4.5%

Few other details

Unplugged since

6h 15m 58s

Deep Sleep (): 4 h 51 s (14451 s) Ratio: 63.9%

Wifi On (): 3 h 57 m 15 s (14235 s) Ratio: 63.1%

Wifi Running (): 3 h 57 m 11 s (14231 s) Ratio: 63.1%

Awake (): 2 h 15 m 7 s (8107 s) Ratio: 35.9%

Screen On (): 1 h 41 m 21 s (6081 s) Ratio: 27.0%

Phone On (): 44 m 50 s (2690 s) Ratio: 11.9%
[BetterBatteryStats] DutchDogg54:
Highly inadvisable to let a lithium ion battery completely discharge (I'm assuming you're using a Li-Ion). That's an old battery style trick. Letting a Li-Ion drain to death will invariably diminish it's longevity.
[BetterBatteryStats] ggclanlord:
Well, okay.

Thanks.
[BetterBatteryStats] sagarsaoji:
Just reposting as requested. Would love some feedback. Thanks!
[BetterBatteryStats] chamonix:
Google C2MD (could to device) and com.domobile.applock are the main causes of awake/wakeups.

I have never seen such an amount of awake of C2MD so I guess you should look if that was a one time effect. Applock is obviously minsbehaving...
[BetterBatteryStats] suku_patel_22:
Re: [APP] [02 May - V1.8.1] BetterBatteryStats adds battery history back to Android

Yeah looks like a AOKP or kernel issue to me too

Sent from a Desire S waiting for Kernel 3. WAKE UP HTC!!!!
[BetterBatteryStats] suku_patel_22:
+1

Sent from a Desire S waiting for Kernel 3. WAKE UP HTC!!!!