yashsingh1/xdaforums huggingface dataset:
[BetterBatteryStats] chamonix:
You can't with those indicators. What you are looking for is cell voice connection stats, those stats are for cell data connection status.
[BetterBatteryStats] islipfd19:
Turn location services off in your settings.
[BetterBatteryStats] Karpfenhai:
I would recommend a reboot first...

Does it stop in flightmode?

Tapatalked from my Galaxy SII
[BetterBatteryStats] dizzle91:
Admittedly this is during light use, but i don't think its to shabby for my first attempt to get the most battery usage out of my phone. Any suggestions to make it better? Lol there is always room for improvement.
[BetterBatteryStats] GermainZ:
You can use [code][/code] tags to hold the dump, and optionally [hide][/hide] tags to make it hidden by default, like I did in your quote.

Disable location/GPS services, consider syncing FB/Gmail manually.
[BetterBatteryStats] donsmith1964:
Thanks. GPS is turned off. Facebook is set to never sync. Battery guru should stop it if it tries.
[BetterBatteryStats] lanwarrior:
How did you get BBB to show the percentage like this? Mine only shows the time (minutes, seconds, etc.) and the long bar.
[BetterBatteryStats] Karpfenhai:
That's a cute one :D

Since he is the developer of this app he might be able to see new features first..

You should get in common reading the op of a thread first...

Made my day! :cool:

Tapatalked from my Galaxy SII
[BetterBatteryStats] Att.Fan1982:
Has anyone experienced the circled issue in the attached screen shot?

Sent from my Incognegro Jedi-Powered Note 2
[BetterBatteryStats] jacknicholson:
I've got that, with the following stats: 4s / Count: 173 (yikes) / 0.2%. This is after just 39 minutes after my last boot. No idea what it means, but at least it's not eating much of the battery.
[BetterBatteryStats] islipfd19:
That I'm not sure of.
[BetterBatteryStats] atrix4nag:
This is my todays build. I am using these same settings from manydays, but I never had 10% per hour battery drain at anytime. I know i am using viber and google+ sync on. but these settings i am using from long time. Is there anyother thing causing so much battery drain?
[BetterBatteryStats] pjadec:
An interesting problem which I really can not say anything. Is the battery may be damaged or possibly poor signal reception. Do test, make new dump without wifi, to see if there are more info to solve that problem.
[BetterBatteryStats] myxcon:
Since about 3 days ago (when I first installed asphalt 8 and played about 30 mins a day) I'm getting as much awake time as sleep time. Any insight?

Log attached

http://db.tt/UFeMBceD
[BetterBatteryStats] lanwarrior:
Just an update...

After days of monitoring my Galaxy S4 Active (S4A), here is what happen:

Connected to Wi-Fi

Thousand of wlan_rx_wakelock

Connected to cellular (3G/4G)

Thousand of deleted_wakelock

Something must have initiated the network connection and when it couldn't see the Wi-Fi, it keep deleting whatever wakelock there are.

At the end, it woke my phone about 50% of the time, so I can't have more than 8 hours of battery life. This is just like my old Thunderbolt phone.

I am rooted, stock ROM. I tried factory reset, not using any 3rd party app,etc to no avail.

I do see in the firewall log and network log, the KERNEL is sending and receiving tons of packet.

So it looks like Samsung made something to the OS that caused this.

Either that or the root cause it.
[BetterBatteryStats] Karpfenhai:
hmm, i need you and or someone else to do me a little favor .. in terms of multicst traffic...

okay here we go:

1. Open ADB shell or a terminal on your device.

2. switch to root

3. issue the following command:

# busybox ifconfig wlan0 -multicast

4. close terminal

5. measure a certain time and see whether wlan_rx_Wake will decrease or dissapear.

If you want these changes persist after a reboot, issue this command as root:

# echo "busybox ifconfig wlan0 -multicast" >/data/local/userinit.sh

6. If you want to check whether your userinit script ws executed, put this line below your initial command:

echo "$(date)" >>/data/local/userinit.log

