yashsingh1/xdaforums huggingface dataset:
[BetterBatteryStats] brainwash123:
Hello all,

I've been trying to track a high consumption that has been bothering me since about two weeks ago. I have a kernel wakelock called 'usb' that seems to be keeping the phone awake half of the time. I am attaching a dump made with data mostly off and very little usage.

What I've done:

- checked that all tethering options are turned off

- data off, wifi off, network mode set to 2G

- developer options off (including the keep awake and usb debugging)

- charged fully via wall charger, not computer

- rebooted before starting the stats

- checked processor usage and active processes

No one else using the same ROM and setup is reporting the problems, so it has to be something happening in my phone.

I suspect it has something to do with OTG, the issues started around a time when I was uploading pictures from my camera and having the 'keep awake' option enabled, but I don't know how they can get 'stuck'. Is there any additional debugging that I can do short of installing a clean ROM and kernel?
[BetterBatteryStats] sadastronaut:
Hi, I'm trying to use the Process Stats page. I look at Process over a 6 hour time period, and Dolphin Browser is at the top. Only it says that I've used it for something like 26 s, which seems really low (for user, or total, I don't remember, but the order of magnitude is around there). What is this 26 s time measure really indicating? Also, is the Process page a helpful indicator of what is really using the battery, or should I rely on the Wakelock pages, and the basic battery meter? Thanks.
[BetterBatteryStats] payne_307:
Please help me with alarm_rtc (real time alarm)

Hi Guys,

I had earlier posted the file as well but seems apart from GFE ("Good for Enterprise") nobody could tell much. The fact is its an IT managed app so I have no control on its refresh times and without it my smartphone is of no use as I can't read/answer my official emails on the go.

Please can Chamonix or someone who knows about this help me out. I'm ready to t/s and perform whatever steps is being asked. I also tried running without GPS and in Location Service turned off the option "Location and Google Search" -- But it doesn't seem to help me. The battery drain is still the same. Facebook refresh interval has been set to 4 hrs and in Google sync - auto sync is only for Gmail & contacts, which again doesn't makes a difference.

I'm reattaching the dump posted earlier as the changes didn't bring any positive results (or may so miniscule that it can be easily ignored). My battery drain with sparce screen on usage during the day is always around 9-10% per hour.

Please help us. I know there aren't many forums to discuss x86 architecture Andriod but then I was hoping someone helps me with my XOLO X900 as well than only people with Samsung Galaxy/Nexus, Sony Experia or Motorola series phones.
[BetterBatteryStats] payne_307:
Guys,

Also, here is my latest "adb shell dumpsys" dump (full dumpsys stats dump). I hope someonce can figure out what's wrong here.

P.S. - The file exceeded max limit for .txt file so zipped it and uploaded.
[BetterBatteryStats] kingofcomedy:
Ok, just bought the app in the play store. :)

Edit: lol, just got automatically a refund because I deinstalled the older version of this app from the play store. I just wanted to pay something and continue using the release candidate from here. I'll buy again. :)
[BetterBatteryStats] It_ler:
Main partial wakelocks are:

Genie (com.google.android.apps.genie.geniewidget.News & Weather): Idsbale/freeze it, or at least try to use manual snyc/refresh or larger update interval.

FRITZApp.SipdroidEngine (de.avm.android.laborapp.Fon): Exit it when you don't use it. Not only quit, real exit (no FritzFon symbol in status bar).

NetworkLocationLocator: Disable all location service options in ROM and Google settings.

Viber: Disable/freeze it if you don't need it every day.

Facebook: Disable/freeze it, if it's Ok for you.

Google Search: Disable/freeze it. You can search in the address bar of the browser. No need for extra Google search app/widget IMO.

