yashsingh1/xdaforums huggingface dataset:
[BetterBatteryStats] aitvariux:
Anyone could help me?

---------- Post added at 04:21 PM ---------- Previous post was at 04:19 PM ----------

Guys,

i am back with two logcats ! I hope you can help me with this. I have no ideas left. Stuck on 300 mhz and only reboot can fix for a while. cant see anything from bbs, no wakelocks. reflashed kernels,roms,modems, everything flashable. No systemfiles errors, zygote is fine. Maybe one who can read a logcats will give me the suggestion. Thanks!

https://drive.google.com/file/d/0B9deUgT65pOvSXcxUnBhS0tmVGs/view?usp=sharing

https://drive.google.com/file/d/0B9deUgT65pOvN3BhblNjNWJOUFk/view?usp=sharing
[BetterBatteryStats] odub303:
To further illustrate the issue I'm facing, attached is a quick log taken while not at home, and connected to my Verizon mifi via Wifi. Same location settings as last time. It looks like there is something about being connected to my home Wifi that is keeping the cpu awake excessively. My Nexus 7, also on cm12, does not have any such issues on my home Wifi, so it stands to reason that the cause is not related to my home Wifi settings (although I have explored this and tinkered with things like dtim and beacon interval, without success).

View attachment BetterBatteryStats-2015-04-13_095530928.txt
[BetterBatteryStats] adlx.xda:
Does anyone see why my phone was kept awake 1h25 during the night?

Screen was NEVER on during the whole sampling interval. Dump attached. I cannot see any wakelocks keeping my phone awake for so long. Hopefully some of you with experience in that can help me. Thanks in advance ��

BTW, just noticed this line in the log:

I didn't know about this module, does it allow to see yet more stats? In Xposed repository, it says "for Kitkat or later" does it work on Lollipop?

Thanks in advance
[BetterBatteryStats] -m3tac0rt3x-:
Missed the dump attachment :cyclops:
[BetterBatteryStats] yerazero:
I'm trying to show Kernel Wakelocks

I installed BBS latest version as system app on my rooted phone (Cubot X9)

The message I get is "The file could not be read"

is it my fault ?

thanks
[BetterBatteryStats] Tigerman82:
I installed the latest to my Samsung Galaxy S4 Mini running the latest CM12 nightly. I could not install it as a system app as I get an error message "failed since boot" and a suggestion to use recovery.zip. However, I see in changelog "New system app (no need to update)". Does this mean that we don't have to install it afterwards as a system app even though we get the message (which can be disabled in the menus)?
[BetterBatteryStats] shaggyskunk:
To install the apk as a System app - Copy the downloaded BBS apk to System Priv-App - Fix Permissions and Reboot ?
[BetterBatteryStats] Krowbarr:
Anyone know why I'm getting the @ symbol followed by number on widget? Thanks
[BetterBatteryStats] adlx.xda:
Sorry about that. I've just attached the dump to my previous post. Here it is as well for ease of all.

Thanks in advance :D
[BetterBatteryStats] hypnz:
Hello guys I'm getting fc at 2.1. Here is the log https://mega.co.nz/#!ocZXHSqR!yqqPxpk9onWubM9eb92xfpyaweAZtlh5BVYb1OGoZv4
[BetterBatteryStats] Karpfenhai:
Does the number vanish after reboot?
[BetterBatteryStats] Krowbarr:
Nope, it's still there
[BetterBatteryStats] Nimueh:
I already reported that a few days ago and it's been added to github, so it'll probably get fixed soon-ish ;)

