yashsingh1/xdaforums huggingface dataset:
[BetterBatteryStats] Karpfenhai:
I would think timeserver for push?

From logger:

V/AlarmManager( 993): sending alarm PendingIntent{68284690: PendingIntentRecord{68831f90 com.google.android.gms broadcastIntent}}, i=com.google.android.gms.gcm.nts.ACTION_CHECK_QUEUE, t=2, cnt=1, w=8938098, Int=0

I/ActivityManager( 781): Delay finish: com.google.android.gms/.gcm.nts.SchedulerReceiver

looks like it tries to schedule next push attempt but it fails and therefore it tries over and over?

Did you mess with gcm?

Will do some deeper digging tonight...

Okay, check this out, ensure you did not accidentally disable these receivers:

Or the other way round, disable then to see whether is has any measurable effect.

regards
[BetterBatteryStats] chamonix:
the awake is caused by wifi being on and your phone waking up all the time to process incoming multicast/broadcast packets
[BetterBatteryStats] Karpfenhai:
[MENTION=1330150]chamonix[/MENTION], do you think it's a miscalculation or do I interpret it wrong?

Thx for having a look.
[BetterBatteryStats] chamonix:
Is the BBS service running? Since 1.5 the service takes care of handling the unplug event to take a reference for partial wakelocks (as those exist only 'since boot' I calculate them). If the service runs then the USB unplug even is not processed. That would be a rom or kernel problem as bbs has been tested on my Google nexus running 4.02 and 4.03
[BetterBatteryStats] chamonix:
Besides titanium that run was perfect in terms of stable sleep state.

My life is between ffm and b but if I ever go to ddorf I'll let you know ;-)
[BetterBatteryStats] ponicpool:
Reason why I was referring to Twitter app was due to the fact that I was getting twice after 2 battery cycle almost 40 hours. But today it lasted only for 18 hours.

Could you be more specific, sorry I didn't understand anything. How can I get rid of waterlock fuel_alerted?

Regards
[BetterBatteryStats] n19h7mare:
what do you mean? I just don't understand even when I restart the device and turnning everything off I still see that something is working and running but don't know what it is and how to fix it.
[BetterBatteryStats] akarol:
Cham, I believe it's time to get a dictionary of common processes, what they do, and how to fix them going on here. It would save users a lot of time as most of the time it's the same culprits.
[BetterBatteryStats] Hrithan2020:
Agreed. I found the already uploaded wiki for a few of partial wakelocks to be quite detailed and helpful.

Regarding GTALK_ASYNC_CONN, I believe it is also used by all google apps , including the calendar sync, google backup, contacts sync [?], gtalk etc.. [ async - for asynchronised, probably runs even if auto-sync is disabled? ]

I will give two days , BBS dump tomorrow. I am trying to find out which tasker profile is causing the tons of wake counts. [found that the email app, accounts for a lot of wakeups, even though sync was set as manual; k-9 mail doesn't work with my company's dav.. will have to find a email alternative. do suggest if any of you know ] .

BTW, I defrosted google talk, doesn't seem to have updated the battery life.

Have still frozen google maps, google+,email etc, and disabled most of the tasker profiles.

Am still not able to find which applications are causing the Checkin Services wakelock. [Google Services ].
[BetterBatteryStats] Vangelis13:
Please do! I run the oldest irish pub in nrw.. :-)
[BetterBatteryStats] mrrogers1:
I'll look at this closer tonight.

Thanks!
[BetterBatteryStats] Karpfenhai:
hmm, what about the market?

some weeks ago i disabled something too much... ;-) after that, the wakelock was gone but unfortunately i couldn't pay anymore in the market.. :-P

had to restore a nandroid backup, cuz didn't remember what it was.. shame on me..

Swyped from my GT-I9100 using XDA App.
[BetterBatteryStats] Hrithan2020:
Don't understand why market should check in, when I have explicitly removed notificiations, google ad mobs and use location permission for market and other google apps.
[BetterBatteryStats] s2d4:
is marketupdater.apk still installed?
[BetterBatteryStats] kutukia:
Hi there,

Does anyone know what ActivityManager-Launch partial wakelock is referring to? I'm getting quite a abit of partial wakelock from that process.

Also AlarmManager seems to be causing quite a bit of wakelocks as well, Notably Android Intent process time_tick and com.google.android.gsf, this despite having turned off backup processes and automatic sync for google. :(

Any help would be appreciated :o
[BetterBatteryStats] Hrithan2020:
Yes. Thanks.. I will disable it and try :)

Have a look at this link . It will give you an idea :

http://xdaforums.com/wiki/Wakelocks