Maps: Optimize its autostarts like decribed by Karpfenhai (link in post #3).

Check all email accounts. Set it to manual sync.

Please install and use latest stable BBS app version, which is ATM v1.11.0.0 for the next BBS dump.

No idea about the USB kernel wakelock :confused:

Good luck !
[BetterBatteryStats] tooeasyforkevin:
Hm so I've noticed that GSam Battery monitor is reporting some kernel wakelocks that BBS is not. Mainly "sns_async_ev_wakelock" and "sns_periodic_wakelock". GSam is reporting about 2 hours of each while BBS only shows them at about a couple minutes. Anyone know?
[BetterBatteryStats] xxmelissaxx:
Re: [APP][2.1+][26 Jan. - V1.12RC7] BetterBatteryStats
[BetterBatteryStats] Liekk:
Can someone please take a look at my logfile. Left my phone in idle while i was sleeping and it drained from 100% to 87% i don't think this is normal? Just left the phone with my usual settings. Im using philz kernel b32 and alliance rom v6

Thx in advice
[BetterBatteryStats] Karpfenhai:
Re: [APP][2.1+][26 Jan. - V1.12RC7] BetterBatteryStats

Your wakeups are caused due to network traffic, mostly from exchange but the drain.... I afraid we all have to live with, try another kernel (jeboo) ...

This is the cost of Samsung's early jb roms..

I'm unhappy too..

Tapatalked from my Galaxy SII
[BetterBatteryStats] payne_307:
Can someone please look into my dump? Please someone..
[BetterBatteryStats] It_ler:
Hugh dump files ... har dto read IMO.

I really like BBS dumps.

What I can see in your Alarms:

location: Disable all location service options in ROM and Google settings.

Maps/Mytracks: Optimize its autostarts like described by Karpfenhai (link in post #3).

WhatsApp: If you don't need it every day, disable/freeze it.

GFE: It really generates many alarms and wakeups your phone from deep sleep.

Google+: Disable/freeze it, if you don't use it every day.

Facebook: Disable/freeze it, if you don't need it every day, or at least disable all notifications and try to optimize its autostarts like for Maps.

Good luck !
[BetterBatteryStats] payne_307:
Thanks. However, doesn't solve much. I will state why:-

1.) If I disable all location service option, ALTitude by Sven, which I'm using as an alternative to Latitude stops working as well. And I can't choose to stay with out location updates.

2.) I can't optimize autostarts as described by Karpfenhai (link in post #3), because my phone isn't rooted. Can't root it because GFE doesn't work on rooted phones due to my company IT policy that restricts usage on rooted phones for data theft issues.

3.) I do use WhatsApp everyday. I was thinking it should just sit in the background idle unless I send or recieve a mesasge. I think force stopping it would not allow me to receive messages and also its not possible to remember to force stop the app after every use.

4.) Again I can't freeze apps as I'm not and can't be rooted. I can at tthe max force stop user apps or disable system apps. I did force stop Google+ but may be clicking some option would have started it again. Again tough to maintain a check all the time by going into running apps every time.

5.) I have disable facebook notifications. I can't see any improvement due to the same.

Request all to suggest help without me needing to root my phone, until my company removes the IT restriction to run GFE on a rooted phone. What I actually wanted to know was if all my apps , ROM & Kernel is working normal. If you folks see abnormal behaviour of an app, or my ROM or my kernel, please tell me the specifics. I will see if I can push these concerns through to my manufacturer and get them resolved at ROM or Kernel level. But if I can't give them specifics I'm sure they won't pay too much heed.
[BetterBatteryStats] It_ler:
On a Samsung ICS and JB ROM, you can disbale most apps in Settings menu > "Application management" > All > click the app and select "Disable" ... even without root.
[BetterBatteryStats] sirkula:
Just updated to stock JB XWLS8, and PhilZ latest kernel, disabled some stock apps, prevented some from autostarting but what else can I do to save batt.

I hoppe I created dumpfile correctly this time :D

Thanks.
[BetterBatteryStats] payne_307:
Re: [APP][2.1+][26 Jan. - V1.12RC7] BetterBatteryStats

