yashsingh1/xdaforums huggingface dataset:
[BetterBatteryStats] KostasR:
Hi guys... I 'm having a problem for over a week now with my GSM Galaxy Nexus. At first it started with kernel wakelock "vbus-tuna_otg" making my phone ghost charging. Tried everything to fix it. I sent it to samsung for a repair. They "updated" the firmware from 4.2.2 to ICS 4.0.4. Problem still existed when I got it back. Then I forced them to change my usb port since everything I read here on XDA said its a common problem. They replaced the usb port and got it back yesterday. The problem still percisted. I followed a mini guide then here on XDA ( turn off phone, remove battery, plug charger, put battery back in, wait for a minute and boot). Now the kernel wakelocks have gotten worse. Now I have a kernel "pogo" wakelock keeping my phone awake all the time. I 'm in despair. Any advice?

I attached my logcat from this morning below with about 3 hours of idle after unpluging the charger...
[BetterBatteryStats] It_ler:
I recognize that your Awake time is exactly the same as your Wifi on time.

Try to disable wifi for the next BBS recording.

And your biggest battery drainer is ... Maps.

In post #3, there is a link to Karpfenhai's description of how to "optimize" Maps.

Or you can uninstall Maps, then re-install it from Play store (so it will be a user app and no more a system app) ... and add it to the app list in Greenify (from Play store).

Good luck !
[BetterBatteryStats] axpira:
Logcat

For me logcat is not working, in file is showing this: Unable to open log device '/dev/log/main': Permission denied

I'm using CM10.1 in Galaxy SII (I9100)

Do you need any other info?

Thanks for this great app
[BetterBatteryStats] It_ler:
Very good :good:

0% battery loss in nearly 10,5 hours ... and 99,8% deep sleep ... I'm impressed.

Maybe time for me to get a new phone :confused:

Ok, it was in Airplane mode ... but still very good.

---------- Post added at 12:31 PM ---------- Previous post was at 12:23 PM ----------

Pogo ... seems to be something special for your phone.

Found this:

ARM: exynos: Manta: Update pogo charge source if new value is reported

Dock detects charge source when it is booting. It may re-check the

charge source and report through the dock status. The pogo driver

will notify the battery driver if the power source has changed since

dock boot up.

Changed pogo wakelock usage to cover pogo data interrupt handling.

Caller of manta_pogo_set_vbus holds its own wakelock.​

Can still be an issue with your USB port.

Maybe you have to bring it back for repair again.

Good luck !
[BetterBatteryStats] gilesknap:
GTALK_ASYNC_CONN_ wakelock

I too have issues with the above wakelock. I am on 3 and have no proxy in the APN. However during work day I am frequently out of range of mobile networks and my wifi is via a corporate proxy. I believe that these wakelocks happen when I am out of signal range.

So still may be proxy related - but no solution for mw
[BetterBatteryStats] KostasR:
Thanks for your answer. The problem is I don't trust Samsung to fix it now. The service where I live sucks. So you think that the new usb replacement is faulty too? It 's weird though... After the battery drops below 70-60% the problem seems to gradually disappear. When I fully charge it again, there it is again :confused: It's like my phone is trapped in the bermuda triangle.
[BetterBatteryStats] brunek:
Here is my dump after 3 hours..My grenify wakes up to often for my likening,viber is grenifyed but it tends to pend allot and there for wake up my phone...And what does "TIME_TICK" means?It wakes up allot..
[BetterBatteryStats] patoberli:
I rebooted my phone now and so far it behaves as it should. Even with WIFI permanently on. I fear it's a bug of the phone OS itself.
[BetterBatteryStats] Karpfenhai:
The four little pins at the side of your device are called pogo, they can be used for charging, your description clearly points to the voltage to high issue, your usb board has not been replaced!

Try to slightly bend up your pin holder within your usb connector.

Tapatalked from my Galaxy SII
[BetterBatteryStats] It_ler:
So Greenify seems to have issues to hibernate at least one of your "greenified" apps.

A 20 minutes wakelock for Greenify is indeed too long.

