yashsingh1/xdaforums huggingface dataset:
[BetterBatteryStats] egore93:
You need to go to xposed and download enable battery stats. I had the same problem.
[BetterBatteryStats] chamonix:
wrong!
[BetterBatteryStats] egore93:
Okay? I did the the two zip files provide in the op and it did not work. So I went to xposed and went to modules downloaded battery Stat for Kitkat activated it in xposed re-download the app installed without a hitch! So what's "wrong" with that?
[BetterBatteryStats] chamonix:
there is no _need_ to install the Xposed battery stats module for BBS to work. As you have not provided any info in the form of a proper bug report but abandoned and used an unrecommended way to access the battery stats instead I will simply assume that the situation that you pictured did not happen
[BetterBatteryStats] banesi:
being so advanced, is it possible to calculate battery wear % in BBS?
[BetterBatteryStats] egore93:
PM sent☺
[BetterBatteryStats] egore93:
This is how I found out about xposed module. So how is it unrecommended?
[BetterBatteryStats] chamonix:
it is unrecommended because not required and it adds another layer of complexity and possible source of error: the handling (and support) of xposed itself.

The system app is no hack or workaround but is based on android's inheritance of permissions so to me it is the recommended way.
[BetterBatteryStats] chamonix:
if you mean the drain per hour it's already there.
[BetterBatteryStats] mdamaged:
I think he means like, lifetime wear. IMO, that is technically possible, but probably outside the scope of your apps concept, and it would require accurate manufacturer ratings for every single battery that your app runs on...unless the battery logic provides a way to read those internally...i.e. like S.M.A.R.T. for harddrives.
[BetterBatteryStats] chamonix:
That would indeed be far beyond the scope of BBS and of my knowledge.
[BetterBatteryStats] tangcla:
Hi [MENTION=1330150]chamonix[/MENTION], thanks for a great app.

Just wondering how the widget interactions work. I use the BBS 2x1 widget and sometimes when I tap on it, it updates the numbers, whereas other times it opens up the app. I don't think I'm touching it any differently; what is the expected behaviour, and is there a way to refresh the widget, and a way to open the app specifically?
[BetterBatteryStats] triathlete66:
At the Top of the widget for Refresh.

At the bottom to open the App.

You need smaller fingers ;)
[BetterBatteryStats] tangcla:
Ah! I see.

