yashsingh1/xdaforums huggingface dataset:
[BetterBatteryStats] Perseus:
Yes possible but not always. Give it a try and then give me a Partial Wakelock Screen or text dump.

Hey Bro, Health comes first. so please take care. Welcome back, glad to see you here.

As to the backlog, there are maybe couple of cases you want to look at. There's one case where on Touchwiz rom, the user got Unable to Reach Battery Service Error. The other case was similar but was also having incorrect counting. (I think maybe you just now replied to the second.)

If you search this thread for Logcat, you will see those recent posts.
[BetterBatteryStats] w1ndhawk:
Hey welcome back chamonix !!!

OT:

Can someone help me with what is draining my battery.

FYI, I am using a Nexus 4 16 GB.

Thanks a lot guys =)
[BetterBatteryStats] anthk:
These are one of the screencaps i took a few days ago

I have since then turned. Off location services as suggested but the same problem persists

As you can see, the app says there was a.few.minutes of awake time but battery info says there should be around 2-3 hrs of awake

Have i misunderstood the situation? Thank you
[BetterBatteryStats] qwerty22:
Please, see http://xdaforums.com/showpost.php?p=46855392&postcount=20002
[BetterBatteryStats] chamonix:
Interesting. Could you check the graph/serie for awake in Bbs? I know that the graph from the stock battery stats interpolate and knowing that I tend to not trust that code. It's the first time I see such huge discrepancies though. On the other hand the awake counter is not the sum from the serie so there may be a bug in the implementation.

Also could you provide a dumpfile in sync with the Screenshot (I would prefer 'since boot') so that I can check if I find reasons for awake: of there was some time awake there will be the same amount of wakelock as the graph shows large chunks of awake state
[BetterBatteryStats] TheStigx:
https://www.privatepaste.com/c5b9a0c8ca

I cant really figure out my wakelocks, can somebody help me? :/[
[BetterBatteryStats] Karpfenhai:
Your dump is invalid, read the op... hint idle... But your overhead is minor, I would consider it as normal.

Regards.

Tapatalked from my Galaxy SII
[BetterBatteryStats] Perseus:
2 things I see are Facebook Messenger and News and Weather app. Sign out of Facebook when not in use and set the refresh of the News app to every 6 hours plus set Location as Static not determined on your current location.
[BetterBatteryStats] chamonix:
KitKat

I confirm that BBS does not work on 4.4. As I have no nexus 5 yet I have just updated my gnex to a custom rom. Interestingly that ROM has systematically the 'battery info' problem (we were discussing yesterday) so that may be a good opportunity to fix that, hopefully also for all other ROMs having that problem.

The fix will be tricky though as I have no clue about what goes wrong yet
[BetterBatteryStats] skorpioneMM:
Thanks for your response...

Then, are you think that can be a problem with my particular phone that have something broken or what?

Im using your app since the first release in a lot of phones and this is the first time that i have that type of issues

Enviado desde mi C5503 mediante Tapatalk
[BetterBatteryStats] chamonix:
There seem to be some differences in the implementations of the batteryinfo service binder that cause that error. As there are no sources available it is a tricky problem to solve. But there is light at the end of the tunel (see my previous post) as I now can reproduce on my gnex with kitkat. I will hopefully be able to solve the problem there any with some luck the fix will also fix the problem occuring on other devices with previous android versions
[BetterBatteryStats] skorpioneMM:
Ah ok, then i asume that nothing is wrong with my actual phone, really?

If my phone are ok then im not worried about that.

If i can help you in any thing or try something that you need only say me.

Thanks for your support!

Enviado desde mi C5503 mediante Tapatalk
[BetterBatteryStats] chamonix:
Well once I have found a way around the problem on kitkat I will need some testers for other versions as I have no other test devices with the problem.
[BetterBatteryStats] Karpfenhai:
As soon as kk arrives on my nexus..

Don't wanna use Pac for that.

Tapatalked from my Galaxy SII
[BetterBatteryStats] chamonix:
Take your time. Fixing that problem will not be easy and I will probably spending the next days reading code and wrap my head aroung the differences. Then only I will be able to try alternate approaches to access the private API.
[BetterBatteryStats] Acuity:
I came here because I'm running KitKat and am coming across the error:

"The 'batteryinfo' service could not be accessed. If this error persists after a reboot please contact the dev and provide your ROM/Kernel versions"

At least it's not just me. Thanks for all you do! :good:
[BetterBatteryStats] w1ndhawk:
Hey, thanks for responding.

But, my news and weather app is already set to a refresh interval of 6 hours, in location settings everything is off and I always log out after using Facebook.

Could you tell me how you came to this conclusion?

Thanks a LOT! :)
[BetterBatteryStats] skorpioneMM:
But you're running Kitkat Android version and that seems a common problem with your android version.

