yashsingh1/xdaforums huggingface dataset:
[BetterBatteryStats] scorchedsky:
It must be new...this thread is the only Google results for "NlpWakeLock", lol...they've calmed down since I've been connected to the same WiFi network for a while, and seem to get bad when I'm connecting/disconnecting to a bunch of WiFi networks (like when driving around - I connect/disconnect to at least 5 or so public WiFi networks on the way home from work)

Something to keep an eye out for...I'll have to do a little research to figure out what these wakelocks actually are.
[BetterBatteryStats] fndpena:
Hey people...

It's been a while since I read this thread the last time.

Anyone noticed that "Facebook messenger" drastically increased the number of wakelocks after some of the latest updates?

This thing is currently on the top of my list of most wakelocks.Disabling autostarts helps a little, but still...

Again, Facebook is screwing their apps.
[BetterBatteryStats] Casanoaa:
Friendcaster rocks
[BetterBatteryStats] BTT8:
It does but it doesn't show all updates. Thats why using facebook thru the the browser also rocks. :good:
[BetterBatteryStats] akarol:
I like it but it bugs out once in a while. Usually when I really want to post something quick too. So I gave up on it for the time being. The newest FB with Greenify seems to be a good combo.

I also need the ability to delete a post and FC doesn't have that yet.

Sent from my badass Samsung Galaxy SIII.
[BetterBatteryStats] fndpena:
Also, imho the interface is not good. A little bugged sometimes...

Currently I'm using facebook official app and freezing it when I'm not... No effect in battery life...
[BetterBatteryStats] fndpena:
Incredible how whatsapp have SO less wakeups than fbmessenger and it's notification system works way better...
[BetterBatteryStats] azrash:
I think they are using GCM to wake up the phone. Hence the less Wakeups. Just a theory!

Flowed from my Nexus⁴
[BetterBatteryStats] ogrillion:
I too noticed it gets worse with different wifi networks, driving home from work is when I saw the biggest increase. Now I may have solved it for me, not totally sure yet - I haven't seen the wakelock in about 24 hours (normally I would).

What I did was use autostart, had to make sure under view make sure nothing is checked. Then under google play services I disabled Location providers changed. I honestly don't know what this may break, but so far it has worked.. Use at your own risk basically :D *edit* had to reboot of course after making this change*
[BetterBatteryStats] snekiam:
Nobody? I would love help deciphering my logs.
[BetterBatteryStats] teemo:
For reference, link to your post: http://xdaforums.com/showthread.php?p=41465528

People here are generally very happy to help, they only ask of you to follow a few rules before posting. Please post new log again, but without using the phone (screen on only for making the log) .

Your log show 9.5h awake and 1.5h screen time. That's not bad. The problem is, that your phone never sleep. Something keeps it awake.

First thing, get rid of JuiceDefender, it does nothing good for android. Use other utils to stop services. Read the first 3 posts to get an idea.

Second, do you use tilting on Chrome?

(Suspend_Backoff flodding 41%)

http://xdaforums.com/showpost.php?p=28676218&postcount=24

Third, sec-battery-monitor is very active (20%), what is it?

Well this is not my area, so please make a new log and upload again for the BetterBatterySupporters :D
[BetterBatteryStats] iJiB:
Hi guys, I hope someone can help me with attached log.

I was using the same setup for months, and just today noticing that the battery drain was 2% per hour while some weeks ago it just consumes around 0.5% per hour when I let the phone idle with wifi on.

Really hoped someone can enlighten me :)
[BetterBatteryStats] Karpfenhai:
Could you repeat the test on speedmod kernel?

I guess if you disable Wi-Fi for a min. a decent amount of deleted_wakelock will show up, that's the explanation for the drain, just have a look then.