I tapped the bottom of the widget (I have small font so there's empty space) and this refreshes - but as you mentioned, lower half of the text opens the page, top half text refreshes (and bottom empty space).
[BetterBatteryStats] :
My phone's being kept awake whenever I unplug it after charging. It's strange because things get back to normal after a while and I don't get a significant/noticeable battery drain - the phone's just sitting there, awake. I charged and unplugged it at about 4 am and now i got this idle log if anyone would like to take a look.
[BetterBatteryStats] gaich:
[MENTION=1330150]chamonix[/MENTION], there are two installation zips attached - what is the needed one?

And one more thing - some friend of mine showed me his night dump - BBS shows the screen was on for 2 hours, but all system data doesn`t confirm this. What`s this - a BBS bug or an incorect reading?:confused:

Could someone look at this: View attachment BetterBatteryStats-2014-07-24_060051383.txt

View attachment 2868168

("Экран" means "Screen", "Экран включен" - "Screen on")

Thank you.
[BetterBatteryStats] tpayne2345:
I'm having trouble with wifi searching when it's within reasonable range, is this a router problem or something else? forgive my ignorance on this subject
[BetterBatteryStats] Perseus:
Please Post it on your ROM's thread.

---------- Post added at 10:31 AM ---------- Previous post was at 10:30 AM ----------

Please post the Text Log. Not sure what you posted, but its no use.
[BetterBatteryStats] belloni:
I don't get why this only kicks in at about 95% charge and over..
[BetterBatteryStats] egore93:
Does anybody know if Tasker will push notifications to Gmail? I lost my push from Gmail and I need it for my emails. I was just going to make Tasker fetch for email every 15 min. I don't have the app but I didn't want to buy and find out it doesn't work.
[BetterBatteryStats] Darke5tShad0w:
Do you use aqua mail? That has integration for tasker. Don't ask me how though, that was just a quick look in a quick google search.
[BetterBatteryStats] Depressed T.Bear:
Hi, where can I find the download for the 1.16.0.0_RC6?

I downloaded "BetterBatteryStats_xdaedition_1.16.0.0.apk" but it doesn't seems to be the latest rc since there's no xposed support module :/
[BetterBatteryStats] mdamaged:
BetterBatteryStats_xdaedition_1.16.0.0.apk is the latest, BBS never distributed the xposed support module. That is found here, and is no longer required for BBS to function, has not been required for a long time now.
[BetterBatteryStats] egore93:
I don't have aqua mail. I will search play to check it out. I guess I could use the stock email and it will fetch it for me. I'm just not sure what task operates push for gmail in system tuner. I followed a couple guides what to uncheck and I guess one of them was the push. It got all my wakelock under control so I'm happy with that.
[BetterBatteryStats] kmarc33:
The Tasker thread might have better info but ... I use Tasker and Synker to do all of my Google syncing, gmail every 30 minutes, calendar/contacts every 3 hours, while on battery. When charging and connected to wifi I turn sync on and it does everything else. So Photos, etc, happen when I'm home and charging, etc.
[BetterBatteryStats] Depressed T.Bear:
Thanks for making this clear ;) I was just wondering 'cause it comes pre-installed with xposed on ArchiDroid 1.7.16...

Now I wanted to use it on another rom and there was no xposed. Okay then I don't need the module :D cheers
[BetterBatteryStats] egore93:
Do you have the link for Tasker and synker? That sounds like a good set up.
[BetterBatteryStats] chamonix:
Are you saying archidroid pre-packaged bbs?
[BetterBatteryStats] Darke5tShad0w:
I think he might be talking about the batterystats module for exposed?

Edit: Although I just reread his post and now im unsure :S
[BetterBatteryStats] mdamaged:
It sure looks like it. Take a look at the screenshots.

and the changelog:

ArchiDroid 2.5.1

- ArchiDroid_Init code review

- ArchiDroid_RunOnce code review

- Fixed rebooting to recovery after plugging charger to powered down phone in ArchiDroid 1.X

- Fixed ArchiDroid backend not being executed in some scenarios

- Updated ArchiKernel to 1.3

- Updated Boeffla kernel to 2.3

- Updated AGNi kernel to 2.8.3

- Removed Googy Max kernel # You can still use it if you want, I just don't keep EOLed kernels in AROMA

- Removed Devil kernel # Same as above

- Updated all ArchiDroid backend tools to latest versions # They're now also compatible with every armv7-a NEON device, previously only CortexA9+

- Updated PA GAPPS to 8 July

- Reverted back to official Google PlayStore # This means that multi-dpi patch is not included anymore in the app itself, use xposed module or patch yourself

- PlayStoreFix is now included with Xposed

- App Settings is now included with Xposed

- Updated BetterBatteryStats to 1.16 RC5

- Updated XPrivacy to 2.1.24

- Updated GravityBox to 3.2.5

- Updated sources
[BetterBatteryStats] CM17X:
Woha! Someone is in troubles!
[BetterBatteryStats] egore93:
Does anybody know how to fix this?
[BetterBatteryStats] chamonix:
nah but taking this offline, no need to make a fuss about it
[BetterBatteryStats] kmarc33:
I don't want to hijack the BBS thread but the short answer is, you can find Tasker here:

http://play.google.com/store/apps/details?id=net.dinglisch.android.taskerm

and Synker here:

http://play.google.com/store/apps/details?id=com.afterhoursdevelopers.android.synker

and the support for Tasker here:

http://tasker.dinglisch.net/

