yashsingh1/xdaforums huggingface dataset:
[BetterBatteryStats] Karpfenhai:
Re: [APP][2.1+][25 Mar. - V1.13B3] BetterBatteryStats

Thank you guys for your warm words, they're much appreciated, sometimes it's not easy to stay calm if you answer the same questions over and over again but hey, if I'm capable to help I'll try, in the end we are just assisting Sven in his daily business, all of you should keep up the good work too!

If you really cannot gather the missing reference after a clean install and unplugging you should dump a logcat for chamonix.

The blue look is related to your system framework, it's just the way it is on cm10.

Regards.

Tapatalked from my Galaxy SII

---------- Post added at 04:12 PM ---------- Previous post was at 04:06 PM ----------

That behavior might be related to your root implementation, can you confirm it's working with root features unticked?

If this is the case you might switch to superuser instead of super su and/ or updater your binaries.

Tapatalked from my Galaxy SII
[BetterBatteryStats] dSlice:
Re: [APP][2.1+][25 Mar. - V1.13B3] BetterBatteryStats

I tried Airplane mode first still drained. I pulled the sdcard and rebooted now it's deep sleeping. I wonder if it's from an app constantly calling to it?
[BetterBatteryStats] Karpfenhai:
Re: [APP][2.1+][25 Mar. - V1.13B3] BetterBatteryStats

Could be, do you use any apps to sd implementation? Backup your data, and format your sd within the device, see if it persist, if not, restore your backup.

Tapatalked from my Galaxy SII
[BetterBatteryStats] dSlice:
Re: [APP][2.1+][25 Mar. - V1.13B3] BetterBatteryStats

No I don't. I'll try that.
[BetterBatteryStats] galakty:
What i did:

- removed SD card

- freezed Media Scanner

Effects:

- phone is in DEEP SLEEP now

- battery drain is on the same level .. So no effect.

So if phone is sleeping, what is draining battery? Wtf?
[BetterBatteryStats] StijnTehMan:
Ive got a galaxy sIII with omega rom. Now i have a "USB cb wake lock" in kernel wakelocks.. its almost 4 hours active!
[BetterBatteryStats] tsiftsism:
Hello,

could someone please help me to find out what is causing battery drain on my phone?

I unplugged it today on 01:00 and without using it (i went to bed) at 9:00 the battery level was 84% (i always keep Wi-Fi on).

I attach the log file and i also have some screenshots about alarms, kernel wakelocks and partial wakelocks. I don't know if the log file will do, so if you also need the screenshots, i'll upload them.

Thanks in advance.
[BetterBatteryStats] oMszKikiIzWavyo:
Hi everyone, for the past two weeks I have searched Google and read links such as wakelocks threads and battery savers threads: http://xdaforums.com/showthread.php?p=31352333, http://xdaforums.com/showthread.php?p=31974989, and http://xdaforums.com/showpost.php?p=30113678&postcount=5 but no matter what solution i try, my phone battery still goes down. So i was told to come here and see if i can get at least some help. I Would really appreciate it. I have screenshots, a dumpfile and logcat. If anyone is interested, once again i would REALLY appreciate it. Thank you
[BetterBatteryStats] chamonix:
Don't give up that fast. Let's first have a look at the effect. Please provide a new dumpfile and we will look into it.
[BetterBatteryStats] chamonix:
Let me guess: you have been charging your phone? that is what that wakelock says
[BetterBatteryStats] chamonix:
Congrats from me too. This thread (and BBS alltogether) wouldn't be what it is without you and the other guys who offer your support in this thread day in day out.

I hope we can meet one day in FFM or BER on a few beers.
[BetterBatteryStats] red.hat:
Re: [APP][2.1+][25 Mar. - V1.13B3] BetterBatteryStats

Hey Karfenhai or Chamonix, have you tried greenify from Google store. It works by hibernating some of the apps running in the background . Unfortunately it is unable to hibernate system files. Take a look at it and see if is something that everyone here can use.
[BetterBatteryStats] bobdoblo:
Re: [APP][2.1+][25 Mar. - V1.13B3] BetterBatteryStats