https://github.com/asksven/BetterBatteryStats/issues/686
[BetterBatteryStats] chamonix:
Sorry but the link tries to trick me into installing mega what I won't do. Can you please re-post?
[BetterBatteryStats] chamonix:
No the changelog just means that you don't have to replace any existing system app as it has no features anyway. You still need to have it installed once though. If the in-app installer fails please one the recovery zip from post #3 and report back in case of any problem
[BetterBatteryStats] chamonix:
I would prefer that users use the supported means of installing the system app and report any problem with those.
[BetterBatteryStats] AA1973:
Just cancel the "Yes, I want to install Mega" and then hit the "request desktop version" in Chrome Browser - if you're on mobile (and use Chrome)
[BetterBatteryStats] buffer overflow:
Hello !Is not the first time when install this application, but since when i have 5.0 and 5.1 every time i get the same error afer i try install as system app. Failed, try recovery zip. Obvious, i'm missing something...Some advice ?Thanks ! :)
[BetterBatteryStats] shaggyskunk:
No worries - It wasn't my intention to suggest a method which conflicts with your wishes ?
[BetterBatteryStats] quanlim:
Graph not working

I'm on nexus 5, cataclysm rom 5.1, the graph page is choppy, and it's not displaying the actual stats. Any way to fix this?
[BetterBatteryStats] Amplifiction:
BBS improved battery calibration?

I'm using a Sony Xperia V running CM11. Long story short: while I installed BBS for its intended purpose (tracking down sources of battery drains) I noticed that after installing it, the calibration of my battery improved drastically. Is it at all possible BBS corrected my battery calibration?

Some details:

I installed BBS as system app earlier today (Android 4.4.4) and noticed the improvement a few hours later. I didn't make any other changes to my phone.

Just to be clear, by incorrect calibration, I refer to the indicated charge deferring from the actual charge. Before today, my phone would power off due to a depleted battery at an indicated charge of about 20%.
[BetterBatteryStats] hypnz:
[MENTION=1330150]chamonix[/MENTION] man did u get the log or need to re upload to another server?
[BetterBatteryStats] chamonix:
Use 2.1b1
[BetterBatteryStats] chamonix:
sounds like magic and that effect is definitely not an intended feature. I am happy that it makes you happy tho ;)
[BetterBatteryStats] chamonix:
I would appreciate that as I have no access to a desktop right now and fiddling with zip files is tedious
[BetterBatteryStats] chamonix:
The recovery zip is in post #3
[BetterBatteryStats] Tzfardaya:
Linux devices (including android) adjust the calibration automatically... Odds are likely that the full charge/full discharge cycles used when checking for wakelocks and the like helped recalibrate your device... many short charges, from random start points to random finish points messes up the calibration... So if you're constantly "topping up" the battery instead of fully charging it, expect the calibration to wander...
[BetterBatteryStats] hypnz:
Which one u need to upload for you mate? Because syslog create many files.
[BetterBatteryStats] buffer overflow:
[MENTION=1330150]chamonix[/MENTION] Thank you for your replay !In the meantime i found and installed the zip file from recovery and when i open, i have this messege:Failed since boot I seen a posting to a colleague which was faced with the same problem.I will try and install using the suggested way of [MENTION=4351374]shaggyskunk[/MENTION]
[BetterBatteryStats] chamonix:
just logcat will do
[BetterBatteryStats] chamonix:
can you please pull a logcat and also check what the system app install state as reported by the advanced settings say
[BetterBatteryStats] Amplifiction:
I suspected it was unintended. But as I have been unable to find a decent solution, I am indeed happy :)

BBS must have indeed indirectly solved the calibration problem. Thanks for the insight!

Although I understand this is beyond the app's goals, I wish I had more information to offer others whose battery is incorrectly calibrated. I do have the attached screenshot, although I suppose even that is not very informative. If I remember correctly, I installed BBS shortly after the first depletion. (Crash in the graph) Also note that the graph correctly runs down to 0 during the second depletion. (Which I will be avoiding from now on.)

Thanks again and best of luck with the app! I'm off to kill some wake locks.
[BetterBatteryStats] Tzfardaya:
Nah, it's safe to run your battery to 0%, most (all the phones I've checked at least) phone batteries are still 3.5-3.6V when the phone reads 0, still in the safe zone for a lithium based battery, you don't want to drop below 3.3V, that's where battery damage can occur...

