yashsingh1/xdaforums huggingface dataset:
[BetterBatteryStats] itsLYNDZ:
How can i keep this from running on startup? and why does it run in the first place?
[BetterBatteryStats] vibes340:
smd_partial_wakelock and power management service is preventing phone from sleeping.
[BetterBatteryStats] Perseus:
Use Startup Manager for the first question.

Its supposed to catalog your music collection is the answer for the second question.
[BetterBatteryStats] itsLYNDZ:
So it will randomly start itself? I see. Does it look like Greenify is draining my battery? Ive been using that to keep the Google Service Framework process in check.

Can I use Titanium backup to convert media scanner into a user app and then use Greenify to hibernate it?
[BetterBatteryStats] Perseus:
Media scanner won't start randomly. If you do remove it from the startup, it will be much more well behaved app.

I'd rather do this mod.
[BetterBatteryStats] itsLYNDZ:
I used that mod for GSF. Im using Autostarts and I have already done the GSF thing. Also used TB to make them into convert them into user apps and then use Greenify to keep them hibernated if they do become started. I just want to know how to keep Media Scanner from auto starting.
[BetterBatteryStats] Perseus:
Remove it from Startup using AutoStarts. If your rom supports, you should have Settings>Advanced>Mediascanner behavior. Change it to never scan media.
[BetterBatteryStats] itsLYNDZ:
My rom doesnt have that but I can disable it under Media Scanner.
[BetterBatteryStats] Perseus:
That should do it.
[BetterBatteryStats] Dreadsteel:
Getting crazy location services wakelock.

I'm wondering which location services I should disable? Settings or from goggle settings?

I know that if I disable the "use wireless networks" under location services in the settings, it will mess it the snapdragon battery guru app.

Anyway I can kill that wakelock without messing with the snapdragon battery guru app.

Log attached and my current location settings attached.

Thank you
[BetterBatteryStats] Perseus:
Short answer no that's not happening. I have been in talks with the Qualcomm support staff Regarding Battery Guru. They realize that and will eventually have a release hopefully. Until then there's nothing you can do to not have that wakelock. Not unless you want to remove or cripple battery guru.
[BetterBatteryStats] foosion:
Are yelp and currents the main problem here? See network section.

I realize turning off location services would help with nlpwakelocks, but do not want to if there are other solutions.
[BetterBatteryStats] Perseus:
Gmail Auto Sync is equally big problem here. Also I see a lot of Google Map activity. Have you navigated recently ? If not then make sure its not auto start.
[BetterBatteryStats] chamonix:
Just a little update to let KitKat users know that they are not alone.

I am in contact with the devs of wakelockdetector and gsam and we are sharing our insights and angles for a solution.

The cause: I can not tell you much yet but the problem we are facing is due to a single commit by google revoking the rights for normal apps to access the batteryinfo services (renamed batterystats in KitKat). This has been addressed to google with proper concerns and we are awaiting an answer before taking further actions.

Now what does that mean for BBS:

- other stats is affected

- kernel wakelocks is not affected as I have removed the dependency the the android API a few releases ago

- partial wakelocks is affected

- alarms is not affected as I have removed the dependency the the android API a few releases ago

- network is not affected as I have removed the dependency the the android API a few releases ago

- cpu states is not affected as I have removed the dependency the the android API a few releases ago

- processes is affected

We are now working on different approaches but the good news for BBS are:

- the impact is not overall as the dependency does not affect all stats (of course as of now 1.14 is not usable but that is easy to resolve for the stats that are not affected and I have a test version running on my phone right now)

- I have found a workaround for partial wakelocks and am testing as I write

- processes is not that a big deal, ps always does the trick and can be parsed

- other is an important stat and I will keep on investigating on this one. Depending on how my night goes I may post an update or release a first experimental version with what I have right now.

Of course all my work is shared so that the other affected devs can benefit and hopefully recover the full features for their apps as well.
[BetterBatteryStats] kingofcomedy:
Sounds great. I am sure a lot of kitkat-users are willing to test a new beta-version.
[BetterBatteryStats] Dreadsteel:
I see. I don't mind removing battery guru if I can get rid of having network location locator waking my phone up for over and hour during a 8 hour idle period.

Which location settings should I turn off for that to go away?

My current location settings are attached to my previous post.