Your file shoule have these permissions:

-rwxr--r-- 1 root root 34 Aug 26 2013 userinit.sh

And finally this content:

busybox ifconfig wlan0 -multicast

echo "$(date)" >>/data/local/userinit.log

Thx for your assistance and good luck!
[BetterBatteryStats] lanwarrior:
I shall do this. I will test this at my home LAN (with wireless router I can control) and at work (no control on the router).

Will report back soon.

EDIT: emm... how do I STOP this so I can have 2 different logs: one for home WLAN and the other for work WLAN?
[BetterBatteryStats] Xoib:
Isn't it the equivalent tweak to put the multicast flag to 1 in the /etc/wifi/WCNSS_qcom_cfg.ini file ? Plus, it is also persistent.
[BetterBatteryStats] Name.:
Hi, is there anything I can do to improve my battery? Thanks!
[BetterBatteryStats] azeem40:
I don't see anything wrong tbh. Your battery is probably the culprit.
[BetterBatteryStats] Karpfenhai:
just the other way round ;)

busybox ifconfig wlan0 multicast

idk, if yes then its more easy to gather the same result, what does busybox ifconfig wlan0 show then?
[BetterBatteryStats] treb1971:
Like I said:

I have disabled all options in Google settings.

I have disabled Location access in system settings.

So further assistance is required.

But thanks for responding.
[BetterBatteryStats] treb1971:
No, it doesn't stop in flight mode.

LMS was on 1h 56m 12s before I switched to airplane mode.

Now it's on 2h 45m 54s - an hour later.
[BetterBatteryStats] Karpfenhai:
Hmm, if you don't mind, please post a current dump.

The thing is, it's really heard to tell which app / service requires the location...

Tapatalked from my Galaxy SII
[BetterBatteryStats] lanwarrior:
I use "Network Log" application (root required), which I believe also does the same thing as running the "busy box ifconfig wlan0 -multicast" command as this app log ANY network activities for ANY apps, including the Kernel (see screenshot below).

I have attached the export of the Network Log file and also show the screenshot of the top network activities in this condition:

1). Connected to work WLAN

2). Not using the phone for anything like browsing, texting, etc.

As you can see in the screenshot (and attached log file), the Kernel is sending AND receiving tons of packets to pretty much ANY network devices in the network. This I believe causes the wlan_rx_wakelock, as shown in the BBB screenshot below

Is this sufficient for your analysis or do you still need me to run the busybox ifconfig command?

File attached:

- BBB stats

- Network Log file

Screenshot 1: Network Log, showing Kernel sending / receiving traffic all the time to ALL devices in the network (192.168.xxx.xxx)

Screenshot 2: BBB stats, showing all the wlan wakelocks

Screenshot 3: BBB graphs, showing how the Wifi is waking up ALL THE TIME (!!)
[BetterBatteryStats] Karpfenhai:
We don't have this file on Samsung devices, any clue where it could be located else?

Tapatalked from my Galaxy SII
[BetterBatteryStats] treb1971:
Well, here's the text dump. Any help appreciated.

This is when the phone has been in flight mode for much of the night. I think I did surf for a few minutes.

http://db.tt/yIiqw1iv
[BetterBatteryStats] Xoib:
Maybe another file-name in /etc/wifi folder ? I don't have experience with Samsung devices, but it should be a similar file hierarchy than other Android devices.
[BetterBatteryStats] Karpfenhai:
nope, unfortunately not, there are several files conf and txt but multicast can't be found nowhere inside, at least not in clear type, maybe it's masqueraded as hex value...

Thx anyway!

Tapatalked from my Galaxy SII

---------- Post added at 10:50 AM ---------- Previous post was at 10:46 AM ----------

Damned, what a mess.. are you sure you have Wi-Fi location reporting disabled?

Please rework your settings once more, there must be something...

Check also Google settings and your accounts.

Since you're rooted, please tick root features within bbs, we'd like to see the whole picture.

Tapatalked from my Galaxy SII
[BetterBatteryStats] matrixzone:
Thanks.