You have to identify the "problem" app ... maybe Viber, maybe AirDroid ... :confused:

Remove the one app from Greenify, then test again. Then the next app, test, etc.

Good luck !
[BetterBatteryStats] brunek:
I removed AirDroid yesterday so it must be viber..But I didnt have that problem until grenify came to google play and when I updated it!
[BetterBatteryStats] chamonix:
You should look for Wakeups = Alarms not wakelocks
[BetterBatteryStats] chamonix:
System monitor by Christian Göllner is what you are looking for
[BetterBatteryStats] chamonix:
Please read the faq
[BetterBatteryStats] KostasR:
I know what pogo pins are :) The usb board has been replaced. The new one looks way more shiny than the previous one. The thing that bothers me is that when the battery drops below a certain amount, it kind of fades of and the kernel wakelocks stop. I don't rule out the fact that this usb is also faulty, but in my case, the problem doesn't seem to be it. Maybe the battery died...
[BetterBatteryStats] T679noob:
What is RILJ partial wake lock?

Dump file: https://docs.google.com/file/d/0Bz6GY_oEBiZnVHEtSy1yM2gwQWs/edit?usp=drive_web
[BetterBatteryStats] beast_drc:
Phone is Xperia Sola Last 4.0.4 (6.1.1.B.1.54) now with Linaro Kernel + Experience v2 ROM

I have fighting with batery drain for about 5 days. Here the things I alredy made:

1) Flashed clean firmware then root then CWM then kernel then custom rom

2) Flashed JB Ports for SemcPhone, Conversation, PhoneBook and SystemUI

3) Createed a google account on the phone and installed some apps (VK, WhatsApp)

--Battery Fight begin--

4) Turned-on Location Service, entered in maps, and unchecked all features in Maps->Settings->Location Service then disable Location Service

5) Entered in GTalk, Signed out from it, in Setting disable all notifications

6) Disabled AutoSync for all Services

7) 127.0.0.1 mtalk.google.com (GTALK_ASYNC fix)

8) Only 2G mode

9) Wi-Fi OFF

The situation always the same as on the screenshot. Android Os consume much of the battery.

Could you please give me more advices?
[BetterBatteryStats] poo706:
Interesting, what's your source on this?

[poo]
[BetterBatteryStats] evilnolo:
Radio-interface and msm_hsic_host

Hi there, Im having very poor battery life on my Nexus 4 with Pacman Rom and Franco kernel (just undervolted, nothing extra).

I have disabled the location services and just have the usual working, Facebook, Whatsapp and Line. I just had 7 hours aprox with 1:43 hours of screen time with little use (a couple of whatsapp messages and 15 minutes of a light game). As you can see in the attached screenshots the top things are Radio-interface and msm_hsic_host. I did a little research and it seems that this could be due to bad cell reception in my area? I do have the LTE/GSM/WCDMA enabled, could it be that it is switching constantly from network mode?

I do notice that from time to time the signal bars completly dissappear and reappear as if the signal is gone completly. Could this be the problem or am I missing something? I've seen people with my same setup achieve almost 15 hours with more than 3 hours of screen time. I think I could do some extra improvements. Any suggestions? Thanks a lot!
[BetterBatteryStats] Yakul:
I followed a lot of the steps suggested, greenfied apps, disabled/replaced some apps. Deleted useless apps. Just wondering if someone can again take a look at my bbs log to tell me what I can do to increase my battery life.

The log file I am attaching is from 100% battery life, with no usage while I was sleeping with wifi connected, alarm clocks active. Saved the logfile as soon as I woke up from the alarm clock.

(thank you!)
[BetterBatteryStats] Karpfenhai:
Hmm,I wonder if something is wrong with your sd card, mmc1 puzzles me a bit, could you take it out for a while to see whether it persists?

It could also point to an app which has been moved to sd.

Your Wlan wakes are elevated but not too much, I suggest to try better Wi-Fi on off.

Good luck.