A good tip: Uninstall Maps and reinstall from the Play store, now its a user app and can be "Greenified" ;)

*NeatROM*
[BetterBatteryStats] djnata:
thanks for this. great app and works fine!
[BetterBatteryStats] bobdoblo:
Re: [APP][2.1+][25 Mar. - V1.13B3] BetterBatteryStats

Greenify Thread http://xdaforums.com/showthread.php?p=38192418

Gemini + Greenify + BBS = :):thumbup:

*NeatROM*
[BetterBatteryStats] razen_kain:
So is this just beng ignored? Do I need to run a logcat all night and include that with it?

I purchased this app from google play store when it 1.10.something and ever since it went to 1.11 its been wonky. Thanks in advance for the help :good:
[BetterBatteryStats] bobdoblo:
Re: [APP][2.1+][25 Mar. - V1.13B3] BetterBatteryStats

It should tell you but i'd imagine its about 97%?

Might want to word your posts differently:thumbup:

*NeatROM*
[BetterBatteryStats] Karpfenhai:
Mate, calm down, we are here to help users analysing their dumps if they need assistance, we are neither vodoo masters or wizards,

you should be able to do a simple calculation by yourself...

6hr 41min and shows a deep sleep time of 6hr and 23

93.415 % = 383 mins / (410 min / 100)

No Dump, no Support ... no offense :)

You dont need to "run" a logcat, its simply there, always.

We usually need a logcat in case of bugs with BBS itself.

For investigating problems with your phones sleep behavior, a dmesg is more suitable.

regards.
[BetterBatteryStats] Aria807:
I keep getting this wake lock on my Note 2 :\
[BetterBatteryStats] razen_kain:
Re: [APP][2.1+][25 Mar. - V1.13B3] BetterBatteryStats

Well this the is third time I've tried to get help on this matter and I just keep getting ignored. You are right about the percentages however that's not what BBS is showing. It gives me 79.0%
[BetterBatteryStats] razen_kain:
Re: [APP][2.1+][25 Mar. - V1.13B3] BetterBatteryStats

No offense taken. I have done the calculation for myself but as you can see from the screen shot I posted that is not the percentage BBS is giving me. I thought maybe I was being ignored for not abiding by protocol.

The first time I approached the thread with this problem I asked if this was the correct place to post bugs with the app and I was told it was. I didn't include a logcat as I don't think it is going to help but I will if it will get Mr some attention :)

EDIT: where do I get this dmessage?
[BetterBatteryStats] superpc:
Hi guys this is my first time getting help here as I'm getting frustrated by very heavy overnight drain, around 20-30% after fully charged. No partial wakelock. Attached is the dump. I found this com.android.google.location.nlp.ALARM_WAKEUP_LOCATOR under Alarms causing 1000+ wake every night, any idea what it is? I've already turned off autostart for google maps, off GPS.

Please ignore the telephony wake I took my sim card out. The drain is more heavy coz of it but usually even without the telephony wake I still have heavy drain. Thanks for any help!

EDIT: Forgot to mention, this is One X running Ice Cold Jelly, Android 4.2.2.
[BetterBatteryStats] Karpfenhai:
Re: [APP][2.1+][25 Mar. - V1.13B3] BetterBatteryStats

Baseband_xmm_power points to your network selector, you should either choose your provider manually or go on flight mode to get rid of it, driving your phone without SIM is a bad idea if not on flight mode.

Confirmed?

Tapatalked from my Galaxy SII
[BetterBatteryStats] amaman89:
BBS

thats mean if my battery no jump after increase, bbs stats will remain unchange ? it will only reset to 0 after battery jump?
[BetterBatteryStats] Karpfenhai:
Re: [APP][2.1+][25 Mar. - V1.13B3] BetterBatteryStats

Enter this in a terminal or adb shell:

$su

#dmesg > /storage/sdcard0/dmesg.txt

Read the content.

Tapatalked from my Galaxy SII
[BetterBatteryStats] superpc:
Hi yes I do realise that, I took out the sim yesterday only because I wanted to use another phone, usually the wakelock isn't there but the drain is still heavy. Do you have any idea if the location wakeup locator could be the culprit? Thanks!
[BetterBatteryStats] amaman89:
BBS