Tapatalked from my Galaxy SII
[BetterBatteryStats] iJiB:
tried installing speedmod and it gave me bootloop so i had to reflash ROM :(

Oh well, might as well do a clean flash and will check again if the battery drain improves :p
[BetterBatteryStats] amir.gol:
Hello people.

I hope you can help me locate the cause of a sporadic power drainage on my Sony Xperia S, running ICS 4.0.4, Kernel 3.0.8, internal build 6.1.A.2.45.

About twice a week, the battery would only last for about 6-8 hours, even under very light use. BBS and other apps would report that the phone was awake the whole time. A reboot, sometimes two, would solve it for a while, but a few days later the same thing would happen again.

Under Partial Wakelocks I see what seems to be the cause - WifiStateMachine (Android System) is holding a wakelock for about 90% of the time. Great. But what can I do about it? Why does the OS needs to check the Wifi state every 30 seconds or so?

I tried googling this issue and found a few others with the same problem, all of them owners of Sony Xperia phones, which leaves me with the suspicious that this is some bug in Sony phones.

The BBS log is attached. Your help would be much appreciated. And please be gentle, it's my first time :cool:.
[BetterBatteryStats] rignfool:
You can change your WiFi scan interval in your build.prop
[BetterBatteryStats] snekiam:
I have created another log with over 3 hours of idle time with chrome and Juicedefender disabled. I hope this helps solve the root of my battery problems!

link to previous post:

http://xdaforums.com/show...php?p=41465528
[BetterBatteryStats] RafaelCC90:
Love this app.. So, I bought the version of Play to contribute to the developer. Thanks!
[BetterBatteryStats] Karpfenhai:
Hey there, imho Wi-Fi state machine is a symptom, not the cause.

Do your homework, get rid of battery monitor widget, set exchange to manual pull or a longer update period, follow post 3 for maps.

After you're done, set your Wi-Fi policy to never in advanced settings, post another dump and let's see how it goes this time.

Regards

Tapatalked from my Galaxy SII

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

I'm sorry, but something is wrong with this dump, I recommend to plug / unplug the charger and leave the phone straight idle for another 3 hours afterwards.

Regards.

Tapatalked from my Galaxy SII
[BetterBatteryStats] kozmo21:
You are using an old version of this (1.9.2.1 )no kernel wakelocks or networks show up with this dump, use the latest (1.13.4). Make sure to enable root features so we can see alarms/network.

Btw, it wasn't 3 hours, only 1 hour 49 minutes... results will be better if it is closer to 4 hours or overnight.
[BetterBatteryStats] snekiam:
Here is a new dump:
[BetterBatteryStats] slayersparty:
In wifi advanced settings, I have "wifi active on sleep", I gotta put it to always right? (it says that never use more data)

I want to save battery ofc! But I'm not sure since apparently they modified the meaning of these advanced wifi settings during the different android versions!

Thx
[BetterBatteryStats] scorchedsky:
This has been working for the past 3 hours - I'll keep an eye out for any unwanted effects. Might be something they fix with another update to Play Services
[BetterBatteryStats] anshad666:
hey does anyone solve ma issue please...ma gti9100 eaten too much battry i donno how it is figure out am attaching dump file here..am only getin 1 hour more screen on with 50 percentage of battery consumption.. battry darain even in deep sleep i think some of wakelocks are enabled but i cant figure it out..does anyone help me please...:mad:
[BetterBatteryStats] ThePureHeart:
It looks like AudioOut_2 is a killer on your phone. It's due to background apps that use sound.

You haven't provided an idle log...

You really should charge your phone up 100%, Unplug, leave your phone alone for 4hrs and the post the BetterBatteryStats log.

Sent from ThePureHeart's I9300 Boss Edition
[BetterBatteryStats] Slymobi:
Eeeeeeeeeeeek !!!!! I could never leave my phone alone untouched for 4 hours :eek: 4 minutes is a struggle. ;)

Sent from my Nexus 4
[BetterBatteryStats] iamnotkurtcobain:
Yeah ;)

Gesendet von meinem GT-I9505 mit Tapatalk 2
[BetterBatteryStats] ThePureHeart:
Do it overnight :)