Less common seems my phone that has suffering about this issue and Im in JB 4.2.2 he he.

Enviado desde mi C5503 mediante Tapatalk
[BetterBatteryStats] chamonix:
Your problem is BLN (backlight notification) that prevented your phone from sleeping for 5 hours
[BetterBatteryStats] sid9922:
Can someone explain my wakelocks and which apps are causing it.. Attached are my screenshot:
[BetterBatteryStats] yhrn:
To me it looks like the reason for most of your wakelocks should be under Alarms and your Alarms screenshot shows "ccc" at the top. I remember seeing a few pages back that there might be a problem with how BBS parses alarms and that "ccc" should really be something more. So check a few pages back for info about "ccc" and you might find out what it really is (and maybe some resolution as well).

Also, instead of screenshots you can post the file you get from "Actions->Dump to file" (the Alarms screenshot would still be useful though).
[BetterBatteryStats] geronimo_2:
Hi guys. I've been reading on this thread and got up to 30th page and run a test. I installed better battery stats and battery monitor.

Last night I charged my SII (with socket power) to 100%, rebooted and turned off Wi-Fi, BT, 3G, Sync and at midnight went to sleep.

the photos are in attach.

The battery at 97% wich I think is quite good no?

But I can see one long wake in the middle of the bar, what could it be?

I have stock 2.3.3 with CF-Root.

these processes I freezed with TB cos I don't need/use them and I think my battery life improved abit or maybe it's just a placebo:

com.orange.authentication.simcard.permission

game hub

IM

readers hub

samsung apps

social hub

social hub - SevenEngine.apk

Buddies now

yahoo finance

Zinio

Kobo

mini diary

talk

------

usually during the day I keep 3G and sync on, for Skype and GMail.

I have found that for example Viber and eBay app are running all the time in the background, can I disable these to run at start-up with Gemini App Manager cos I really don't need them to run all the time?

thanks.

edit1: guys please give me the advice. as I understand I always have my phone signal at yellow which as I understand is low. I guess it's due to phone having baseband for Dubai area. which modem would you recommend to me to flash for my area and can I change only that part for now and stay on current kernel and rom?

thanks.
[BetterBatteryStats] sid9922:
Thanks man..Ill search it then..
[BetterBatteryStats] Italian_Custom_Style:
Great app thanks!
[BetterBatteryStats] Karpfenhai:
Btw, as already mentioned, ccc is the Battery Monitor Widget, I froze it a couple of days ago and the alarm was gone, in my case it feels like the battery lasts longer now, and I don't really miss it..

During normal use, my phone now consumes approx. 10% battery in 8 hours, at night (flightmode) 1-2%, so 3 days on battery with average usage (no 3D games).

Villainrom 3.0 with Siyah 2.2 on lulzactive governor, works like a charme!

Special thx to Sven, du bist der beste! :-)
[BetterBatteryStats] zicovsky:
Thanks, I didn't know CCC was BMW, I'll freeze it as I have thousands of wakes from it.
[BetterBatteryStats] rodries:
It's a samsung problem, my fix

