yashsingh1/xdaforums huggingface dataset:
[BetterBatteryStats] chamonix:
@Sven, could you implement a kind of verbose mode which suppresses wakelocks to appear after reference creation?

I mean the famous deleted wakelocks which appear also right after unplugging even if they should not be measured in the current period, it seems many people get confused and maybe it ruins the calculation as well?

Tapatalked from my Galaxy SII[/QUOTE]

I am afraid not. The substraction of references takes all wakelocks from the current reference and substract the values found for that wakelock in the "from" ref.

So even if you have "deleted wakelock" in both references but the value is unchanged it would not appear in the stat as the difference is zero (assuming the filtering is on). But I guess that is not what you meant and that I am missing your point ;)
[BetterBatteryStats] chamonix:
Sure, with the current RC and debug log on. I have added quite some logging to help us see the figures and the calculated percentages
[BetterBatteryStats] JaylanPHNX:
I am on 4.2.2, but daydream is not enabled. The issue has followed me across two phones and multiple ROMs and is also on my wife's phone. I restore apps with titanium backup and so does my wife, so I assume it's an app issue, I just can't track down which one.

Sent from an N4 blessed with AOKP and sanctified by Faux123!
[BetterBatteryStats] chamonix:
#384 is for slating the hash

#385 for the delay when looping through lots of references

Thanks for taking the time to report
[BetterBatteryStats] TheMysteriousOne:
Any idea how realtimechat of Google+ can be gotten rid of?
[BetterBatteryStats] Karpfenhai:
Yeah kind of, what I meant is the following scenario:

You use your phone a day, then you plug it off from charger to gather a fresh reference, set to flight mode go to bed. In the morning you will see a nice deepsleepand you start wondering why there are thirty mins of deleted_wakelock, I know about the reason and I simply ignore it but some users may start to calculate and of course blaming bbs for miscalculations...

In fact the deleted wl are not related to the current period, but they are there..

Got my point now? :cool:

Regards

Tapatalked from my Galaxy SII
[BetterBatteryStats] klems.kot:
Hello

you know what app is the partial wakelock "AudioOut_2"

It's running really often and drain my battery =\

Regards

Sent from tapatalk with Vanilla Rootbox and new mali drivers =)
[BetterBatteryStats] Karpfenhai:
Next one...no dump no support....but I would vote for viber, tick use system sounds...

Tapatalked from my Galaxy SII
[BetterBatteryStats] klems.kot:
I'm new here and I don't post enough message … this is why I don't post dump.

Thank for your answer, I don't use system sound and viber only for message notification. And BBS found 2 hours and a half of activity =\.

Thanks again for your answer =) I'm really sorry for the dump.

Sent from tapatalk with Vanilla Rootbox and new mali drivers =)
[BetterBatteryStats] rydog66:
thanks for this, just gettin started with it today, any suggestions??
[BetterBatteryStats] Karpfenhai:
No problem, yeah that's the issue, viber should be set up to use system sounds, then audio_out will be gone, good luck.

Tapatalked from my Galaxy SII
[BetterBatteryStats] megosu:
Hi,

Thanks Chamonix,

we are 2, maybe 3 people having this 3% drain in flight mode,

I have posted the screenshots and dump of the same interval:

http://xdaforums.com/showpost.php?p=39916479&postcount=46
[BetterBatteryStats] oae08:
Anyone else having some problems with the latest RC1 on android 4.2.2 ?? Many time i unplug leave the phone, but come back to find no stats are reported.
[BetterBatteryStats] Karpfenhai:
Nope, no problems on Stock 4.2.2 or cm10.1, must be you, fallback references checked?

Tapatalked from my Galaxy SII
[BetterBatteryStats] gaich:
http://xdaforums.com/showpost.php?p=39916850&postcount=15032
[BetterBatteryStats] oae08:
Yeah, and its really very random, sometimes its working 100% sometimes not. Earlier versions worked better, not sure what really changed to break this.
[BetterBatteryStats] TheMysteriousOne:
Some help here, please?

I tried disabling all auto starts of Google + , greenifying Google+, signing out of Talk and the realtimechat wakelock still exists.

Didn't have this problem until a few days ago. I don't want to sign out of G+ since I want its community notifications.The service realtimechat is keeping my phone on for several minutes.
[BetterBatteryStats] dwie:
Last time I provided an incomplete log, hope I got it right this time. Lost 9% overnight yesterday, wifi was off and mobile data was on the whole night. I see a lot of kernel wakelocks here, any idea how to improve this? Thanks in advance.
[BetterBatteryStats] nehalem176:
Your kakao talk app and your Service Checkin in GSF (Google Service Framework). Disabling

