yashsingh1/xdaforums huggingface dataset:
[BetterBatteryStats] mdamaged:
Yes, plenty, but they've nothing to do with your app! :laugh:
[BetterBatteryStats] u81:
[MENTION=3639717]Perseus71[/MENTION] Thanks again for the prompt response.

I've diabled- Wifi during Sleep + notify of wireless netwroks + location

I then unistalled the app and reinstalled it - I got the superuser request and I allowed it. I then went to menu > preferences > Advances > tick add Debug to logcat > root Features was already ticked > Do not detect system app was already ticked > Install as system app- it reads Battery_Stats Granted + DUMP not granted + Uninstall system apk ( which would suggest it is installed as a System app... wouldn't it).

I'm now charging the phone and will leave the phone idle during the night and report back in the morning. Please do let me know if you think of a way I can get the app status to get access to the DUMP as well.

Thanks
[BetterBatteryStats] Perseus:
Please install ES File Explorer. From its menu, enable ITS root Explorer. Then go to /system/priv-app and make sure the BBS apk is in that folder. If its not there but is in /data/app or is in /system/app, then move it to the priv-app directory. (You will have to remount System partition as R/W from ES file Explorer Root Explorer). Once done, reboot and then see if BBs is working fine.
[BetterBatteryStats] ziggyyy:
rc please! :good:
[BetterBatteryStats] jds3118:
Hopefully someone has some information about a wifi issue I'm having. BBS reports my wifi running 100% with wifi only being on for 65% I didn't think that was possible lol. I have searched xda and Google and can't find relevant information. Any help would be greatly appreciated☺

Edit: going to try and turn off "always scan" in advance settings and see if that helps.
[BetterBatteryStats] Perseus:
None. Go Ahead.

Yes it will. Remember to reboot afterwards.
[BetterBatteryStats] czach5932:
Well after searching the forum (11 pages and 260 posts) I found plenty of matching search results for "Alarms: 191, Intent: android.app.bakup.intent.RUN. I found plenty of matching posts but no one seemed to have this as there highest problem. I have a Verizon note 3 running stock deoxed 4.4.2. I would really appreciate any help here or if anyone could point me in the right direction would be awesome. Also the second biggest problem (not as bad) "Alarms: 45, Intent: com.samsung.rcs.framework.alarms.actions.registerrefresh" listed under com.sec.ims.android. Any and all help would be greatly appreciated
[BetterBatteryStats] Cano3247:
Batter drain

Please help, I have battery drain 20% during the night in 5 or 6 hours, my phone looks like sleep good, over 95% but I have more then 100 alarms from Com.Google.android.gms I don't know the reason. Any suggest?
[BetterBatteryStats] chamonix:
in the Alarms section about gms you can see the causes:

-heartbeat

-reconnect
[BetterBatteryStats] MegaSharkXDA:
Searched everywhere. Couldn't find it. Unless it's this you're talking about http://xdaforums.com/showpost.php?p=47177180&postcount=20256 and if so I have no idea how to do it.

As of today I have roughly twice as much Awake time as Screen On time, even though battery life seems to be better.

Major Wakelock source:

Tasker (and I'm fine with it)

Major Kernel Wakelock sources:

deleted_wake_locks

PowerManagerService.WakeLocks

Any idea on how to address those?

Sorry for the short log. Haven't been able to stay idle for much longer.
[BetterBatteryStats] Titchener17:
Not sure about how to change to whitepages, is that call settings? Tried reflashing rom after changing ip address and it not sticking (do I need to put it in diag mode wondering. After changing to ipv4 only, was not able to update prl, is this normal? Also, there was a time from last dump when getting home {funky spot signal wise) when I was playing with different governors and schedulers. Is this why the lock took so long perhaps?

scratch part of that, was able to update prl/profile after changing to ipv4 only but not sure about the rest. Will still get a dump tonight if can't figure out whitepages component. thank you

Thank you for looking, very detailed information am sure once I get it down pat will help even more than you already have. Yall are seriously awesome thank you!
[BetterBatteryStats] Perseus:
The first one is for Android Backup running. If you had bad signal/connection or have lot of data, it will take time. The second one seems like Samsung Messenger or something.

You did link the mod correctly. You need System Tuner app to make those changes. Within the app, you go to Startups > Google Play Services. you'd need to click on the bottom Toggle to make it System Apps instead of User apps. Long Press on Google Play Service to Open Details.

The log is just 1 hour long. Not useful for any Analysis.

The Lookup Providers are on Call Settings. I didn' quiet follow what you said about not sticking or update what ? Switching to IPV4 should not make you reflash your rom.
[BetterBatteryStats] Nightshadow931:
Here's my log

https://www.dropbox.com/s/p04i3u671tw31x6/BetterBatteryStats-2014-06-19_113204011.txt

Multipdp is killing me, I've tried to disable fast dormancy, and I still keep getting it. I've tried to change radio too, and nothing. Also, it isn't any app's fault, cause I've tested it without any app installed too, plus there's nothing weird in network's tab.

Is there any way to get rid of this wake lock?
[BetterBatteryStats] Perseus:
I can't access that log due to firewall issues. Can you post the text file here as attachment ? MultiPDP is Samsung's name for Fast Dormancy &/or BAM_DMUX I think. So Do turn off Fast Dormancy reboot and then after 3-4 hours look under network stats. Whichever app is top listed there, is the cause of multipdp
[BetterBatteryStats] Titchener17:
How do I make it longer, had been double digits since boot
[BetterBatteryStats] Perseus:
My Bad that comment about 1 hour was not for you.
[BetterBatteryStats] :
Jumping in the conversation just to say that thank you so much for this suggestion... I didn't even know it existed!
[BetterBatteryStats] Titchener17:
Wonder why it resets to both ipv4 and ipv6 after prl/profile?
[BetterBatteryStats] Perseus:
Still not following your point. You have to set the settings in either Settings >Data or Settings > wireless as the case may be. Once set, they should not revert after reboot. If they do revert, you need to take that up with your Rom thread.
[BetterBatteryStats] Titchener17:
so reverting means its default with rom...?
[BetterBatteryStats] AutomaticFailure27:
Hey there,

I have tried searching but I seem to come up more confused than anything. I saw disabling some NLP and location services helps with battery, but now I am trying to understand this "Checkin Handoff" partial wakelock. I use Disable Service to well, disable services.

Currently have disabled:

AnalyticsService

CheckinService

NLPLocationService

NetworkLocationService

LocationReportingService

Can't seem to understand whatelse needs to be turned off (or on) to reduce this wakelock.

I have seen the mod of sorts to hep, but I don't seem to have those same services to disable. I would think Android Tuner / System Tuner and Disable Service would show pretty much the same thing.
[BetterBatteryStats] Perseus:
No it means these settings reverting to values they had before you explicitly turned on IPV4.

Over the last 3- 4 posts, I have repeatedly asked for more information and had given suggestions. You had neither answered them nor followed my advice. Each time you have responded with Questions in tangential unrelated directions. I am sorry this is not helping. I am getting confused. I apologize I can't be of much help.

Please do not disable services indiscriminately. Try to understand the consequences of what you are doing BEFORE you do it. Such en mass disabling of services will potentially lead to multiple Force Closes, Apps not working to android being non-responsive.

In this case, it is much simpler to just turn off Google Location Reporting or Turning off Location Service AKA GPS. that will resolve most if not all of these issues. If you want Checkin_Handoff wakelock reduced, please follow this Mod. Remember, it will make you loose Notification from Google Apps such as Gmail or Hangouts. There is no way to get rid of Checkins WITHOUT loosing notifications.
[BetterBatteryStats] Titchener17:
I apologize for the confusion, and you are helping. Will get another dump this evening with the suggestions you've made implemented if that's ok. Thank you !
[BetterBatteryStats] AutomaticFailure27:
Alright, understandable. So really, the checkin handoff is something I can't avoid pretty much and if I do so, I have to disable notifications from Gapps.

I have location reporting off (since I usually set it manually in the apps anyways). Is there some services that I can safely disable without notification consequences?
[BetterBatteryStats] Karpfenhai:
if you disable the check-in receivers you will trigger check-in handoff to go crazy, that's why I almost never touch them. furthermore you will get issues with playstore. I cannot recommend disabling them.

Regards

Tapatalked from my Galaxy SII
[BetterBatteryStats] Nightshadow931:
Sure, here it is.

I've tried with no apps installed and FD off.Still getting it.

Will try again though.
[BetterBatteryStats] AutomaticFailure27:
Yeah, I re-enabled them and found somewhere else a few location services and such and it seems that it has gone completely. Haven't been able to fully test out battery life since I just got the N5 and still playing with it. Thanks.
[BetterBatteryStats] Cano3247:
Please someone can tell me where is the alarm section? I can't find it.
[BetterBatteryStats] czach5932:
Is there any way of resolving the android backup? I'm still getting great battery life but that wakelock is well above 300 now and it doesn't seem to be slowing down. Also I have frozen almost all samsung/google apps, do you mean the native messanger app or is there something else i'm missing. Really appreciate the help
[BetterBatteryStats] fone_fanatic:
Question and Feature request.

I've recently added a SIP account under the phone settings that's causing a ton of wakelocks. I've searched and come up with nothing. My question is, does anybody know how to freeze the sip account (can't figure out how to add it to greenify). If not, how do I delete the SIP account? I can't... wait nevermind. Initially I couldn't figure out a way to remove the sip account (tried tapping and holding) and there was nothing in the account to delete it. BUT I just tapped in the empty white bottom right corner and an option came up to delete account. So solved that. I'll just re-add the account when I want to use it and delete it when not needed, unless someone has a better idea.

Feature request: Is there a way we could have it to where we can tap and hold on a specific wakelock and have the option to copy it to clipboard? currently I have to switch back and forth between BBS and Google Search to type out the wakelock. I know I could export the log, open it in a text editor and copy it from there, but it would be easier to be able to just copy it directly from BBS.
[BetterBatteryStats] chamonix:
added #463
[BetterBatteryStats] MegaSharkXDA:
OK, here's a longer log for tonight. Battery drain was not high at all, but Awake time is roughly 5 times as high as Screen On time (and most of it at processor top clock speed of 1.2GHz).

So basically:

Wakelocks:

What is RILJ?

Kernel Wakelocks:

What are deleted_wake_locks?

What are PowerManagerService.WakeLocks?
[BetterBatteryStats] qwerty22:
1.16.0.0_B7

Large icon - bug or design idea?
[BetterBatteryStats] cartman_73:
@chamonix last releas B_7

Your last release is very awesome, in look and feel and usage and it's the best app to discovery battery drain that I use.

Thank man

regards
[BetterBatteryStats] Titchener17:
delete
[BetterBatteryStats] Titchener17:
https://www.dropbox.com/s/4w71g341jg2wpxd/BetterBatteryStats-2014-06-20_074322512.txt

Perseus, if you get a chance and don't mind see if made correct changes thank you.
[BetterBatteryStats] Karpfenhai:
Before you guys start asking, bbs works just fine on 4.4.4, at least as system app [emoji14][emoji3]

Tapatalked from my Galaxy SII
[BetterBatteryStats] c4Lvin:
Guys I will be heading to sleep soon and unplug the little beast from the AC adapter. This time I will have wifi off and see how it goes. If it's 10% or less in the morning I am satisfied. Can someone tell me those signal bar colors under android? Some is green and yellow/orange and then black?

Thanks everyone!
[BetterBatteryStats] ithehappy:
Have never seen a faded yellow signal bar, does that mean Low signal strength?
[BetterBatteryStats] nobnut:
As far as I know, yellow is good, faded yellow is poor and red is bad / no signal.
[BetterBatteryStats] ithehappy:
Thanks. Yellow is good? Then what is Green?
[BetterBatteryStats] nobnut:
I don't know. I have never seen it. It might be something to do with H+. I don't have that.
[BetterBatteryStats] ithehappy:
Oops! I mainly have Green always. Yellow sometimes obviously. 3G, Packet Data disabled.

Regards.
[BetterBatteryStats] nobnut:
Well, I think it is safe to say that green is not bad :)

Sent from my HTC Flyer using vodka
[BetterBatteryStats] InfiniteRisen:
Green is excellent?
[BetterBatteryStats] efishta:
Lookout security has taken up 2.5 hrs of wakelock time (hopefully I'm phrasing it correctly) followed by 46 minutes of AlarmManager.

is this bad? I'm on the Atrix, so battery life is plenty better than my old Nexus One, but I'd appreciate any improvement.

Anyone else use Lookout? Should I perhaps switch to WaveSecure?
[BetterBatteryStats] Aiakio:
I use Lookout.

2,5h? That was a Full scan, wasn't it?

Normal Lookout stand-by is not 2.5h...

In which timeperiod happend that?
[BetterBatteryStats] efishta:
I unplugged fully charged midday today, about 11 hrs ago. attached are screens from last unplugged and last fully charged, which SHOULD be the same but are different for some reason. also don't know why Grooveshark is in one of the screens but not the other.

Edit:

Not a full scan. I only use its scan upon install feature, no automatic scheduled scanning and no backup features. Only the locate my phone feature.
[BetterBatteryStats] Bratag:
Lookout Pro was taking up a huge amount of wakelock on my device as well. I have disabled it until I can figure it out for good.
[BetterBatteryStats] efishta:
If I had to guess, I'd say it's got to do with their locate my phone service. It probably needs to wake the device up every so often to be available to establish contact with the servers or respond to one of their text messages that enable the tracking service. I know that WaveSecure gets enabled through texts... chances are Lookout functions the same way.
[BetterBatteryStats] c4Lvin:
Ok guys I woke up after 1-2 hours after I put my phone to sleep and with wifi off, I was losing already 3-5% already so it is not the WIFI on problem. This bothered me so much that I had no choice but to flash a new custom ROM. Guess what? Everything is good! Put phone to sleep with wifi on and woke up in a few hours losing 3% or so only! Checked the battery log and I see single digit current draw although that was the same as my previous ROM. REALLY I have no idea what was wrong with one or the other but changing ROMs can be night and day with the battery draining problem. I am on 11:30hours with 80% battery left. Most of that time is light to moderate usage and sleep but that's what I wanted all this time. I never use any setCPU and other utilities.
[BetterBatteryStats] nobnut:
Glad you got it sorted. Which ROM where you using before you changed?
[BetterBatteryStats] carlos67:
Current draw whilst asleep very variable

Question for Nobnut and Chamonix, but feel free to chip in with suggestions also.

Sometimes, my current draw will be 1mA while screen off. This can last for 2 hours continously. The other night I put it to sleep while trawling this forum and 2 hours later, screen back on to find 1mA draw for 2 hours:D.

HOWEVER, after that I could not get it to do that again. My question is this.........Why is the current draw so variable when in sleep mode?? I mean the phone (apps, wifi state, everything) remains the same.

Sometimes with screen off my current draw can be as high as 20~30 mA for a prolonged period of time eg. 3~4 hours. I do notice however that as the time with screen off progresses, the current draw gradually reduces by, say, 2~3 mA per hour or so.

Why is the bloody current draw so transient when all else stays the same????? Aarrrrrrrh :mad::mad:
[BetterBatteryStats] nobnut:
Don't worry about it. I have the same problem on rare occasions. It is probably a badly written app, or a conflict between apps. About one day out of every ten, my email app prevents sleep but if I open and close it, it is fine afterwards.

Sometimes you will (not) find an app which sleeps but still causes drain. Such is life.

As long as this is the exception rather than the rule, it isn't too bad. If you find this happening, just use BetterBatteryStats to find out which processes were running. You'll soon find out what is causing the problem :)

Sent from my HTC Flyer using vodka
[BetterBatteryStats] chamonix:
New version 0.6.0 is out with quite some features from the list implemented.

Enjoy
[BetterBatteryStats] chamonix:
I think I will leave coding for one week except bugfixing and focus on how-to
[BetterBatteryStats] nobnut:
Good luck!!
[BetterBatteryStats] CRXed:
My question is: will this service use any extra battery, or just only a little bit of memory?
[BetterBatteryStats] chamonix:
It is not using any battery as is is only holding a reference to a listener. Of course it is in memory as it is active but the memory allocation can be neglected and is not relevant in a java runtime as it is correctly full anyway.
[BetterBatteryStats] t-pip:
Is it likely that	OOM might kill the service?
[BetterBatteryStats] CRXed:
There is an error in your release notes, it says Sa

m

dwich ;)
[BetterBatteryStats] KeesStolk:
LOL, yeah right.
[BetterBatteryStats] t-pip:
Been using ALTitude as recommended but my location always shows as unknown on other peoples devices. Any ideas?
[BetterBatteryStats] chamonix:
I don't know what OOM is but I suspect a task killer. Frankly, task killers are IMHO creation battery drain not reducing it so don't use one. Btw that may be the reason for altitude not updating. Have you checked that the service runs?
[BetterBatteryStats] chamonix:
Thanks, fixed
[BetterBatteryStats] tboooe:
svnet-dormancy..any way to tell what app is driving data usage?