Tapatalked from my Galaxy SII
[BetterBatteryStats] henninkn:
Thanks, so what exactly should I be looking at inside BBS? I tried making sense of the various count stats, but dont really understand them...

If you're referring to the alarm section of BBS, I'm afraid to say I'm not rooted! :cyclops:
[BetterBatteryStats] Yakul:
Thank you. I just took the SD card out. I am going to charge it to a 100% again, install better Wifi on-off, and then post a log back. I'll also format the SD card again and see if the mmc1 wakes become normal. Whats a normal percentage for it?

I am not sure if this would make a difference, I doubt it would, but its a Samsung 32gb Class 10 micro SD card. It could be a bad card, if the mmc1 wakes don't become normal I'll try borrowing another card and see if that resolves the issue.
[BetterBatteryStats] TKD29:
i still have problem with gtalk. i am log out from gtalk and i disable from settings
[BetterBatteryStats] brunek:
I need help,my audioout_2 is back..Yesterday I had I problem with grenify,it was waking up allot.I removed viber from hibernation and i saw audioout_2 start up.Then i uninstalled viber thinking that will stop audioout_2 but I was wrong..:crying:
[BetterBatteryStats] Christiancs1969:
Brunek Turn of all touch sounds

Reboot check again ;)

s2rootbox......
[BetterBatteryStats] dEris:
Me?

[DEVICENEXUS⁴] [ROMXYLON] [KERNELMATR1X] [RECOVERYTWRP]
[BetterBatteryStats] brunek:
My touch sounds are turned off a long time ago..
[BetterBatteryStats] Christiancs1969:
Oh sorry. Not good;) will have to look harder:(

s2rootbox......
[BetterBatteryStats] Kitschki:
A new dump file :D and yes i know that i have to remove kakao :P im gonna greenify it! Thanks in advance :)
[BetterBatteryStats] beast_drc:
Here the original:

http://xdaforums.com/showpost.php?p=35102460&postcount=2

