yashsingh1/xdaforums huggingface dataset:
[BetterBatteryStats] Peepdog:
423424 27602

Recently, my S3 has started draining the battery really fast and I'm not sure why, as nothing is different. I tried installing Better Battery Stats and got this dump file. Could someone please take a look at it and tell me what is sucking up all the power, because this doesn't really make sense to me. Thanks in advance for any help!
[BetterBatteryStats] Perseus:
I use plain vanila Calendar from Team Black. Does the job well for me. Go ahead and turn on Fast Dormancy. It allows your phone to sleep at c State.
[BetterBatteryStats] ZDeuce2:
I use this widget,

https://play.google.com/store/apps/details?id=com.byteartist.widget

Infamous, the dynasty of development.
[BetterBatteryStats] i9000usersa:
pil-wcnss wakelock

hi, thanks for the app.

i am on moto g stock 4.4 unrooted and had battery drain with android os keeping the cpu awake for hours so i installed this app and found a kernel wakelock called pil-wcnss and a power manager service wakelock.

can anybody advise on what this means and how to nab these wakelocks?

i searched and couldn't find much on this.

thanks in advance.
[BetterBatteryStats] Fixoon:
Downloaded a Fast Dormancy toggle and it showed Fast Dormancy is enabled. Should I try and disable it and see if I get better results?
[BetterBatteryStats] omdevsinh:
Note 2 has started draining the battery really fast last 1 hour battery drained 31% and I'm not sure why, as nothing is different. I tried installing Better Battery Stats and got this dump file. Could someone please take a look at it and tell me what is sucking up all the power, because this doesn't really make sense to for me. Thanks in advance for any help!

https://www.dropbox.com/s/0blehj7czdalxdi/BetterBatteryStats-2014-01-26_143625675.txt
[BetterBatteryStats] joshdax2:
Can anybody please have a look at my stats?

The wake ups are crazy for l2_hsic and others. According to my research, it's just location services but I have turned off every possible setting in settings and greenified a lot of apps already. Pls I beg of somebody :(
[BetterBatteryStats] Becky_x:
Can someone help me please?