also, my battery consumption shown by BBS is around 0.8/h . is that normal?
[BetterBatteryStats] Karpfenhai:
Re: [APP][2.1+][25 Mar. - V1.13B3] BetterBatteryStats

Don't think so, no SIM, no network, no network locator, so it's masquerading it.

Unsupported status.. :D

Pretty good value, everything below 1 % / hour is perfect. (Assuming not flight mode). :thumbup:

Tapatalked from my Galaxy SII
[BetterBatteryStats] amaman89:
BBS

0.8/h is in idle mode all the way only ON screen for few secs per hour to measure the batt

Thanks!
[BetterBatteryStats] mikloskass:
seeking help with battery drain

Hi this is my first time seeking help here. If I made some mistake I'm sorry. This is my dump file. N7100 international, omega Rom V13 with perseus kernel. First days it worked woth great battery life, then something started to drain and i can't find what. Thanks in advance!

Regards from Argentina
[BetterBatteryStats] Karpfenhai:
Re: [APP][2.1+][25 Mar. - V1.13B3] BetterBatteryStats

Please provide a clean idle dump as stated in the op, with this one it's impossible to tell what's unwanted activity.

Tapatalked from my Galaxy SII
[BetterBatteryStats] HyperAbarth:
Battery Drain with Wi-Fi.

I've a Battery Drain when my SII is connectet to the Work's Wi-Fi Lan.

I tried to connect with Fixed IP or Dynamic IP but didn't change anyting.

At Home (with Wi-Fi) I don't have Battery Drain.

At work I've this problem from4 weeks when my colleague has configured a 2nd Wi-Fi network using same Hardware (Router and Access Points) as the 1st Wi-Fi network.

Attached you can see my BBS Dump...
[BetterBatteryStats] galakty:
I'm now on CM release 6. SD Card in phone, Media Scanner is on, phone is in Deep Sleep Mode 98% and battery drain on the same level. About 1% - 2% / hour . On oryginal soft i had 1% on all night ..

EDIT: Have a problem .. Sd Card is on phone but I CANT read it even on PC. After reboot I can, and after time again not ..
[BetterBatteryStats] jerome38:
Hi,

Could anyone take a look at my dump file?

I don't know how to read this file.

Thank you very much

Edit : Sorry I rebooted my phone so the log are not interesting. I will post a log later
[BetterBatteryStats] galakty:
In short your problem is "MediaScannerService" and "PowerManagerService". So You have problem with SD card or etc. Similar to me :) In my phone helped update.
[BetterBatteryStats] jerome38:
Thanks for your reply.

How can I solve that?

Below, an another dump file.
[BetterBatteryStats] galakty:
Oh. Mail, Audio_Out, google maps, google play .. Do You need it? Do You have auto sync? Check your internet settings :)
[BetterBatteryStats] jerome38:
I have auto sync only for gmail.

I deleted sync of my email app.

However latitude sync is already disable for maps. What can I disbable more?

Sorry for my bad english
[BetterBatteryStats] galakty:
Disable GPS. This "multipdp" is causing by high internet usage.
[BetterBatteryStats] jerome38:
Re: [APP][2.1+][25 Mar. - V1.13B3] BetterBatteryStats

Strange, my gps isn't enable
[BetterBatteryStats] pi-xel:
Hello again!

I have done a long analysis of the components of drainage on my SGS2. With the help of some kernel + rom updates, some tweaks in Stweaks and a new 2000mAh battery, I have achieved a total standby battery consumption of ~3%/h, which is already huge for me as I started with ~7%/h (whilst always having a deep sleep ratio of more than 95%).

Nevertheless, the battery consumption is still far from perfect, if I compare it to what other users achieved (0.5%/h, wtf!). Thus I analyzed further.

The android battery tool shows that cell standby is ALWAYS around 40% (same result on GSam battery monitor) during standby. My network is switched to GSM only (2G) and I have constantly 3-4 signal bars. Furthermore, I do not use mobile data but WiFi in most cases, but even switching mobile data off does not reduce the cell standby percentage.