There are a lot of people over there with some excellent Tasker knowledge, I'm definitely a rookie, but feel free to contact me by PM and I'll give you what I've got, unless others are interested. Like I said, I don't want Sven's thread to take too far of a left turn. ;)
[BetterBatteryStats] universed:
I use Synker to manually fetch emails from multiple Gmail accounts....
[BetterBatteryStats] beautifulsun:
Exploring BBS I noticed that kernel process touchwake_wake is a real battery hog. thoughts?
[BetterBatteryStats] CM17X:
Do you have touch or tap or double tap to wake?
[BetterBatteryStats] fajarlazuarding:
Yes. It is supposed to be like that.

Sent from my Nexus 5
[BetterBatteryStats] gaich:
Maybe I missed something with these three zips?

And no ideas about the second question?
[BetterBatteryStats] a1exus:
... it turns out to be pwnmymoto thanks to pwnmymoto i was able to remove write protection to /system and now was able to install bbs)

thanks [MENTION=1330150]chamonix[/MENTION] and [MENTION=2376614]jcase[/MENTION] for pwnmymoto too! i wish there was exploit for 4.4.4 or even L)
[BetterBatteryStats] bart.found:
Hi, the app doesn't report partial wakelocks on android L developer preview.. Is this a new android policy?
[BetterBatteryStats] chamonix:
The first dump says nothing as you took it just after removing the phone from the charger.

the second one says 5:42 awake and 3:27 screen on, meaning that your potential is a little bit more than two minutes out of 3 hours. Not much....

Now there is always ways to optimize but I donÄt think it's the right place to look. The question is rather how was the drain during these 3 hours. I would expect it was sleeping as there are no traces of wakelocks and CPUSpy can confirm that. It the phone was not in deep sleep for 3 hours then you have another problem but not coming from apps.
[BetterBatteryStats] suku_patel_22:
Well seems my stock HTC sense 3.0 lock screen is causing wakelocks, any workarounds?

Swyped from my Desire S
[BetterBatteryStats] Hrithan2020:
GPS and use wireless networks is disabled. My wifi was turned off after I left home, and the battery was still at a healthy 92% when I had. (after which with minimal use, it went down to 50% over 9 hours), abd friendcaster (fb like app), I use is set for syncing only once every two days.

Can you tell me why you feel wifi could be an issue? Regarding tasker, no location based features are enabled. The ones I have enabled are for enabling auto rotate,GPS on, password lock depending on the application. but considering that the tasker's wakelock seconds is very low (and even when it was disabled fully, I had battery drain ), that should not be an issue, right?

EDIT:

Can you tell nee what the dump under services mean? For eg,:

com.jb.gosms (com.jb.gosms.GOSmsProService)

Active since: 11 h 4 m 22 s

Last activity: 3 h 1 m 13 s

Crash count:0

PS: I'll freeze getjar,go sms,colorize,friendcaster,justreader,email,talk,maps and tasker and try today.
[BetterBatteryStats] chamonix:
Two things come to my mind:

I have noticed that lockscreens zupporting widgets on them come up with wakelocks (eg widgetlocker). Haven't had time to analyse that.

Somewhere in this thread we already had a discussion about apps wanting to notify while the lockscreen is on. I don't remember if it was for recurring, sticky or simple notifications but there were cautions in the sky on how to handle the lockscreen. I'll try to find it again.

Of course that also may be a bug...
[BetterBatteryStats] chamonix:
Weird as GPS is showing under wakelocks. Maybe you have to revisit the Tasker profile handling that.

Talking about your dump: for Tasker as well as for WIFI the problem is not the time but the overhead caused by the frequency of the wakeups. Making a parallel with a car frequent wakeups are like driving in the city doing stop and go as opposed to driving at constant speed on the highway. Each wakeup ramps up the CPU from deep sleep to some screen off scaling, waits a while and goes back to sleep. That takes milliseconds but still it is not a constant state.