New dump file, after night (my original post http://xdaforums.com/showpost.php?p=40663399&postcount=15680)
[BetterBatteryStats] kozmo21:
Remove kakao :p ... get rid of juice defender... Otherwise your dump looks really good!
[BetterBatteryStats] evilnolo:
Anyone can give me some tips about my stats? I didnt attach a dump since I think I dont need much deep investigation, but if its needed I'll get one. Thanks a lot once again. (screenshots on my original post)
[BetterBatteryStats] Casanoaa:
In your dump I don't see good improvement of gsf wakelock.?
[BetterBatteryStats] beast_drc:
yes, I just wrote what i have done.

This instruction http://xdaforums.com/showpost.php?p=29420959&postcount=7059 also is not useful for me, cause Autostarts doesn't work on xperia sola..
[BetterBatteryStats] brunek:
Help a brother out!:D Something is causing my battery drain but I just can not find out what..
[BetterBatteryStats] Aevum:
a simple question, i dont have a cc asociated with my play account, any way i can pay the 2 bucks directly (like paypal) ?
[BetterBatteryStats] MIGhunter:
I think the apks are in the 1st post for free to xda members.
[BetterBatteryStats] It_ler:
Have you uninstalled Viber?

If not do so.

There is not only the AudioOut_2 wakelock, but a security issue on the current version.

Wait for the next update and then re-install Viber again.

Maybe Viber is causing the AudioOut_2 wakelock :confused:
[BetterBatteryStats] brunek:
Yes I uninstalled it last night but through out the night and this morning the audioout_2 was still here..Could it bee something else?

After I rebooted audioout_2 is still here but only 26 sek for now(in 2 hours)
[BetterBatteryStats] poo706:
Nice! I added mtalk.google.com to the blacklist feature of Adaway, pinged mtalk.google.com from a terminal, and confirmed it was going to 127.0.0.1. Gmail syncing still works and Play store still works. Thanks for the tip!

[poo]
[BetterBatteryStats] Sean09:
Hey everyone,

I have been experiencing severe battery drains over the past two weeks with my nexus 4. I have tried everything from starting fresh, changing kernels, uninstalling nearly everything, and removing everything I put on since the issue started (and of course factory reset/wiping after that). I used to be able to make it a full day with lots to spare. Now after 3 hours uptime I am already well below 80% on a GOOD DAY.

I have been trying all sorts of monitors and have been told BBS is the best, which is why I wanted to give it a try. I have attached a log which I cannot seem to figure out.

Under Wakelocks, from what I have been reading, I shouldn't be concerned with the time so much as the frequency? Ie Icing (Google Services): 9 s (9 s) Count:96 0.1% - it is only .1% but occurs 96 times?

My CPU States would seem to indicate that there isn't much of an issue since 88% is in deep sleep?

==========

CPU States

==========

486 MHz (): 11 m 43 s 6.9%

594 MHz (): 6 s 0.1%

702 MHz (): 4 s 0.0%

810 MHz (): 3 s 0.0%

918 MHz (): 2 s 0.0%

1.03 GHz (): 10 s 0.1%

1.13 GHz (): 2 s 0.0%

1.24 GHz (): 4 s 0.0%

1.3 GHz (): 2 s 0.0%

1.35 GHz (): 2 s 0.0%

1.4 GHz (): 1 s 0.0%

1.46 GHz (): 0.0%

1.51 GHz (): 6 m 8 s 3.6%

Deep Sleep (): 2 h 31 m 45 s 88.6%

If anyone has any recommendations I'd appreciate it. I have owned the phone since November and haven't had such terrible battery life except for the last two weeks. If I can figure out how to use the app properly and better understand it, it'd be worth the investment to me! I am hoping you guys can point out what may be causing it so I know how to watch for it going forward.
[BetterBatteryStats] Fertz70:
Great results!!!

By disabling FD, my SII achieved 1d13hs, still 15% left!!!

Thanks Karpfenhai!
[BetterBatteryStats] californicated:
Under Alarms com.sonyericsson.android.wakeup causes more than 1050 wakeups in 4 1/2 hours. It says something about FastDormancyWakeupSever. My Carrier supports Fast Dormancy. Any ideas?
[BetterBatteryStats] Hammerhand.17:
Hi. I was having a poor battery life, so I have decided to investigate what is the problem, so I wiped everything and installed just the ROM (CM10.1 on a SII), gapps and Whatsapp (I need it).

Even this way, I think I am having too much awake time, mostly related to RILJ and GTALK_ASYNC_CONN.

Here goes the file, just in case that anybody can help me to detect what is the problem.
[BetterBatteryStats] Karpfenhai:
Ril is not a problem, its caused because you are using an ics modem on a jelly Rom. But your awakes are related to bad connectivity (gprs stall) and data traffic (multi dpd) find the source and it will improve.

Flash an jelly modem and ril will be lower.

Tapatalked from my Galaxy SII
[BetterBatteryStats] mgs333:
Ok, I previously used Greenify based on feedback from this thread to make my maps behave more normally but the phone is not sleeping again. In 42 minutes, the screen was on for 1 minute but the phone's been awake for 32 minutes....

Help is appreciated, thanks.
[BetterBatteryStats] beast_drc:
I've frozen all google services Gmail, Maps, GSF, Play Store, Talk.. ALL stuff via the Titanium backup, But Account still there. and now collecting stats. I think tomorrow I'll post the dump. If it still drain the battery, I'll give up.
[BetterBatteryStats] Domoo:
Check if your Google search is a system app. If it is, convert it to a user app. Reinstall google search and disable google now. Restart your phone to see if it stops the gtalk wakelock. I had that exact wakelock and narrowed it down to Google now.

Other than that, your battery drain is not abnormal. Enjoy your phone.
[BetterBatteryStats] chamonix:
Sure, BBS is on androidpit
[BetterBatteryStats] Jileo:
Thanks for your work dude :)
[BetterBatteryStats] Hammerhand.17:
I thought so, but I've tried several modems and it is the same (or maybe I didn't find a right jb modem for my carrier). When you say to find the source, is it related to the modem or any other thing? Should a jb modem solve the wakelocks caused for a bad connectivity? I understood that it will.