Battery calibration in this case is simply the software (android/linux) losing track of the 100% and 0% charge levels... Simply full cycling the charge (100 - > 0 - > 100) a couple times should recalibrate it... Make sure you're actually at 100% before draining, I use a battery widget that shows mah/v to verify... When they both stop climbing, phone is charged... I've had a couple phones turn the charging indicator light off 20 minutes before the mah finished climbing... So the battery was still charging.. (well, saturating the charge)
[BetterBatteryStats] addict_insane:
Hi guys, could somebody please enlighten me what is android.net.ConnectivityService.action.PKT_CNT_SAMPLE_INTERVAL_ELAPSED and telephony.data-stall wakelocks? I have these two wakelocks at a high rate. I use CM12.1 ROM and I don't have GAPPS on my S3. I use F-droid and Aptoide. I don't use any cloud storage for contacts and calendar. Apps for battery saving and monitor, what I have is only Greenify and BBS. So I'm wondering what causes these wakelocks. I hope somebody could answer. Thanks in advance.
[BetterBatteryStats] code010101:
new widget

it would be nice to show the values in percentage also in the new widget :)

S.
[BetterBatteryStats] hypnz:
http://www.mediafire.com/download/9z0x0u8m801fozp/logcat.log here u go
[BetterBatteryStats] Jkay7:
lowbat_wake_lock

Hello everybody!

First things first:

-----------------------------------------------------

Device: GT-I8190 (Samsung S3 Mini)

Current..

ROM: Unofficial Omni 5.1 from the kind golden-guy, version 20150405

Kernel: F-Kernel 1.3 with overclocking

-----------------------------------------------------

I encountered a wakelock, which consisted through all ROMS as well as all kernels, all configurations and all Gaps I ever had.

My problem is about “lowbat_wake_lock“ (listed in kernel wakelock).

As the name suggests, one may think about a wakelock that only appears when the battery is low.

Sadly that isn't the case, even between 100-90% I have 0,01% Deep Sleep.

I bought a new battery to have a look if that would fix the issue (old one was 1 1/2 yo). It didn't.

I installed several Roms and every kernel there is for my device, which didn't fix it either.

I posted in various developer forums, no one knew an answer. You guys are my last hope, is there any possible way to get rid of this?

See the attachment for

A)One example log, 3 hours in airplane mode, didn't touch the device.

B) Screenshots

EVERY little bit of help is highly appreciated, I am ready to try anything, if you tell me what!

Note: The screenshots weren't taken directly after the logcat :/ I can make a ~7 hour logcat tomorrow if needed with screenshots and everything..

Note2: It's obviously not BBS related, WD and Performance Control confirm this thing (no Deep Sleep)
[BetterBatteryStats] Karpfenhai:
Hey, try the following:

1 confirm your model is a 8190L

2 don't charge via Usb, use a solid wall charger.

3 reboot after charging

4 charge while phone is off, turn it on after unplugging and 100 %

Your issue is most likely related to your current kernel, novafusions Roms do not suffer this (afaik).

Good luck, regards.
[BetterBatteryStats] vldesco:
[MENTION=1330150]chamonix[/MENTION], I have sent a pull erquest for ES translation, but I guess I did something wrong, there is a message about conflicts. let me know If I need update something
[BetterBatteryStats] addict_insane:
Anybody?
[BetterBatteryStats] mdamaged:
BBS dump or it isn't happening.
[BetterBatteryStats] Jkay7:
1) It's I8190, no L, no N.

2) I always charge via wall charger.

3) Tried this a few times already, will retry now.

4) ok.

On novafusion I tried: 4.4.4, 5.0.2, 5.1, all with original and custom kernel, I kept having the problem.
[BetterBatteryStats] aitvariux:
Guys,

anyone with logcat reading skills?
[BetterBatteryStats] Jkay7:
What do you use for reading your frequency? Apps like performance control may alter it, if you enabled that, since in logcat it sets it to 2.3 GHz, as it should..
[BetterBatteryStats] Karpfenhai:
That's bad then, I'm using carbon 4.4.4 on my son's mini with no issues, could be hardware then.

But, my Google-fu points to kernel..