Sent from ThePureHeart's I9300 Boss Edition
[BetterBatteryStats] slayersparty:
Hello,

here are my logs, is everything fine ?

I don't know why i have nothing under alarms wakelock, my phone's rooted :o

I already did the maps advices with gemini !

several people using sentinelrom lose 0 % of battery during night, and it's not my case :(

thank you
[BetterBatteryStats] snekiam:
Your biggest wake locks are wlan_RX_wake and powermanagerservice. Wlan_RX_wakw is from your phone waking up to send data on WiFi. Powermanagerservice has something to do with partial wake locks.
[BetterBatteryStats] slayersparty:
so these things are "normal" ? they are usefull and I can't stop them ?
[BetterBatteryStats] slayersparty:
right now, when i go into settings ->battery on my gs3,

i have 60 % "android platform" then 8 % for display and the rest is < 8 (wifi etc)

Is that normal :eek: ?

I still have 85 % with almost 6 hours on battery !

that's why i don't know what is going on !

than you !
[BetterBatteryStats] snekiam:
I am not the number one person to go to on this, but that is not near normal battery life.

The main use of WiFi seemed to be gmail, so try turning its setting to a higher interval
[BetterBatteryStats] Ritesh:
Greenify Google Maps.

Use Friendcaster instead of facebook app.

You might get some more battery life.

I would also be happy if I could get %h less than 2 percent :D . But I can't due to my use of viber and the idiotic mobile networks that I have to live with.
[BetterBatteryStats] slayersparty:
you're talking about my case ?

I don't know how to modify the update interval for gmail, since its push notifications, I can't find the settings :/

and i don't want to disable the synch of google account since I want to know that I have emails at some point ...

i'm still wondering why "android platform" is at the top (with more than 50 %) when i go to settings ->battery
[BetterBatteryStats] Arkanius:
I'm having a high battery drain and I don't understand why.

https://www.dropbox.com/s/cras27xrdi1v6sr/BetterBatteryStats-2013-05-19_210628957.txt?v=0mcn

Basically, I always try to minimze wakelocks such as Google Now and Latitute, however, my battery still drains. I'm listening to perhaps, 15 minutes of music a day, and basically they are the biggest wakelocks I seem to get on my stats (AudioOut_2).

The rest although, I don't quite get what is leeching me battery. Sometimes I even get 10% per hour when I'm NOT playing music.

Right now it's sitting at 4%/h doing nothing. I used to get way less.
[BetterBatteryStats] fndpena:
Can anyone please take a look in my dump file?

I was doing 2 days without charging, something has changed :/
[BetterBatteryStats] Karpfenhai:
Please post a clean idle dump as stated in the op, tick root features as well.

Wi-Fi seems to be your culprit btw.

Tapatalked from my Galaxy SII

---------- Post added at 10:23 PM ---------- Previous post was at 10:21 PM ----------

Same for you, read the op and post 3 with care and provide another idle dump. Additional give speedmod kernel a try.

Tapatalked from my Galaxy SII
[BetterBatteryStats] Arkanius:
Wooops forgot it had to be a clean dump.

Strange, I have Root features on though.
[BetterBatteryStats] fndpena:
IMHO, siyah kernel is better than speedmod kernel.
[BetterBatteryStats] Karpfenhai:
In terms of what?

Stability? Battery life?

Or do we talk about useless features... ?

Tapatalked from my Galaxy SII
[BetterBatteryStats] fndpena:
Battery life. I'm not sure about stability, but I noticed a big change in performance when I first flashed siyah.

I would appreciate some opinions about speedmod because I didn't used it for so long.
[BetterBatteryStats] Karpfenhai:
oh really, that's the first time someone rules siyah over speedmod in terms of battery but hey I'm ready to learn. :D

Have a nice day.

Tapatalked from my Galaxy SII
[BetterBatteryStats] ha-oded:
Deleted
[BetterBatteryStats] GermainZ:
Provide an

idle

dump (quoting the OP) (screen on time should not exceed 1m):