Are these settings valid for 4.1.2? Still Android Endpoint is draining the battery on AT&T Galaxy S3
[BetterBatteryStats] treb1971:
Hi! Here's another dump with root features enabled.

I have disabled the two options in Settings > Location (GPS and Network and Wi-Fi Location Reporting, and Google location services are off - except for when I used Foursquare to check in at two locations.

http://db.tt/keRBlODq
[BetterBatteryStats] islipfd19:
I quickly googled your location wake lock and found this. Perhaps you have widgets that require a network connection? Such as a weather widget?
[BetterBatteryStats] treb1971:
I don't have any weather widgets onscreen. I did recently install Yahoo Weather, but switched notifications to 'Off'.

I will uninstall and monitor...

---------- Post added at 11:35 AM ---------- Previous post was at 11:18 AM ----------

So, I know it's early days... But I've uninstalled Yahoo Weather and rebooted, and so far no appearance of LocationManagerService.

You might have cracked it. Many thanks islipfd19

:) :) :good:

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

AAARGHH!!! Spoke too soon :(
[BetterBatteryStats] islipfd19:
LocationManagerService is part of Android so you won't be able to get rid of it entirely. I suggest you take another idle log to see what difference you've made by uninstalling yahoo weather. As the Op states; leave your phone idle, unplugged and untouched for approximately four hours.
[BetterBatteryStats] Karpfenhai:
You should have mentioned Yahoo weather earlier, it's a known issue since a while...

I recommend android weather, which is more beautiful as well.. set it to 6 hours.

If you don't need it, freeze clock if applicable for your Rom

I mean this one:

It's weather option could harm as well.

Good luck

Tapatalked from my Galaxy SII

---------- Post added at 02:30 PM ---------- Previous post was at 02:29 PM ----------

Yes they are, but as a start, disable all with gtalk in name and don't touch any check-in.

Regards

Tapatalked from my Galaxy SII
[BetterBatteryStats] xZabuza:
Hi everyone..

I want to know if is this normal..

Thanks.

GT-I9100 - Grp:3 - Mod:LS8

Slimbean 4.2 by fusionjack

Dori v9.39v2 by eskriminal
[BetterBatteryStats] mahendru1992:
hey guys can someone help me out with my battery problem. I'm posting the dump. I think I'm having a high phone app wakelock.

thanks in advance
[BetterBatteryStats] imneveral0ne:
Can anyone give me a hand here? I'm losing 9.7% an hour :-\
[BetterBatteryStats] pjadec:
Try to do idle dump and read OP
[BetterBatteryStats] imneveral0ne:
I don't see the word idle anywhere in the OP
[BetterBatteryStats] Tungstwenty:
Here it is :)
[BetterBatteryStats] imneveral0ne:
It had been left alone for over an hour before I used it to do the dump...
[BetterBatteryStats] pjadec:
Do 3-4 hours idle log/dump to obtain more detailed information on how your phone behaves.

Screen On (): 57 m 19 s (3439 s) Ratio: 30.1% This should be less than 2 minute

problems

NlpCollectorWakeLock (Google Services): 5 m 23 s (323 s) Count:624 2.8%

NlpWakeLock (Google Services): 4 m 48 s (288 s) Count:225 2.5%
[BetterBatteryStats] lanwarrior:
I plugged my phone to clear the stats, unplugged it, did the command and still waiting for the result.

However, something weird happened...

BBB now reported that I have 3 HORUS of deleted_wakelock, although the phone was only unplugged just 35 minutes ago (see screenshot).

Usually BBB will reset all stats when the phone is plugged for more than 5 minutes. Is this because I ran the command below? I attached my BBB stats too..
[BetterBatteryStats] Karpfenhai:
Depending on your total time, yes it is.

Tapatalked from my Galaxy SII

---------- Post added at 06:27 PM ---------- Previous post was at 06:25 PM ----------

Nope, it is because you disabled Wi-Fi after unplugging...

Mate, it's really hard to advice you..

Btw, maps is clearly responsible for your nlp collector problem...

