yashsingh1/xdaforums huggingface dataset:
[BetterBatteryStats] Hrithan2020:
Google searched [search in this thread, didn't give any relevant results, at least the first 20 or so results], and found this link:

http://xdaforums.com/wiki/Wakelocks

That plus other threads, including one another wiki [sorry, can't find the link right now ]. After going through, I have understood a bit about the AlarmManager and ActivityManager. [closely monitor all the alarms and try to find out the cause, and exit all the apps before the phone goes to sleep]

But, still am confused about RILJ [have disabled use wireless network under location,as it seems that an app trying to find the coarse n/w location, could also potentially trigger the wakelock?]

Would appreciate tips regarding the GTALK_ASYNC_CONN as well.

[have already disabled automatic sign in for google talk, notifications and mobile ads for market and google backup under privacy; still this is coming].
[BetterBatteryStats] chamonix:
Happy new year @all

I will catch up with the last posts / logs later today
[BetterBatteryStats] dubist:
i've flashed CheckRom Revo HD4 with DarkKnight Kernel 2.5.2

i flashed that because i want a better battery life but it seems that the Stock Rom had a better Battery life.

In the Night i loose average of 20% Battery :mad:

See the Dumpfile in attachment thank you and happy new year 2012

http://xdaforums.com/attachment.php?attachmentid=837484&stc=1&d=1325381718
[BetterBatteryStats] Pick_A_Name:
Happy New Year to you too! And everyone else here. Have a safe and joyful new year!
[BetterBatteryStats] Karpfenhai:
hey there, happy new year!

as written many times before, get rid of facebook and use an alternative app instead, disable sync and perhaps fast dormancy.

read the thread with care, do your homeworks, no offense ;-)

use an undervolted kernel, this saves a lot, furthermore change your email client, use K9 per example.

good luck!

Swyped from my %s using XDA App.
[BetterBatteryStats] CRXed:
Here is the answer:

http://xdaforums.com/showthread.php?t=1242519

http://xdaforums.com/showpost.php?p=17592274&postcount=2246

Most people point to Google Maps as the problem.
[BetterBatteryStats] chamonix:
Your awake (4 hours in your reading) is mostly due to network traffic, part of it coming from your WLAN. Now you are not using the latest version of bbs so I can't tell if the traffic was generated before or during this reading, it would be great if you could update and provide another reading.

What I see in the wakelocks are a few apps causing high awake counts that could be responsible for the network traffic and of course for the drain:

- Facebook

- Network location: you have network location enabled for search and maybe latitude as well: this causes frequent wakelocks

Again, the partial wakelocks alone are not responsible for the awake time so the chances are high it's network related.

I'd recommend disable network location where you don't need it and take another run by making sure wifi is off when not needed.
[BetterBatteryStats] chamonix:
That is an easy one, you should be able to make that analysis on your own:

Awake (): 5 h 31 m 38 s (19898 s) Ratio: 26.6%

Screen On (): 4 h 29 m 25 s (16165 s) Ratio: 21.6

-> the phone was in use 4 1/2 hours and awake one more hour without interaction. One app is responsible for 50 minutes of wakelocks so this is probably the one that caused unnecessary drain:

com.skype.kg (com.skype.raider.Skype): 51 m 56 s (3116 s) Count:10 4.2%

On an overall point of view 20 hours with 4 hours screen on is a pretty good stat
[BetterBatteryStats] Hrithan2020:
Thanks , for the thread link. Had an inkling of doubt that the maps might be the culprit, but thought after disabling the use wireless networks, it wouldn't cause much wakelocks. Can't really remove maps, but for testing purpose,I will try after disabling auto sync, background data and give a try.

BTW, any idea regarding the RILJ. Even disabling the use wireless network, hasn't helped so far. Also, the count of the RILJ and the Alarm Manager is v.v.high, [though the time spent is quite less], despite one cycle with auto-sync disable and disabling tasker. [which had a jd like profiles set]
[BetterBatteryStats] ponicpool:
Thanks chamonix for the reply and for making my phone's battery life better.

BTW I am running on extended battery. Perhaps that's the reason for 20 hours?

And this is first battery cycle too!

I would attach another dump after a few battery cycles.

Thanks again.
[BetterBatteryStats] allansy:
show keyguard

Quick question:

I noticed that one of the causes of wakelocks is the "show keyguard" wakelock. 12 minutes of show keyguard partial wakelock is occuring

Is it because an app is causing my screen to wake up?

Thanks!
[BetterBatteryStats] CRXed:
Do you have security set up on your phone? Pattern lock, or password etc? Do you have any apps which interact with security to perform a function? E.g. unlock at home.
[BetterBatteryStats] kwankl:
Anyone could help check how can further improve the battery? I already log-out latitude, disable the google+ notification, backup service...etc. Thanks.

here's the dump file:

http://db.tt/XceCN5e5
[BetterBatteryStats] allansy:
Unfortunately, i have installed a lot of apps already but this started happening when i installed shazam and songbird but when i uninstalled these 2 apps, issue persists. I did not enable pattern lock, but im using widget locker. Although i enter deep sleep mode, but it is only after a while (like after a few minutes) from screen off. I also noticed that activity launch from android system is causing a lot of wakelocks but i rarely used the phone today.
[BetterBatteryStats] beepsilver:
Did you remove all reminders for your calendar events in google calendar? Your count seems pretty high here and I suspect the majority of the counts are due to "Time Tick" inside of AlarmManager.

Wakelocks

=========

AlarmManager (Android System): 37 s (37 s) Count:2096 0.1%
[BetterBatteryStats] kwankl:
Thanks for the reply. How can I check those reminders? I have the auto sync of calendar enabled. Are those Alarm caused by BLN? I also have Colorize widgets of Twitter and Facebook, which set auto reload by 1 hour and 3 hours respectively.
[BetterBatteryStats] lanwarrior:
Why do you need to call names like that?if you don't like what chamonix has done with this app and to the XDA community, go **** yourself and stop using this app.
[BetterBatteryStats] keneth_c:
We've been having a bunch of fools of late on XDA...

What's going on?! ;)
[BetterBatteryStats] gGabi:
You must be a genius! :silly:

Dude, nobody forces you to use this app. There are alternatives, so go ahead an try them and forget about this thread.

No logical reason to come here and diss the dev. because you're too much of an ignorant to appreciate the dev's effort put in this app and even more, the dev's decision to share his app with us for free. Keep walking...
[BetterBatteryStats] mdamaged:
[MENTION=1330150]chamonix[/MENTION], please don't think that that guy represents any significant portion of your userbase, we deeply appreciate and respect your methods as well as your app.
[BetterBatteryStats] dylansmith:
Hi guys,

help required here. I've been experiencing high battery drain lately, and I realized this weird behavior:

there are times when the CPU is locked at 1.96ghz and above (only when screen on).

my phone goes to deep sleep properly, but somehow when running, sometimes it locks its min. frequency to 1.96ghz on my Note 3, despite the fact that I tried to limit these settings in SetCPU.

how do i resolve this?

https://www.dropbox.com/s/g3c47xsif7v48co/Bbs.zip

the other question is: is there any app/extension I can use to check which app is sucking up cpu usage in real-time? I'm looking at the android-equivalent of task manager in Windows.

Thank you.
[BetterBatteryStats] gGabi:
Regarding your second question, there is an app on Play Store called "System Monitor", and it has the option to view in live cpu/i/o/ram and apps. Download it and give it a try. You cand go in app's settings, flying monitor and down at the bottom you have the option to turn "Topp apps" on, set the desired interval for refresh and win :)
[BetterBatteryStats] Titchener17:
Not totally sure if there's a kernel problem or what, but you could either set your values via terminal, try operation killjoy and use the cputuner, or try using trickster from playstore ?
[BetterBatteryStats] dylansmith:
thanks. i installed the app and saw that 'downloads manager' took 20% of the cpu usage (the rest were insignificant). i force stopped the service, but the cpu is still going crazy @ 1.96-2.3ghz.

i used the trickster kernel mod to force the cpu speed, but still the same results. this is really odd.
[BetterBatteryStats] Perseus:
Can you post a log or check on Network tab and report what you see at the top ? That's your suspect. Reboot please then check.
[BetterBatteryStats] Stuart Little:
This is great ! +1 thanks

Sent From A Samsung Galaxy S2 With AOSB Project ROM .
[BetterBatteryStats] tuniel:
Here we go:

Logcat: https://mega.co.nz/#!pk9QBKjA!WfUmd-1nM9Sgqu3Ps521VRnTGn_pyM3Tnzf_HRmnoSc

Txt dump: https://mega.co.nz/#!k8lH3ZaI!YZkPhMHXbXc5lZbysq-kwnV2dg9wNaN2VXnkB_0ndVw

Json: https://mega.co.nz/#!ssszybAL!GVX-QzWuooiDGFdgWPqgpmGiNPLJaz5r0_h8d9wAkBs

I have the debug enabled (at least that's set in the settings ?)

Thanks
[BetterBatteryStats] :
I installed the apps, set them up and rebooted the phone. The results?
[BetterBatteryStats] chamonix:
there we go. This shows that your alarms are processed properly. The raw display shows all alarms since boot time. The 'normal' screen shows the difference between both references and in you case for the examples you provided this difference is empty. I must say that such a situation is weird - because uncommon - but not impossible
[BetterBatteryStats] godlesplay:
so, everything is ok? I just don't have wakelocks right? (strange :D)
[BetterBatteryStats] chamonix:
You seem to have no _alarms_
[BetterBatteryStats] VirusPT:
Hi,

Everytime I wipe my cache / dalvik cache I get this message when opening bbs and them the app uninstalls.

---------- Post added at 12:31 PM ---------- Previous post was at 11:54 AM ----------

OK, I don't have to wipe anything, just reboot the phone a second time (because instalation works great, even as a system app) but then if I reboot the phone that happens.
[BetterBatteryStats] aeroman:
Can't install final Version as system APP :(

●Sent from my Galaxy S4-LTE√
[BetterBatteryStats] chamonix:
if you don't provide more information like a description of what happens and a logcat we won't be able to help you.
[BetterBatteryStats] chamonix:
please be a little bit more precise of the steps you have taken and what happens.
[BetterBatteryStats] exodius48:
Are you running kitkat rom? Try to uninstall it as system app. Also uninstall BBS helper.apk as system app. Then Install BBS as user app.
[BetterBatteryStats] aeroman:
used latest Play Store Version...

tried after get root permissions, to install as system APP from the APP Settings,

but no Chance, become "install failed AS system APP"

Regards

●Sent from my Galaxy S4-LTE√
[BetterBatteryStats] lanwarrior:
Anyone?
[BetterBatteryStats] chamonix:
in that case use the alternate install from recovery: http://xdaforums.com/showpost.php?p=53078550&postcount=23707
[BetterBatteryStats] Android_Raj:
Can't update to v 1.16

I have got 2 playstore account.

When I try to update gives error 403. If I just keep the account through which I have purchased the app. I get error unable to retrieve data from server......
[BetterBatteryStats] chamonix:
error 403 is a gplay error. I know cleaning gplay cache and data has helped in the past.

You can not force the update to 1.16 on all accounts yet at this is a staged rollout. Currently the stats on gplay are broken (stuck on 3th of July and unfortunately I can not say how many users were provided the new version yet.
[BetterBatteryStats] seroesh:
Please find attached the dump file.

Of note, I had the WiFi off before sleeping and it still consumed battery. Secondly, Android OS is usually taking more battery than Screen On. This can be seen in screen on time and deep sleep. The battery was doing great and it just started 3-5 days that things have taken a drastic turn. I hope you can dechiper it and guide me in this direction. The ROM and kernel info can be found in my signature, there's a block wakelock option in the ROM, however, I don't know how to correctly use it.
[BetterBatteryStats] godlesplay:
[MENTION=1330150]chamonix[/MENTION] I have FC when press Process, logs taken immediately after it
[BetterBatteryStats] alfonsofernandezyf:
Great Work! :good::good::good::laugh:
[BetterBatteryStats] chamonix:
#481
[BetterBatteryStats] tuniel:
[MENTION=1330150]chamonix[/MENTION]: found anithung useful?
[BetterBatteryStats] chamonix:
The weird thing is that the BbsDashClockExtension service (that checks if a fallback is required and delivers values eitther from the original or from the fallback calculation) is never called. That's for sure the reason why the value is 0 but I still don't get why it is only called after a plug/unplug.
[BetterBatteryStats] bongster:
Hi there,

I also had the problem to install the latest version as a system app did not work. S4 mini with cm11. To mount the system with r\w using root explorer manually did the trick. After that I was able to use the normal option in BBS.

Keep up the good work and thanks!

Bongster
[BetterBatteryStats] Ok_Kaleidoscope5109:
[MENTION=1330150]chamonix[/MENTION]: Excellent app. Been using this from the early days. I have told myself since around mid 2013 to stop worrying about wakelocks, but unfortunately the anal retentiveness has returned last week.

Is there any way to visualize when a specific partial wakelock is occuring? I get it that nlpcollectorwakelock is awake for 1 hr a day, but can I see the breakdown of when that occurs? Or am I restricted to total time only?
[BetterBatteryStats] ixomon:
+1

And a slightly different idea/wish:

(deleted - sorry, I will research better before posting next time)

otherwise awesome app, please keep going! :good:
[BetterBatteryStats] seroesh:
[MENTION=1330150]chamonix[/MENTION]

The screenshot are of today, with WiFi off the whole time. The dump file is attached on post #24404.
[BetterBatteryStats] tuniel:
thanks for looking into it. can i do something to help?
[BetterBatteryStats] chamonix:
you reading is really hard to interpret as it is not idle. I suggest that you provide an idle reading so that we can see if the alarms caused by camera360 are still there on idle

From what a can see from that mixed reading your Wifi has been on all the time. On the other hand RILJ (broadband radio) is showing a lot of activity, potentially caused by changing reception of flapping wifi (depending on your settings).

For the next reading I also suggest that you upgrade to 1.16
[BetterBatteryStats] chamonix:
As of today the only way to have something like a time profile would be to auto save time stamped references and to compare.

On this particular wakelock though it won't help much if you find out for example, that the activity is higher when you move: you can reduce it by Disabling certain location features provided by Google Play services but that's about it.

It's funny that you ask the question about the time component though because I am working on something like a proof of concept in that regard
[BetterBatteryStats] seroesh:
I didn't get how to take Idle reading? and the WIFI was turned off.. Is there some setting in the wifi from stopping it from keeping the device from deep sleep that I can do and check? I've greenified Camera360 and I will upgrade to version 1.16, but do let me know how to take idle readings.. cannot seem to find it. Thanks.

Any suggestion that I can apply before the next dumpfile?
[BetterBatteryStats] tuniel:
charge your phone before going to sleep, unplug it and let it idle till the morning :)

as soon as you wake up get the reading from BBS and post it here.

idle reading --> no screen on time --> only background activities

for the wi-fi: have you checked in settings/wifi/advanced/scanning always available? if that's checked, uncheck it
[BetterBatteryStats] seroesh:
Thanks, I unchecked Scanning always available last time, presumably after the dump file. But today still, WiFi showed activity, i'll take the idle reading tonight and will share tomorrow with the updated version.

Thanks again, lets hope we can figure this out.
[BetterBatteryStats] Perseus:
Set "Keep WiFi On During Sleep" to Never. Its located in the same menu as the Always Available setting you just changed.
[BetterBatteryStats] seroesh:
Done.. Although I dono how fast the transaction from mobile data to WiFi on screen on will be especially if I'm taking a call directly from a deep sleep mode. However first thing is first, we need to find the culprit causing the erratic behavior of WiFi.
[BetterBatteryStats] Perseus:
Please Turn off Location Service if its on and then reboot. Leave the phone alone for 5-6 hours. Usually overnight will work. Pull a Text log in the morning.
[BetterBatteryStats] seroesh:
Location service are off. Will sent dump log in the morning after recording an overnight event log on a full charge.
[BetterBatteryStats] Perseus:
Please Post a LogCat of the error. run it upto the point you get the Toast Notification "BATTERY_STATS,DUMP not granted"

This will help [MENTION=1330150]chamonix[/MENTION] to explore the issue.

Once you have got the Log, please remove BBS completely. Reboot and wipe Dalvik + Chache. Next install BBS Again. But this time, after you are done installing, use a Root Explorer to go to /data/app and move the BBS Apk to /system/priv-app folder. Reboot again. BBs should work now.
[BetterBatteryStats] jefbuan:
same with my HTC one
[BetterBatteryStats] Snow24:
Why not work after the update 4.4.4? It tells me "Selected 'from' or 'to' reference could not be loaded. Please refresh". I tried to uninstall the app, i deleted the cache but nothing. I haven't got the root, but before it worked. Help me, please :(
[BetterBatteryStats] chamonix:
What version are you using. This looks like the error that was present in 1.15 but fixed in 1.16 and related to BBS not playing well with google launcher
[BetterBatteryStats] chamonix:
Interesting. The log suggests that the APK can not be found after remonting system to ro. Can you please check in /system/priv-app if the apk is present and if yes what perms it has?
[BetterBatteryStats] Snow24:
I have the versione 1.16, so i have to remove the GLauncher?

Sorry, i have the versione 1.16.0.0_B3. Now i'm downloading new version

UPDATE:

Now it works good. I'm checking the situation. Thank you and sorry :)
[BetterBatteryStats] chamonix:
No problem, you scared me a second ;)
[BetterBatteryStats] Snow24:
I'm really sorry (i don't know if "sorry" is correct, because i'm not English). But this app is amazing, a very good work :o
[BetterBatteryStats] a1exus:
com.asksven.betterbatterystats_xdaedition.apk never made to /system/priv-app/

I/SystemAppInstaller( 8200): Copying, setting permissions and owner and cleaning up: cp /sdcard/com.asksven.betterbatterystats_xdaedition.apk /system && chmod 644 /system/com.asksven.betterbatterystats_xdaedition.apk && chown root:root /system/com.asksven.betterbatterystats_xdaedition.apk && cp -p /system/com.asksven.betterbatterystats_xdaedition.apk /system/priv-app && rm /sdcard/com.asksven.betterbatterystats_xdaedition.apk && rm /system/com.asksven.betterbatterystats_xdaedition.apk

according to catlog: cp /sdcard/com.asksven.betterbatterystats_xdaedition.apk /system, you're copying it from /sdcard, well I don't have it there either...
[BetterBatteryStats] chamonix:
it gets copied to sdcard to have it on storage, then to /system, perms changed and finally to its destination.

As the process fails for unknown reasons I can only recommend that you use the CWM script from post #3 to do the job
[BetterBatteryStats] Ok_Kaleidoscope5109:
I probably chose a bad example with nlpcollectorwakelocks, but there certainly are other apps out there that cause trouble that sometimes I want to get to the bottom of and find out when those wakelocks are occuring. Sometimes its easy to figure out seeing the big bar of blue in the Android battery page, but other times its not.

So I guess what I'm hearing is its in the works? Buckle up and enjoy the ride? :good:
[BetterBatteryStats] dabayer:
Hello together,

my CM v11 on a Samsung S3 mini needs to much battery. Can somebody please help me?
[BetterBatteryStats] manas94:
Galaxy S5 battery discharge

One of the Xda members told me to use the bbs app and post the dump file here. I've recorded about 10 hours of idle time in this. Please tell me whether my battery is a defective one! :rolleyes:
[BetterBatteryStats] belloni:
Can anyone please help me!

I have the wakelock "Startingdockservice" every time my phone charges to about 95+%, and I can only get rid of it by restarting the phone..

It's incredibly annoying as it doesn't allow the phone to screen off, every time I lock it, it turns the screen back on, obviously heating the battery up in the process!
[BetterBatteryStats] seroesh:
[MENTION=1330150]chamonix[/MENTION]

Please find attached an idle reading from last night, I turned off WiFi on during sleep, although the WiFi was already off. The location services were off too, which I only use on an as needed basis anyways. But I have turn on WiFi during sleep, because that's a bit counter productive as downloading stuff gets hindered as I'm not on 3g or 4g, only edge data connection.

Thank you for all the help until now, and I hope you'll help even more to rid me of this battery trouble.
[BetterBatteryStats] ruadus:
My Stat

Hello Guys,

I need your help to analyze my battery stat, I've changed ROM these last days and now I'm loosing like 10% battery during the night in airplane mode, while before I was loosing max 2%.

I'm not able to figure out what's happening.

Please take a look at my stat between 11:15pm and 7am.

Thanks a lot.

Waiting for your feedback.
[BetterBatteryStats] Osid:
[MENTION=1330150]chamonix[/MENTION]

BetterBatteryStats xdaversion 1.16

I have found inconsistent readings of "time elapsed" (since unplugged) in DeskClock extension on LockScreen vs StatsActivity (?)

For example, now I read in LockScreen 1h aw. -9,5%/h Since Unplugged (wrong, device was unplugged before)

If I click on it, Stats Activity in Other/Unplugged/Current shows 2h 6m 37s which is correct unplugged time elapsed.
[BetterBatteryStats] PeQuEsan:
Could I ask for some customization when added to Dashclock widget? I would like to see Screen On time there, for example...

Desde el móvil con Tapatalk...
[BetterBatteryStats] neoxpt:
Hi guys.

I currently own a Galaxy S2 and since I've played around with roms that my battery drains within 6 to 8 hours of medium to low usage... Since I'm not that experienced with Android, I've been struggling to find a solution by myself, so I've posted here for help and I got recommend to use BBS and ask here for help.

Here is the log file: https://onedrive.live.com/redir?res...324&authkey=!AIRugrfjfv4VSAI&ithint=file,.txt

I really hope you can do something for me, this is really annoying...

Best regards and thanks in advance
[BetterBatteryStats] mdamaged:
Root your device, then charge it, let it idle for 4 hours or so, then post the dump.
[BetterBatteryStats] Perseus:
Please post an Idle Log. This one is from under usage. Please remove alei.switchpro, CM Widget cLock and google search.

I think that's a good battery. Since you are not rooted, difficult to say what the issues are. One thing for sure. That wireless you are on is a problem You will have to explore how to turn off IPV6 on your phone and issue Static IP on the Router.

It could be the Charge port is mistaking the charger as Dock. Difficult to say what the hardware issues could be.

Please Turn off Fast Dormancy. Remove Facebook and its messenger(if you have it).

That's not a valid Log.

Can't access the log. Be kind and attach it here please.