yashsingh1/xdaforums huggingface dataset:
[BetterBatteryStats] s2d4:
Please read over what I said again.. :)

You are flaring up and being all over defensive and argumentative. I didn't even blame anybody. I asked why does the inbuilt one still work if kernel devs supposedly crippled their kernel for the wrong reasons...

You are actually the one blaming kernel devs here, my point is you shouldn't do that just yet until we have a definitive answer. And that is what I was hoping to move towards to other than blame war between app dev and kernel dev since it does nothing for the xda community.

I said cop out and gave reasons as to why. But I'll listed again..

The reasons why kernel devs did not intentionally cripple the kernel for the wrong reasons:

1. /proc/wakelocks continued to work regardless. It isn't even a solution, it's just known since it is part of android.

2. There is an issue here to do with usb debugging, which has known to be buggy. The app will work if this is not playing up.

3. It worked after a reboot for some, like myself..

Conclusion, kernel dev did not intentionally cripple their kernel for the wrong reasons.

This was my point. A point unfortunately was completely missed and ended up being some rant of google not being open source ...
[BetterBatteryStats] jabbermacy:
Digital clock widget missing settings -- with a non-sense ROM they are not available. I'm not crazy after all :p
[BetterBatteryStats] nobnut:
No. You missed my point.

Open source = common standards (or at least it should), therefore as I never said kernel Devs 'intentionally' did anything, what I thought was clear in my post was that by certain kernels not supporting some standard and consistent behaviours. We now have what?

Exactly... an OS that has become fragmented and is now 'open source' in name only. This happens to be reinforced by OEMs and Google itself dragging their feet over GPL compliance, but this is another story altogether.

As different scripts and commands have to be implemented on different devices and kernels, each displaying differing functionality and capability, Android can no longer be called 'Open Source'. Instead I think a more fitting name for it is a 'dog's dinner', or maybe a 'screaming bloody mess'.

I suggest we end this conversation in this thread as it is adding nothing to the development and support of BBS. If you want to, by all means pm me, I might even reply but it seems clear to me that you have one view, I have another and neither of us are interested in changing our minds.

---------- Post added at 07:37 AM ---------- Previous post was at 07:23 AM ----------

That is a bug which Chamonix has acknowledged and is working on. It isn't what I was talking about which is consistent omission of kernel wakelocks in BBS stats.

Humour me. What makes you think that the partial wakelock figures are wrong, just because they are small? I don't follow your reasoning.

I'm not sure what you are referring to by 'fix that'. Is it the occasional missing kernel wakelock stats, or the process list issue you are reporting? If it is the former, see above.

If it is the latter, there is no way for me to verify whether your figures are right or wrong. I have no idea what you have installed on your device, how it runs, basically I would suggest that the onus is on you to disprove the stats reported based on some evidence, rather than assume they are incorrect and want some proof of their validity.

That's a bit like me saying that I don't trust my battery level reading on my phone. I don't trust it because it can't be right. I want you to prove to me that it is correct. By the way it says 97% at the moment. Any ideas? ;)

By the way... you might be correct I am not saying you aren't. I am just asking why you believe the wakelock figure to be incorrect... based on what? I am genuinely interested in this. I'm not trying to rant or flame or anything. Don't forget they are wakelock figures... not usage figures.

Please let me know what you think :)
[BetterBatteryStats] s2d4:
your point has nothing to do with the subject...

a comment was made about kernel dev intentional cripple the kernel for the wrong reason.. It's pretty bold for those kind of accusations.

Anyway, I provided 3 reasons why that was not the case...

now you've ranted about fragmentation and google open source...

The problem is, it's not working but /proc/wakelocks will always work.

A few other kernel devs have seen this already, its pretty easy to see what they think of those claims/accusations..

Considering I've explained this three times, and you've failed to read but tries to argue about something else, definitely a lost cause, good luck with that approach in the future.
[BetterBatteryStats] nobnut:
... but it wasn't my comment. Take it up with whomever made it. I have never said kernel Dev's intentionally did anything. The omission of an act can have the same result as the commission of an act.

Good, maybe they can do something about it in conjunction with Chamonix.

You have said I haven't understood what you are saying. I am saying you haven't understood what I am saying. I honestly don't care if you are unable to join the dots between open source and consistency of logging implementation. It is of no consequence to me whatsoever.
[BetterBatteryStats] jabbermacy:
Alright now, alarm manager service is making me crazy -- is there ANY alarm clock application on the market that does NOT use the system alarm?? Disable the clock, alarm manager wakelocks go away -- enable it, back they are!