http://xdaforums.com/showthread.php?p=20138812
[BetterBatteryStats] heldchen:
yeah:

NetworkLocationPassiveCollector (com.google.android.apps.maps.Maps): 1 h 19 m 19 s (4759 s) Count:1651 6.2%

over a period of 21h :mad:
[BetterBatteryStats] Multisaft:
Hello together,

I found the battery_daemon again. Today with the requested bbs historylog.

Hopefully that someone can help.

Dropbox:

http://db.tt/a92CyxKS
[BetterBatteryStats] Kleine89:
Thanks for this! Will find out what's sucking my battery so fast! Avoiding that battery calibration.:rolleyes:

Update: l haven't really took a look in it, but it already managed to make my battery better.. it lasted over 14 hours today! I don't know how, but thank you! Now to enjoy my day off to look into this some more!
[BetterBatteryStats] yhrn:
This is really annoying, I can't get rid of this one (I'd like to keep Maps installed). I've even tried to disable Autorun completely for Maps and then kill the Maps process using Gemini but the process keeps coming back and the wakelock count and time keep increasing. Any ideas?
[BetterBatteryStats] MistahBungle:
Freeze Maps & unfreeze it when you want to use it. That's what I do.
[BetterBatteryStats] yhrn:
Yeah, I was thinking about that but I think it's a bit too cumbersome as I do use Maps fairly often. I can't even understand what Maps is doing in the background. I have never used Latitude and Maps is only supposed to pre-cache when charging and on wifi but it's always draining the phone.

I just find it so strange that one of Google's premier apps behave this way. I mean considering it comes pre-installed on a lot of Androids - does Google want the general opinion to be that Android means poor battery?

Sorry about the ranting, I just feel I was so close to my goal of having no major drainers without having to give up anything important to me and then this started happening :)
[BetterBatteryStats] chamonix:
What network providers do you have active? just asking because I use Maps latest version (with Latitude set to manual, no places) and use network location without seing that wakelock.
[BetterBatteryStats] Entropy512:
Been a while since I've been here - I just upgraded to 1.4.2, looks like kernel wakelocks are in much better shape than they used to be.

I'll take a closer look at them for issues in the next few days.
[BetterBatteryStats] beepsilver:
Could be you have other apps that use gmapps location service...check your apps that use location and ensure the settings don't allow to find your location. Also instead of freezing, you can go into menu > settings > applications > maps and clear data. That'll keep maps quiet until you access google maps again. Good luck.
[BetterBatteryStats] gorillaCF:
hi all.

i've been having problem with my phone being awake all the time, but yet when i checked BBS, no wakelocks have exceeded 1 hour. only the 'Awake' has been clocking for more den 10hrs since the last time i charged.

anyone have any idea on this?

pics as below (sry still cant post IMG tags.)

ht-tp://i.imgur.com/n5Zf2.png

ht-tp://i.imgur.com/puJnu.png
[BetterBatteryStats] beepsilver:
Post some screen shots of your userland wakelocks, kernel wakelocks and alarms
[BetterBatteryStats] mrQQ:
I also get repetetive could not contact service on i9505 TW S4.
[BetterBatteryStats] patsfann:
I'm running blue kingdom on a HTC evo design 4g & have your app set on its default settings , battery lasts 12+ hrs ....awesome app , BEST BATTERY APP !!!

THANK YOU :D just a noob & not sure about how to change the default settings don't think I need to... Best battery life I have ever had !!!!!!!
[BetterBatteryStats] Android-fany:
When I'm clicking on Network Tab, a error popup appears. I'm owning a Samsung Galaxy Ace S5830i running unofficial Cyanogenmod 7.2

Here is the logcat: http://pastebin.com/HFCu6h21

BTW, my bcm.sdhc.3 kernel wakelock is very high, even if my sd-ext partition is ext4. So any idea how to decrease this kernel wakelock without removing my sd-ext partition?