The dump of the services only give info about what services are running. Those are context information but shouldn't be used as entrypoint for a detailed analysis. The times given are the time of start and the time of last status change. The crahcount should always be 0, another figure would mean a buggy service.
[BetterBatteryStats] kloavoda:
and now? awak at 86% better as the last

any idea?
[BetterBatteryStats] Vangelis13:
Sorry if this been mentioned guys, am on holidays and away from a pc so cannot search: why the heck is the dialer not shutting down..?

Something in android 4.0 ain't right.. :-\
[BetterBatteryStats] mcaveli:
Thanks for answering my question. I have used this product with great success and never had to adjust. Thanks for the help.
[BetterBatteryStats] figgarro:
I lost about 20% of battery overnight, just recently went from froyo rom to a gingerbread one. On froyo i would loose less then 10%. I attached my dump. Thanks in advance for the help!

EpIc 4G
[BetterBatteryStats] chamonix:
The awake is still huge and the main cause is weird : svnet and mmc almost half and half. It looks like you phone has spent two hours downloading something and writing it to the sd or the other way around.

I can't see any cause but don't want to push it on the kernel so I need to ask you more questions:

Are you running any cloud backup service that may be backing up your data or any corporate management software? I noticed two service I don't know: cscupdater and remotecontrolpanel.

Could you please try:

- stopping those services and see if the wakes stop

- turn you phone to airplane mode and see if the wake stops

- remove the sdcard and see it the wakelock stops

Sorry for the not so systematic approach but at that level it is pretty hard to understand what is going on without access to the device
[BetterBatteryStats] chamonix:
RILJ is java ril interface not dialer. The Screenshot shows 4 minutes of wakelock. However long has your phone been running, have you used it to call? Please provide a dump for full context.
[BetterBatteryStats] chamonix:
Infortunately you phone did not go to full charge since installing bbs 1.5 so the kernel wakelocks are missing. Could you please provide another dump "since unplugged"?
[BetterBatteryStats] figgarro:
Is there a certain amount of time that I should wait after reaching a full charge and unplugging to provide the dump file?
[BetterBatteryStats] kloavoda:
My System is new, no connection to googleaccount,...

I bought the device 6 days ago. At the beginning everything perfekt. After some test with roms/kernels, the problem beginns.

- At the moment my System is new, no connection to googleaccount,...

- remove some apps with titanium

- mmc only occurs, if i pull out my sd card...

- At the airplane mode the same problem

- If i pull out my SIM card, no problems. Another SIM card the same

May there a hardware problem.

cscupdater: csc.apk: Country Specific Codes, controls APN settings, etc.
[BetterBatteryStats] n19h7mare:
Could someone plz help me and tell me what's wrong with my device? it's eating too much battery can't figure out why.

Device: HTC Sensation XE Z715e

Rom: Android Revolution HD 3.6.11
[BetterBatteryStats] Hrithan2020:
Thanks for the v.helpful post. Have started looking for the wake count also now!!

I had frozen getjar,go sms,colorize, google+,friendcaster,justreader,email,talk,maps,getjar and tasker.

I finally, got decent battery backup. Left home at 92%, [Wifi Off after that]. Then, it drained comparatively lesser. In around 7hrs ,it went from 92 to 72.

But, still GTALK_ASYNC_CONN accounted for the most partial wakelock and GTALK_CONN had tons of wake counts[ despite google talk, google+ and maps being frozen, no market notification,no backup ].