Pulling my freaking hair out over this; it's NOT a 'widget sucking juice problem' it's 'alarm system service that you cannot (that I found) even USE an alarm without' issue :mad:

Now (switching back to a sense ROM) htcsensorfunctions going bat sh&t... WTF??
[BetterBatteryStats] nobnut:
Alarm Manager has nothing to do with your alarm clock. There is some geeky stuff here you can read. There are loads of useful hints throughout this thread regarding reducing this type of wakelock. I highly recommend you do a search and prepare for some reading.

For starters, always exit apps fully when you are finished with them, rather than pressing the home button for example and if you don't use or want them... turn off reminders in calendar setings :)

Happy hunting!
[BetterBatteryStats] jabbermacy:
Got it, boss -- I'm reading one by one and googling the sh&t out of every service I don't like the looks of ;)
[BetterBatteryStats] Xoib:
I read about GSF (gtalk sync thing) and it seems it is the way push app use the google push messaging system but I still want some auto sync for specific things.

About Maps I don't see lot of wakelocks.

For location services, GPS are off when don't need it, but yes google network location are ON because 1. there is no shortcut toggle like for many others things 2. it's more convenient to keep it on because it is only used when I use an app who need location (foursquare, maps) in theory.

But yes the weather widget, I will trash it. For FB/Gmail, I have set some profiles with auto sync on/off so I manage it the best I can it's ok.

The weird thing is, I have setup a static ip with the MAC of the device months ago so it's not that. I suspect that because of the arp offload that the device doesn't see when in deep sleep, when he's waking up it get confuse about the lease and ask for a new lease or something.

About nfc, I use it sometime for seting profils when I pass a specific nfc tag. But it doesn't seems that it's very consuming anyway.

Thanks for your suggestions ! :good:
[BetterBatteryStats] GermainZ:
Of course, it all comes down to usability vs battery. If you just wanted a phone with a battery that lasts forever, you wouldn't get a smart phone anyway. We can just tell you what to do to maximize your battery, and let you choose accordingly depending on what you actually need. :D
[BetterBatteryStats] BTT8:
After the latest maps update, nlp wake locks are going insane :eek: (yes I have location services enabled)
[BetterBatteryStats] int0x13:
Hello, can you help me understand those screenshots, i dont get why AlarmManager takes so much and also about the SideKickTrafficIntentService...

https://www.dropbox.com/s/6ndmtkb9jzlhr1c/Screenshot_2013-07-11-15-17-44.png

https://www.dropbox.com/s/8j5e80sefvd30gr/Screenshot_2013-07-11-15-17-32.png

https://www.dropbox.com/s/ut3ocy22r877du6/Screenshot_2013-07-11-15-17-19.png

BBS 1.14.0.0B2

Thanks

Sorry for posting screenshots, here the attached file dump as text format.
[BetterBatteryStats] Karpfenhai:
Post a dump, no not working screens..

Tapatalked from my Galaxy SII
[BetterBatteryStats] int0x13:
Ok i edited my original post, and attached the text dump.
[BetterBatteryStats] 2IVTeam:
Great work. Very nice app
[BetterBatteryStats] Karpfenhai:
Dude, you should seriously trying to read the op before start posting....

Hint: idle..

Tapatalked from my Galaxy SII
[BetterBatteryStats] int0x13:
You talk about this rule?:

It was idling during the night for something like 10h
[BetterBatteryStats] FireBird_89:
Yes it was idling for the 10 hours but the log is also showing 3+ hours of screen on time which will skew the stats. That being said:

When posting a log, make sure to go to better battery stats app, click menu, click set custom ref to create a custom reference point.

Then let it sit and do not touch it for at least 4 hours.

Then, when posting the log, make sure that before you make the log, at the top of the bbs menu, the second line you select custom and the third line is current (telling the program to view the stats only for the 4+ hour period from when you created the custom reference point to the current moment).

Then make the log as you did before. :)

Sent from my SGH-I317M
[BetterBatteryStats] vishal11in:
Version 4.7 regular

Had fast drain first 20% but then it stabilize.

File posted for expert review.
[BetterBatteryStats] Xoib:
(Dump attached, test condition : full night)

Feedback about my last test (general remarks) that might improve the app :

- How can we have a "active since: 20s" and a "last activity: 41 m 25 s" ?

- In the reference overview, it should be the inverse I think no ? Reference ref_boot created 25 s and Reference ref_current created 8 h 43 m 58 s.