So, basically ActivityManager-Launch partial wakelock can be minimized by making sure that you are exiting the applications, before turning off the screen. [ so pressing back button repeatedly instead of always home button].

Regarding the com.android.gsf, I am still investigating this. Read the last few pages of this thread to get an idea. I have tried disabling google talk,maps,google+,auto sync and background data and still got these alarms.

Will have to try disabling marketupdater and try. [and remove notifications for new updates and google admobs under market settings and remove automatic sign-in of gtalk, and sign out of gtalk and try , whether it decreases the number of alrams ]
[BetterBatteryStats] CRXed:
Waterlock? It is called Wakelock......

Your main concern is not twitter for now, the fuel_alerted wakelock has kept your phone awake for more that 12 hours!:eek:

There is not much information about this, but you can read a little about it here: http://slo-android.si/forum/viewtopic.php?f=2&t=3927&start=50

BTW, if you tried to do any of the "invalid" calibration methods that mess with batterystats.bin and are now getting horrible battery life, check to see if you're getting a long fuel_alerted wakelock in /proc/wakelocks

I don't know if you did anything to calibrate youtr battery, but you should not do that on a Galaxy SII. Pull your battery for an hour, it might fix it.

Also, this is related to the kernel you are using, so maybe you need to change that.
[BetterBatteryStats] chamonix:
The thread I linked is one of the few mentions I found on the kernel wakelock responsible for your drain. Entropy512 mentioned a kernel patch addressing this exact issue so depending on the kernel you are using it would be good to check for updates / alternatives
[BetterBatteryStats] CRXed:
Just look at your logs and you can see for yourself...

Checkin Handoff (Google Services): 1 h 35 m 6 s (5706 s) Count:161 48.7%

*network-location-cell-update* (Google Services): 6 s (6 s) Count:160 0.1%

You are automatically checking into some Google service, which kept the phone awake for more than 90 minutes. This app is also trying to find your location.

You also had Skype and Shoot The Apple app still running.
[BetterBatteryStats] bonanza123:
I meant the History graphs (see pic attached). Also the Table when i select "view serie" is empty. When I click on "zoom on" is this view and select "Wakelock" e.g. the programm crashs.
[BetterBatteryStats] chamonix:
That's thw whole idea if the online knowledge base (https://github.com/asksven/BetterBatteryStats-Knowledge-Base/wiki/_pages)

Whoever wants to take the plunge and start writing down a few things as KB articles of a FAQ is welcome and will of course get proper credits
[BetterBatteryStats] chamonix:
What version of ICS are you running. It seems that 4.0x is not fully supported there (there is a major change in the datasource for the graphs between 2.3.x and 4.0). BBS supports both 2.3.x and 4.0 API.
[BetterBatteryStats] figgarro:
Here is my latest dump files, still seeing around 20% battery use overnight.

Once again Thanks in advance for your help!
[BetterBatteryStats] Wh1t3Rose:
[MENTION=5666997]Lethargy[/MENTION]. Man I missed a whole day of posts :(
[BetterBatteryStats] kelly66:
I am not able to see these NTS receivers in System Tuner (under receivers).I dont think I have GCM installed. Is it part of Google play services?

Anyway, yesterday I uninstalled updates from Google play services (GPS) and went back to ver 4.0.33 and the alarms have reduced to 29.5 per hour (1092 wakeups). Of the total of 1092, 1002 belong to ACTION_CHECK (it was 1001 before I uninstalled updates) and 71 wakeups pertain to GCM_RECONNECT followed by 16 of SEND_IDLE.

Are these normal?

Also, the Android OS % used to go up every night to about 29-30% and battery used to drain by about 8% every night. Last night (after this uninstall) it drained only about 3%) and OS % is now 11%. I also changed some receivers and providers under GSF and GPS as suggested in one of the posts in this thread. I am not sure if the improvement is because of this or because of the uninstall.

Should I retain this 4.0.33 ver for GPS?

GSF and GPS changes made as per Post #11160. In that all GCM related services are unticked, perhaps thats the reason I am not able to see the NTS receivers as suggested by you. May be its the other way round as stated by you!
[BetterBatteryStats] Thomas_BA:
Just want to share this great result. Updated yesterday to 4.4.4 on Moto X

1.0% Battery Lost per hour with Wifi ON - a miracle on Motorola :)

Running:

- Moto X XT1058, 4.4.4, with Faux Kernel, Greenify apps with push notifications and some other hockers like Facebook, switching automatically between 3G and 2G depending on signal strength