By using this awesome app, I see that svnet-dormancy is consistently holding the longest kernel wakelock. Is there a way I can find out what app is driving all the data usage?
[BetterBatteryStats] soraxd:
awwh shnap, didn't even see that using my xda app
[BetterBatteryStats] nivron:
It's available on the first page (second post) where it says download.
[BetterBatteryStats] pikachu01:
OOM/LMK is an internal Linux method that checks for free memory and terminates apps according to a preset rule in the lowmemorykiller and Dalvik ADJ/MEM.

Setting those rules will tune it to be aggressive/non-aggressive that might kill some services when free memory dips beyond a certain level.
[BetterBatteryStats] t-pip:
OOM as on out of memory. It's the native easy that Android manages memory closing things that aren't being used when more memory is needed. The higher the adj number tyre more likely OOM it's to close it.

I agree with you on memory apps and never use them.

Any other ideas about ALTitude?
[BetterBatteryStats] t-pip:
What he said lol
[BetterBatteryStats] ponicpool:
Hi

I am having very bad battery life on my s2.

My kernel is Siyah v2.6.2 and rom is CheckROM RevoHD V4.

I have attached my BetterBatteryStats dump file.

Could you be kind enough to point what exactly is the issue with my S2 battery life?

Thanks in advance.
[BetterBatteryStats] chamonix:
If this method would happen to kill a sticky service it would be pretty bad and against all rules. Using methods to kill running android threads without doing the proper lifecycle (onPause) stuff is harmful and against all rules anyway.
[BetterBatteryStats] chamonix:
No, take this over to the right thread and post a location there plase
[BetterBatteryStats] rowaweb:
Hi guys,