Ensure this:

Tapatalked from my Galaxy SII
[BetterBatteryStats] lanwarrior:
Yes, Nlp collector is on because I use Google Now for the reminder feature. The GPS is indeed on most of the time, but that wasn't an issue for me.

It's the Wifi waking up.. :(

I'll keep researching, but I almost giving up now... Have to live with 10 hours battery life (1 hours screen time) I guess, just like when I had my HTC Thunderbolt until I replace the phone with Note 3 when it comes out
[BetterBatteryStats] MnCC:
Hi,

Tried you app 'BetterBatteryStats_xdaedition_1.14.0.0RC1', it seems you spend alot of time on this and i like it :good: but unfortunately it causes a battery drain.:eek:

Usually i charge my phone on Saturday and lasts about 7+ days, the drain normally is about 0.57% per hour.

My battery percentage does not change in "deep sleep", if i have 20% in the evening, i will wake up with 20% in the morning.

After installing your app it skyrockets to 1.6% per hour which results in a total of 2.5 days and this is without "active monitoring".

This is an estimate because i had it installed for about 8+ hours. It leaked about 14% in that time.

I've attached serveral pictures, including a normal one from a week or so before...

Hope you find it.
[BetterBatteryStats] lanwarrior:
Dude.. you got awesome drain rate.. What phone do you have and do you have any background apps? (Gmail push, Calendar push, etc.)

Mine is 1.7% / hour when screen is OFF.. When browsing, it shoots up to 10% / hours
[BetterBatteryStats] Karpfenhai:
That's not normal, ensure the following:

- disable root features if ticked, your implementation might be faulty.

- disable the watchdog feature

- Don't greenify or move bbs to sd.

Regards.

Tapatalked from my Galaxy SII
[BetterBatteryStats] MnCC:
I'm going to try again, we'll know tomorrow.:D

You want any particular stats ?

MnCC
[BetterBatteryStats] pjadec:
My DHD is 2,5 year old and still it's working fine. Orginal battery still in use. What battery will last, it depends on what consumption is and it will between 3h to 2.5 days. Idle drain is about 0,3-0,6%/h. No problems so far.
[BetterBatteryStats] chamonix:
I can not see anything related to BBS in those screenshots. BBS, as long as the watchdog and active monitoring are off does nothing except saving references on events. On the other hand your kernel wakelocks show signs of Wakeups so you should look into the Alarms.

I suggest that you post a dumpfile so that we can have a closer look
[BetterBatteryStats] mahendru1992:
anyone please?
[BetterBatteryStats] azeem40:
Get System Tuner and disable those in autostarts.
[BetterBatteryStats] mahendru1992:
I'm not sure what you mean by 'those'? And i think this problem is more at a kernel level.
[BetterBatteryStats] Gunkk:
multipdp and l2_hsic are due to network activity. disabling fast dormancy may help. see more here: http://androidforums.com/samsung-galaxy-s2-international/674208-fast-dormancy-in-nutshell.html

AudioOut_2 is more often than not caused by an orphaned wakelock (app not releasing a wakelock properly). Reboot/battery pull.

*.*.datastall is related to apn settings getting confused. FIx is a code level issue. Might be hard to pin down.

Fix Data stall issue

In the case of disabling apn and enabling immediately, as the state
of apn type may still be CONNECTED, it will return
Phone.APN_ALREADY_ACTIVE before setting Enabled of apn type as true,
and result in the data stall.
To avoid the issue, set enabled as true in enableApnType() even it
is already connected.

Try a battery pull and run another idle log.
[BetterBatteryStats] infatality:
Anyone could enlightened me? Had turn of location, notification and greenify.. But still can't find out what's causes the extreme wakeup..
[BetterBatteryStats] mahendru1992:
Okay just to be clear I've already performed the following steps:-

1. Rebooting the phone

2. Greenifying Facebook, Playstore, Maps, Play Books and Keep

3. Disabled Hspa and on Edge most of the time

4. Already disabled Fast Dormancy via the app found in the Playstore