Gesendet von meinem GT-S5830i mit Tapatalk 2
[BetterBatteryStats] Perseus:
Within the News & Weather app, there's another settings to tell for what location do you tell Weather. It is this location that I was referring to.
[BetterBatteryStats] anthk:
Thx for the reply

I am wondering if you would be okay with a since unplugged log

Last night i tried to recreate the situation with boot. There was no wakelock problem anymore.

I rebooted with wifi and data turned off, i didnt use. My phone afterwards as well.
[BetterBatteryStats] w1ndhawk:
Oh okay, I got what you were referring to now. Set a custom location in the news and weather app.

However, I am still not being able to achieve 1:1 ratio between screen on and awake times. For example if I keep my phone idle for around 12 hours and use it for 1 hour, the phone remains awake for 2 hours which is 1 hour more than it should be.
[BetterBatteryStats] gorandroid:
Galaxy s4, partial and kernel Wakelocks. Unrooted.
[BetterBatteryStats] pjadec:
It is an excellent, no need to do anything
[BetterBatteryStats] j1gga84:
I can do what I want but the Wakelocks in attached screenshot (the first 2 - appwidget update and sync) won't stop. I did what [MENTION=3639717]Perseus71[/MENTION] suggested (disable Google Play, play services, Dialer and telephone app from auto start) but it did not help.

Maybe [MENTION=1330150]chamonix[/MENTION] has a suggestion for me?

Can I also disable config updater, exchange services (if I start email app manually?), Google partner setup and sim toolkit from auto start or do I need this for proper running system?

Thanks & regards

Sent from my GT-I9100 using german Tapatalk 4
[BetterBatteryStats] Perseus:
I doubt that will ever be achieved. There will always be some background processes that do need to do somethings. That's what a "Smart Phone" is about. You can go through the alarms to see, if you care for the ones that are still running are the ones you care. If not kill them. Here's an example. I listen to a ton of Audiobooks. So my screen is always off yet the DirectTrack and AuidoOut2 will keep the phone awake. Well, if my phone slept, I won't be able to listen now will I ? :laugh: Of course I have a difference between screen time and awake time. This accounts for it.

Hope that example helps.
[BetterBatteryStats] pjadec:
Something like this,

Deep Sleep (): 1 d 8 h 47 m 40 s (118060 s) Ratio: 90,6%

Awake (): 3 h 24 m 57 s (12297 s) Ratio: 9,4%

Screen On (): 2 h 56 m 39 s (10599 s) Ratio: 8,1%

Phone On (): 12 m 12 s (732 s) Ratio: 0,4%

There is no easy answer to that. Too many factors influence the outcome.
[BetterBatteryStats] rrrrrrredbelly:
Any solution for the wakelock "radio-interface"? Shows up under kernel wakelocks, I'm running the latest Carbon 4.3 nightly on the S4. In the 11 hours since my phone was last plugged in, I've had the wakelock 1430 times.

It comes up when I have data & wifi off. At work I cant use my phone so I turn both off.

Thanks

Dan
[BetterBatteryStats] XDA-Usr:
Nlp wakelocks driving me crazy

Samsung Galaxy S2 GT-i9100 running stock 4.1.2 (rooted).

NlpWakeLock and NlpCollectorWakeLock are driving me crazy but I can't work out what's using them.

I'm not using Google Now, and not using other apps I would like to (Facebook, weather, Flipboard, Whatsapp, etc) because I don't want to drain the battery even faster.

The drain seems inconsistent and does not seem to depend on whether I'm connected to Wifi or even if the wifi is enabled or not. If I put it into flight mode then the battery life is fantastic.

I am using Greenify but not app-killers like Juicedefender.

The dump was taken from a custom reference time during which the screen was off and I didn't touch the phone. It only received a couple of emails and right at the end a reminder (Col Reminder) popped up.

Is it possible to tell from this dump what the problem is?