Thanks again.
[BetterBatteryStats] Perseus:
Ideally both places you listed. But that will semi-Break Google Maps. You will want to just Turn off Access to my location under System Settings. Yes this will turn off Wi-Fi as well as GPS.
[BetterBatteryStats] foosion:
No navigation. I rooted the phone, restored my apps, charged it and produced a BBS report.

Is Gemini App Manager still the recommended way to stop auto starts?
[BetterBatteryStats] chamonix:
First beta of 1.15 is up. This version has no changes from 1.14 for pre-kitkat users. For kitkat users 1.15 recovers partial wakelocks and very primitive "other" stats (only deep sleep time) as long as you have root and have enabled the root features in the advanced prefs. For kitkat that means that "process" stats are still missing but the application should be functional.

If you don't know how to report bugs please make sure to read the 3 first posts of this thread.

Enjoy!
[BetterBatteryStats] itsLYNDZ:
I disabled media scanner but then my photos in gallery wouldnt show up. So I enabled it again. Is there a way to get a handle on it running? I used Autostarts to keep it from starting at startup but it still did... Is there a better app to use to control startups?
[BetterBatteryStats] Karpfenhai:
Nope, use system tuner, autostarts or autorun manager instead, Gemini seems not longer be reliable.

Regards.

Tapatalked from my Galaxy SII

---------- Post added at 12:13 AM ---------- Previous post was at 12:11 AM ----------

Try system tuner, the green one.

Or stop rebooting... ;)

Tapatalked from my Galaxy SII
[BetterBatteryStats] itsLYNDZ:
What Google Services Framework are safe to make not start at startup?
[BetterBatteryStats] Dreadsteel:
Turning off access to my location and or turning off access to location in Google settings will stop goggle maps from locating my current location right?

And if I want to use Google maps I would have to manually turn these settings on every time?
[BetterBatteryStats] Anurag73:
I am using HTC One X cyanogenmod 10.1.3 but I can't find the BetterBatteryStats-.txt and logcat-.txt in /sdcard or in /sdcard/Android/com.asksven.betterbatterystats/files. I dont even have the com.asksven.betterbatterystats folder in /sdcard/android/data. I have a folder named com.asksven.betterbatterystats_xdaedition in /data/data folder.
[BetterBatteryStats] Kitschki:
What is this sync subscribedfeeds account wakelock? It keeps giving me 100% awake times...
[BetterBatteryStats] Hopper8:
[MENTION=4355376]Karpfenhai[/MENTION] just to continue the discussion from Apolo kernel thread (OT in there but not here).

I disabled the GCM receiver from play services like you mentioned. No luck, my signal bars are still blue and accessing google services. Did you disable anything else? I'm using system tuner.

I have hardly disabled anything from google play services mostly, but mostly from google services framework according to the link in the first few posts of this thread. Is there a list of things of what is safe to disable for Google play services? If so, where would I find it? Many thanks.

Sent from a galaxy far, far away
[BetterBatteryStats] Karpfenhai:
Here you go:

Tapatalked from my Galaxy SII
[BetterBatteryStats] tomurbanowicz:
It did not help... I have got that wakelock (RingtonePlayer) again - no deep sleep...
[BetterBatteryStats] foosion:
I Force Stopped yelp and cleared its data. I then plugged in unplugged the phone to clear battery data. After a while, yelp re-appeared in the network section of BBS.

If the app is stopped, how can it keep running?
[BetterBatteryStats] Hopper8:
Absolute legend! Thanks so much :)

Sent from a galaxy far, far away
[BetterBatteryStats] Karpfenhai:
Use greenify for that purpose

.

You're welcome.

Tapatalked from my Galaxy SII
[BetterBatteryStats] foosion:
What does Force Stop do if not stop the app from running? Or, if Force Stop stopped it, how did it restart?
[BetterBatteryStats] Karpfenhai:
That why apps have certain receivers like "connectivity changed"which triggers them to auto start themselves.

Greenify will prevent this easily.

If you are more experienced you can use other apps to adjust this behavior manually.

Regards

Tapatalked from my Galaxy SII
[BetterBatteryStats] foosion:
Are there apps that do not require root that will let you prevent yelp or other apps from auto-starting themselves?
[BetterBatteryStats] Perseus:
All the apps would do the same thing. What you can do is wipe data for Media Storage app. Then reboot the phone and let it sit idle for 2-3 hours. Afterwards reboot again. Hopefully that controls the problem. You can see if under settings there's way to control Media Scanner behavior ? Set it to Disable after second reboot.