- In Alarms, why there is some alarms with the number 0 ? Like "Alarms: 0, Intent: com.facebook.katana.service.24" ?

About my dump (personal remarks) :

- I set twitter / FB / E-mail for a refresh interval of 2 hours, so why there is so many wake locks ? (Btw, when you set sync data off in twitter app or set it off in the account manager, I still receive notifications with no delay, weird...)

If you see anything else that is weird and that I can improve, let me know.

Thanks.
[BetterBatteryStats] Karpfenhai:
It's b/c Facebook needs to sync your data with the nsa, you can't influe that.

Seriously fb seems to be the only mess, try friendcaster instead, your other questions will be answered by chamonix.

Tapatalked from my Galaxy SII
[BetterBatteryStats] stone_ship:
I've learned so much just from reading this thread, but now I think I need some help.

I'm seeing 1.5%+/hr drain overnight pretty consistently, and I can't figure out why. BBS doesn't seem (to me) to point to any specific culprits. I have no idea, for example, how to reduce android.intent.action.TIME_TICK. I'm not using a clock/weather widget. I AM letting Facebook, Words with Friends, and other no-nos sync because I haven't seen anything in BBS that tells me they are causing problems.

Anyone have advice for me?
[BetterBatteryStats] Karpfenhai:
Hey there, the only overhead I see is related to Wi-Fi and data traffic, give better Wi-Fi on off a try and you should be good, don't worry about time, it's quite normal.

Tapatalked from my Galaxy SII
[BetterBatteryStats] stone_ship:
Thanks for looking. I'm taking a Shark capture right now to see what's transferring data. I'll post it if I find anything interesting...
[BetterBatteryStats] chamonix:
You can't reduce time tick, it is the clock. Your problem is wlan
[BetterBatteryStats] atif4ever:
sTAY aWAKE :(

HELLO PLZ I CANT SEARCH WHY my phone remains in awake condition..

hope u guys help..

its my first time plz tell me if u need something else..
[BetterBatteryStats] den_breacker:
Suddenly there is only one autostart left to disable for Google Maps.

Is this the case for everyone ?
[BetterBatteryStats] Karpfenhai:
It seems your phone thinks there is something attached to your earjack and therefore its not going to sleep?

Or your usb connector is dirty.

Tapatalked from my Galaxy SII

---------- Post added at 04:10 PM ---------- Previous post was at 04:08 PM ----------

You're right, since the latest upgrade it's just one left, let's see, how it behaves.

Tapatalked from my Galaxy SII
[BetterBatteryStats] oae08:
I think it has to do with the new update for maps. Its causing weird wakelocks and draining alot of battery.
[BetterBatteryStats] atif4ever:
Hi,

Appreciate ur answer but let me tell u it happens only after the flashing of this rom.

In m previous rom my screen on and awake bars were parellel..

Sent from my G@£@×¥
[BetterBatteryStats] Casanoaa:
My friend install latest bbs app. Find it here in this thread in first post. v1.13.4..

Next provide an idle log and that means:

Unplug and leave phone 4 hours without TOUCH and dump a file.
[BetterBatteryStats] oae08:
Why isnt the playstore updated to the latest version?

I bought the playstore version to support and also to get automatic updates.
[BetterBatteryStats] atif4ever:
Chamonix help plzz..

Its very annoying...if it detects something how can i resolve this problem??

Sent from my G@£@×¥
[BetterBatteryStats] chamonix:
Karpfenhai already gave you a hint. Did you check your phone and the thread of your rom to see if other users suffer from the same problem?
[BetterBatteryStats] chamonix:
Google Play is updated to the latest released version. In this thread you will find betas and release candidates that have not been released yet. That is as it has always been
[BetterBatteryStats] atif4ever:
M getting a notification of 100%awake while screen off :confused::confused:

Sent from my G@£@×¥
[BetterBatteryStats] FireBird_89:
Read my last post and post log again

Sent from my SGH-I317M
[BetterBatteryStats] iElvis:
This is a month and half later, but I was having this problem and this fixed it. :good:
[BetterBatteryStats] mike216:
Hands down the best app for us smart people to track down that pesky app or service. Love to dev! Brilliant masterpiece of code you have here! Thanks so much. I obviously bought the app because I always support developers

SGH-M919_Omega, the end result
[BetterBatteryStats] MetalicMan:
Hi. I'm having 3% drain per hour in deep sleep mode, could someone help me with this log please??? Thanks in advance
[BetterBatteryStats] Casanoaa:
It look like its is time to buy a new battery.

But install latest bbs app v 1.13.4 and providr an idlr log. Unplug and leave phone 4 hours and dump a file.
[BetterBatteryStats] oae08:
Ok so everytime i think i have nailed it and no more wakelocks, i get some new wakelock that ruin everything.

Can anyone please help me. THANKS
[BetterBatteryStats] chamonix:
The cause of the highest kernel wakelock and highest partial wakelocks are both Wifi, directly and indirectly. Turn wifi off when not used.
[BetterBatteryStats] oae08:
But i used to get 0.5 - 0.8% drain even with WIFI on, now its not below 1.2% per hour, thats why i find it strange. How can I reduce my drain with wifi staying on ? Small tips would help :)
[BetterBatteryStats] s2mario:
S2 draining