What I then did was to dial *#*#4636#*#* in order to disable the radio completely (not only data, but also speech, SMS, etc.) while keeping WiFi on (in order to have comparable results with internet and sync still enabled). This removed the cell standby percentage from GSam and android statistics and gives me a battery consumption of less than 2%/h (did only a short time test of ~1.5h, will test it more thoroughly tonight).

I have already tried a large variety of kernels, modems and roms, all with similar cell standby percentages. Therefore I think that this issue is either phone or carrier related. Maybe we can try to narrow the problem down by finding out which setups cause the same problem (I guess that from reading some of the stats posted in this thread that I am not the only one with this problem). My setup is as following:

- Phone: GT-i9100

- Rom: Rootbox Nightly (23.3., Android 4.2.2), also tried a variety of AOKP/CM based roms, as well as some stock based ones (Android 4.1 and 4.2)

- Kernel: Dorimanx 9.11.1, also tried stock based kernels

- Modem: XXLS8 (tried a huge variety of different modems as well, all with matching RIL), FD disabled

- Carrier: Lebara over NL KPN network, sometimes also O2 Germany (same problem)

In short, I think that phone radio is draining way too much battery on my phone, even with mobile data disabled and GSM only and with a good to very good signal, which is reflected by a high cell standby percentage in android battery utility. Experimental results show that when radio is disabled completely, drainage is reduced while still having data and sync over wifi enabled. Any suggestions of how to debug the issue further and/or more input than from my phone alone is highly appreciated :)
[BetterBatteryStats] galakty:
But in Your log there is something like location. Maybe this is draining battery using internet.
[BetterBatteryStats] Liquidretro:
Here is my Logcat file as requsted a few days ago. My problem was on my stock Verizon Note2 (Non modified, non root) I am having problems getting stats to show. When I originally installed the app it worked for about a day until I restarted the phone and has not worked since. I have tried clearing cache and data, updated the app and restarted.
[BetterBatteryStats] Karpfenhai:
Re: [APP][2.1+][25 Mar. - V1.13B3] BetterBatteryStats

Have you tried plug / unplugging your charger?

Tapatalked from my Galaxy SII
[BetterBatteryStats] awesomedevelop:
Best statistic for my battary )
[BetterBatteryStats] broapplication:
auto sync only gmail.
[BetterBatteryStats] mikloskass:
Sorry I missed the part of "live the phone alone" :P I'm in love with my note 2 and can't leave it lol :P I'll make that tonight and then post the dump then. Thanks for the reply.
[BetterBatteryStats] chamonix:
Re: [APP][2.1+][25 Mar. - V1.13B3] BetterBatteryStats

No, a reboot resets all internal counters and references are deleted at that point
[BetterBatteryStats] chamonix:
Re: [APP][2.1+][25 Mar. - V1.13B3] BetterBatteryStats

I definitely need a logcat and as much information as you can give to reproduce. If it was a systematic problem it would be easy to fix but it is not. Therefore it would be great if you could tell us if this happens straight away or after a while, if all from/to combinations have the problem etc.
[BetterBatteryStats] chamonix:
Re: [APP][2.1+][25 Mar. - V1.13B3] BetterBatteryStats

Your stats show rx_wake due to Wakeups on multicast / broadcast traffic. Changing to a static IP won't change that. See the faq for suggestions about working out rx Wakeups
[BetterBatteryStats] nobnut:
Does what lower battery life?

BBS - no it doesn't :)

Anything else that causes wake, or runs a process or service? Yes.
[BetterBatteryStats] chenghiukin:
)

Using k9 mail. The battery percentage is from the custom rom I'm using(dark Knight 5.0)

Does my battery life looks alright?
[BetterBatteryStats] Sputnikk23:
Running nexus s 4G on a miui rom and trinity kernel. I don't get stats at all? Everything is blank. No task killers running.
[BetterBatteryStats] ejstubbs:
I've now got GB running on my Defy, and so I have the battery usage graph. Which is nice.