Sorry for confusion, regards.
[BetterBatteryStats] Amplifiction:
What is the name of that widget? I'd like to try it.
[BetterBatteryStats] saj2001ind:
great app and update thanks guys
[BetterBatteryStats] aitvariux:
Mate,

i am using bbs for that. But bbs doesnt show any wakelocks, so only logcat is my only chance to find who is preventing from deep sleep. BBS reads frequency too, so it shows 300mhz with no deep sleep when it happens.
[BetterBatteryStats] chamonix:
What I see is this:

04-14 16:05:25.463 E/AndroidRuntime( 5827): Process: com.asksven.betterbatterystats_xdaedition, PID: 5827
[B]04-14 16:05:25.463 E/AndroidRuntime( 5827): java.lang.Error: Unresolved compilation problems[/B]:
04-14 16:05:25.463 E/AndroidRuntime( 5827): The import com.asksven.android.common.utils cannot be resolved
04-14 16:05:25.463 E/AndroidRuntime( 5827): The import com.asksven.android.common.utils cannot be resolved
04-14 16:05:25.463 E/AndroidRuntime( 5827): Status cannot be resolved to a type
04-14 16:05:25.463 E/AndroidRuntime( 5827): SystemAppInstaller cannot be resolved
04-14 16:05:25.463 E/AndroidRuntime( 5827):
04-14 16:05:25.463 E/AndroidRuntime( 5827): at com.asksven.betterbatterystats.MainActivity.<init>(MainActivity.java:25)
04-14 16:05:25.463 E/AndroidRuntime( 5827): at java.lang.Class.newInstanceImpl(Native Method)
04-14 16:05:25.463 E/AndroidRuntime( 5827): at java.lang.Class.newInstance(Class.java:1208)
04-14 16:05:25.463 E/AndroidRuntime( 5827): at android.app.Instrumentation.newActivity(Instrumentation.java:1061)
04-14 16:05:25.463 E/AndroidRuntime( 5827): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2115)
04-14 16:05:25.463 E/AndroidRuntime( 5827): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2259)
04-14 16:05:25.463 E/AndroidRuntime( 5827): at android.app.ActivityThread.access$800(ActivityThread.java:138)
04-14 16:05:25.463 E/AndroidRuntime( 5827): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1199)
04-14 16:05:25.463 E/AndroidRuntime( 5827): at android.os.Handler.dispatchMessage(Handler.java:102)
04-14 16:05:25.463 E/AndroidRuntime( 5827): at android.os.Looper.loop(Looper.java:136)
04-14 16:05:25.463 E/AndroidRuntime( 5827): at android.app.ActivityThread.main(ActivityThread.java:5061)
04-14 16:05:25.463 E/AndroidRuntime( 5827): at java.lang.reflect.Method.invokeNative(Native Method)
04-14 16:05:25.463 E/AndroidRuntime( 5827): at java.lang.reflect.Method.invoke(Method.java:515)
04-14 16:05:25.463 E/AndroidRuntime( 5827): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:812)
04-14 16:05:25.463 E/AndroidRuntime( 5827): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:628)
04-14 16:05:25.463 E/AndroidRuntime( 5827): at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132)
04-14 16:05:25.463 E/AndroidRuntime( 5827): at dalvik.system.NativeStart.main(Native Method)

The APK seems to be missing some bindings/content. Could you please re-download and retry as it seems that you are the only one with the problem.
[BetterBatteryStats] chamonix:
Would you mind posting a logcat with debug (advanced prefs) on so that we can look into why you do not get any wakelocks. Btw are you missing kernel or partial wakelocks?
[BetterBatteryStats] chamonix:
No worries..... I merged the ES string.xml as good as I could (merging XML is pain) so it would be great if you could check the result and also the suggested fixes from this pull request:

https://github.com/asksven/BetterBatteryStats/pull/672 <--- if those are fine for you I will have to merge them in by hand as well
[BetterBatteryStats] hypnz:
Ok mate re downloading and test.
[BetterBatteryStats] aitvariux:
Thanks mate for your help.