Yes & Yes.

Depends on the Rom & Android Version. Look under /data/media.

Do you have any RSS feeds or apps ?

Afraid not. You can disable Yelp in Settings > apps.

What format of Ringtone are you using ? Also please remove Phone and dialer from Recent apps list after each call. Did you download a lot from browser on the phone ? Instead of Auto Sync, see if you could sync Gmail manually each time.
[BetterBatteryStats] foosion:
My only options are Force Stop and Uninstall. No option to disable.

Yelp restarted even though I froze it with System Tuner, or at least it showed up in BBS stats (even after a reboot and plug/unplug). This makes no sense to me.

In very brief testing, uninstalling it significantly improved battery life. I'll have to test more to make sure this is not just a coincidence.
[BetterBatteryStats] Perseus:
Then uninstall it.
[BetterBatteryStats] tomurbanowicz:
I use mp3 and ogg format of ringtone. I have no problem with sync of gmail etc. Only from time to time I have got the ringtoneplayer wakelock, and I do not know why...
[BetterBatteryStats] Perseus:
I was rather suggesting that you switch Gmail to manual. Its the second highest drainer with Auto Sync.

I don't think ogg would be natively supported by adrino.Or whatever your chipset your phone has.
[BetterBatteryStats] tomurbanowicz:
Native format in CM is ogg.
[BetterBatteryStats] Perseus:
True but unless hardware supports the format, Software decoders will most likely introduce Wakelock. CM's implementation of the playing Ringtone may not be re-releasing the Partial Wakelock. I don't use CM or OGG so difficult to say. What's your device ?
[BetterBatteryStats] goughymachine:
I've been struggling to get any decent battery out of my S3 since updating to wanamlite 7.2, the new 4.3 release. I've greenified a tonne, and frozen stuff I was sure that I could, but it still seems to be losing 5% an hour, overnight while asleep. All the apps I have are the same as I had on wanam 6.8, android 4.1.2, and I've in fact greenified even more than I had on my previous version.

Here's the dump. Any thoughts?
[BetterBatteryStats] Perseus:
Location Service went Ape. Do you have Location Sensetive apps running in background ? Such as Google Now, Weather Widgets and so on.

Samsung Sync is the second biggest culprit. .IMHO don't use that crap. If you want to sync, do so with Google servers, which I might add you are doing anyway.
[BetterBatteryStats] goughymachine:
Thanks, must have missed freezing the samsung sync. I don't use any of their apps anyway, so it slipped by. I use a beautiful widgets day widget and their live wallpaper, and google now. But, knowing they would use more of it up, I always have used them and did prior when I was getting less than 2% an hour. I was happy with that to keep those apps.
[BetterBatteryStats] Perseus:
Roms tend to have their own internal issues or bugs or what have you. So sometimes a newer version of the same Rom may come out to be more battery drainer. These issues may not be immediately apparent in BBS Text Dump. You have to observe behavior while using the phone.
[BetterBatteryStats] tomurbanowicz:
My device is Galaxy S4 (9505). I have that wakelock not always after the call (ring of call).
[BetterBatteryStats] Kitschki:
Removing my account fixes the sync wakelock, but readding any account comes with com.google.process.gapps crashes and the said wakelock..
[BetterBatteryStats] crypticc:
Hi. Nexus 5. BBS 1.15 b1. Partial Wake locks reported twice for every one. Is that known or unknown.

cheers

Chris
[BetterBatteryStats] Perseus:
Have you investigated the crash on your Rom's thread? wipe and reinstall Gapps maybe? Or Gapps not patched for multidpi?

Can you try stock ringtone for testing?
[BetterBatteryStats] tomurbanowicz:
Here is similar problem with this wakelock (there is the logs):

http://forum.cyanogenmod.com/topic/80151-extreme-battery-drain-in-cm-102-due-to-wavelock-issues/
[BetterBatteryStats] MrJukeHardbane:
What does wakelock AudioOut_2 does? I didn't listened to music or anything and it showed running for around 20 mins.
[BetterBatteryStats] phanitej:
Even if you play games or you get messages or calls it would show tat wakelock. Everytime the speaker is used this wakelock comes up.
[BetterBatteryStats] Karpfenhai:
Or...do you have viber installed?