Also, please edit your post and add [code] tags around the dump, and possibly [hide] tags.

[Code]/[hide] example:

<dump goes here>

Copy/paste this for the above example:

[PLAIN]
[hide]
[code]
<dump goes here>

[/hide]

[/PLAIN]

[/code]
[BetterBatteryStats] Noisemaker00:
Short battery life after flashing CM 10 on Samsung i8150

Hi guys :)

I flashed CyanogenMod 10 two days ago and i have some battery life issues.

Here's my Dump file, so if someone can help me i'm very grateful :D
[BetterBatteryStats] GermainZ:
Same remark as above - post an

idle

dump (you can take one overnight if you must use your phone during the day). :)
[BetterBatteryStats] hezokulet:
i need help.. deep sleep on my s2 seems not working.. ive been monitoring it using cpy spy . does anyone know what should i do? currently on dori v8.19.

http://xdaforums.com/showpost.php?p=41624794&postcount=23858
[BetterBatteryStats] sak-venom1997:
Hello dev after hours of digging into private android apis i am now successful in getting wake-lock info cpu time in diff frequencies network details and all the things which eat up battery but my request is could you help me get battery consumption out of this i know the android api does it via these values but how so could you please help???
[BetterBatteryStats] user1391:
NLPCollectorWakeLock is driving me nuts.

It appeared short after Google IO, so i suppose it has to do with the updated Google Play Services.

I suppose NLP means something like Network Location Provider...

Notice the attached BBS screenshots.
[BetterBatteryStats] :
Yes that's true. I uninstalled Google services update (version 3) and returned to version 2, and the wakelock disappeared. Google, I'm disappoint:mad:
[BetterBatteryStats] user1391:
This might help for the next days and maybe weeks, but with Google deploying more and more APIs through Google Play Services, this is sadly no long-term solution.
[BetterBatteryStats] atrix4nag:
12%+/hr drop, overnight

This is first time my wife's phone behaved like this. She always had a great battery life. but yesterday overnight it dropped from 100 to 15 in 7 hours.

What is the problem with this..

TIA
[BetterBatteryStats] chamonix:
I am sorry but what was the question? if you want to find the causes of drain just use BBS
[BetterBatteryStats] sak-venom1997:
I could use bbs but I always fancy doing things in a code of my own

No offence to you sir

Would you mind helping?
[BetterBatteryStats] chamonix:
I see. Well if you don't mind reading code here it is: https://github.com/asksven/AndroidC.../com/asksven/android/common/privateapiproxies
[BetterBatteryStats] teemo:
Might be a bad SD card.

http://xdaforums.com/showpost.php?p=30641581&postcount=59
[BetterBatteryStats] sak-venom1997:
Just what I needed the names of classes to refer thanks dev thanks a lot
[BetterBatteryStats] post-mortem:
Deep Sleep Battery Saver seems like a good fit for you. You can set it to turn off wifi & mobile data whenever the screen is off, or during certain hours of the night, then turn them on periodically. For example, turn data/wifi on every 2 hours, for 1 min, then go back to deep sleep.
[BetterBatteryStats] chc31:
Hey everyone :)

Would someone be able to help me to figure out what audioout_4 is? At first i heard it wads about notifications, then something about a media player still running int he background... but ive managed those and its still running.

Can someone help me figure out what it is and how to stop it? Just got a new HTC One, and its the only thing stopping me from great battery life.

Thanks!
[BetterBatteryStats] Karpfenhai:
Chrome installed? Dump please...

Tapatalked from my Galaxy SII

---------- Post added at 11:07 PM ---------- Previous post was at 11:04 PM ----------

If you disable Wi-Fi, how many deleted wakelock does appear?

That would be your culprit, I guess Wi-Fi is the killer, try better Wi-Fi on off.

Tapatalked from my Galaxy SII
[BetterBatteryStats] atrix4nag:
I am using the same SD card, from long time, and i haven't copied any new files to the sd card. still i will try a day by removing the card.
[BetterBatteryStats] Emmalfal:
Batter drain since Link2SD