5. Only Contacts and Chrome are Checked under the Autosync setting, rest is disabled.

But I'm still getting a high multidp and 12_hsic wakelock. Attached a new idle log.

P.S Didn't understand what you meant by this "In the case of disabling apn and enabling immediately, as the state

of apn type may still be CONNECTED, it will return

Phone.APN_ALREADY_ACTIVE before setting Enabled of apn type as true,

and result in the data stall.

To avoid the issue, set enabled as true in enableApnType() even it

is already connected."
[BetterBatteryStats] keijers:
Can someone check my log?

My battery drains very fast the last weeks. I've also ordered a new OEM battery, but that didn't solve nothing...
[BetterBatteryStats] Kaydin:
Also having the same problem with data stall. That's really what drains my battery. Waiting for someone to explain how to fix it.

People on the thread, please check my BBS dump too. Thank you!
[BetterBatteryStats] xelra:
Does anyone have a resource where I can read about nlp wakelocks in detail and what's causing them?

I really want to be sure that I don't break any wanted functionality.

My battery stats are almost perfect. But this nlp business is driving me crazy!
[BetterBatteryStats] azeem40:
Download System Tuner, click the Startups button, go to Google Services Framework, Google Play Store, Google Play Services, and Google Search and turn off their autostarts.

Those alarms in your log.
[BetterBatteryStats] Waldos:
The worst idea i ever read.

To disable the GFS you have to read the OP. You DONT have to disable ALL, this will cause FC, crashes and other things.

Please DONT disable with autostarts Google Play Store, Google Play Services and Google Search
[BetterBatteryStats] azeem40:
I did all that and ZERO problems.
[BetterBatteryStats] Waldos:
But that dows mean that your settings wont be crash other phones.

Really..?? Did you disable with autostarts Google Play Service?.... Hope you do not FC the Play Store.
[BetterBatteryStats] mahendru1992:
But I hope this wouldn't incapacitate the playstore and it's services, i.e it wouldn't disable any update notifications right?

Also what do you think about the phone app that's waking up a lot. I think that's more because of the multidp wakelock but honestly i'm not sure.

---------- Post added at 09:37 PM ---------- Previous post was at 09:35 PM ----------

Exactly that's what i was wondering. LOL. You have any ideas. I'm pretty desperate right now to get this thing solved.
[BetterBatteryStats] Waldos:
Make an idle dump for 4h.

Your last dump has with 2h 28s and has too much Screen On (): 7 m 36 s, so it doesnt work

If you use Wifi/3G, left your default settings.

Edit: First reboot your phone.
[BetterBatteryStats] azeem40:
I did. It didn't do anything bad at all. Of course YMMV, just saying nothing happened on my phone. Besides, if something bad does happen, he can just restore system using nandroid. I doubt anything will happen though.
[BetterBatteryStats] Musko:
[MENTION=4705372]Casanoaa[/MENTION] after I setting all of this setting (post #11160) I have FC in Google+

Is any way to resolve this problem?

Thank you.
[BetterBatteryStats] Karpfenhai:
Yes it is and its already described within this thread ;)

here you go -> http://xdaforums.com/showpost.php?p=44692639&postcount=18482

Its one of the subribedfeedswhateverreceiver, enable it and it will work immediately..

PS: The one in my screenshot is the one for your G+ problem ;)

regards.
[BetterBatteryStats] MnCC:
Hi,

Today it seems fine, im fairly sure that i ticked root last time, now i did not. I see battery-monitor under kernel wakelock 6m3s. But other than that it seems to function just fine :D. Also i see that when fully charged the charge drops while in deep-sleep, this does not happen when its like 20%. It just stays at 20% after 8 hours of deepsleep.

I attached the log files as asked :laugh:
[BetterBatteryStats] Waldos:
You didnt say that (make a nandroid backup) to the user. If he/she had done what you said maybe he/she had a broken GFS or several FC
[BetterBatteryStats] chamonix:
Unfortunately you didn't save a reference after ticking the root options so there is no Alarms chapter in the dumpfile. Battery-Monitor is a symptom caused by Wakeups (alarms) so the cause will be in Alarms. You will see it on the next cycle
[BetterBatteryStats] azeem40:
What do you mean by your last sentence?
[BetterBatteryStats] Casanoaa:
I wrote in OP:

If you don't want FC in Google plus or Gmail then subscribedfeeds_receiver must be enabled.
[BetterBatteryStats] azeem40:
Here is my stats. Anything wrong? Thanks.
[BetterBatteryStats] atrix4nag:
I dont have an idle log at this time. But I will create one, tonite after charging my phone fully..

Just stats that I observed on my phone today..

Stats from BBS

Other:

Time on battery: 20m 2s

Screen On: 1m 41s

Awake: 20m 2s

PWL:

SystemUpdateService: 19m 58s

CPU state:

1.84GHz: 20m 3s

My phone is awake all the time. First time I am seeing 'SystemUpdateService' wakelock. i searched on google, but I didnt find any information. Initially phone was awake for 3hrs, in 3 hrs on time. Then booted into recovery, cleared Cache and Dalvik. Stats after that are given above.

Any idea about this wakelock?
[BetterBatteryStats] Casanoaa:
Enable eventlog in autostarts or System Tuner.
[BetterBatteryStats] azeem40:
How? Where in system tuner is this?
[BetterBatteryStats] dorqus:
You have a phone running 4.2.2 that is trying to download the ota update for 4.3 ...
[BetterBatteryStats] atrix4nag:
Thanks for your response.

I am running the ProBAM ROM : http://xdaforums.com/showthread.php?t=2424217

What do you mean by phone running 4.2.2? I checked settings about phone, it says, android version: 4.3.

What I am missing.
[BetterBatteryStats] Casanoaa:
Just set up like description in OP.

But here is it in system Tuner.
[BetterBatteryStats] Karpfenhai:
Just disable system update receiver within gsf via autostarts or system tuner, should be gone after reboot.

Tapatalked from my Galaxy SII
[BetterBatteryStats] atrix4nag:
After charging phone for 90+, this wakelock is gone.. I dont know what happend, but as of now, this wakelock is not there, will charge for 100% and will see again. If i see this wakelock again, i will consider disabling as per your suggestion. As of now, I havent disabled anything on my phone. (google services). Just i am using greenify, thats it.
[BetterBatteryStats] fc_sobral:
Can someone help me...

Now im using a xperia z

With firmware. 244, android 4.2

https://docs.google.com/file/d/0B8kp4rMV8h9zXzdkN2JTbDBqMTQ/edit?usp=docslist_api

https://docs.google.com/file/d/0B8kp4rMV8h9zdWlQN2NnZHlhVUU/edit?usp=docslist_api

Enviado de meu C6603 usando Tapatalk 4
[BetterBatteryStats] xelra:
How did you learn about what each and every receiver does specifically?
[BetterBatteryStats] Gunkk:
0% drop in 4hrs.... nothing wrong there!
[BetterBatteryStats] nckeong88:
Are you running cm 10.2 nightly, this started in yesterday's nightly and will be fixed on next nightly.
[BetterBatteryStats] azeem40:
How about the 31 mins of event log services?
[BetterBatteryStats] Gunkk:
Do what Casanoaa said.
[BetterBatteryStats] azeem40:
I already did what he said... Doing my idle log atm.
[BetterBatteryStats] red de0392:
I ve turned off all the sounds...nor do i use viper....

Still audio out wakelock persists....

I use google play music app...

Any suggestions ?
[BetterBatteryStats] azeem40:
This wakelock occurs when ANYTHING using music is active in the background. Make sure you test everything you can think of that uses audio. Also, one screenshot isn't going to help us much. Provide an idle log. Plug and unplug and leave phone for 4 hrs without touch and then post a log here.
[BetterBatteryStats] iakoboss7:
thank you for your help but i dont use any off those apps (or a similar one) but i do use other "go" apps (like launcher, sms, contacts), but none of those or similar ones show up!