Tapatalked from my Galaxy SII
[BetterBatteryStats] tomurbanowicz:
Now I have got a big wakelock: MQTT (com.facebook.katana.Facebook)...
[BetterBatteryStats] foosion:
See underlined words. :p

Alas, no battery life improvement.
[BetterBatteryStats] Perseus:
Well the text in Paranthesis says it all. Loose the Poorly written app that doesn't follow its own settings.

I hate to say this, but try Greenify Yelp
[BetterBatteryStats] chamonix:
I have an idea and it should be fixed on B2. Thanks for the feedback
[BetterBatteryStats] vibes340:
How can I stop this wakelock. sdm_partial_wakelock
[BetterBatteryStats] Perseus:
Did you earlier have a notification of System Update ? If you did then most likely you ignored at the time. Please let it install completely, then reboot.

If there's no notification at this time then manually check for system update under Settings
[BetterBatteryStats] aimetti:
anyone have a nexus 5 / kitkat 4.4 and having high drain from

nlpcollectorwakelock and com.google.android.gms

I know they deal with google services and location based stuff but the options for location are different in kitkat. It seems I cant just block google apps from location. Instead it turns off everything location based.

Any idea?
[BetterBatteryStats] Perseus:
As with previous versions. Turn off Location Reporting unless you are actually navigating.
[BetterBatteryStats] XDA-Usr:
Perseus71, we're getting there. I uninstalled the Google Search package (which is Google Now) and reinstalled it, and the NLP wakelocks stopped! I had done that previously so I'm not sure why it didn't fix it before.

I have had Google Now turned off but want to keep it installed for the voice recognition functionality.

One thing that seems to have changed since my messing around with location is that in the web browser, the Google Page shows "Location unavailable - Use precise location", and other web pages that use location (like a weather site) can't access the location either. However apps that use a location can access it.

I have Precise Location enabled in the preferences of the Google web page, on my phone's location settings have enabled "Location and Google Search", and rebooted several times.

I turned on Google Now to see if it would fix the "Location unavailable" problem. It didn't but it did bring back the NLP wakelock problem which went away again after I turned Google Now off.
[BetterBatteryStats] aimetti:
yea man I already did but its still running wild.

it only stops when I turn my entire location off all together. Google play services still running even when turning off reporting.
[BetterBatteryStats] Perseus:
In the Browser's advanced settings, there should be Report Location setting. Turn that off. Also turn off Precise location reporting. Both will kill battery without apparent benefit to you. Google does benefit knowing your precise location at all times or when you search for something. If weather widget is a problem for location then set a location manually in there by entering zip code or whatever.

I meant to completely turn off location reporting. Do so unless you are navigating.
[BetterBatteryStats] chamonix:
1.15_B2 is up with more "other" stats and fix for duplicate partial wakelocks (kitkat). Please post your feedback if you test on kitkat.
[BetterBatteryStats] shakuyi:
So far so good all stats appear to be there and I do not see any duplicates. It also appears to be much quicker to pull stats since B1.
[BetterBatteryStats] abejoker:
Thanks for this!
[BetterBatteryStats] NZgeek:
Ironically, uninstalling Snapdragon Battery Guru may well increase your battery life.

I installed SBG in the hope that it would increase my battery life. I'm not doing anything special on my S4, leaving most of the syncs enabled on 3G, with WiFi active but not connected. Prior to installing SBG, I would have about 60% battery left by the time I got home after a work day. With SBG installed, same usage patterns and same ROM version, I was only getting 40% left.

BBS clearly showed that SBG was the problem. It was causing a good 50% more alarms than the app in 2nd place, and the phone was in higher CPU usage states more often.

Try disabling SBG via its settings and see if your battery life improves much.
[BetterBatteryStats] XDA-Usr:
OK, I've turned off Precise location reporting. There's no Report Location in the browser's settings (I use Naked Browser) but it is off in Google Maps settings.

But UGHHH!!! the NLP wakelocks came back again (I think it was as a result of temporarily enabling Google Now). I had to uninstall Google Now again and reboot a few times to stop the wakelocks. I think it's okay now.

Hopefully this is cased close now. Thanks for your help!
[BetterBatteryStats] :
When I installed the update yesterday a new reference was created for unplugged. But now that I charged my mobile and really unplugged it I get the "batteryinfo service could not be contacted" message again.
[BetterBatteryStats] fxba77:
================