===================
General Information
===================
BetterBatteryStats version: 1.16.0.0
Creation Date: 2014-08-17 10:05:13
Statistic Type: Unplugged to Current
Since 7 h 21 m 37 s
VERSION.RELEASE: 4.4.4
BRAND: motorola
DEVICE: ghost
MANUFACTURER: motorola
MODEL: XT1058
OS.VERSION: 3.4.72-ghost-faux123-kk-custom
BOOTLOADER: 0x30B7
HARDWARE: qcom
FINGERPRINT: motorola/ghost_retar/ghost:4.4.4/KXA21.12-L1.26/62:user/release-keys
ID: KXA21.12-L1.26
TAGS: release-keys
USER: hudsoncm
PRODUCT: ghost_retar
RADIO: MSM8960PRO_BP_2323.038.123.00R
Rooted: true
============
Battery Info
============
Level lost [%]: Bat.: -7% (100% to 93%) [1.0%/h]
Voltage lost [mV]: (4211-4129) [11.1%/h]
[BetterBatteryStats] atrix4nag:
These are my yesterday and todays dump files. I tried disabling viber, but they are coming back again.. any help..

otherthan that hows my dump file?
[BetterBatteryStats] marki555:
26% awake time...

Samsung S4 mini running original 4.2.2.

I have already disabled Nlp wakelocks for Google Play Services with Wakelock Terminator.

Now the biggest wakelocks/alarm are these: ALARM_WAKEUP_LOCATOR and LANDSCAPE_WAKE_TIME_LIMIT_EXPIRED.

Do you know what they are and how to get rid of them?
[BetterBatteryStats] Perseus:
Actually looks pretty good. Viber is a drain but you know that already.

There's some widget that's really active.

Alarms: 24, Intent: android.appwidget.action.APPWIDGET_UPDATE

Can't tell based on the log which one it is.

Under Advanced Wireless settings, set Keep WiFi On during sleep to never.

Looking good.
[BetterBatteryStats] F308:
Sorry guys but 2500+ pages of thread is not a thing to read for human being lifetime.

What exactly should I look for ?

Top of alarms, wakelocks or partial wakelocks ?

My stats:

Checkin Handoff (UsĹ‚ugi Google): 8 h 5 m 17 s (29117 s) Count:167 97,5%

AlarmManager (de.dnsproject.clock_widget_main.Animated Analog Clock Widget): 9 m 22 s (562 s) Count:29841 1,9%

Rest is near to zero.
[BetterBatteryStats] Perseus:
The Google Checkin is Google Play service gone wild. Please search this thread for [MENTION=4355376]Karpfenhai[/MENTION]'s mod. You need System Tuner app.

If Alarm Manager is high, look for the Alarms in that tab. See which one is top of the list there.
[BetterBatteryStats] seanpr123:
Here's mine.

Not sure why I've got such a high drain on WiFi.

Any insight?
[BetterBatteryStats] swat4samp:
Turn off location reporting and history and auto-sync. NLP wakelocks are killing your battery.
[BetterBatteryStats] seanpr123:
Thanks, but reporting and location are indeed already off. Certainly one I look out for as I know that will keep phone awake pinging for location.

Auto Sync is a bit drastic, kinda removes the smart-phone feature set. Plus I already have sync pretty well toned down with just Calendar, Contacts, Gmail, G+ Uploads (for pictures) & Keep.

Any other suggestions?

Edit: Not using Google Now either.
[BetterBatteryStats] Wh1t3Rose:
I kinda disagree with this ;), Motorola devices have a record for having the best battery life mainly due to their VERY efficient radios.
[BetterBatteryStats] swat4samp:
You need to disable receivers and services for location reporting and history manually. Search this thread for [MENTION=4355376]Karpfenhai[/MENTION] mod. You need android tuner app for that.
[BetterBatteryStats] Perseus:
This Line in your report,

NlpWakeLock (com.google.android.googlequicksearchbox.Google Search): 6 m 21 s (381 s) Count:127 34.5%

clearly indicates Google Now has repeatedly accessed your location. If you have turned off as you said, then you need to reboot the phone, then get a new log for us to review.

In addition, please go to Advanced Wireless properties. The setting called "Keep Wireless On During Sleep" should be set to never. Also turn off Scanning always available should be unchecked.

Also logs captured when the phone is in use by you makes difficult to diagnose. Its best if we have overnight Idle log.
[BetterBatteryStats] seanpr123:
I'll do a reboot tonight and run again, but my phone gets restarted a few times a week so not sure that will change much.

I also already turned off Always scanning, but I let Wi-Fi during sleep to be Always. Shouldn't wifi cause less drain than a 3G connection?