Thanks. That does work. But only for system apps which cannot be uninstalled. Like I have disabled the launcher as I'm using Apex Launcher. For for non system apps or apps which have received updates that same icon says uninstall updates than disable. For Google + I get uninstall update than actually disable. Hence I do a force stop. But if something calls that app its gets activated again. Anyways, I tried today with GFE off and left my handset after 100% charge. I was with 82% after 9 & 1/2 hours. Does out seem ok. You now know what else could be running apart from GFE. I haven't changed any settings since then.
[BetterBatteryStats] matejdro:
Is there a way to show only wakelocks that actually occur when screen is off?

I find most of my wakelocks and alarms triggering,when I'm using phone (screen is on), so these are harmless. How could I filter those from ones that are actve at screen off?
[BetterBatteryStats] payne_307:
Re: [APP][2.1+][26 Jan. - V1.12RC7] BetterBatteryStats

Well since my phone is not rooted I can't get the dump from BBS. The only way for me is to get it through running adb shell command. Which would obviously involve some screen on time while I connect my phone to my system and the phone wakes up. Best I can do is get that dump tomorrow with minimalist screen on time after leaving my phone idle through out the night through adb.
[BetterBatteryStats] rignfool:
Re: [APP][2.1+][26 Jan. - V1.12RC7] BetterBatteryStats

You could always temporary root and unroot ya know?
[BetterBatteryStats] xelra:
Re: [APP][2.1+][26 Jan. - V1.12RC7] BetterBatteryStats

Well, I can't really speak for your Xolo, since I don't have any reference to compare it to.

I can tell you about the Galaxy S2 and S3, though.

Idle drain at about 1%/h or lower is considered master class. You probably cannot achieve that without rooting.

Idle drain between 1%/h and 1.5%/h is very good. That is actually where I am, because I use a lot of always on connections and also push. Imo/IM+, Tasker, WhatsApp, GMail, gReader, etc..

Idle drain between 1.5%/h and 2%/h is considered good enough, if you can live with it. Personally I would try to improve it. Just calculate the difference in battery life for 1.2%/h and 1.8%/h. That's 50%!

I hope I could give you some reference on which to base your expectations.

BTW, that's not the kind of dump we are looking for. There is a "save to file" option within the app.

Upload that kinda dump (idle) and we'll have a look.
[BetterBatteryStats] payne_307:
I know. But GFE is smart. It doesn't run if I ever root my phone. Say I select unroot and reboot my phone it still doesn't work. Already tried on my rooted Samsung Galaxy Ace. :(

---------- Post added at 07:59 PM ---------- Previous post was at 07:55 PM ----------

I know but since my phone isn't rooted doesnt BBS doesn't show Alarms and Network wakelocks. My biggest battery hog is due to

"alarm_rtc", and I'm trying to reduce that to as much as possible keeping my connectivity options open (it doesn't remain a smartphone if you turn off all features, right?)
[BetterBatteryStats] BleedingIris:
Re: [APP][2.1+][26 Jan. - V1.12RC7] BetterBatteryStats

Not a good idea, but

Force stop gfe,turn off all networks

Root

Freeze gfe(make a titanium backup ,better yet, nandroid just after root and before boot )

Do what you have to do

Unfreeze gfe

Unroot

Super su app has advantages you know trying to conceal itself.

After root, you're in full control, you know.. you can clear data of gfe also. There's no way an app can remember something after it's data has been erased(unless it commits that data to the internet or even your SD card). So, technically even if it does know you're rooted, you can kill it erase it's data and even put in data that you're never rooted in the first place. All these can be done in recovery mode, so no way the app has anything to say about.

BUT REALLY RISKY,if it's your job on the line.

cm9 htc a310e k2.6
[BetterBatteryStats] eutechnyx:
App works nice.
[BetterBatteryStats] kouangooo:
Hi there

First of all, congratz on the app, great tool :)

I'm also experiencing HUGE battery drain: 8,7% / hour since 10h57