Before the ICS upgrade my Galaxy S2 was running quite ok, with JuiceDefender on top. Now I can't have it more than hallf a day, even if I'm not touching it at all. I pretty much tried all I noticed in this thread (after rooting): uninstalled Music Play and more, logged out of Maps, checked the sync properties of just any app I could imagine and turned them to 15 minutes or so, but I still don't get back to one day battery. Even BBS wwhen I open it half the time says the service cannot be contacted, or the from/to cannot be found... :crying: I'm open to try just anything, could anybody suggest me some more steps? Attached the BBS/logcat logs, I hope they cover enough.
[BetterBatteryStats] Casanoaa:
Also again see in your network log .. it is dirty.

Turn off google locationsservices.

Disable autosync of gmail.

Do what i suggested last..
[BetterBatteryStats] oae08:
Thanks buddy, but the problem with the first point is, if i turn off google location service, then everytime i enter maps, i will need to go to google settings and turn it on. Is there a workaround for this? Because that is the only place i use google location.
[BetterBatteryStats] BTT8:
Any updates to what we can disable with autostarts for Google service framework due to the new maps release?
[BetterBatteryStats] chamonix:
It is not accurate to compare drains as they depend on too many parameters. Important to know would be if the kernel wakelocks have changed or not. If yes then that part need to be tracked down. It may depend on what access point you have been connected to, what other devices are connected to that access point or have been in reach of other access point, and if there has been changes there.

If there is no change there then part of your current drain was already there. The other main part of the drain was maps so again, have you made any changes to settings, updated maps.

As you can see the problem is not trivial and solving it requires quite some systematic.
[BetterBatteryStats] chamonix:
I would recommend that you start with these two:

com.mobilityflow.animatedweather.free (): Wakeups: 167

com.mobidia.android.mdm (): Wakeups: 90

Alarms: 91, Intent: com.mobidia.android.mdm.WAKE_SERVICE

167 and 91 Wakeups caused in 5 hours..... That is once and twice a minutes. Either your settings can be changed or this is a major flaw/bug in both apps.

Third cause would be facebook. Once you have fixed those we should take another look.
[BetterBatteryStats] Vleiss:
BetterBatteryStats doesn't show any Kernel Wakelocks on my Nexus 4. Everything else is working fine, even Partial Wakelocks.

I'm using Cm 10.1 Nightly (Team Asylum) with Franco Kernel.

Does anyone have a solution for this?
[BetterBatteryStats] Casanoaa:
Are you on latest bbs version v.1.13.4 and have you provided an idle log.

Unplugged and waited 4 hours without touch and dumped a file?
[BetterBatteryStats] superbobup:
Pretty sure Franco removed the ability to view wake locks from his kernel. It's there, just no longer exposed
[BetterBatteryStats] Vleiss:
So I'll need another kernel to view the kernel wakelocks?
[BetterBatteryStats] chamonix:
Can you check if raw kernel wakelocks show data and if /proc/wakelock exists (if yes what perms does it have)?
[BetterBatteryStats] mike216:
Sometimes my alarm manager had high Wakelocks. Anyone know how to stop them or is it normal? Even when I turn the alarm off and disable blocking mode on this galaxy S4 it still comes up? I did use navigation today. Do these look normal?

SGH-M919_Omega, the end result
[BetterBatteryStats] mike216:
Sorry forgot to post this one

SGH-M919_Omega, the end result
[BetterBatteryStats] LouisLeonardo:
Hello,

