yashsingh1/xdaforums huggingface dataset:
[BetterBatteryStats] a1adin:
Thanks to chamonix for this wonderful apps. :D

I have question about partial wakelocks.

I always have this one:

*sync*

com.colliris.media.gallery.

why is that?

even though I do not touch gallery.

and why does it need to sync?

can somebody please explain?
[BetterBatteryStats] Hilmesh:
which is better? Freezing apps using titanium or stopping autoruns with Gemini?
[BetterBatteryStats] Hilmesh:
What is this CCC?
[BetterBatteryStats] Karpfenhai:
Once more,... search function may help next time... ccc is the Battery Monitor Widget.. could have been found easily bu using TB or just explore the Phone manually..
[BetterBatteryStats] Perseus:
Untick Sync Email. I meant BBS Log. Upper Right Corner, there's a Share button. That would allow you to share Text Dump. Hit save and it will save the text file to /sdcard folder
[BetterBatteryStats] Becky_x:
Hopefully this is something I can change in the future, Im not keen on the idea that I have to keep checking my phone to see if I've had an email, instead of the phone telling me I've got one, if you know what I mean.

Unchecked sync. rebooted. Will post the log in the morning
[BetterBatteryStats] zukа:
Ah sorry, it was in my OP. I should have quoted it.

My log: http://pastebin.com/FqCtnSft
[BetterBatteryStats] Perseus:
Can't get to it from Work. Will respond later.
[BetterBatteryStats] Karpfenhai:
Imho its not necessary to completely disable all smart functions... polling for emails every 2-4 hours is okay for a non business used phone.. try k9, it had it's own push service and a minor energy footprint.

Regards

Tapatalked from my Galaxy SII
[BetterBatteryStats] Lither:
What's causing the amount of alarm wakelocks?
[BetterBatteryStats] cboss718:
This battery life is atrocious, it was never this bad until the 4.3 update (Galaxy S3). Any advice?
[BetterBatteryStats] cboss718:
Sorry, forgot these other 2 images.
[BetterBatteryStats] EarlZ:
How do I do a complete dump so I can post it here the next time it occurs.
[BetterBatteryStats] Super_Commando:
Hi, this is dumpfile of my atrix2 running Numa rom. Most of the time suspend_sync and caif_hsi are the two main culprits. This one is overnight usage. With full day usage awake time is generally 30-50 mins more than screen on time.

Sorry couldn't attach dumpfile. So, attaching screenshots.
[BetterBatteryStats] sohebq:
After updating to kitkat, I restored the app. It doesn't pull the battery stats. It says battery stats can,t be contacted.

Sent from Note 3 (The beauty & beast)
[BetterBatteryStats] Karpfenhai:
I would recommend to read the op with care...

Tapatalked from my Galaxy SII

---------- Post added at 08:31 AM ---------- Previous post was at 08:30 AM ----------

The answer for alarm manager can be found within partial wakelock section, the alarm section gives you a clue about the amount of wakes caused by an app.

Tapatalked from my Galaxy SII
[BetterBatteryStats] sercherry:
Something began to eat my battery too much. Before sleep, I fully charged the phone, disconnect it from the charger and turned on flight mode. And as a result the morning was -45% discharge. Please help find the pest.

Logs and Screenshot are attached.
[BetterBatteryStats] whitey.germany:
I just did a quick overview. Seems this 3 are your biggest battery suckers.

Take a look here, maybe it helps: http://xdaforums.com/showthread.php?t=1743669

Regarding l2_hsic this seems to have something to do with your modem. Not sure if fixing the suspend_backoff fixes this also.

Regarding sec-battery-monitor. I don't know eigther.

But there are quite a few posts here on xda, that you can read that focus on these 3 problems.

Greets

Whitey
[BetterBatteryStats] Becky_x:
Here's the log
[BetterBatteryStats] davevinci:
Hi guys.. I read my dmesg dump file and saw a lot of these lines

<6>[ 175.232198 / 01-28 16:13:59.374] msm_pm_enter