But it seems to behave rather oddly from time to time:

Anyone else seen this kind of thing?

It does seem to fix itself after a time:
[BetterBatteryStats] tboooe:
Event Log Services - again!

I thought I took care of the dreaded Event Log Service (Google Services) by disabling Auto-sync. After I turned it off yesterday, I didn't have any Event Log Service wake locks until this morning when I turned on Auto-sync briefly to allow my calendar and contacts to sync. Even after turning off sync, I am still a lot of Event Log Service wake locks. Once again its my #1 wake lock issue. Any ideas???
[BetterBatteryStats] odub303:
Not really. Sometimes it is an issue, sometimes it isn't. I don't think it has a major effect though so I'm not stressing over it.
[BetterBatteryStats] nobnut:
This is mormal for MIUI. You can try enabling/disabling battery monitoring and see if either works for you.

This is normal. Stats don't appear until a certain battery drop has occurred, then reporting can lag behind use.

You could try rebooting after turning sync off.
[BetterBatteryStats] edison218:
Hi everyone, I tried reading the past post and used to have some problems with alarm manager and *sync* calendar as my 2 biggest battery at more than 1% each. I manage to solve the problem with alarm manager, in calendar settings > reminder settings, I took sometime to figure out to tick all calendars and set notification off which solve the alarm manager high awake value.

However, I am still having problems for *sync* calendar and have no clues on what to do. It appears to have been activated by friend stream..just a guess. Anyone have the same problem?
[BetterBatteryStats] ahop420:
Sweet! Been looking for something like this for awhile. Thank you!
[BetterBatteryStats] :
percents countre error

hi,

i'm using last version on my s2, and i having issues with the total percent count.

when i count (manually) the percent in all the speeds (and deep mode), the percent never is 100%.

i'm obtaining negative percents in a speeds, also.
[BetterBatteryStats] jr67:
Are you posting in the right thread? Because to me it sounds like you're talking about something like CPU Spy and not BBS. If you are talking about Cpu spy, did you reboot recently? I always reset the stats after a reboot otherwise I end up with messed up percentages including negative percents.

Chamonix, thanks for a great app and thread. I've learned so much just by reading this thread.
[BetterBatteryStats] :
sorry, my mistake
[BetterBatteryStats] chamonix:
*sync* is what the entries under 'Settings - Accounts and Sync' use to EG update you calendar with gcal.
[BetterBatteryStats] AndreiLux:
I've got a question; the wakelock stats are taken from /proc/wakelocks am I right? I've got the weird behavior that user process wakelocks are not being shown in the raw data no matter what I try so it's leaving me a little perplexed. The next thing I guess would be a feature request to have system wakelocks shown in BBS.
[BetterBatteryStats] nobnut:
I know this thread and kernel relates to the Nexus S but it is an interesting read.
[BetterBatteryStats] edison218:
I see..yea I tried to not sync contacts for facebook for htc sense. It has help a lot in the time taken. Thanks!
[BetterBatteryStats] yeahmann:
Anyone figure out the reason for high Event Log Service wake lock times? I froze all my apps and it's still a problem so I'm guessing it's a stock Android problem. Yes, sync is off.
[BetterBatteryStats] yeahmann:
Never mind. I disabled calendar notifications and my wake locks practically disappeared.
[BetterBatteryStats] ram3n:
Guys,

I have some annoying wakelocks such as ActivityManager-Launch which drains battery...

Can someone explain to me what is ? and How to solve it ?

Cheers
[BetterBatteryStats] brack11:
Any lack on finding out what it is? I also have it on one of the first places.

Sent from my GT-I9100
[BetterBatteryStats] shiboby:
This is my first time here. I spend 7 hours, minimal use on my phone, but 34% battery loss. Please help me understand why. I'm trying to include what is right,. If I'm wrong, I'm sorry, but please tell me why.
[BetterBatteryStats] rudyych:
回覆: [APP][2.1+][25 Mar. - V1.13B3] BetterBatteryStats