My battery was perfect for almost a year, only ever lost 1% an hour and only a little more when doing more strenuous things. Suddenly (literally one day was fine the next it wasn't) it started draining a few % every half hour.

Before this happened I'd not installed anything new, so had nothing to remove and see if it was the culprit. My usage only changed in the fact that I was off work so it was just sat on my desk for a few days so I was using it LESS than normal.

I posted a thread on this forum and was advised to download better battery stats and wakelock detector so I did, but I don't know what I'm looking for in the results. I've had to charge the phone since then so took a bunch of screencaps.
[BetterBatteryStats] bejot:
Will this app work on ART VM?
[BetterBatteryStats] AA1973:
Yes. Works with ART. For me.
[BetterBatteryStats] zukа:
Hey guys.

I've got a Nexus 5 and I can't get past 3 hours screen on time, when most people are reporting between 4 and 6. I've tried custom roms, custom kernels (currently on Cataclysm/Franco kernel), and I can't get past 3 hours SOT.

If someone could have a look at my BBS log that'd be great, and any tips are welcome

Log: http://pastebin.com/FqCtnSft
[BetterBatteryStats] asm-xda:
Missing Alarm stats

I've recently installed BBS 1.15.0.0 (xdaedition) on my i9505 running 4.4.2, and for some reason the Alarm Stats don't get logged. I've been using BBS for quite a long time on other devices and never had this problem.

I'm rooted, network stats work just fine so I don't think it's something to do with that. Has anyone ever experienced this? Any clue?

I already tried installing app again, taken latest version from this thread so I assume it's RC8 (any way to find out the actual build from within the app itself?)

I'm attaching the dump + dmesg (just in case).

Thank you very much in advance...
[BetterBatteryStats] omdevsinh:
What is awake????
[BetterBatteryStats] Karpfenhai:
The opposite of sleep.

Tapatalked from my Galaxy SII

---------- Post added at 04:42 PM ---------- Previous post was at 04:41 PM ----------

Did you try to install as system app from advanced settings?

Don't forget to reboot afterwards.

Tapatalked from my Galaxy SII
[BetterBatteryStats] omdevsinh:
But why cant my device is not go to deep sleep
[BetterBatteryStats] asm-xda:
Actually I did not, But should I? I mean, AFAIK, installing it as a system app is the way to go when you are running Kitkat since battery stats are no longer available to user apps like BBS, thus the need to install it as a system app. Isn't that right?. I'm running 4.2.2, not 4.4.

Anyway, I'll give it a try. Will get back with results.

Thank you.

---- EDIT -----

I've installed BBS as a system app, rebooted, plugged in for 10 mins and let it alone for about an hour. Nothing changed, Alarm stats are missing.

Since everything else seems to work fine on BBS, I'm starting to think it might be the information itself that is not available or not in the expected place/format...

Could anyone point me in the right direction on where Alarm information is made available to BBS? Is it in a file? Is is part of a service/daemon?

Thank you.
[BetterBatteryStats] Lither:
I've attached my log, screen been on for 1h 31m and mostly been on idle
[BetterBatteryStats] djtiko:
Thank you

I posted my log in the rom/kernel thread to see if I can get some help there.
[BetterBatteryStats] asm-xda:
Ok, in case someone else is having this problem: I've learnt alarm information is taken from the AlarmManager service and can be invoked like this:

adb shell dumpsys alarm > alarm.txt

or from the command line in a terminal emulator like this:

dumpsys alarm > alarm.txt

I've run the command above and I can see the stats, but as I've mentioned before, somehow BBS is not capable of getting that information from the system.

I'm checking the logcat now, I'll post here when I get it. Perhaps someone can help me find out what the problem is.
[BetterBatteryStats] alexkno:
So your phone was kept awake for one hour by a user wakelock called AudioMix. Don't know what this is but I suspect either related to touch sound or music listening. Just Google it to find an answer. Additionally your were using torch for 16min which of course will have decreased your sot by about one hour.

Also Facebook and something called light flow wake your phone frequently.
[BetterBatteryStats] Perseus:
Yes

1 Hour and change is too short. Better get an Idle dump with 4-5 hours gap.

From what I do see, you have several Radio interface issues. Please change your modem if possible. Switch to 2G only if not done already. Loose that BatterySaver Pro. Follow @karpfenhai's screenshot based mod linked earlier.

Rather change your modem instead. Also remove Chrome browser (In your case Stock Browser). Use another browser instead.

Alarms are listed on the Alarms tab. Use the top dropbox to switch. If they are still not there, and you definitely granted root then do following. Plug in, reboot and then unplug. Hit refresh from inside BBS.

Looking good. Turn off Location Service or Google Location reporting (whatever is on). Kill MediaServer.
[BetterBatteryStats] Perseus:
I notice your Email is very active. Can you please change its frequency to be once in 3-4 hours if possible ? Better yet, set it to manual if possible. Remove Facebook and use their mobile website instead. You do seem to have possible signal issues. If yes, the try switching to 2g.
[BetterBatteryStats] Becky_x:
What does that mean, only checking for emails every 3-4 hours/manually?

I've already changed it to GSM, is that what you mean? I get a bad signal at work so thought it best to change to GSM to save it keep trying to connect to a better network. Same with wifi

Would rather keep Facebook but I've uninstalled it :)
[BetterBatteryStats] Perseus:
Change the Refresh frequency of your Email App. I am sure there are settings on how frequently the app should check for new email.

Not not GSM. I meant switch to 2G only signal. Should be under Settings >Advanced or Settings >Data.
[BetterBatteryStats] Becky_x:
Set sync schedule I changed from push to manual is that it? I just went to email and had to refresh to get the email notifying me of this reply so I think that's it.

Network mode I have 3 options, WCDMA/GSM (auto connect), WCDMA only, GSM only
[BetterBatteryStats] Perseus:
You are right about email. That's what I wanted. As to 2g, Preferred Network type is not what I meant. Leave it on WCDMA/GSM (auto connect). Instead use this app to switch from Google Play.
[BetterBatteryStats] Becky_x:
Downloaded it, got the widget on my homepage, clicked it and it just took me to the mobile networks to page :confused:

I thought GSM was 2G?
[BetterBatteryStats] Perseus:
In that case switch to GSM only and reboot.
[BetterBatteryStats] Becky_x:
Okay, done :) I don't need the 2g-3g app now then?
[BetterBatteryStats] Lither:
Location Service and Google Location is turned off, how do I kill MediaServer? Also what's causing so many Android alarms?
[BetterBatteryStats] Perseus:
Yes.

---------- Post added at 06:02 PM ---------- Previous post was at 06:01 PM ----------

Use the app kill media server from play
[BetterBatteryStats] Becky_x:
I do need it?
[BetterBatteryStats] asm-xda:
Thank you, but it's not that kind of "how-to-use-this-app" issue that I'm experiencing. It's the app itself which is not being capable of pulling the information from AlarmManager service.