Service Checkin

in GSF might lost the color for your signal when connected to the network BUT on the bright side it will eliminate your gsf.gtalkservice.AndroidEndpoint KWL and com.google.android.gsf alarm wakeup.
[BetterBatteryStats] juan3211:
[BUG] BBS doesn't work in Galaxy Ace II (i8160)

First of all, thanks of your great job.

I had a SGSII and BBS worked very well.

But, now, I've a i8160 (Galaxy Ace II) I've check it several weeks, but it doesn't work well.

I've activated debug option, and save logcat file. (I attach it to this email).

The problem is:

unplugged mobile

open BBS and it works fine using "since unplugegd". It's the only option

Power off phone

Power on phone

Open BBS and there isn't any data on it, nor boot, nor unplugged

I hope you can review the logcat file and find any solution.

If you need another try or another logcat file, please, ask me for it.

My Ace II is 2.3.6 version

Bye,
[BetterBatteryStats] oae08:
How to disable the service checking in GSF
[BetterBatteryStats] kimber45:
Gemini app or Autostarts app in playstore
[BetterBatteryStats] JakePNEFC:
Getting the audio out 2 Wakelock, haven't been playing music or on the phone
[BetterBatteryStats] razen_kain:
Still getting serious discrepancies with the times and percentages. I have a logcat and a dmessage and a screen shot. Sorry about the font but if you look at my reference time and look at my deep sleep time you will see the percentages are very wrong.

http://db.tt/Wk2VZQTS (dmessage)

http://db.tt/pyIKFhKS (logcat)
[BetterBatteryStats] dwie:
Thanks, I was told not to touch GSF though. Is it safe to change autostarts of GSF?
[BetterBatteryStats] Karpfenhai:
Handle with care, it's possible but only desired values, all entries containing gtalk are safe to freeze.

There are several tutorials within this thread already, just search.

Tapatalked from my Galaxy SII
[BetterBatteryStats] oae08:
But i found some people saying it breaks gmail or playstore... The thing is i dont have gtalk, and i use wifi with proxy at work and it seems the ports for some google stuff are blocked so they keep trying to connect and causing wakelocks. How to solve this problem.

Sorry for my questions but sesrch is not workinh
[BetterBatteryStats] chamonix:
Unfortunately the logcat is empty :(
[BetterBatteryStats] razen_kain:
Well i used the share to Dropbox feature in the app... was i supposed to do something else?
[BetterBatteryStats] chamonix:
No from the content is seems rather that logcat does not work properly from your phone's shell. I am not sure but I believe that problem is related to broken file system perms
[BetterBatteryStats] Karpfenhai:
...or on the kernel you are using...

.. speedmod based kernel have logging disabled by default..

But you can re enable it easily, it's written in the op from speedmod thread.

Tapatalked from my Galaxy SII
[BetterBatteryStats] razen_kain:
Yeah. I just realized i had android logger turned off in stweaks. I'll give it another shot tomorrow. Thanks guys
[BetterBatteryStats] dwie:
Is there any tutorial using Gemini? I've found one about Maps, but I already applied that one before posting my dumpfile.
[BetterBatteryStats] megosu:
my logcat from BBS is always empty too, with the same exact error message. I can check if I have the logging feature disabled too.

@Chamonix: did you see my post earlier ? showing the wakelock in Androit default battery app but not in BBS ?
[BetterBatteryStats] chamonix:
2.0RC2

New release is up, hopefully fixing the stat refresh some users suffer from
[BetterBatteryStats] Karpfenhai:
uhmmm, women..;P

what about search?

latest:

http://xdaforums.com/showpost.php?p=38835125&

postcount=14006

Save JB Settings:

http://xdaforums.com/showpost.php?p=35634745&postcount=11040

Earlier:

http://xdaforums.com/showpost.php?p=35398349&postcount=10762

Additional Info:

http://xdaforums.com/showpost.php?p=35636329&postcount=11042

NOTE: Use this info on your own risk with no warranty!!

regards..
[BetterBatteryStats] oae08:
Hey everyone, I really need a bit of your time to help me please :)

Getting high drain (about 4%/h) because of this mainly.

Im having high Partial Wakelock of GTALK_ASYNC_CONN_com.google.android.gsf.gtalkservice.AndroidEndpoint