Kernel Wakelocks

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

"BatteryService" (): 10 h 45 m 10 s (38710 s) Cnt:(c/wc/ec)1/0/0 61,1%

"" (): 10 h 45 m 10 s (38710 s) Cnt:(c/wc/ec)1/0/0 61,1%

Can somebody tell me what batteryservice and the line after batteryservice mean? It make my device not go to deep sleep..

i'm on galaxy s4 i9505 with andoird 4.3 ROM Omega 13.2
[BetterBatteryStats] :
It also seems like the B2 drains a lot of battery. I got plenty Android OS on my android battery stats. I guess it's from the app. This morning when I unplugged the N5 I had -10% battery after 30 minutes :-S
[BetterBatteryStats] TheeWolf:
A friend of mine has the Nexus 4. He is getting a battery drain over night (18% lost).

I'm uploading his BBS log file, would appreciate if you can find the problem.

Thank you.
[BetterBatteryStats] alex_canada:
KitKat Support

Hi,

Is the latest 1.15.0.0_B2 build properly working on Nexus 5 running KitKat?

Thanks!

ps: my signature is old...keeping it for historical reasons
[BetterBatteryStats] casujo18:
Thanks

Enviado desde mi GT-I9300 mediante Tapatalk
[BetterBatteryStats] Perseus:
I hate to admit but you are right. What you described happens during the Learning Mode. Afterwards the RILJ Wakelock caused by SBG's demand for location kills the battery. The last nail in Coffin was the fact that once SBG turns off Wireless, you need to reboot to get Wireless on again.

I have reported case to Qualcomm Support.

These are standard Catch all Kernel Services for all things battery.
[BetterBatteryStats] j1gga84:
I will ask for a second time and hope that somebody can help me because the wakelocks in attachment are very annoying.

Mainly this are 2 wakelocks under android:

android.appwidget.action.APPWIDGET_UPDATE --> is this the clock from beautiful widgets?

and

android.content.syncmanager.SYNC_ALARM --> I have disabled sync in settings!

what is the second wakelock: com.android.internal.policy.impl.PhoneWindowManager.DELAYED_KEYGUARD ?

Btw.: how can I disable play store properly from autostart? Is it necessary to change it to an user app? If yes, how can I do this? With titanium backup?

Many thanks in advance

Regards
[BetterBatteryStats] Perseus:
If you need help with Wakelocks, post Partial Wakelock screen along with Alarm screen.

You can use Startup manager or Autorun manager to prevent apps from loading at startup. While there, uncheck for Phone and Dialer. That should bring your wakelock in question down.
[BetterBatteryStats] chamonix:
Well guessing is not our thing. Why not upload a dumpfe so that we can verify?
[BetterBatteryStats] chamonix:
Seriously?
[BetterBatteryStats] Perseus:
Its Ok chamonix. Stupidity is an incurable disease of morons.
[BetterBatteryStats] alex_canada:
What's so stupid in asking if that tool is working in KitKat? I saw the changelog was mentioning KitKat fixes and I was curious if you guys have some more info.

No need to pretend you're a smart cookie.
[BetterBatteryStats] Perseus:
If you had read the last few posts in addition to OP then you'd have seen.

1. The latest update was explicitly written for 4.4 despite challenges with Google Commit.

2. Other Nexus 5 Kitkat users have confirmed this update is working as designed
[BetterBatteryStats] alex_canada:
At the time I posted my message I read a few messages on the last 2 pages and they were all about Nexus 4 and Android 4.3. I'm also not posting much in this forum so I'm not aware of your rules.

That being said...wouldn't have been easier to just reply with Yes or Please read previous messages on that topic?

What benefit are you getting from being just rude, not smart?
[BetterBatteryStats] Dreadsteel:
Thanks for your input. I did uninstall the app. And it seems my battery got a little better.

I had less wakelocks due to the app and in the end increased my battery around 5 percent lol
[BetterBatteryStats] Dreadsteel:
May I get some info on those wakelocks that I pointed to?

Thanks!
[BetterBatteryStats] rocada:
PLS Help me:

https://db.tt/iAzL3BOf

Android OS is my #1 consumption.

Thx.

Sent from my android with Tapatalk 4