If I run the command to dump alarm stats I get to see the results but BetterBatteryStats won't display anything under the "Alarms" option.

I'm attaching the logs here. I looked at them but I cannot seem to find anything relevant.

Any clue on this one? Anybody?
[BetterBatteryStats] scofield119:
Guys this app has any kind of background service?

Inviato dal mio Xperia U utilizzando Tapatalk
[BetterBatteryStats] Karpfenhai:
Only if you're using the active monitoring functionality aka watchdog.

Tapatalked from my Galaxy SII
[BetterBatteryStats] Karpfenhai:
I see just 12 minutes overhead, which is impossible to divide from wanted activity due to much screen on time...

I object location service, so follow the usual guide to get rid of it... like.. disabling location reporting..

Thx for your findings. I'm sure the op will take care and have a look on them, just be patient it may take a while... calling [MENTION=1330150]chamonix[/MENTION] ....

Feel free to drop another but clean idle dump containing several(3-5) hours for further analysis, maybe we will see the culprit.

Btw, do you see any Infos in raw alarms?

Tapatalked from my Galaxy SII
[BetterBatteryStats] MafiaManV:
Hi.

Anyone know what's triggering this gms.analytics service?

I can see many failed attempts in my log and gms usage is a little higher.. Any tips to reduce gms's usage with keeping push notifications? I'm using greenify donation already

thanks
[BetterBatteryStats] Perseus:
Well I feel it will reduce some of the Radio chatter you are having.

In that case I'd keep fast dormancy off. Yes there are side effects but if your carrier does not support then its kind of moot anyway. Please freeze Google Search, remove any Google Search boxes on home screen. If you can't remove from home screen, change your launcher. If you are not concerned with Notifications from Google Apps, please apply this mod.
[BetterBatteryStats] zukа:
Perseus, could you please have a look at my stats?
[BetterBatteryStats] omdevsinh:
Thanx your helpful answer me but where I find karpfen screen shot any hit of page numbers ya post number
[BetterBatteryStats] Ben36:
Get rid of lightflow and try Ledblinker and see if that helps
[BetterBatteryStats] RogerSC:
BBS wakelocks?

My phone's (Verizon Samsung Galaxy S3) longest wakelocks are these...I've done some searching and haven't come up with anything helpful thus far:

smdcntl0

nmc1_detect

sec-battery-monitor

nmc0_detect

Can I get any information as to what these relate to? Especially the smdcntl0, but the rest are also significant. I'm getting over 90% deep sleep according to BBS, but would really like to track these down to see if I can do anything about them.

Thanks very much for your help.
[BetterBatteryStats] EarlZ:
Anyone know how to fix this ?
[BetterBatteryStats] asm-xda:
I'm far from being an expert on this field, but to me it looks quite "normal". In a timespan of about 10 hours (600 min) the process that woke your device up the most did it 100 times, or about once every 6 minutes.

I mean, it doesn't look that bad... Apart from that, judging from the last image it seems the phone has not been awaken many times, nor did it spend long time awake either.

The only thing that calls my attention is the fact that you lose about 30% of your battery in just 10 hours of stand by time... Couldn't it be the case that the battery is worn-out?
[BetterBatteryStats] EarlZ:
Phone is a month old and its the 3rd time that it has happened.
[BetterBatteryStats] asm-xda:
Thank you for you answer, here is a new set of logs, about 6 hours of sleep time.

Apart from that, I'm including some captures to show how it "looks" to have missing Alarm stats on BBS. No stats for alarms either in regular or Raw Stats.

Can this be a small bug in BBS? First I thought the phone had a problem reporting the battery information, but since running the

dumpsys alarm

as root shows alarm stats, I now believe that somehow it is BBS who's not being able to get those stats.
[BetterBatteryStats] fbf2201:
40 % in 10 h time with screen off is definitely not normal for a Nexus 5. It's far from that.
[BetterBatteryStats] Becky_x:
But doesn't the app just take you to the mobile networks page in settings? I still had to change it to GSM myself. So the app doesn't do anything it's just a shortcut.
[BetterBatteryStats] Georgel25:
Hello Karpfenhai,

You are using [ROM][KK][4.4.2][LINARO/SABERMOD] CyanogenMod 11 [NIGHTLY BUILDS] ? I ask you because i saw a post of yours on that ROM thread, where you wrote "One day normal weekend usage with 2 hours screen on.. " and uploaded some pics.

I want to know if you greenified some apps ( particulary system apps) and which ones, if you did. I am using Cyan AOSP which is based on CM11 and those wakelocks (caused by GCM, GoogleLocationManager, NlpLocationReceiver) have appeared since the last version of Cyan ROM (that was synced with CM11 on 13/01), but strangely, they weren't, or at least they didn't had such impact, in previous build (synced with CM11 on 01/01).