I just upgraded my BBS from play store. The first thing I am notified is the miss of "since screen off". It seems that I have to enable watchdog for the "since screen off" to be created. However, the "since screen off" is still not there from time to time. I wonder I did not configure watchdog properly to generate screen off reference.

My question is "is there any article talking about what watchdog is and does"？ I am just confused on most of the watchdog setting, such threshold and duration etc...

Thanks.
[BetterBatteryStats] amaman89:
BBS

Hi,

can you modify BBS like GSAM battery? maybe you can make it like after we reboot our phone, the stats still remain until we fully charged then only it will reset itself. Is it possible?

and when my batt is 100% , it will goes down to 97-96% after a reboot.

and a another reboot will drain my batt 3-4% at least within few minutes. But after that, it will consume 1% within every 3-4 hrs. Is it out phone loading/or after booting eating a lot of battery juice?
[BetterBatteryStats] Corvus Corax:
Guys, could anyone help me fix my battery drainage? My phone looses 44% of battery over night! I see in the log something about WIFI and DHCP... Help?
[BetterBatteryStats] riulian83:
Fast battery drain

Hi,

I have a big problem with battery draining too fast. After I use this app to monitor wakelocks, I've noticed that Maildroid has very high PWL:

DEVICE: shooteru

MANUFACTURER: HTC

MODEL: HTC EVO 3D X515m

OS.VERSION: 3.0.70anryll70pf02

BOOTLOADER: 1.49.0007

HARDWARE: shooteru

FINGERPRINT: htc_europe/htc_shooteru/shooteru:4.0.3/IML74K/385730.1:user/release-keys

ID: IML74K

TAGS: release-keys

USER: unknown

PRODUCT: htc_shooteru

RADIO: 11.77.3504.00U_11.25.3504.06_M

Rooted: true

============

Battery Info

============

Level lost [%]: -22 Bat.: -22% (100% to 78%) [6,7%/h]

Voltage lost [mV]: -277 (4339-4062) [83,9%/h]

===========

Other Usage

===========

Deep Sleep (): 49 m 18 s (2958 s) Ratio: 6,7%

Awake (): 2 h 28 m 55 s (8935 s) Ratio: 75,1%

Screen On (): 17 m 33 s (1053 s) Ratio: 8,9%

Wifi On (): 2 m 19 s (139 s) Ratio: 0,3%

Wifi Running (): 2 m 17 s (137 s) Ratio: 0,3%

No Data Connection (): 2 m 8 s (128 s) Ratio: 0,3%

No or Unknown Signal (): 2 m 8 s (128 s) Ratio: 0,3%

Good Signal (): 2 h 3 m 7 s (7387 s) Ratio: 62,1%

Screen dimmed (): 17 m 33 s (1053 s) Ratio: 8,9%

=========

Wakelocks

=========

com.maildroid.alarm.lock (com.maildroid.MailDroid): 2 h 13 m 7 s (7987 s) Count:4 67,1%

BBS_WAKELOCK_WHILE_SAVING_REF (com.asksven.betterbatterystats_xdaedition.BetterBatteryStats): 36 s (36 s) Count:18 0,3%

AlarmManager (Sistem Android): 35 s (35 s) Count:1052 0,3%

NetworkStats (Sistem Android): 29 s (29 s) Count:172 0,2%

Is it normal? How can I fix this beside uninstalling the app?

Thanks.
[BetterBatteryStats] Rhonin86:
Event Log Service - partial wakelocks explodes over night

Hi folx,

i succeeded in calming down maps with Karpfenhai's howto - > BIG THANX

But focusing now on other wakelocks i noticed that the event log service shows a weired behaviour - or is it a bug in BBS? I attached the dumpfile with this contradictory information:

Anyone an idea ? I deleted the data of BBS and started again - but the same result :eek:

Btw i believe more in the Deepsleep data...

Cheers

Rhonin
[BetterBatteryStats] Validimus:
Hope it's alright like this.

Unplugged from charger, left it overnight.
[BetterBatteryStats] amrs:
Everything was working in BBS without root. Switching to superuser made the alarm computations work. Although my root seems wonky now. Nothing is allowed in superuser and yet every root app I have has root...