<6>[ 175.232198 / 01-28 16:13:59.374] msm_pm_enter: power collapse

<6>[ 175.232198 / 01-28 16:13:59.374] msm_mpm_irqs_detectable: cannot monitor 000000,00000000,00000000,00000000,00000000,00000020,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000

<6>[ 175.232198 / 01-28 16:13:59.374] msm_pm_enter: return
[BetterBatteryStats] Perseus:
Turn off location service and set email to once a day or change to another client.

Hit share button in upper right corner. The files will be in /sdcard folder.

Looks good otherwise. Just normal usage I guess. Do you have signal issues? Also please enable root features of BBS.

Looks good overall. I see normal usage. You do have something chatty on your wireless network. If possible, can you issue a static IP to this phone ?

And your Question is ?

IMHO You should read the text dump instead. Those lines are CPU switching through C states in an attempt to sleep.
[BetterBatteryStats] Becky_x:
I don't know how to do that to know if I can or not lol

Should I put emails back to automatic and test the battery?

2 days 27mins on battery, current battery is 48%. saying heach hour was 1% thats 48% plus current 48% is 96% which I'm pleased with. But I know this is because it only uses 3-5% at night because that wifi only when awake is on, in the day the battery still drains faster than it used to. But overall it adds up because theres such a small drain at night if you know what I mean
[BetterBatteryStats] Perseus:
Yes.
[BetterBatteryStats] Becky_x:
Have done, it's at 47% and I'll be switching wifi off for work

Lol already at 46% and all I did was switch it back to normal and left it on my desk!
[BetterBatteryStats] exodius48:
I like this app, but not working in kitkat right now. :(
[BetterBatteryStats] Karpfenhai:
Actually it does but you need to install it as system app, read the op how to do so.

Regards

Tapatalked from my Galaxy SII
[BetterBatteryStats] sercherry:
I don't have Chrome browser.
[BetterBatteryStats] Perseus:
Its not the email, but the signal that's the issue at your work. I'd say, just for testing, switch the email to manual and take an idle text dump while at work. 3-4 hours of phone sitting there would do fine. Do please reboot before you start.

And if available, use Wi-Fi when at work. It may help.

That'd be the Stock browser. Better change to a different browser and disable / Freeze stock browser.
[BetterBatteryStats] sercherry:
I'm not sure. There was no any changes with browser since I hadn't this problem. Have you seen my logs at my 1st post?
[BetterBatteryStats] cboss718:
You're literally a genius. I set my email to 12 hours and my battery is now equivalent to how it was before the 4.3 update. Thank you so much, how did you know this was the issue?
[BetterBatteryStats] Becky_x:
I cant use wifi at work, it asks you to log in but never keeps you logged in the signal is unstable so I thougt best to turn wifi off to save it using battery to keep finding the connection.
[BetterBatteryStats] Perseus:
A Magician Never Reveals his Secrets ! :D

I saw wakelocks in your log pointing to email.

Wise decision. I only suggested to see if you had better luck than Data Signal.

I had not seen it. As a thumb rule, if someone else had responded to a request, I usually don't analyze the same thing again. In this case I was just responding to your chrome question.

Now that I did see your log, I see some wonky things. The airplane mode skewed the results in your case.

Recently did you happen to have a Rom update or Kernel update ? Also please use the Kill Media Server app from play store and do kill the media server. Next, under Settings > Account, you will see a Samsung Account present. If you are not using any of the Samsung Apps such as Media or app store, sign out of that Samsung account and turn off its Sync. If you have Hangouts, please sign out of it for now. Freeze Stock browser. Please reboot after all these changes. Next I'd like you to run another overnight log where the phone was unused. Do not turn on the Airplane mode. Instead leave it connected to Wi-Fi. If possible, explicitly turn off Data connection. (Settings > Data Connection)
[BetterBatteryStats] Georgel25:
After i had followed your advices by disabling some GCM/GSF functions, today i had charged the battery with the phone turned on and from BBS i can see this alarm wakeup:

Intent: android.net.ConnectivityService.action.PKT_CNT_SAMPLE_INTERVAL_ELAPSED - 13 wakeups in 3h 12 min

They are related to what ? i believe the service is trying to connect to the internet, but it can't do that...and that's why i have these wakeups

Please help,

George
[BetterBatteryStats] sohebq:
Nothing there regarding what I asked.

Sent from Note 3 (The beauty & beast)
[BetterBatteryStats] scofield119:
Guys i have a kernel wakelock called "sia". What's that?? Someone can explain me?

Inviato dal mio Xperia U utilizzando Tapatalk
[BetterBatteryStats] mdamaged:
Look at post #3...the FAQ.

You need to either install BBS as a system app, or use the xposed module.
[BetterBatteryStats] sohebq:
^

Reinstall has fixed it, thanks

Sent from Note 3 (The beauty & beast)
[BetterBatteryStats] Becky_x:
Here's the log from this afternoon
[BetterBatteryStats] Perseus:
I thought you had turned off Wi-Fi. The log shows it was on. Also was your NFC or Bluetooth on ?

Otherwise not too bad considering the signal issues you have been having...
[BetterBatteryStats] Becky_x:
I did, then I tried connecting to see how stable it was. No I don't have any need for those so always keep them off.

36% left so I'll let it run down a bit, charge it back up and see how it goes again :)
[BetterBatteryStats] Perseus:
I noticed NFC being on. Was Samsung Smart Beam (or whatever they call it) on during the log ?
[BetterBatteryStats] Vodzilla:
What browser is recommended? Thanks. :)
[BetterBatteryStats] Becky_x:
No I disabled that ages ago, have no need or use for any of it
[BetterBatteryStats] Karpfenhai:
:

Are you sure?

Edit: Damned, I should read till end before answering... :p

Tapatalked from my Galaxy SII

---------- Post added at 02:10 AM ---------- Previous post was at 01:56 AM ----------

That's not much, don't get to obsessed, could be a widget per example 13 connection attempts within 3 hours is nothing you need to worry about.

That's one connection attempt every fifteen minutes, from androId's Java Sourcecode we see:

private static final String ACTION_PKT_CNT_SAMPLE_INTERVAL_ELAPSED =
* * * * * * "android.net.ConnectivityService.action.PKT_CNT_SAMPLE_INTERVAL_ELAPSED";

} mSettingsObserver = new SettingsObserver(mHandler, EVENT_APPLY_GLOBAL_HTTP_PROXY); mSettingsObserver.observe(mContext); mDataConnectionStats = new DataConnectionStats(mContext); mDataConnectionStats.startMonitoring(); // start network sampling .. Intent intent = new Intent(ACTION_PKT_CNT_SAMPLE_INTERVAL_ELAPSED, null); mSampleIntervalElapsedIntent = PendingIntent.getBroadcast(mContext, SAMPLE_INTERVAL_ELAPSED_REQUEST_CODE, intent, 0); mAlarmManager = (AlarmManager)mContext.getSystemService(Context.ALARM_SERVICE); setAlarm(DEFAULT_START_SAMPLING_INTERVAL_IN_SECONDS * 1000, mSampleIntervalElapsedIntent); IntentFilter filter = new IntentFilter(); filter.addAction(ACTION_PKT_CNT_SAMPLE_INTERVAL_ELAPSED); mContext.registerReceiver( new BroadcastReceiver() { @Override public void onReceive(Context context, Intent intent) { String action = intent.getAction(); if (action.equals(ACTION_PKT_CNT_SAMPLE_INTERVAL_ELAPSED)) { mHandler.sendMessage(mHandler.obtainMessage (EVENT_SAMPLE_INTERVAL_ELAPSED)); } } }, new IntentFilter(filter)); mPacManager = new PacManager(mContext, mHandler, EVENT_PROXY_HAS_CHANGED);

Source:

https://github.com/android/platform...a/com/android/server/ConnectivityService.java

Maybe your ntp server, it could be anything.. check a logcat for a pattern but I guess it's only fired while data connection was active.

Regards

Tapatalked from my Galaxy SII
[BetterBatteryStats] arromdee:
Well, how about this one...

Despite recommendations I didn't keep this up for hours because my battery problem manifests in a few minutes. The symptom of the problem is:

charge --> battery shows 99% --> wait a few minutes or turn screen off and on --> battery shows around 70-80% (even though it's been a few minutes, or a few seconds if I just turned the screen off and on--I don't know why turning the screen off and on triggers this) --> battery continues to drain rapidly no matter what I do, until it reaches some low value, whereupon the drain slows down

Total battery life doing reading of books and comics at 1/3 max screen brightness is about 6 hours. Much less with high CPU tasks.

This is an Aoson M33 tablet.
[BetterBatteryStats] Karpfenhai:
How old is your battery?

Did you try another one?

Such a drop cannot be explained by your usage, either your battery is borked or your fuel gauge chip goes mad, does your phone stay on when zero percent is reached?

Ah, a tablet, no chance to try another battery I guess...

So, wait until it switches off on its own and do a full charge while turned off then, see how that goes.

Tapatalked from my Galaxy SII
[BetterBatteryStats] arromdee:
What is a fuel gauge chip?