No game, no music (or very very little), no video, juste a couple of minutes on the phone but a lot of internet browsing. And oh yeah, Wi-Fi were set ON the whole time.

Wi-Fi on but GPS, Data, autorotation, Bluetooth, Fast Dormancy set to OFF. Brightlight set on Auto and I just calibrated the battery.

I got only 3 widgets (Calendar, beautiful widget & Droidstats), static wallpaper, Nova Launcher but no tasks killers

No exchange, no lattitude, no Google Now. Facebook & Meteo are set to be pulled every 2-4 hours. Google Agenda /mails & Dropbox are the only one using Push

I have a Samsung S2 running Supernexus rom 4.2.1 with Siyah kernel

Bear in mind that I have a brand new 3500mAh battery !!!

The issue comes obviously from the Wi-Fi IMO. Either from my modem or/and from Google apps.

I don't want to turn off location service since I use GPS guidance (and it's a pain in the ass if I have to go through the menu to turn ON location each time I need it)

Anyway I would be extremely grateful if someone could take a look at my problem, it's been giving me headache for some time now.

In attached file are screenshots of battery use + BBS stats

edit: I just turned off dropbox lan sync + DLNA from Media Player on my laptop, I'll see what happens now, but I doubt that Dropbox is the only issue
[BetterBatteryStats] beboo55:
hi there, can i ask you if you still receiving your email on gmail stock apps on time after applying those changes into Autostarts, thanks
[BetterBatteryStats] Stryder5:
For anyone using Tasker, is it causing wakelocks for you?
[BetterBatteryStats] It_ler:
Difficult to give a good advice, as you have a mixed usage dump.

Pleae provide an idle dump nex time (doing nothing / screen off all the time).

I suspect that the modem/RIL you are using is not best for your battery life.

Have a look here for other modem/RIL files => http://xdaforums.com/showthread.php?t=1881304

try to use only ICS modem/RILs on your ICS ROM.

Your main alarms are:

com.zeptolab.ctr.ads

com.viber.voip

com.facebook.katana

Maybe you can disable/freeze some of these apps, if you don't need it every day.

And I see a massive (kernel) wakelock for vbus_present, which usually shows that you have connected the charger or USB cable.

That is what you should avoid when recording battery stats.

Good luck !
[BetterBatteryStats] kouangooo:
I've also noticed it. Thing is.... I DIDN'T CONNECT THE USB !

I made some research on my own, and it's seems that if the usb cable is unplugged while the screen is black, it can provoke massive wakelock from vbus_present. The good way to go would be to unlock screen and then unplug it.

I mean seriously ? Depending on wether the screen was unlocked when I unplug USB, it may provoke battery drain ?! What the ***************

Thanks for your help though
[BetterBatteryStats] jeremysherriff:
Re: [APP][2.1+][26 Jan. - V1.12RC7] BetterBatteryStats

Yep, we've come across this behaviour before.

Sent from my GT-P7510
[BetterBatteryStats] jask05:
Hi :)

First, thanks for this app I think is the best app in this area.

Other hand I ask if anybody knows any way to see which app are forced or doing that the device awake

I have a Samsung Galaxy S3 (I9300) and it is not root and at the moment I do not think to do it :)

Thanks :)
[BetterBatteryStats] kouangooo:
Without root, I'd say there are very little chance to find out what app provokes Wakelock

If you don't have any battery issue, no need to worry who's doing what

I had to make quite some researches, you put me in the spot since I had no idea what's a modem/RIL.

I am using LS8 modem and the LQ6 RIL. I have excellent baseband, so unless i'm missing the point, that's not the issue