Lastly if you note over the 10 hour reference, screen was only on for ~30 seconds. I think that should constitute as an overnight idle log.
[BetterBatteryStats] Perseus:
You reboot so that BBS resets its Reference Point. Otherwise it will calculate or use from before you started using.

You can add a custom Reference Point but setting that is more for advanced users.
[BetterBatteryStats] F308:
Thank you. Will check. I've bought system tuner, played with it, disabled hell of apps but I dont know what exactly should I seek for and what to do with.

I need Google mail, maps sometimes, app updates sometimes, navigation (not maps, only GPS location) sometimes ...

My thumb rule:

I disable more and more. Once an app crashes - I enable back some google services to have it running.

BTW:

You've pointed link to a person, not to his thread.

Do you have thread till hands ?

He is very productive member.
[BetterBatteryStats] seanpr123:
Well, for clarification unplugging phone also causes a reference (which you see in my example). Basically is just a custom reference done automatically for ya, no need to restart.

I'm really familiar with battery saving techniques and BBS, have posted in this thread many times trying to help people out.

Just not sure why I'm experiencing that nlp stuff given how I have my system configured.
[BetterBatteryStats] F308:
What that tells ?

Some alarms per hour is nothing, right ?

I dont understand where power goes....

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

Just Q, BTW:

How can I use data exported in JSON format ?

Make graph eventually ?
[BetterBatteryStats] Perseus:
Its one of his posts on this thread. He never made a thread out of it.

PPhone . Settings > Turn off Reverse Lookup & people lookup.
[BetterBatteryStats] F308:
1. OK.

2. I cannot find what you are talking about, tell more detailed, please.
[BetterBatteryStats] Wh1t3Rose:
[MENTION=5143675]F308[/MENTION] please use spoiler tags or attach it as a text file. It's a headache scrolling through that mess. Now for your issue. I'm pretty good at tracking this stuff down. But I'm stumped. If you click the top partial wakelock what sub proccesses does it say? I would use GSAM in this specific case. That will tell us the subprocess and exactly how many times it pulled your phone out of derp sleep. Yes there is an actual Wakeup stat n GSAM. also tell us in GSAM what sub processes wakes your device.
[BetterBatteryStats] Perseus:
I am talking about the settings of the Phone/dialer app. Open that app, go to settings. Inside you should see a section called Phone Number Lookup. In that section, there should be 3 checkboxes, Forward Lookup, people lookup and Reverse Lookup. Uncheck all 3. Reset BBS Marker any which way.
[BetterBatteryStats] Nightshadow931:
What's the thing with 'This is a companion app to betterbatterystats...'?

I install bbs as system app, I reboot and everything is fine, and after few reboots, this appears..?
[BetterBatteryStats] projektileSAM:
I don't have Facebook app installed, I but I still face checkinservice wakelocks....Any thoughts???
[BetterBatteryStats] Ph.D:
I've got an LG P705, and this phone does. not. sleep. I tried flashing tons of ROMs, currently using SlimBean: http://xdaforums.com/showthread.php?t=2415872

The problem seems to be kernel wakelock mmc1_detect and mmc2_detect. After checking around, I saw someone say it's a faulty SD card, and someone else saying to turn off wifi. I tried turning it off and removing the SD card, but mmc1_detect is still there.

Also probably worth mentioning, is that after a factory reset, NFC takes up around 96% of wakelocks, so I used the universal NFC destroyer: http://xdaforums.com/showthread.php?t=2549377 . After doing that, mmc1_detect, mmc2_detect and suspend_backoff keep my phone awake.

Please help. As it is right now, this phone won't last a day.

BTW, I attached both the text file and JSON, but it looks like xda doesn't allow JSON, so I just zipped it.
[BetterBatteryStats] F308:
Sorry for mess, I corrected my post.

Looks like my dialer sightly differs, I use Xperia Z1C, but you gave me hint, simple "hide call history" made miracle.

I will collect some statistics and put here later.

Thank you and Perseus71 very much for your inputs.
[BetterBatteryStats] Wh1t3Rose:
You have the messenger app installed. Lol why Facebook. Why????! Why make things so complicated for the average end user. Lol
[BetterBatteryStats] projektileSAM:
No messenger, no G+, only Twitter, which is greenified
[BetterBatteryStats] Wh1t3Rose:
Disable the checkin service completely. Nuke it. You can use the app Disable Service. Make sure you reboot after. Do it for play services and GSF. I would disable analytics as well in both. And maybe location stuff if you don't use it. Been running this setup for a long time. I get maybe 1-2 wakeups an hour tops.
[BetterBatteryStats] monikazhang:
True bro, the standard battery info is missing lot of information i wish to see, i think your app really helpful for me because i'm often in travel where charging is not available, so timing the charging is important especially using detailed info like yours
[BetterBatteryStats] projektileSAM:
How to do that????
[BetterBatteryStats] Flipz77:
It's an app. Look on the Play Store.
[BetterBatteryStats] Cerak:
Hi guys,