The tablet does not stay on when 0% is reached and shuts down at some low single digit percent (I don't remember the exact number).

Doing a full charge when turned off is impossible because the way this tablet is designed, charging it automatucally turns it on.

If I let the battery drain all the way and then I charge it the same thing happens that happens anyway--the battery instantly loses 20% if I turn the screen off for a second. It then drains relatively fast for a while, then slows down.
[BetterBatteryStats] cboss718:
Perseus,

The wlan_wake wakelock has appeared again and is draining my battery like it was before. Any solutions to this problem, I guess the e-mail thing wasn't the problem...
[BetterBatteryStats] scofield119:
Anyone?

Inviato dal mio Xperia U utilizzando Tapatalk
[BetterBatteryStats] jacum:
Airplane mode battery drain if device is not rebooted right before

When I switch to airplane mode, if the device has been used during the day, it consumes about 10% of battery during the night, in about 7 hours.

If I reboot my phone and right after I switch to airplane mode, then the power consumption is about 1/2% during the same interval.

I attach the output of Better Battery Stats in the two cases.

At first sight, no big difference I can notice by comparing the two files.

Thanks

CYANOGENMOD 11 m2

cm-11-20140104-SNAPSHOT-M2-i9300

Device Samsung galaxy s3 i9300

kernel 3.0.64
[BetterBatteryStats] RCizzle65:
Under "Alarms" and "com.google.android.gms", these two have a bunch of wakeups on my phone:

com.google.android.gms.nlp.ALARM_WAKEUP_ACTIVITY_DETECTION

com.google.android.gms.nlp.ALARM_WAKEUP_LOCATOR

Also under "Android" in Alarms, there's

android.net.ConnectivityService.action.PKT_CNT_SAMPLE_INTERVAL_ELAPSED

How do I reduce these? I'm on CM11 on an LG G2 if that helps.
[BetterBatteryStats] sercherry:
1. I'm using stock rom and kernel. Last update - 1 year ago.

2. I can't find how to sign out from samsung account. There's no such option. Sync is OFF
[BetterBatteryStats] klickig:
Guys i have a problem with partial wakelocks. I installed the app as a system app and enabled root. Partial wakelocks never show more than 30-40 seconds. How can i fix that?
[BetterBatteryStats] Georgel25:
I've attached my BBS stats...please have a look and tell me if there is something else that i can further optimize. You said it may be from the ntp server - i've changed the ntp servers list inside gps.conf file, could it be from that ?

Regards,

George
[BetterBatteryStats] Deni_NS:
Guys what stands for battery-monitor in kernel wakelock? I tried Googling and even search on this thread, but there's a slim infromation about it. I have realized that I only see that on Sammy devices and don't know what is causing that?!
[BetterBatteryStats] -sandro-:
I have the Galaxy S4, people with sync on on 3G can can get 4h+ of screen time and standby of less than 0.5h%/h. I can't get anything more than 2h and the drops on 3G stanby are major! Even at 5%/h with full bars. I even tried to disable sync (so nothing was using the network) but I still get high drain! So what the hell is it using my radio power? I attached a 2h sample from this morning, the only wakelock I see is msm_hsic_host otherwise I don't see anything else worrisome. I lost 2%/h on standby on 3G for no reason. On WiFi I get none of these wakelocks and the drain is sometimes even 0%/h. Can someone explain to me what is happening. Remember even with sync off I have the same results!
[BetterBatteryStats] xdviper:
Using KitKat do we need the xposed module for the partial wakeups to work? Or does it just work with root?

I can't seem to see anything in Partial wakelocks. Thanks
[BetterBatteryStats] aldus320:
Hi guys first time posting here, can you help me with gsm wakelock and the android wakelocks here are the screenshots
[BetterBatteryStats] Karpfenhai:
From a wakelock pov it looks pretty good, but consumption might be a bit elevated, since I'm using same device, Rom and modem I would suggest to try another kernel.

Set up a "2g while screen off profile" might help, for kernel, apolo v7 beta one or 2b, v0 voltages, regards.

Tapatalked from my Galaxy SII
[BetterBatteryStats] Perseus:
But its still on. I keep seeing it in your Log. Please investigate turning off both completely.

Try Boat or Dolphin.

Email too was a problem. Please issue a static IP to your phone and change IP Lease time to 48 hours on your router.

Please turn off Google Location Reporting, Location history. You have Google Sync turned on. Please turn it off. If you need, you can manually sync Gmail. Please remove Facebook alltogether. Use their mobile website instead.
[BetterBatteryStats] Becky_x:
Is there anywhere else it can be turned on/off other than settings? I'm looking there now and both are greyed out switched off
[BetterBatteryStats] cboss718:
I can't do this, i'm at school using their wifi network.
[BetterBatteryStats] Perseus:
Turn Off Google Location Reporting.

Do a factory Reset and do not Restore any data just yet. Use one of the De-bloating Guides and remove some of Samsung Bloat. In particular, there should be a Samsung Account app, remove it.

Typically Caused by Samsung's Task Killer

Turn off Google Location Reporting and Location History.

Please Read OP.

Please look for @Karpfenhai 's mod in this thread. Make the necessory changes.

I am not sure where Samsung buries these settings. I use AOSP Rom. My apology. Perhaps someone who uses Stock Rom can help.

In that case make sure Wi-Fi Optimization is On.
[BetterBatteryStats] -sandro-:
They're off! It's all off, that's why this drain comes from nowhere! Tonite I'm gonna try to run the same test with sync off and track the wakelocks
[BetterBatteryStats] Perseus:
I see NLP wakelocks. They are clear indication, someone's at your Location Service. I assume you have completely turned off Location Service ?
[BetterBatteryStats] cboss718:
Having trouble finding that option bro.
[BetterBatteryStats] Perseus:
Settings > Wireless > Advanced.
[BetterBatteryStats] Aerowinder:
The only fix is to disable wifi and network location. The GPS will still function as expected.
[BetterBatteryStats] cboss718:
Thanks :good:
[BetterBatteryStats] cboss718:
Wait...what am I missing here?
[BetterBatteryStats] Georgel25:
Set up a "2g while screen off profile"... with apolo kernel or in general ? Did you noticed something strange regarding this ?

I ask because i always keep my phone in 2G mode...rarely i enable 3G, only when i don't have a wifi connection available and i really need to access the internet.

Thanks for the advice,

George
[BetterBatteryStats] Perseus:
Set "Keep WiFi On During Sleep" to Never.
[BetterBatteryStats] Karpfenhai:
Nope, generally spoken ;)