Why GoogleLocationManager & NlpLocationReceiver services are running if i have GPS disabled and i had turned off Location ? There must be some problem with these services, because normally i believe they shouldn't run if i don't have Location enabled. What can i do with them in this case ? i dont want them to run and drain my battery if i don't use them...plus, i don't even have installed GTalk, GMail, GNow.

And last thing....could you please make a list with all those services regarding Google GMS/GCM that are safe to disable ? Would it be a better way to install Greenify and hibernate Google Services Framework and Google Play Services ?

I know you have attached that screen related to what services are safe to disable, but maybe there are more of them and i want to know which ones. I am able to install only the newest System Tuner Pro app - the one with blue icon...btw, the developer says that this app is discontinued and recommends to use Android Tuner, so i aks you if this is ok ?

Thanks in advance and sorry for the long "story",

George
[BetterBatteryStats] Karpfenhai:
I don't use greenify for any system app...

Gtalk is a part off the system, not just the app, it's the way Google calls home on occasion.

Regarding gcm and gsf, myself and others (Casanova) have published multiple and complete guides several times (some are linked in op) on this thread, search for gcm with me as author to find the complete post.

Note, messing with gsf and Google play services can lead to unwanted side effects (no cloud messages).

Be sure you know what you're doing and don't complain afterwards, start from scratch in case of issues.

Regards

Tapatalked from my Galaxy SII
[BetterBatteryStats] Perseus:
Link ?:confused:

I guess. That widget may not work well on 4.3 or Kitkat. I personally haven't used it since 4.2.
[BetterBatteryStats] whitey.germany:
Hi there,

i just looked over my latest BBS trace again and saw this:

What does it mean? I have no such widget on my screen. What the heck, wehere does this come from? And why does it start 6 times? Is it a critical part or can it be frozen?

Greets

Whitey
[BetterBatteryStats] Perseus:
Well look at the last part. The Active Apps-Manager is the key thing. Apparently, you may have a widget for it or it may have a background process running that call upon System Widget Manager. I wouldn't blame WidgetApp. I'd freeze Active Apps Manager.

P.S. - I loath Task Managers period. So personally I'd remove it altogether.
[BetterBatteryStats] mpinux:
Good battery app!
[BetterBatteryStats] Georgel25:
I don't think i need cloud messages because i use google play store rarely and in the rest, i just make a backup of my contacts list....sometimes i use a navigation app ( iGO, Sygic or Navigon - depends which one i have installed ), some browsing ( Dolphin browser ). Mainly, i use the phone for SMS and calls.

For this kind of phone use...it's safe to completely follow your guide, so that i won't be bothered by wakelocks from GCM/GSF ? And BTW...how long would it take me to observe the positive effects on battery drain ?

Regards
[BetterBatteryStats] whitey.germany:
Hi there Perseus,

Thank you big time! I've frozen it, as i do not use it. The homescreen button "task-selector" seems not to be affected by this, so it's fine i think :)

Thanks

Whitey
[BetterBatteryStats] asm-xda:
Yep, that's why I've said:

But if you look at the stats on the images, nothing looks so abnormal as to cause that battery drain. Perhaps [MENTION=2677491]EarlZ[/MENTION] can include a complete dump so we can see if there's a wakelock being held that explains the drain.
[BetterBatteryStats] Karpfenhai:
Yeah, it should be safe then, you should notice the difference right on your next battery cycle resulting in less / no wakeups /alarms from the mentioned apps.

Good luck!

Tapatalked from my Galaxy SII
[BetterBatteryStats] Georgel25:
Thank you, for your work :) one last question...which is the best/recommended way to charge the battery - with the phone turned off or on ? I usually let the battery discharge until ~10%, then i turn off the phone and let it charge completely.
[BetterBatteryStats] andreasy:
I never managed to find a reasonable explanation to this. Is it reasonable to have high consumption from Task Manager?

View attachment 2542363
[BetterBatteryStats] Perseus:
Doesn't really matter. My personal experience suggests, the phone will charge faster when On as the Kernel does facilitate some aspects. But then if it is in use while being charged then the charging period will be longer.

Depends on what it was used for. The task manager is Samsung's version of Task Killer, rather than Recents bar for AOSP Android. Who knows what it does behind the scene.
[BetterBatteryStats] Becky_x:
I only lost 3% overnight because I've got that thing switched on where it doesn't connect to wifi until you wake the phone up.