Also in Alarms, Im having most alarms in com.google.android.gsf

If i click on it, it shows com.google.android.intent.action.GTALK_RECONNECT

and com.google.intent.action.SEND_IDLE

and finally {com.google.android.gsf

I have signed out and uninstalled gtalk with titanium backup pro.

For maps, I have disabled gps and location services and hibernated it via greenify.

But for this wakelocks and alarms im not really sure what to do.

Some background info: i use wifi with proxy at work and it seems that the ports for some google stuff are blocked (the wifi and signal arent blue, unlike when connected to 3G, they become connected to google services and become blue), so they keep trying to connect on wifi and causing wakelocks. How to solve this problem.

Appreciate all your time. Thank you.
[BetterBatteryStats] 26.2man:
Cant see the new version has it been posted.
[BetterBatteryStats] and8res:
Hi

Here are my results after a full charge

Thanks in advance
[BetterBatteryStats] dwie:
Thanks, 3rd link was helpful ;) I will try it and see if my battery life improves...

BTW does anyone else have more tips for my log 2 pages back? Is GSF my only problem?
[BetterBatteryStats] :
Thanks for the update. i gonna try and and will repost if something wrong.
[BetterBatteryStats] luisfer21069:
I'm getting some awafull alarms on android phone app, any tips?

I only use 2g and rarely 3g+, could it be that?

http://db.tt/m32uqSe1
[BetterBatteryStats] chamonix:
:good: added to FAQ
[BetterBatteryStats] chamonix:
I see many "data-stall" alarms. Those are caused by bad connectivity
[BetterBatteryStats] Musko:
After a while one week and changes some from suggestions I have battery draining about 1,6%/h with very very light usage phone.

Is this normal? Or anybody have other suggestion?

Thank again.
[BetterBatteryStats] trpi:
hey bro i did disable everything like on your pictures, only one question-autostarts didnt ask me for root access? is that ok(on play store it says it needs root access, otherwise it will be read only)?
[BetterBatteryStats] Karpfenhai:
Check your superuser app whether it has already granted rights:

Tapatalked from my Galaxy SII
[BetterBatteryStats] AuronnBE:
I'm having a 8,6% loss per hour in airplane mode, that's just ridiculous. And when I'm using the phone it's around 10%. So I don't know where all my battery is going too, it's unbelievable. I bought a new official battery, same problem. GPS is off, Wifi off, data off, sync off,...

Hard resetted 10 times, rebooted over a 100 times. Tried all the tricks, taking the battery out, resetting the fuel gauge.

Is there someone who can see something wrong please?

I've tried everything...

This just happened all of a sudden, not after an upgrade. Always had the latest version, but now rooted and everything, nothing helps.

Thanks in advance.
[BetterBatteryStats] chamonix:
I'd be really happy to hearing from you guys who have had problems with BBS showing no stats after a while. I hope RC2 fixes the problem and can be released quickly to hep all users out there having the same problem
[BetterBatteryStats] oae08:
Seems to be working better now on android 4.2.2. :good:
[BetterBatteryStats] Karpfenhai:
I'm deeply sorry mate, but since I never faced this issue I cannot tell, at least it's running flawless! :thumbup::)

Tapatalked from my Galaxy SII
[BetterBatteryStats] megosu:
Hi,

I saw you joined our growing club of s2 having a battery drain in flight mode with a deep sleep >99%.

Did you check if you hear something from the ear speaker?

Please answer in dedicated thread:

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

To everybody else: we are starting to see more and more users having high battery drain and nothing shows in bbs. Any idea what could it be?
[BetterBatteryStats] Baenwort:
So I continue to have a problem with mdm_hsic_pm0 wakelocks. It has been getting worse the last few days and now it is all the time. The phone was in airplane mode at the time with no activity.

First Log: http://xdaforums.com/showthread.php?p=39727663#post39727663

Second Log: http://xdaforums.com/showthread.php?p=39781382#post39781382

And now a log where it just wont turn off. I've been able to find no helpful info about what could be causing this issue. I've reverted to the app store version for this log. I'm not sure what else to try at this point.
[BetterBatteryStats] Karpfenhai:
Msm_hsic just points to data connection (l2_hsic on other hardware) assuming you didn't spend the whole 8 hours in flightmode it's not bad! Zero point five per hour is pretty good!

Don't get obsessed, regards