Edit: Location history and location reporting are both off, and I'm signed out of Google+ and Hangouts
[BetterBatteryStats] Perseus:
If you are going to turn off Data and Wifi then some app or the other will whine about it and then you will get this error. So turn off master Sync and the Sync for any other apps like Social Media.

Turn Off Location Services (I know you did in EDIT yet do so) and then reboot to check the NLP service otherwise it will still report. Also are you on 4.3 ? If so you need to turn off under advanced Wireless Settings as well.

The Dump too is showing this as well. So you need to reboot and then take fresh dump after that. Current Dump has Hangouts being reported.
[BetterBatteryStats] XDA-Usr:
Thanks. I have had Location Services turned off for months and rebooted dozens of times since then. As posted above and confirmed in the dump, I'm running stock 4.1.2 (rooted).
[BetterBatteryStats] tomurbanowicz:
I need help with my problem with wakelock named RingtonePlayer - event after full wipe. I use Galaxy S4 (I9505) and CM10.2 (actually version M1).

​

My logcat in attach.
[BetterBatteryStats] code010101:
Widgets

hello, firstly my congrats for this great App :good:

secondly, could I suggest you to add a 3x1 and/or 4x1 widgets?

where the colour bars are shown on the right, instead of below the statistics ..

I think it would be easier to read, looks nicer end fit better on the screen, imho :)

cheers, Ste
[BetterBatteryStats] anthk:
Not sure if i got the dump settings correctly.

The first three pics are from my last post and i found that i actually had a dump file to go with it.

I generated another set with similar (less severe though) wakelock problem with more screencaps and a dump

There is no alarm dump because i havent rooted my phone yet

Thanks.
[BetterBatteryStats] davevinci:
Not yet working on Android 4.4.. Battery info service error...
[BetterBatteryStats] Perseus:
Yes I know you had said the Location was Turned off. But I see NlpCollectorWakeLock which makes you wonder. Anyway, Can you uninstall Google Search and Re-Install after a reboot ? If you don't need or use Google Now then please keep it uninstalled.

Please Turn off Gmail Sync off if you don't need Gmail that frequently. In Downloads app, please remove all the entries or wipe the data for that app.

Please post Text Dump rather than Logcat. Less stuff for me to wade through.
[BetterBatteryStats] tomurbanowicz:
I have not that Dump :/ I have got dmesg.log, last_kmsg.log else.

---------- Post added at 07:50 PM ---------- Previous post was at 07:09 PM ----------

Dump file: https://db.tt/dYql4dC6

I've noticed, that RingtonePlayer wakelock is after someone call.
[BetterBatteryStats] Perseus:
Ringtone Player may come on and off if your phone is on Ring not Vibrate. Depends on Kernel implementation.

I see Media Scanner going off. Please kill Meda Storage app from Settings >apps > All apps.

Other issue apps include Facebook, Gmail Sync and Hangouts. If any of these 3 are not used, please sign out or turn them off.
[BetterBatteryStats] wearyinside:
i will upload a more detailed dump file soon
[BetterBatteryStats] kingofcomedy:
Same for me.
[BetterBatteryStats] Skinpipe:
same here battery info error on nexus 5
[BetterBatteryStats] chamonix:
That confirms what I wrote earlier:

- kernel wakelocks do not show and awake and that is consistent to the awake/deep sleep data and with the serie

- the battery history shows awake times by connecting consecutive awake points even if there were deep sleep samples in between

Looking at that data and at the drain rate you have I would say that the battery history is wrong, BBS is right.
[BetterBatteryStats] chamonix:
I have added a notice to gplay and to the OP about KitKat. As the staged rollout did not really progress I have also switched to a normal rollout of 1.14.
[BetterBatteryStats] tomurbanowicz:
Do You suggest to turn off vibration in option for ring of call? I have no that wakelock on stock ROM - I have got that only on CM ROM. I'll test that, without vibration in options.
[BetterBatteryStats] Perseus:
Yes do that. Also try another Rom.
[BetterBatteryStats] XDA-Usr:
You're right. I had "Location history" and "Location reporting" off, but "Location services" still on as I regularly use maps and navigation which requires location services. But I have now tried turning that off too, rebooting and retesting. Surprisingly NlpCollectorWakeLock still showed a high wakelock count, though not NlpWakeLock.