I've lost 11% in 6.5 hours though :( turned wifi off at work too because it struggles to get a signal.

I've been getting my emails through without having to manually refresh them, even though its set to manual, is that right?
[BetterBatteryStats] Perseus:
Nope I wasn't expecting email to do that. You may want to check the settings again. Can you please post a new log after rebooting and leaving the phone alone overnight ?
[BetterBatteryStats] Becky_x:
Account Settings

sync settings - sync email is ticked, should I untick it?

sync schedule - manual peak schedule - push

period to sync email - 1 day

how do I make a log?
[BetterBatteryStats] Georgel25:
Also, i had encountered a very strange issue - sometimes, when i put my phone at charge while it's turned off, it would turn on by itself...i don't know if it's a rom or kernel problem; seems if i enable usb debugging it resolves the issue.

Anyway, last time when i've put the phone at charge, it did the same thing, by turning itself on... so i disconnected the charger and turned off the phone (the battery managed to get charged to about 51%); after i had reconnected the charger, with the phone being turned off...and it showed me ~76%. from which it continued charging. Does someone have a clue about what's wrong ? The battery need's a calibration or those battery calibration apps are useless ?
[BetterBatteryStats] demonwind:
I couldn't find out the problem. I'm assuming it's Carrier IQ, since that seems to be the one thing that Bloatfreezer cannot find even though it exists (as Android Service).
[BetterBatteryStats] wadokai:
Hey! Okay so I changed my K9 settings so it would only push my inbox folder. Attached are today's results.

btw i've also attached my setcpu settings. Let me know if they're not good or i need to make any alterations.

Thanks for your help!
[BetterBatteryStats] Hilmesh:
@Chamonix,

The reports are horrible so i did a complete factory wipe and re installed everything. I will put in fresh reports after a good amount of usage. in the meantime you can probably ignore my older post with the reports. Thanks.
[BetterBatteryStats] xuxuzao:
app keeps force closing on my phone.

using miui + siyah 2.5

what should i do?

tks
[BetterBatteryStats] cokewins:
MyTouch 4g - CM7 with Darkside v12 kernel. Unfortunately I can't recall changing anything specific in the timeframe that the issue started happening.

I've attached a dump and screenshots showing the usage in the first hour after unplugging the phone. Almost no usage. For reference, the SMD_DATA5 wakelock count increased about 2000 in that time period.
[BetterBatteryStats] Simba501:
Is there any way to implement resetting kernel wakelocks when battery starts (like partial wakelocks)? If you could create a "since unplugged" stat for kernel wakelocks, it'd be really helpful.
[BetterBatteryStats] yhrn:
NetworkLocationPassiveCollector

Some progress here, the issue does not seem to be resolved by Maps 6.0.2 (maybe reduced though, too early to say), but we got some acknowledgement from big G. Check the response from teresaw (Google Employee) in the Google Maps help thread I started.
[BetterBatteryStats] chamonix:
Please provide a logcat of the FC. Im return I promise to fix it. Or send me your phone ;)
[BetterBatteryStats] chamonix:
Protip of the day: don't assume
[BetterBatteryStats] tamarian:
I can confirm battery use improvement after uninstalling 3G watchdog a couple of weeks ago. A good alternative is Traffic Monitor widget, to track 3g usage and limit.
[BetterBatteryStats] alphaola:
Download LBE Privacy Guide, you can use it to control app permissions and track 3g usage & limit

https://market.android.com/details?...1bGwsMSwxLDEsImNvbS5sYmUuc2VjdXJpdHkubGl0ZSJd
[BetterBatteryStats] chamonix:
features request added, check second post to track progress on github
[BetterBatteryStats] dirtyreturn:
I'm not sure if this is where to go, I went to alarms and it shows gtalk in that section as waking up the phone. It "looked" like it is a part of the whole google services process as I do not have gtalk installed. Pages back I believe someone had the same problem. I'll look for that.
[BetterBatteryStats] xuxuzao:
man,

thank u so much

here is the log!!
[BetterBatteryStats] Hilmesh:
@Chamonix,

Now find attached latest reports. I am having a battery ma range from 0ma to 170ma in the last 12.5 hrs. Also during night time (almost 6hrs) i lost 7% without any usage (no 3G/ Wifi/Sync, etc). Also i have already used Titanium Backup to freeze the following apps,

1 - AP Mobile

2 - FM radio

3 - Music Hub

4 - Software update 2.0.0

5 - Talk 1.3

6 - Yahoo Finance

Can you please advise what i should do next. i am on Speedmod Test 12.