Tapatalked from my Galaxy SII
[BetterBatteryStats] Stryder5:
Seems to fix the problem or me (Nexus 4, running Android 4.2.2). Only been testing it for a day but seems fine so far.
[BetterBatteryStats] gaich:
mipi_link

Still cannot find an answer related to my #1 KWL, mipi_link. It is present on every ROM and kernel I tried. Yes, I googled it many times and I know about MIPI alliance and I know some users think it may be a camera issue.

I tried to freeze and uninstall Gtalk, Gmail, Skype, Callrecorder, freezed Gallery as well. Mipi_link keeps incrementing anyway.

I do not use facebook and anything else that has anything to do with cameras. And I doubt this is the reason.

I tried to turn off wifi, mobile data, sync, switch to 3g/2g only. No result. The counter goes up.

The only remedy I found - it disappears completely in airplane mode.

Even if I use the phone without Sim-card, this wakelock is here again. And I tried to change the Sim-card and used another, newer Sim as well - nothing helps.

So it could be some chip, produced by MIPI alliance (I met in their site something that tells about the application processors), that is communicating with some other hardware (the wireless modem, maybe) via some link when the mobile signal is received.

That`s my guess, produced by my humanitarian mind. Could anybody prove it, or maybe, there are any other ideas? I hardly think I am alone with this problem.

p.s. my previous posts with dumps and screens, if it could help...1,2,3,4,5

And the current one - I`ve lost 3 % in 2 idle hours:

View attachment BetterBatteryStats-2013-04-07_181822019.txt
[BetterBatteryStats] Baenwort:
Thank you for your time.

The entire time was spent in flight mode. That is why I'm trying to narrow it down. There should be no data use. I uploaded the wrong file (it is dated March 29th instead of the April 6th one I intended to upload). The one from the 29th was also the one from the first link and the reason I started down this path is with a flight mode and everything locked down I should be able to get a lower airline mode overnight usage.

The thing that has me worried is that since yesterday I've been having the problem you can see in the log I ment to attach. This is with flightmode enabled the entire time. I have not progressed to changing any autostarts as no one has recommended a reliable application for that purpose which has been updated in the last year. (Gemini has had problems lately, autostarts is >1 year since last update, and Rom Toolbox encompasses to many functions) So the only changes made has been signing out and disabling settings for those programs I am unwilling to freeze with Titanium Backup.
[BetterBatteryStats] HiDEFF:
Does anyone know if it's okay to disable all autostarts from Google Search?
[BetterBatteryStats] Rhonin86:
Bug in calculation - or.....

Hi guys,

i have encountered the already mentioned problem also with the new BBS. That means: A high rate of DeepSleep, low battery Drain: But the google event log exceeds the active period... and in the normal akku overview from CM10 i can see that the phone is also activ. I have tested it during the night in flighmodus....

I attache a few files for analyzing - i hope it will help..

Cheers

Rhonin
[BetterBatteryStats] arda99:
I have a weird problem: on KFHD w/cm10.1(4.2.2), there is no "screen off" reference, only boot/unplugged. It used to work with 4.2.1.
[BetterBatteryStats] Cyclu:
I have the same problem, it's very strange. In an other ROM (Official) it's was working very good. I found an other. (free?) version of Autostarts 1.7.7 on www.f-droid.org If someone try this version please tell me.
[BetterBatteryStats] Hilmesh:
Well just try it out. I have frozen it with TB. If you do not use it freeze it. :)
[BetterBatteryStats] KicknGuitar:
According to Autostarts Website, version 1.7.7 (2012-08-14) was only released on Vodaphone AppSelect and has Removed root functionality. I would conclude you need the Playstore version (1.7.5)
[BetterBatteryStats] chamonix:
Have you activated the watchdog?
[BetterBatteryStats] chamonix:
Here's what I see:

So the substraction is corrent.

The references themselve:

The time between the references was 8 hours 37 minutes so that so correct too.

Now the total times for e.g. Event Log would have been from 33 minutes up to 292 minutes within this time and that is absolutely inconsistent.

The only explanation I have right now s that some is wrong with the values that are retrieved from the android 'batteryinfo' service. Is there some place where I could check the android sources of the ROM?

What puzzels me a little is:

VERSION.RELEASE: 4.1.2
FINGERPRINT: samsung/GT-I9001/GT-I9001:2.3.6/GINGERBREAD/XXKQN:user/release-keys

What Android version are you running?
[BetterBatteryStats] Karpfenhai:
Pm0 points me to sleep mode, it seems the data connection cannot be putted down, provide a dmesg, I'm sure the answer is inside then.