(I'm JB 4.2.1)[/QUOTE]
[BetterBatteryStats] leAndroid91:
Hi guys,

a few days ago i had a bat-drain of about 5% during the night (6-7h) with CM10.1 and CM-Kernel (newest versions).

Because of the BLN-Feature and CM10.1 seems to run a bit smoother with it, i flashed the Dorimanx-Kernel (also newest version).

But this night (only 5h - who needs sleep on superbowl^^) i had a bat-drain of 21%.

Now i am not sure if something is running in the background and sucks my s2's battery or if the high battery-drain is "just the kernel's fault".

Guess i have to switch back to CM10.1 Kernel then.

Hope you can help me.

THX!

And here are my bbs:

View attachment BetterBatteryStats-2013-02-04_080002018.txt
[BetterBatteryStats] It_ler:
Hmm ... difficult to compare, as you only provide the dump for Dorimanx v7.45.

You can record another BBS dump running on CM kernel, and compare the main kernel wakelocks ... especially for wifi and BLN.

I found some other things to optimize:

NetworkLocationLocator: Disable all loction service options in ROM and Google settings.

Maps: In post #3 there is a link to Karpfenhai's descritpion of how to optimize the autostarts for Maps. Give it a try.

GoogleQuickSearchBox: Disable/freeze Google search.

EMail: Change all email accounts to manual sync.

Apps.Plus: Disable/freeze Google+ if you don't need it every day.

Good luck !
[BetterBatteryStats] kouangooo:
http://xdaforums.com/showthread.php?t=1308030
[BetterBatteryStats] leAndroid91:
Yeah, sorry, i don't have the bbs with 5% battery-drain any more :(

I got your advices earlier, too, but these things were actived during the 5% drain, too.

I can totally live with that because i use GNow frequently before driving to work, home and university.

I didn't knew that, i will try another Dorimanx-Night without BLN and see if it makes any difference.

I also found that the wlan_rx_wake can be reduced by setting up a static ip for the s2.

But this will just work for my wifi at home.

Is there any option to prevent the s2 of answering those dhcp calls or will this result in a loss of connection?
[BetterBatteryStats] It_ler:
You change from DHCP to Static IP in Advanced wifi options of the corresponding wifi connection.

So it only changs the behaviour for this network, and wil not affect the other wifi connections.

Please remember to set the option in your wifi router to assign always the same IP address to your phone.

And disconnect and re-connect to your wifi network after you changed these settings.

Good luck !
[BetterBatteryStats] Blackout44:
mmc1_detect Kernel Wakelock

Hey everyone!

So I've been scouring through pages and pages of this post and the rest of the internet to solve my wakelock issue, but have not found a conclusive solution.

I just tried getting the logcat but it says permission was denied....

Either way, the wakelock is mmc1_detect, and if I let the phone sit idle for several hours, it is always the number one wakelock.

My current drain isn't horrible.... typically around 1.2% -- 2%. But it could be better, haha.

I have tried taking the External SD card out, but the wakelock remained even after several reboots. I have seen this issue across several different JB Roms, and I am currently running Tasks' latest AOKP build.

Thanks!
[BetterBatteryStats] Karpfenhai:
Is usb debugging checked??

Anyway, search for appollo78 on this thread and read the answers given by the community to his problem, is it comparable to yours??

Please post at least an idle dump for us, logcat will not work if youre unrooted.

Formatting the internal memory could have an effect too, its also mounted as sdcard..

Good luck!
[BetterBatteryStats] Stryder5:
Anyone know why my BBS dumps are coming up blank?

Logcat dump is fine.

Dmesg dump says "klogctl: Operation not permitted"

I'm rooted so not sure why this is happening.
[BetterBatteryStats] kouangooo:
So here's an update of my situation: it's even more concerning since I didn't use the phone and it's 5,7% / hour drain !?

Turned off the phone, remove the battery for 15 sec, turned it on for 4hours and here are the stats:

- wlan_rx_wake : eventhough I unchecked the Dropbox LAN sync and deactivated DLNA from my computer. Haven't tried the static IP solution though

- l2_hsic : no idea what is it. In another thread in this forum, it's suppose to dissapear after rebooting. Well like I said, I turned off the phone and removed the battery after charging it

- sec-battery-monitor: no clue either

- wlan_wake: what's the difference with wlan rx ?
[BetterBatteryStats] jask05:
[/QUOTE]

Well I have a faster drain battery when the screen is off, so I want to know what apps are causing this problem.

Thanks
[BetterBatteryStats] kouangooo:
Well I have a faster drain battery when the screen is off, so I want to know what apps are causing this problem.

Thanks[/QUOTE]

If you don't want to root your phone, not much can be done. No pain, no gain :D
[BetterBatteryStats] smart81:
Hello!! My mobile consumes a lot of battery during the night, when i don't use it and i see in cpu spy that it stays in deep sleep. But in battery usage stats shows that it stays awake!! I post here my dump file... please, i would like to know what App consumes the battery.

Thank you!!
[BetterBatteryStats] ZordanKV:
Re: [APP][2.1+][26 Jan. - V1.12RC7] BetterBatteryStats

No.
[BetterBatteryStats] kouangooo:
No it doesn't

Some main points:
[BetterBatteryStats] Emre9110:
Can u help me ? http://xdaforums.com/showpost.php?p=37589345&postcount=1829

Compered with philiz 4.00 b22, Something causes wakelock at jeboo kernel. vbus_present 21m 19s. There is no something at philiz. What is vbus_present ?

SyncloopWakelock 9m 5s. What is that ?

Jeboo kernel 200 mhz 23m 42s but philiz kernel 200 mhz 1m 46s.
[BetterBatteryStats] Karpfenhai:
Re: [APP][2.1+][26 Jan. - V1.12RC7] BetterBatteryStats

Your drain cannot be explained by your awake times, does it persist in flight mode? If yes, the problem is related to the modem part of your device, probably due to signal weakness, try to bring it down by switching to 2g only during the night and if possible, flash a known as battery friendly modem.

Tapatalked from my Galaxy SII
[BetterBatteryStats] brainwash123:
Many thanks for taking the time to look through the dump file. The problem should not be the apps, I'm running the same configuration as I had before, news&weather are part of the circle widget that comes with the rom. Long story short, I was getting about 1%/h drain, even less with data off (like this dump was taken) but now I get about 3% or even more.

Maybe usb is similar to the vbus_present bug that some guys are reporting, I see no other reason.
[BetterBatteryStats] o0boiboi0o:
Hi guys!

I just got a S3. Rooted and flashed with custom rom. No matter how I change kernels, battery drain is still present! Can help me take a look?

Main issue is that phone cannot go into deep sleep. I already looked through the dump and these are the major wls. All are under kernel wl. In order to make it simpler, I extracted them out.

mdm_hsic_pm0" (): 5 h 58 m 35 s (21515 s) Cnt:(c/wc/ec)17976/0/0 84.4%

alarm_rtc" (): 1 h 28 m 30 s (5310 s) Cnt:(c/wc/ec)12078/0/4 20.8%

battery-monitor" (): 49 m 28 s (2968 s) Cnt:(c/wc/ec)12077/0/12077 11.6%

suspend_backoff" (): 1 h 41 m 35 s (6095 s) Cnt:(c/wc/ec)610/0/610 23.9%

As you can see from screenshots, the processors are running non stop.

May i know what are causing these wls? :(
[BetterBatteryStats] leAndroid91:
hi guys, yesterday i posted this POST and asked you to analyze my batterystats.

bln and wlan_rx_wake were identified as battery-drainer.

last night i deactivated bln and set a static ip.

but again i lost about 25% battery during the night.

bbs:

View attachment BetterBatteryStats-2013-02-05_053451897.txt

what is vbus_present?

on google i found that it is used while the device is plugged in. but it was not!!!

i guess the best solution is to use the CM-Kernel again and wait for a "stable"-Dorimanx release?
[BetterBatteryStats] sabret00the:
Re: [APP][2.1+][26 Jan. - V1.12RC7] BetterBatteryStats

You using the new beta? I'm investigating.