Ok, I will try right now and will post the results.

Thanks a lot.
[BetterBatteryStats] Karpfenhai:
Do you have chrome installed?

Tapatalked from my Galaxy SII
[BetterBatteryStats] mikecantreed:
I noticed that No Data Connection and No or Unknown Signal is 87.2% even though I've had service all day. Maybe lost service for 5-10min on my way in to work. Could this be a glitch in the app? BBS dump attached.
[BetterBatteryStats] Karpfenhai:
afaik this happens b/c android cannot show the signal correct while Wi-Fi is on, there are some limitations.

If you would turn off Wi-Fi the signal status will be visualized more sufficient.

Don't worry about this, the dev is aware of it.

Tapatalked from my Galaxy SII
[BetterBatteryStats] 93fuelslut:
Can someone help me? Using this app,, how do I see what's going wrong? My battery is getting raped
[BetterBatteryStats] TKD29:
how can stop gtalk? , i disable app and log out and still run in background
[BetterBatteryStats] Casanoaa:
Gsf is all Google related Wakelocks together.

We can minimize the wakelock of it but not get rid of it.

You can use my or karpfenhai settings for gsf and use autostarts app to minimize.
[BetterBatteryStats] post-mortem:
I read in another thread, you can use a firewall to block internet access, or you can add mtalk.google.com to your hosts file (i.e., you can add it to AdAway's blacklist).
[BetterBatteryStats] TKD29:
Where is located host file, because i found host file in many place
[BetterBatteryStats] post-mortem:
It's /etc/hosts

Permissions are rw-r--r--

If you're gonna edit it manually, you can use 127.0.0.1. So you could add the following line:

[FONT="Courier New"]127.0.0.1 mtalk.google.com[/FONT]
[BetterBatteryStats] 93fuelslut:
How do I make a idle log? And the " dump log"- just hit dump log, and post that log on here?
[BetterBatteryStats] post-mortem:
Idle log just means don't use your phone for a few hours. Then the log will reflect what's going on in your phone while it's idle.
[BetterBatteryStats] mgs333:
No, I do not have Chrome installed.
[BetterBatteryStats] vkk178:
Is there some option to display current battery millivolts and temperature ?
[BetterBatteryStats] 93fuelslut:
OK so when I wake up, what do I do, where do i go in the app to post my log to see what's wrong. I open the app and I just don't know what I'm looking at.
[BetterBatteryStats] Ritesh:
The AudioOut_2 Issue.

Noob here, so pardon me in case these points have already been discussed. I have read through about 20 threads/posts discussing this issue, none with a satisfactory answer. So I post my observation here, as this thread has probably the best experts on power consumption issues.

I have faced the AudioOut_2 issue many times since I started using the XWLSJ on my SGS2. I changed ROM to XWLSN and the issue still remains.

It appears on Nexus 7, Nexus 4, and also on my friends Gnote2. It happens when there is an alert that should trigger sound. It doesn't matter whether the device is on silent/vibration/noisy mode. If you listen carefully by keeping your device speaker close to your ears, there is about 2-3 second long hissing sound from SGS2 after any audio notification is triggered, and that sound ends with a slight click.

I have already tried uninstalling viber/whatsapp etc.

This wakelock has reduced significantly on Nexus 7 after I upgraded it to 4.2.2. I will try the same fix with Nexus 4 this weekend. So my understanding is that this is an Android 4.1.2 issue. On SGS2 it persists with XWLSJ and XWLSN, and wasn't there with previous versions.

So, to the Battery Gurus here:

This is an OS issue, not a specific application issue. Am I correct? Are there any cases any other versions of Android? Have you seen this issue listed on bug reports in android bug reports ? I couldn't find it.

If you have any more suggestions let me know, an SGS2 is dedicated to finding the root cause of this problem over the weekend.
[BetterBatteryStats] crazyrimzy:
Please Tell me What to do with the wakelocks

Attaching hereby my dumpfile for Samsung Galaxy GT-i9100.I roughly get 11-12 hours of charge cycle.Please have a look at the attachment and advise me to do needful.

Thank You in Advance!!

Help appreciated:good::good::good::good::good:
[BetterBatteryStats] TKD29:
Not works
[BetterBatteryStats] post-mortem:
OK, try 0.0.0.0 instead of 127.0.0.1. Otherwise, just use AdAway, and add mtalk.google.com to the blacklist.

Edit: Some relevant, interesting posts:

http://xdaforums.com/showthread.php?p=40073449

http://xdaforums.com/showthread.php?p=40686176

http://xdaforums.com/showthread.php?t=720772
[BetterBatteryStats] TKD29:
I try 0.0.0.0 firts but nothing same like 127.0.0.1

Now i instaled AdAway.. i see in a few hours if works
[BetterBatteryStats] Jileo:
So nice job, thank you :victory:
[BetterBatteryStats] 93fuelslut:
My phone isn't going to deep sleep. How can I fix?
[BetterBatteryStats] post-mortem:
To find out what's keeping the device awake, do the following:

Make sure BetterBatteryStats is installed & running in the background

Plug your phone in the charger, then unplug it

Leave your phone alone for a few hours. Really, try not to use it at all.

Open BBS, tap the Share icon, and save a Text Dumpfile

Post the dumpfile in this thread (as an attachment)
[BetterBatteryStats] chamonix:
Save an idle dump together with a dmesg (to be on the safe side) and read the dumpfile, the cause is in there. If you need help understanding it please feel free to ask

Edit: typo
[BetterBatteryStats] beast_drc:
Hi there. here is me again with my battery drain fight.

So. yesterday I have FROZEN ALL GOOGLE STUFF (See screenshots!!!!!). Then I started to collect the data.

unfortunately I forget to dump the data and no logs for very good battery life.. GSAM shows me 84h from 100 to 0 (after 10 hour at night it took only 9% of battery). But no google service was working (No contacts sync for example.)

Today at 4pm a compleatly charge the phone and DEFROST ONLY GOOGLE SERVICE FRAMEWORK (All other still frozen as shown on the screenshots) And what I get? I got 14% discharge for 3 hours of TOTAL IDELING

Now I don't understand anything.

Here the logs. So, please don't care about long phone use for calling at the end of the history. But it is not OK to drain battery with EVERYTHING frozen.

Any ideas??
[BetterBatteryStats] Karpfenhai:
It's an app issue for sure, viber installed?

Tapatalked from my Galaxy SII

---------- Post added at 10:23 PM ---------- Previous post was at 10:18 PM ----------

Posting 4 dumps doesn't make it better if not one is valid (straight idle), the second shoes about 24 minutes overhead, 10 are from Wi-Fi , 6 from data transfer, to get a better picture we need an idle dump, do your homework, read the op and post 3.

Tapatalked from my Galaxy SII

---------- Post added at 10:26 PM ---------- Previous post was at 10:23 PM ----------

Invalid dump, read the op!

Don't mess with gsf, search the thread for advices what safely can be disabled(autostarts).

Tapatalked from my Galaxy SII
[BetterBatteryStats] beast_drc:
Karpfenhai Autostarts doesn't work on Xperia. Always NO Recievers found. Any other way to edit autostart items??
[BetterBatteryStats] CheriePie:
You should ask chamonix to link to these from his FAQ in post #3. I had previously saved a link to them but it should be made easier for others to find them when needed too.

http://xdaforums.com/showthread.php?p=35755907

EDITED TO ADD: Maybe too could you possibly show how these settings would look from Android Tuner and/or Gemini App Manager? I don't use autostarts myself as I've read that it's not that compatible with Jellybean and hasn't been updated for awhile. Both of the other 2 apps I mentioned handle startup events just fine and are updated more regularly and are fully compatible with Jellybean. Thanks! :)
[BetterBatteryStats] beast_drc:
I saw this. any chance to edit this without autostarts?
[BetterBatteryStats] kstano83:
Im new to this app so have mercy on me :p. Lately I have had high androidos usage on my phone. Can anyone help me on this, please?