I have had quite a big battery drain, and even if I tried pretty much all the tricks (blocking background data, closing apps, uninstalling useless apps, lower screen brightness, etc.) I still find my battery goes down quickly. With normal use, which is texting and instagram, it can go down 1-2% every 5-10 minutes, making me last a day, or a day and a half, and I find it annoying to have to charge it everynight and watch my use. My phone is not rooted and I don't want to do it since I'm not very familiar with this, but I still wanna take the most advantage I can out of BetterBatteryStats and CPUSpy. For now, I took screenshots of the list of Kernels and Partial after charging+ 4 hours without touching it, and I also took pictures of those after a normal day of using. I also downloaded dumpfiles (I didn't know if I needed to save it while i'm on the kernel, partial, or other tab, so I did all of those lol) but when i go in My Files to open them, it says I don't have the app to do such a thing. I'm a bit confused, but I would really like your help. What should I do/post to you to do so?

Thanks in advance!

Louis
[BetterBatteryStats] mike216:
Post screenshots of your partial wake locks and I'll give it a shot

SGH-M919_Omega, the end result
[BetterBatteryStats] :
What's causing the nlpcollector wakelock and how do I turn it off?
[BetterBatteryStats] chamonix:
It is Google maps. Check the FAQ for ways to reduce it or just turn off wifi when it is not used
[BetterBatteryStats] steve austin:
note 2 irregular battery drain

hello community. i recently graduated from the HTC Sensation to the Note 2. I read constantly how others with my phone are getting at least a day and a half on one charge and - at minimum - 6 hours of screen time. that is nothing close to where i am at. i have not done my signature yet but her are my particulats"

jedi master 13 ROM, saber kernel 32, 100/1700 cpu, lulzactive governor. I have no battery aids like juice defender, but i have incorporated two apps: deep sleep battery saver and Rescan media root to help me with the two problems that i (believe) that are still causing me problems.

Attached is a data dump from this morning. I did nothing but unplug the phone and gave it 3hrs and 19min to rest. from what i see the phone was awake for 39 minutes????? i had data off as well as syncing. i lost 5% in three hours. Extrapolating that out for 12 hours i would loose 20% - while in idle mode - without even turning the screen on for use?!?

over the past two weeks android system has gotten as high as 29% of my battery on some days, media scanner as high as 17% and today "media" is eating up 20% of my battery. There many of you wiser than i that can pinpoint a solution. I would appreciate any assistance you kind men an women can provide with this matter. thanks in advance!
[BetterBatteryStats] s2mario:
Thank you I uninstalled AnimatedWeather (replaced with WeatherChannel) and MyDataManager (this MDM was used only sporadically anyway). For Facebook I couldn't see any more settings, it was already set to update 1/hour... so I installed Greenify to stop it from updating. I hope all this brings something, and I'll check myself first in the log for the "alarms" before posting :) Thanks again!
[BetterBatteryStats] chamonix:
Mediascanner was on most of that time. If you had booted your phone before starting the reading that would be pretty normal but if your phone had been running for some time already you should check your SD and/or for corrupt files.
[BetterBatteryStats] Pinan:
"Alarm rtc" is related to syncing apps. Try to turn them off or lower the sync interval.

"msm_hsic_host" is a kernel issue. Try finding another kernel with an hsic patch, or simply try other kernels.

AudioOut_2" is related to sounds from the speaker. Playing music, keypad tones, etc.
[BetterBatteryStats] mike216:
Thanks so much. I'm using kt kernel. Really have no other kernel to try because I'm using omega. I don't have anything syncing. Going to look really hard to find something synching.

SGH-M919_Omega, the end result

---------- Post added at 05:58 PM ---------- Previous post was at 05:50 PM ----------

I just looked and couldn't find anything that was syncing. Removed a bunch of apps that I didn't use often. Hopefully one of them was the offender

SGH-M919_Omega, the end result
[BetterBatteryStats] Pinan:
What about faux? Good kernel. Ausdim?
[BetterBatteryStats] mike216:
Both are good but neither for a t-mobile user using I9505 roms. Sometimes this alarm manager /alarm receiver is really high. What is this. It's usually way up there. Right now is not bad but sometimes it's 7-8 minutes? Thanks champ!

SGH-M919_Omega, the end result
[BetterBatteryStats] Pinan:
Faux should be OK.? MEA version.
[BetterBatteryStats] mike216:
I seen a few talk about non booting issues. I had that happen to me before and it screwed my root privileges up. Ended up having to fully wipe and reflash rom. I'm going to hold tight and see if kt can look into that kernel error! Thanks to you I now know it is a kernel error. Really appreciate all your help!

SGH-M919_Omega, the end result