Also, checkin services also had lots of wake count, despite there being no maps, and gps being off all the time. [could it have bee

Plus in alarms , com.android.gsf was again the main culprit, even after google talk was frozen!!

I have attached the BBS dump.

EDIT: updated the post, with the full info of the freeze.
[BetterBatteryStats] chamonix:
A litle longer than an hour and leaving the phone unused after unplug would be the best ting.

In that dump I see Pandora as #1. Did you listen to music during the run?

Looking at the wake counts facebook would be #2

Do you have an idea what may have caused high sdcard accesses during this run? accessing the SD has kept the phone longer awake than everything else in sum. Again, if you listened to music and Pnadora caches on the SD that is irrelevant
[BetterBatteryStats] chamonix:
Do you say mmc delay wakelocks only occur when SD is not in the phone? that is weird because there is not supposed to be any of those if the SD is not present (I have seen a few patches about that). In airplane mode do you seen mmc wakelocks but no svnet (assuming you are not on wlan either). If mmc wakelocks occur but no svnet I would recommend that you flash another ROM / kernel with good support and make sure that you have wiped all caches and data prior to flashing. Also if you use backup restore make sure you do only restore apps and not system.
[BetterBatteryStats] Vangelis13:
Thank you sir! Attached the dump. At the time it was pulled I had just done a 2 or so minute call. The Rilj wakelock keeps increasing through out the day for some reason..

My Nexus is loosing far too much battery at idle, something's going on..
[BetterBatteryStats] chamonix:
No bad! we are looking at 10 minutes awake with screen / phone off out of 9 hours, congrats!

I would recommend that you reward yourself and enjoy your phone now ;)

If you want to go on (but do not obcess!) the gtalk framework youd be the next one. You wrote you frozen google talk. I wound be very carefull with that.....

Why to you not unfreeze google talk and clead it's data and cache so compare?
[BetterBatteryStats] chamonix:
yes it does, at least so says my nexus 7 with 1.16. Please make sure that you have installed the system app and that it has proper perms. If all is fine there check the RAW stats for partial wakelocks. If that does not work please make sure to provide a dumpfile together with a logcat with BBS debug settings enabled.
[BetterBatteryStats] a1exus:
[MENTION=1330150]chamonix[/MENTION]