I had already followed the suggestions in this thread a few days ago, deleting velvet.apk and uninstalling / rebooting / reinstalling Google Play Services and Google Search but didn't see any difference.

Another thought I had today was that it could be the Llama app that I run (similar to Tasker). I use it to switch off Wifi when I leave home and switch it on when I return which it does by recognising when it come into and out of range of cellphone antennas with specific IDs. However I tried freezing that app with Titanium Backup, rebooting and testing again, but the Nlp wakelocks continued. I still need to uninstall or freeze Google Now and see if that helps.
[BetterBatteryStats] anthk:
Thanks for solving the problem.

By the way, do you see any wakelocks that should be removed or ~1.7% per hour of drain rate is perfectly normal?
[BetterBatteryStats] maxsum:
With Kitkat my Nexus 4 never go to deep sleep:crying:

I'm desiring to know what wakelock cause that.
[BetterBatteryStats] ayamary:
Me too. Nexus 5, Android 4.4, stock kernel, stock ROM, etc
[BetterBatteryStats] Perseus:
If the wakelock is still persisting, you will have to check up on every app to see if it is Location Sensitive like Llama. There has to be some app that's triggering it.

If you are on 4.3, there is one additional place under advanced Wireless settings that you have to turn off. Also please install FakeGPS app. Set the location to some place within that app then observe.

Did you even install the app from OP ? There's no magic wand that will tell you unless you follow the steps.
[BetterBatteryStats] maxsum:
But BBS isn't compatible with kitkat now...
[BetterBatteryStats] Karpfenhai:
I hate to write this, but use wakelock detector and figure it out.

Tapatalked from my Galaxy SII
[BetterBatteryStats] Perseus:
Try the following command on Terminal Emulator.

watch -n 1 'adb shell "cat proc/wakelocks"

Or you can connect to PC and Run ADB Commands

adb shell dumpsys power
[BetterBatteryStats] ashishv:
IDK why u hate to write this,but maybe u didnt know that wakelock detector isnt compatible with kitkat as well.
[BetterBatteryStats] henry8668:
after did all the suggestions, I still randomly get lot of mmc* alert.

last night, it went crazy and keep the phone wake for long time.

"mmc2_detect" (): 1 h 32 m 46 s (5566 s) Cnt:(c/wc/ec)7850/0/7850 18.8%

"mmc1_detect" (): 1 h 19 m 8 s (4748 s) Cnt:(c/wc/ec)7850/0/7850 16.1%

"sec-battery-monitor" (): 1 h 6 m 56 s (4016 s) Cnt:(c/wc/ec)7716/0/0 13.6%

"mmc0_detect" (): 1 h 4 m 16 s (3856 s) Cnt:(c/wc/ec)7850/0/7850 13.0%

did wipe data/cache for media storage and music app, pop up sd card/re-insert, reboot, also did one time factory reset. :crying:
[BetterBatteryStats] Perseus:
Wipe Data for Google Search and Cache. It worked for some and I recall was posted earlier.

Nope, don't ask havn't the figgiest why it would work but did.
[BetterBatteryStats] henry8668:
Thanks Perseus71. didn't find "google search" in settings->application manager->all tab, where is it?
[BetterBatteryStats] itsLYNDZ:
Here are my stats. I know poor service is draining my battery, but is there anything else thats draining it? thank you!
[BetterBatteryStats] Perseus:
You are looking for app Velvet. Either that or use Titanium Backup

Play Store and MEdia scanner are draining as well.
[BetterBatteryStats] itsLYNDZ:
How can I stop them from draining? I guess I can kill play store but what about media scanner?
[BetterBatteryStats] Perseus:
Kill Media Storage.