Okay then leave it as it is and go for kernel, if you need further assistance which setup, I'll take you from there then.

Btw my current stats after a normal day at work:

But for kernel discussions, pm me or post in the apolo thread, were going ot here.

Tapatalked from my Galaxy SII
[BetterBatteryStats] bash156:
Hello can anyone please help me with my battery drain it shows that *backup* is the main wake lock and is constantly draining

Android system is actually using more battery than my screen on nexus 5

Stats screen shows 4 hours at the moment that's because I rebooted my phone half way today

Any advice would be appreciated
[BetterBatteryStats] -sandro-:
But that will break every app using even wifi location! It's impossible I have to disable that to stop the battery drain. Again it only happens on 3G
[BetterBatteryStats] Aerowinder:
It won't break anything. The GPS still works. Location aware apps still work... because they all use GPS.
[BetterBatteryStats] EarlZ:
I lost 4% overnight tonight, last night it was just 1%.
[BetterBatteryStats] Perseus:
I'd attribute it to the Stalled Android Backup of your apps. Reboot and the leave it alone overnight with stable Wi-Fi connection.

Yahoo and Facebook are chewing Battery. Please also find [MENTION=1554594]Karpe[/MENTION]fenhai's mod and apply.
[BetterBatteryStats] EarlZ:
I guess they are randomly eating it up since at times i dont get that drain. I cant seem to find karpefenhais mod.
[BetterBatteryStats] sercherry:
There's new log in attach
[BetterBatteryStats] Perseus:
You did not follow my previous advise to kill media server.

Please Turn off Google Location Reporting and Location History. Both can be accessed via Google Settings app or Maps > Settings. In MX Browser, please do the same thing. Under its setting, there should be something to report location. Also please flash another kernel.Make sure to reboot before starting next log.
[BetterBatteryStats] sercherry:
Location Reporting and Location History were turned off. Also as you adviced me I killed media server by special app. And I can't see this media server in running apps now. My situation is very strange. I did not do anything with android on my phone for almost 1 year. It worked good till last week. All I did it was just upgrade of installed software throuth play market.
[BetterBatteryStats] EarlZ:
Can anyone link me to the Karpe mod, I've already used the search function and its not giving me any results.
[BetterBatteryStats] It_ler:
Have you already checked post #3 ... the faq section?

Some very nice guides and instruction are linked there.

Also one from Karpfenhai ;)
[BetterBatteryStats] EarlZ:
http://xdaforums.com/showpost.php?p=29420959&postcount=7059

That one ?
[BetterBatteryStats] It_ler:
Yes, I think that is the modification that [MENTION=3639717]Perseus71[/MENTION] meant :good:
[BetterBatteryStats] Perseus:
In the most recent log you posted, I saw that again. Please Reboot and then leave the phone idle connected to stable Wi-Fi for several hours. Make sure you have References correctly set in BBS. Hit refresh within the app before leaving it idle. Post me a log after several hours.
[BetterBatteryStats] Empty Hand:
I am getting a partial wakelock "StartingObexMapTransaction". Does anyone have info about this? My search of the thread came up empty. Thank you!
[BetterBatteryStats] Perseus:
Its a partial wakelock when you play music or audio via bluetooth. May not appear for phone calls over bluetooth.
[BetterBatteryStats] Empty Hand:
I thought it had something to do with bluetooth. My concern is the severity seems out of proportion with my bluetooth use. I rarely play audio over bluetooth and did not during the time I got the partial wakelock. I do connect for handsfree use in my car, but made and received no calls on my commute. Do you know if this is normal or if I need to look further into it? Thank you again!
[BetterBatteryStats] -sandro-:
Well explain this. Locations all, apps used basically only a few KB. Horrible, HORRIBLE battery life on 3G data, on WI-FI I would have lost 3% maybe
[BetterBatteryStats] chamonix:
1,8%/h : horrible is different

3% battery loss in 8 hours, that would but your battery life on wifi at.......... 11 days..... come on