I'm not sure why but after installing BBS 1.6, it now tells me that I'm at 100% awake(
[BetterBatteryStats] Perseus:
Post a BBS Text Log or it didn't happen.
[BetterBatteryStats] sewe:
https://github.com/asksven/BetterBatteryStats/issues/483

SM-N9005 via Tapatalk 2
[BetterBatteryStats] beautifulsun:
Only Touchboost (AGNi Kernel).
[BetterBatteryStats] carlese:
Hi, I installed xposed and get this:

How can I solve it?
[BetterBatteryStats] mdamaged:
What does xposed have to do with BBS? Just install BBS and install as system app. No need for xposed.

If you mean you'd prefer to use the Enable BATTERY_STATS xposed module then just go into option of BBS and check the box that says "Do not detect system app".

You do not need it installed as system app AND the xposed module at the same time either, in fact it may cause issue.
[BetterBatteryStats] carlese:
Thanks, I just installed it again and it worked! Don't know why it gave me that error..
[BetterBatteryStats] bart.found:
how can I check the raw stats?
[BetterBatteryStats] Darke5tShad0w:
Menu, more, raw stats
[BetterBatteryStats] hollywood084:
Hi, I was wondering if someone could take a look at my BBS dump. I've been having some major battery drain issues on my Nexus 7. Thanks for your time.

The dump includes defaults+alarms.
[BetterBatteryStats] Darke5tShad0w:
New to diagnostic for this app but Ive had my time taking from xda so now ill try to give.

I could be 100% wrong on this so please correct me and wait for some other experts to also examine.

To me it seems your phone is being held awake by wifi and suspend_backoff. I found info on suspend_backoff http://baheyeldin.com/technology/so...rain-because-of-suspendbackoff-wakelocks.html also here

http://xdaforums.com/nexus-4/help/suspendbackoff-wakelock-killing-battery-t2460576

http://www.reddit.com/r/nexus4/comments/1fhib2/suspend_backoff_wakelock/

Have you turned off scanning always avaliable in wifi settings?

My unproffesional and most likely wrong "help" lol.
[BetterBatteryStats] Karpfenhai:
I would also add the possibility chrome might be the reason for suspend_backoff if tilt scrolling is activated from it's advanced settings. [emoji41]
[BetterBatteryStats] hollywood084:
I can't find the tilt setting in chrome. Scan always available is off, 2.4ghz is selected frequency. There was no difference between 2.4 and auto select. I haven't had any luck from the suspend_back off links. I appreciate your help either way.
[BetterBatteryStats] mzaur:
nevermind, figured it out.. sorry! please delete
[BetterBatteryStats] roey1:
hey ,

My device is Galaxy S4 I9505.

I had a lot of time rom omega v10 android 4.2.2.

since I upgrade to v33 and then to v34 (android 4.4.2) I got bad result of battery.

I add here some screenshot to display it :

http://www.siz.co.il/my.php?i=zmi5jwznezxc.png

http://www.siz.co.il/my.php?i=nvwz0mvjjqtl.png

http://www.siz.co.il/my.php?i=odkonhmt3alz.png

http://www.siz.co.il/my.php?i=nmzdnhaditzj.png

http://www.siz.co.il/my.php?i=jzmzbyzkglmn.png

The android system or the kernel or something take off the life of the battery.

Thanks
[BetterBatteryStats] Tanker Bob:
Constant 100% wake warning

Since the latest BBS 1.16.0.0 update, I'm getting the warning when I turn the screen on about the system being 100% awake since the last time the screen was turned off. When I tap on the warning, the BBS data screen shows that the device was in deep sleep for about 98% or more of the time, not awake. This warning in the past has been very helpful, but has become very annoying in the latest version since it appears never to be right. I'm running CM 11.0 M8 on a Samsung GS3. Any ideas?
[BetterBatteryStats] bart.found:
Thanks! It works!
[BetterBatteryStats] mzaur:
Does anyone ever sometimes get "Batteryinfo Service could not be contacted" toast notification ?
[BetterBatteryStats] TheeWolf:
I'm having a big battery drain over night, more than 20% sometimes.

I tried looking at the dump files but couldn't make anything of it, can you help with with that?

Thank you!
[BetterBatteryStats] Darke5tShad0w:
At a quick look something called msm_hsic_host seems to be keeping it awake. I will try to have a further look into it when i get onto the computer.

Also update to the latest version 1.16 you are still on 1.15.

Edit: Seems it could be related to the 3g modem waking up and not going back to sleep.

Changing the kernel might help?
[BetterBatteryStats] chamonix:
The watchdog is known to have a bug in 1.16. As I am back from my vacations you can expect a beta of a bugfix release in the next days
[BetterBatteryStats] Tanker Bob:
Great to hear. Thank you for your quick reply!
[BetterBatteryStats] kmarc33:
Could someone take a look at this dump file? It's almost 6 hours idle and using 3.1%. From the looks of things my best guess is poor signal. There are a few minor things running but nothing that adds up to that much battery usage.

Thanks
[BetterBatteryStats] TheeWolf:
Thanks. As far as I know msm_hsic_host is something that can't be solved so there is nothing to do about it.

About the kernel, I'm pretty sure that both dump files are from dates in which I have different kernels so that's not the problem. In the 20.7.2014 file I may have a battery drain of "only" 10% over night but it's still annoying.
[BetterBatteryStats] Ok_Kaleidoscope5109:
Nexus 4 issue. There really isn't much you can do about it. It's more of poor modem design.
[BetterBatteryStats] Lord_Flaya:
Anyone know how to improve this?

I am using greenify and it is still like this.
[BetterBatteryStats] The Zel:
Disinstall greenify and that battery saver app

N⁴
[BetterBatteryStats] hollywood084:
So greenify is bad now?
[BetterBatteryStats] The Zel:
Greenify was always bad, it force closes apps, and force closing apps on android is a bad thing since the system will always try to open it back, so consuming more battery. People who say that are getting better battery life are just affected by placebo

N⁴