i am not sure what do you mean missing kernel or partial wakelocks. there is a wakelocks but they doesnt look like preventing my device from deep sleep. Just for make sure i am attaching a bbs file and logcat. they are from different times, but main idea is the same, device keeps awake for a long time.

https://drive.google.com/open?id=0B9deUgT65pOvT2QtU2FydUVjQms&authuser=0

https://drive.google.com/open?id=0B9deUgT65pOvMWFHMlNlellBdlU&authuser=0

Let me know if i can do something more . Thank you
[BetterBatteryStats] chamonix:
B2 is up
[BetterBatteryStats] Nimueh:
That's great - thanks for fixing the 2 issues I reported :) :victory:
[BetterBatteryStats] hypnz:
B2 works very well. Thanks [MENTION=1330150]chamonix[/MENTION]
[BetterBatteryStats] onexuan:
Here is a xposed module called EnableBatteryStatsX that can help BetteryBatteryStats to retrieve battery stats on on Lollipop and KitKat

http://xdaforums.com/xposed/modules/xposed-module-enablebatterystatsx-t3064688/
[BetterBatteryStats] mdamaged:
It seems rather rude to advertise your module in another devs thread. Unless you asked the OP first of course, then that's different.
[BetterBatteryStats] seijisandrei:
Hi, I did everything that is listed on these screenshots, now I cannot receive gmail notifications. What should I check?

Thanks!
[BetterBatteryStats] Karpfenhai:
I'm sorry, but I use k9 for Gmail.. I would assume it's something with gcm, try to enable those receivers / services.

Regards
[BetterBatteryStats] bombadier:
Which app do you use to make those changes?

Thanks

tapatyping fae the bacon
[BetterBatteryStats] killoid:
[MENTION=1330150]chamonix[/MENTION] latest build force closes on my device when i go to all the sections of three-dot menu & then come back again in the main screen. log attached. my device is samsung galaxy y duos gt-s6102, running factory stock gingerbread 2.3.6 rom, rooted & deodexed.
[BetterBatteryStats] EuEra:
Does this work fomr lollipop, on mine there is no asleep, only awake, screen on, screen dark, screen medium. Awake option reads 100%.
[BetterBatteryStats] seijisandrei:
I used System Tuner, available free on the playstore :)

---------- Post added at 12:27 AM ---------- Previous post was at 12:20 AM ----------

I don't know what happened but I began receiving notifications. I did not do anything.

But there are times that google play services, system and task manager stops responding and closes. Is it because of the unticked checkboxes?

Is there a way to easily revert what I did from the play services and framework?

---------- Post added at 12:28 AM ---------- Previous post was at 12:27 AM ----------

I don't know what happened but I began receiving notifications. I did not do anything.

But there are times that google play services, system and task manager stops responding and closes. Is it because of the unticked checkboxes?

Is there a way to easily revert what I did from the play services and framework?

Im using official i9505 firmware and hulk kernel - but i doubt that this matters.
[BetterBatteryStats] vldesco:
I will check it tonight and send a new pull request with the merge.
[BetterBatteryStats] bombadier:
Thanks but found

Disable Service that should get job done
[BetterBatteryStats] EuEra:
Guys my s6 edge says awake 100% with no deep sleep rating even there?
[BetterBatteryStats] -m3tac0rt3x-:
From my magic wand and crystal ball I can see that it's because you just can't get your hands off the display so it never sleeps!!! :eek: :silly:

We need logs... See how on the first posts of this thread! :good:
[BetterBatteryStats] jhuff83:
Anyone know what this is vfsspi_wake_lock This wakelock is showing under kernel wakelock at 49%. I have a Sprint Galaxy S5 with the latest kernel OA6. Did not find anything doing a Google search.
[BetterBatteryStats] rfilipoiu:
Does KWL time include boot time or what?

Tapatalk
[BetterBatteryStats] aitvariux:
Guys, please help me to fix 6 months of undetected wake locks!
[BetterBatteryStats] EuEra:
How do i do that then? I dont think i have any wakelocks draining my battery i just think the programme isnt working correctly as you will see below.