thanks for this great app. A few questions though: I own a Motorola Atrix (GB official) and i already disabled some bloatware. Still there is a difference when looking at the graphs using the buildin-battery-manager and BetterBatteryStats:

The active-time-graph is almost completely inverse... (see attachments)

Also, is this active-screen-on-ratio okay?

Awake (): 4 h 57 m 48 s (17868 s) Ratio: 8,7%

Screen On (): 3 h 3 m 55 s (11035 s) Ratio: 5,4%

Weird also that the partial wakelock-section shows percentages above 100%. This is because it claims the wakelock was longer than the total awake time....?

I would also further optimize my battery runtime. I've 3G running all the time, sometimes even WLan (i tend to forget to disable it when im done surfing and stuff). Are there any more services that could be disabled? Im using the buildin taskmanager to kill Facebook and Seesmic after 2minutes screen-off but it seems it doesnt work all the time...

Dumpfile (Pastebin): http://pastebin.com/tKv32EE9

Im not so much into this programming-stuff so if anyone could give me some advice i would appreciate!

Thanks!
[BetterBatteryStats] rantzzz:
is it possible to determine which app or process caused a wakelock at that particular time where the Wakelock counter is '1' ?
[BetterBatteryStats] ponicpool:
Could someone be kind enough to help me please
[BetterBatteryStats] Perseus:
I see Caller Cache as the Top Alarm. That typically means this is caused by the Traffic to the Lookup providers. Please ensure all the lookup providers are set to Whitepages in Dialer settings. Otherwise surprisingly Facebook is behaving itself. Get Rid of Transparant Clock & weather widget. So too Contacts+. Earlier this or last page I had posted steps for multipdp wakelock. Please see the same as you too have that.