Hi, battery people. I'm new to BBB, I picked it up after experiencing sudden and inexplicable battery drain after partitioning my SD card and installing Link2sd. I have doubts that there's a connection there, but damn if I can figure it out. Like so many others, a main culprit appears to be GTALK_Conn, although not consistently. I'm using an Optimus V, rooted with the Harmonia 2.08 ROM, which has been provided really good battery life for a year or more. I use Auto Wifi to turn wifi on and off depending on whether there's an available signal. I'm including my dump here and I hope I did it correctly. Kernel wakelocks and alarms are populated. The phone has been unplugged for four hours or so. If I did something incorrectly, I apologize. Reading through the forum, you guys have been heroic in providing help to the rest of us. Thanks for anything you can tell me.
[BetterBatteryStats] kozmo21:
You are using an old version of BBS, update to the newest v1.13.4.

This should also be an idle dump... you have over 37 minutes of screen on time, should be less than 1 minute... really only a few seconds.

Doesn't look THAT bad? Since you said you've been on this ROM for over a year (device has been out for 2 years), your battery could be on the way out? Try again with newer BBS app and make sure it's idle dump and we will try to help.
[BetterBatteryStats] Karpfenhai:
Okay, first, this dump is not idle, second the overhead is not much and the drain is reasonable, third your bbs version is quite outdated, read (fourth) the op for instructions, dl latest version from post 2 and follow all instructions given in post 3, in short do your homework. :rolleyes::p

Regards

Tapatalked from my Galaxy SII
[BetterBatteryStats] Emmalfal:
Gotcha. Downloaded the latest version and I'll make sure it's an idle dump next time. Thanks for the input.
[BetterBatteryStats] chc31:
yea i have chrome, its installed by default but its disabled. the file is attached, thanks!
[BetterBatteryStats] fndpena:
Do you know if I can flash speedmod kernel over Siyah?

I'm thinking about flashing it...
[BetterBatteryStats] Karpfenhai:
Afaik siyah does not have the home button bug so yes should not be a deal breaker. beware, flashing a kernel requires always wipe cache and dalvik.

Tapatalked from my Galaxy SII
[BetterBatteryStats] bilals91:
Battery Drain

Dear Friends,

I need help finding out why my battery drains fast. Any help would be appreciated. I have attached the log as in the OP. Please help.
[BetterBatteryStats] Casanoaa:
Disable autoupdate of google play. This is biggest issue.

10125 (Wifi) (com.android.vending.Google Play Store): 27.0 MBytes 99.0%

After this provide an idle log. Unplug and leave phone 4 hours without touch and dump a file.
[BetterBatteryStats] bilals91:
AUtoupdate has already been disabled. I downloaded an app maybe this may be the reason.

Can you please explain No or unkown signal and No data Connection. I am getting good signal but still this persists. I have changed multiple ROMs.
[BetterBatteryStats] Karpfenhai:
Normal if Wi-Fi is turned on, that's just the way Android reports the signal, should be a part of the faq if not already contained.

Tapatalked from my Galaxy SII
[BetterBatteryStats] BlackBull88:
anyone got a clue why my battery drains, despite most time in deep sleep

thx in advance
[BetterBatteryStats] Casanoaa:
We can't see much in this dump. But see for maps improvement in post 3 in this thread.

com.google.android.apps.maps (com.google.googlenav.prefetch.android.PrefetcherService)

Active since: 30 m

Last activity: 1 h 44 m 34 s

Enable Alarms and network in bbs app to see more.

Provide an idle log and dump a file.
[BetterBatteryStats] Casanoaa:
Please use a PC or a cloud service to upload a dump.
[BetterBatteryStats] Kitschki:
Does anybody have a better wifi on/off for data? The smart data switch trial ended and additionally it waked the device ㅠㅠ
[BetterBatteryStats] fndpena:
Should I switch siyah options back to default before flashing the new kernel? Or is not necessary?
[BetterBatteryStats] Karpfenhai:
Not neccessary if you dont use custom init.d scripts, best approach, use a kernel wipe script if available for your device, stop worrying, if it will not work, just keep a copy of your current Kernel on your SD, recovery will work anyway..;)