Massive huge images, click attatched thumbnails
[BetterBatteryStats] mrfrantastic:
After following your advice I get permanent GCM_LIB wakelocks. Is this a known issue? Don't know what to do...
[BetterBatteryStats] -m3tac0rt3x-:
It's all there... You just have to READ! :cyclops:

Taken from post #1:

The dump file is accessed via "Share button" on top of BBS.

Usually the best stats come when you leave the phone for the night (5-8h idle) - plug / unplug the charger for a custom ref point - and in the morning post the complete dump file.
[BetterBatteryStats] marknoll:
Yes. That's the "beauty"of gapps. Sigh
[BetterBatteryStats] EuEra:
Its not all there its report awake 100% and there is no deep sleep circle!
[BetterBatteryStats] -m3tac0rt3x-:
I'm referring to

How to post a log / dump

. Not that the screens have everything!

Do has it's there and post a dump log and you'll get help. :good:
[BetterBatteryStats] EuEra:
Sorry i misunderstood thankyou for trying to help.

http://xdaforums.com/attachment.php?attachmentid=3276033&stc=1&d=1429703115
[BetterBatteryStats] HiDEFF:
It's been a while since I've had to post a log so if I'm missing something, please let me know.

I feel that my N6 is struggling a bit with battery. The following log is a small sample size--I only ran it for about an hour--but I'm hoping it's enough. If not, I'll try again tonight.

Thank you in advance.
[BetterBatteryStats] Karpfenhai:
Hmm,I guess you forgot a corresponding receiver then, hard to tell, keep trying.

Regards
[BetterBatteryStats] Perseus:
Can you please turn off Location Service and Inbox Sync ? Reboot and then leave Idle for 1 to 3 hours then post the log.
[BetterBatteryStats] Perseus:
That log is in use Log. With 35 Minute Screen Time, Difficult to pin down issues. Can you provide Idle log, where you left the phone alone for 3 hours after a reboot (Or Pluggin in and out to create a Reference)

lightflow seems to be keeping the phone up. There seem some OS Wakeups too. I need a better log. Preferably overnight.
[BetterBatteryStats] HiDEFF:
Thanks for the reply! I thought I had turned off location services (it's through google settings, no?) last night but I'll double check. And I'll leave the phone over night so we can get a better report. thank you again!:)
[BetterBatteryStats] Perseus:
Settings > Location Not Google Settings.
[BetterBatteryStats] Bodo_1:
Better Battery Stats 2.1.0.0 b2 crasht with BlissPop 5.1.1
[BetterBatteryStats] P1f:
Same for me here, also on a 5.1.1 build based on CM 12.1 with AK kernel.

And when i tried to install version 2.0.0 stable it says "app failed to install"
[BetterBatteryStats] jussaren:
Same here on latest chroma build
[BetterBatteryStats] EuEra:
Sorry about that i did one overnight here it is. 3% battery drain an hour, lightflow certainly draining some of the battery last night as it shows 100 wakeups in the ararms section but it is 100% not what makes the other section report awake 100%. I had lightflow uninstalled for 2 hours prior to sleeping and still all i got was 100% awake.

http://xdaforums.com/attachment.php?attachmentid=3277409&stc=1&d=1429776110
[BetterBatteryStats] matrixzone:
Latest version not working on Android 5.1.1

Installation was smooth but after installing the app as System, the application crashes every time
[BetterBatteryStats] abalam:
Oh yes indeed. read two posts above you. Here running fine.
[BetterBatteryStats] ferrocene:
Same problem, after installing as system app it crashes on launch.
[BetterBatteryStats] EuEra:
Update, using cpu spy i can see that it spends most of its time at 400mhz, i really think this is an issue with the OS itself but ive factory reset and refleshed the stock rom. Im on the GS6E.
[BetterBatteryStats] EuEra:
update 2 looks like rooting causes an issue with recovery (twrp recovery doesnt fix it) people with the tmobile version are flashing stock recovery which is fixing the issue but only t mobile has a stock recovery file on the internet.