first post here. Hope I'm getting everything right. I thought I'd post a log since my 2012 Galaxy Nexus is doing worse and worse in terms of battery life. I was all stock until a week ago, when I flashed Cyano M9 and - just a couple of days ago - Fancy Kernel r54.

I struggle to even get 2 hours of screen time when I'm out. I'm pretty sure my carrier's poor reception has a lot to do with it, but then I also see a lot of alarms and wakelocks that worry me.

Now, I read the usual advice so I know that disabling Google Now and things like that would improve my situation, but I'd like to avoid disabling too many features. I'd just like to know if you notice anything really wrong or easily fixable. Maps in particular seems to be the biggest culprit, but I realize there's not much to be done if I'm not ready to disable/greenify it or turn off GNow. My impression is that Kitkat made Maps more aggressive.

I took this log leaving my device idle overnight, just unplugged, rebooted, connected to wifi, with sync still on and "wifi during sleep" left active because it's how it would normally be. Also, I turned off location reporting a few days ago. To my untrained eye, it actually looks pretty decent in terms of results - does this mean the problem is indeed my outdoor 3g reception, and only that?

Thanks!
[BetterBatteryStats] Flipz77:
That doesn't actually look bad. Have you tried converting maps to user app and greenifying it? I've read you're "not ready" but it doesn't really serve a purpose when you're not using it so it's totally safe to greenify, just like youtube. Plus, all official fb apps (including messenger) are battery hogs. Regarding wlan wakelocks and your reported poor reception, you could try another radio. Last but not least, your 2 year old battery could be starting to fail.
[BetterBatteryStats] Wh1t3Rose:
[MENTION=4870445]Cerak[/MENTION] it looks like to me Google services keeps waking your device out of deep sleep. I would disable Maybe [MENTION=4036181]KJ[/MENTION] or [MENTION=5666997]Lethargy[/MENTION] will know for sure on the effects of this but I would disable The sub process NLP using Disable Services App. Also I see your router keeps waking your device. I would throw DD-WRT custom router firmware on it personally. Or you can go through the settings look for settings related to pinging network devices and increase the interval. It could also be caused by a window machine on the network pinging other devices. You can find this out by capturing packets being sent to your android device. I recommend Network Log for Android. Turn on the logger (do NOT skip this) then leave your device idle an hour. See if you get any packets from your routers IP address or any devices on your network.
[BetterBatteryStats] Elluel:
KJ doesn't use Disable Service lol. And to get rid of that wakelock you either block the permission or disable location based services. Location won't work at all after that. But if you're using it then I don't know why you're trying to fix something you rely on.
[BetterBatteryStats] Ph.D:
Apologies if I'm being a bit annoying here, but can someone take a look?
[BetterBatteryStats] Wh1t3Rose:
Did I ask you??? Well I guess I technically did. :fetalpositionincorner: ####.... More # :D

Did you enjoy your nap? Lol
[BetterBatteryStats] Elluel:
Nah back to sleep.
[BetterBatteryStats] Wh1t3Rose:
-_____- NO!

Edit: you probably saw all my # and was like "Ah hell naw". F that I'll come back when he's done" LMFAO
[BetterBatteryStats] Perseus:
Please review #2 of [GUIDE] The Total Newb's Guide to Wakelocks

You might have to go in for harsher measures. Take a backup of important stuff on your internal SD Card and External SD Card to a PC. You are going to loose all of it.

Format /data , /system , /data/media, /ext-sd

Flash just the Rom and Gapps. Wipe Dalvik and Cache. Once done, reboot and setup your Google Account. Check if the wakelocks are abated. If they did, copy just the content of External SD back and see the result on your wakelocks.

If you tried to restore Titanium backup or parts from a nandroid, it will bring the wakelocks back. In that case I won't be able to help.
[BetterBatteryStats] Ph.D:
I may be misunderstanding something here, but how do I flash the rom and Gapps if the internal SD and the external SD are both formatted?

EDIT: Sideload? I see that option in CWM, but not really sure how to work it. Googling now.

EDIT2: Alright, done. Now to check for wakelocks.
[BetterBatteryStats] swat4samp:
Searching on google bought me here http://xdaforums.com/showpost.php?p=30641581&postcount=59

EDIT: It seems you already tried this step but still didn't work.