Check the drop box at the top of App Screen.

You might wish t oconnect to a stable Wireless and keep the phone in one place overnight afterreboot. Hopefully it will get the message and do the backup overnight. This only happens if you have signal issues or were on Airplane mode.

RILJ - Radio Interface Language Wakelocks are when you have signal issues or flaky wireless.

Power Manager - This is Catch All for most of Partial wakelocks.

Deleted Wakelocks - These are from when you uninstalled an app without having it forcestopped first. A Reboot will clear this.

For all your Wakelock details, you might want to visit [GUIDE] The Total Newb's Guide to Wakelocks

From Log, I see SMS Backup+ going berserk.

Would love to. Got firewall problems can you post here ?

You meant 4.4.3 ? :p Yes Seconded.
[BetterBatteryStats] j1gga84:
See attached Screenshot. Is it a bug with the percentage ring when set to boot?

Regards

Sent from my GT-I9100 using german Tapatalk 4
[BetterBatteryStats] Karpfenhai:
nope mate I meant what I wrote[emoji14]

Tapatalked from my Galaxy SII
[BetterBatteryStats] Perseus:
Ah. My Android fu is getting Rusty. My bad.
[BetterBatteryStats] MegaSharkXDA:
1. RILJ: So I guess there's nothing I can do about it, right? I had pretty decent (4/4 bars) signal on the location during that log.

2. Power Manager: Here's a new log file for last night

3. Deleted Wakelocks: This definitely has got to be something else. I'm sure I have already rebooted several times since my last application uninstalling

4. I've uninstalled SMS Backup+ before this new log file. Needless to say, I forcestopped the app, cleared its data and cache, uninstalled and rebooted just as a precaution.

5. Here's a new log. Once again battery life seems much better but Awake time is roughly 3 times as high as Screen On time.
[BetterBatteryStats] chamonix:
1.16RC1 is up. Features are frozen and I will focus on bugfixing so please test, test, test....