.. or odin..

Switching kernel is like changing Coffee machine, the brewing speed might be different, but the result is always coffee .. :)

.. Take a backup ..
[BetterBatteryStats] fndpena:
I know, but caution is always good. I did a nandroid backup just in case... :)

I just flashed speedmod and wiped cache/dalvik. Everything went fine.

What exactly the "kernel wipe script" removes?

Btw, I never used init.d scripts...
[BetterBatteryStats] MichunB:
feature request

could you implement multiple custom references? I think it could be good
[BetterBatteryStats] Karpfenhai:
it wipes all traces of the former kernel but normally it's not needed to use, I'm quite curious for the difference to siyah,I hope you will gain about 20% more battery, I cross my fingers!

Guess you will not regret it, please share your experience.

Tapatalked from my Galaxy SII
[BetterBatteryStats] fndpena:
I hope so. I'll test and post results in 1-2 days.

Thanks for the tips...

---------- Post added at 03:29 PM ---------- Previous post was at 03:11 PM ----------

Do you guys ever used "Greenify" from play store?

I started to use it a couple of days ago.

You can select some apps to hibernate when not in use.

Seems to work. All the alarms (BBS) from the apps that I selected are gone.
[BetterBatteryStats] Fishbone07:
I just bought the app!

Thanks man! :good:
[BetterBatteryStats] fndpena:
What app?
[BetterBatteryStats] Fishbone07:
BetterBatteryStats of course?!
[BetterBatteryStats] Casanoaa:
Yes greenify works well with user apps
[BetterBatteryStats] Edwrib:
About the new network location provider (nlp inside new Google services), I disabled the gapps location, inside settings>accounts>google>location and seems the NLP wakelock has stoped.

Since this location is only for gapps (not the default location options in settings>location), only NOW, G+ and maps will have side effect, I think.

Anyone tried this too and know any other app with issues is location?
[BetterBatteryStats] fndpena:
And you can always convert system apps to user apps with Titanium Backup...
[BetterBatteryStats] andrewilley:
Sorry, I thought it had pasted OK inline. Here's the dump as an attachment.

Andre
[BetterBatteryStats] Casanoaa:
See post 3 in this thread for minimizing maps wakelocks.

Setup your router and phone to static ip. In phone wifi/advanced settings and enter the ip you have before getting in here in settings.

Also use manual pull for mails.

Greenify these apps and disable autoupdate and autosync:

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

10093 (Wifi) (bbc.mobile.news.uk.BBC News): 917.0 KBytes 48.3%

10126 (Wifi) (com.facebook.katana.Facebook): 240.0 KBytes 12.7%

10097 (Wifi) (org.kman.AquaMail.AquaMail): 175.0 KBytes 9.3%

0 (Wifi) (0): 149.0 KBytes 7.9%

10083 (Wifi) (com.hootsuite.droid.full.HootSuite): 131.0 KBytes 6.9%
[BetterBatteryStats] -sandro-:
guys do you have idea what the hell "mdm_hsic_pm0" is? It never let the phone enter deep sleep for 2h! I searched for it and all the suggested causes

were not correct. I thought it was wifi or 3g (fast dormancy) or lte but even putting the phone in airplane mode it still runs.

A reboot fixed for a while but now it's back, I have no idea how to debug it.
[BetterBatteryStats] Casanoaa:
Please provide an idle log. Unplug and leave phone 4 hours without touch and dump a file.

It is the new name for l2_hsic. You can read about that in github and if you google it.

Many times it is the network data connection. Example if your phone downloads updates syncs in 3g/gsm/4g.

Also cleaning your usb pin could help on removing that kernel wakelock.