Tapatalked from my Galaxy SII
[BetterBatteryStats] pi-xel:
@Karpfenhai: So you still don't think that the speaker could be the issue? :)

Maybe we should compare our build.prop files.

Mine is the following:

# begin build properties

# autogenerated by buildinfo.sh

ro.build.id=JDQ39

ro.build.display.id=i9100-userdebug 4.2.2 JDQ39 eng.mark.20130405.142746 test-keys

ro.build.version.incremental=eng.mark.20130405.142746

ro.build.version.sdk=17

ro.build.version.codename=REL

ro.build.version.release=4.2.2

ro.build.date=Fri Apr 5 14:32:53 PHT 2013

ro.build.date.utc=1365143573

ro.build.type=userdebug

ro.build.user=android-build

ro.build.host=kroz

ro.build.tags=release-keys

ro.product.model=GT-I9100

ro.product.brand=Samsung

ro.product.name=GT-I9100

ro.product.device=GT-I9100

ro.product.board=smdk4210

ro.product.cpu.abi=armeabi-v7a

ro.product.cpu.abi2=armeabi

ro.product.manufacturer=Samsung

ro.product.locale.language=en

ro.product.locale.region=US

ro.wifi.channels=

ro.board.platform=exynos4

# ro.build.product is obsolete; use ro.product.device

ro.build.product=GT-I9100

# Do not try to parse ro.build.description or .fingerprint

ro.build.description=GT-I9100-user 4.1.2 JZO54K XXLPQ release-keys

ro.build.fingerprint=samsung/GT-I9100/GT-I9100:4.1.2/JZO54K/XXLPQ:user/release-keys

ro.build.characteristics=default

# end build properties

#

# system.prop for i9100

#

rild.libpath=/system/lib/libsec-ril.so

rild.libargs=-d /dev/ttyS0

# I9100 Hardware Info

ro.device.cpu=Dual-core 1.5GHz ARM Cortex-A9

ro.device.gpu=ARM Mali-400 MP

ro.device.rear_cam=8 MP

ro.device.front_cam=2 MP

ro.device.screen_res=480x800

#

# ADDITIONAL_BUILD_PROPERTIES

#

keyguard.no_require_sim=true

ro.com.android.dataroaming=false

ro.com.android.dateformat=MM-dd-yyyy

ro.carrier=unknown

wifi.interface=wlan0

wifi.supplicant_scan_interval=15

ro.telephony.ril_class=SamsungExynos4RIL

mobiledata.interfaces=pdp0,wlan0,gprs,ppp0

ro.opengles.version=131072

hwui.render_dirty_regions=false

dalvik.vm.heapstartsize=5m

dalvik.vm.heapgrowthlimit=48m

dalvik.vm.heapsize=128m

dalvik.vm.heaptargetutilization=0.75

dalvik.vm.heapminfree=512k

dalvik.vm.heapmaxfree=2m

ro.sf.lcd_density=240

ro.ril.enable.amr.wideband=1

ro.pa.family=pa_hdpi

ro.url.legal=http://www.google.com/intl/%s/mobile/android/basic/phone-legal.html

ro.url.legal.android_privacy=http://www.google.com/intl/%s/mobile/android/basic/privacy.html

ro.com.google.clientidbase=android-google

ro.com.android.wifi-watchlist=GoogleGuest

ro.error.receiver.system.apps=com.google.android.feedback

ro.com.google.locationfeatures=1

ro.setupwizard.enterprise_mode=1

windowsmgr.max_events_per_sec=240

persist.sys.root_access=3

#ro.config.ringtone=Scarabaeus.ogg

#ro.config.notification_sound=Antimony.ogg

#ro.config.alarm_alert=Scandium.ogg

ro.goo.developerid=Bajee

ro.goo.rom=RootBoxNightlies

ro.goo.version=20130405

ro.rootbox.version=RootBox-JB-i9100-Nightly-20130405

persist.sys.camera-sound=1

dalvik.vm.lockprof.threshold=500

dalvik.vm.dexopt-flags=m=y

net.bt.name=Android

dalvik.vm.stack-trace-file=/data/anr/traces.txt
[BetterBatteryStats] Maceee:
Is there any way to make that if I reboot my device the stats stays "since unplugged" and don't change to "since boot" , because when I test my battery performance sometimes I need to install some mods but unfortunately after reboot all stats resets?