yashsingh1/xdaforums huggingface dataset:
[BetterBatteryStats] PeQuEsan:
Hi [MENTION=1330150]chamonix[/MENTION],

Ive been using BBS for many years, and for some time now I integrate it into Dashclock Widget so I can have the %/h in my home screen.. But besides that stat, BBS shows the "Awake" time... Could you add "Screen on" time and make it configurable in Dashclock Widget options for BBS?

I would really love it. :o
[BetterBatteryStats] Davisk8:
manually moving the apk to priv-app solve the issue, after that running fine here ::)
[BetterBatteryStats] shaggyskunk:
I'm thinking that chamonix would like a log of the failure...... But yeah - moving to Priv-App and fixing permissions works - but The Dev would prefer that we don't use that method...
[BetterBatteryStats] Perseus:
The only other Clue for me is

PowerManagerService.WakeLocks (): 14 m 44 s Cnt:(c/wc/ec)1199/1112/0 4.2%

Would you mind Taking a Nandroid Backup and then doing a thoroughly clean install of your Current Rom & Gapps ? Don't bother restoring any apps. Just install BBS, leave it alone overnight. don't forget to reboot before leaving alone.

Edit - Thoroughly clean = Factory Reset, format internal Storage & Dalvik Make sure the Nandroid and important data is on External SD Card.
[BetterBatteryStats] fullpampers:
Hi,

I asked in another thread but, I'll post my dump file here too in case anyone can tell me what is draining my battery...

other tread : http://xdaforums.com/nexus-4/help/help-throw-n4-brick-wall-battery-drain-t3089270

Short version:

Battery is new, When going to sleep i charged phone to 100% and left it besides my bed. When I got up it was at 27% and the phone crashed at 18% while I was using it. The dump file i emailed to myself a little before the phone crashed.

The phone then wouldn't boot and when plugged in, would not charge (i got solid red light).

I took the battery out and jump started it with an old charger, with bare wires on leads for 5-6 minutes. Put it back into the phone and charged to 100%, ran Battery Calibration. Phone still seems to be draining pretty fast even when in deep sleep mode.

This is using stock Android 5.1, i rooted the phone to have access to everything in BBS.

I can't figure out what is causing the drain. Any help is appreciated.

Thank you

View attachment BetterBatteryStats-2015-04-23_071904024.txt
[BetterBatteryStats] chamonix:
This is what I call a bug report!

about what you reported:

the increase in size is due to the fact that a had to add the appcompat package to the system app for the looks. After hands this seems to be a bad idea because the system app has no features anyway and the additional payload also boats the main app.

I don't understand the reason for the crash but from the error it seems that the apk gets truncated at install, maybe due to the size. interestingly enough this can not be reproduced on every rom but I will revert anyway for the reasons above

the fact that the CWM is working fine is that this is still the "old" system app. I was waiting for feedback from the in-app installer to update it and that looks like it was the right decision.
[BetterBatteryStats] chamonix:
moving what from where to where?
[BetterBatteryStats] Perseus:
@chamonix

Syslog Bug Report Attached for BBS version 2.1.0.0.B2 Crash on LP 5.1.1. The app refuses to Open and FCs. I rebooted the phone before recreating the issue.

Device Details -

Device - D2TMO

OS - CM 5.1.1 installed for Bug Reproduction.

SELINUX - Enabled.

KERNEL - CM Kernel. No Custom Modifications.

BBS - 2.1.0.0.B2 sideloaded from OP.

The In App Installer works as expected. Titanium Back indicates that there is a update installed for a System App. This is to be ignored. Otherwise the app worked flawlessly on other Android Versions.
[BetterBatteryStats] Braneless:
I posted this earlier, but I think it was overlooked; is the following screen cap a result of an ICS bug?

My phone was not charging, I never use bluetooth, and wifi was on, but never registers.
[BetterBatteryStats] Hrithan2020:
Here goes my dump for the night:

http://db.tt/jhF70g97

It went from 99 to 95 in over five and a half hours , with mobile data and auto sync disabled. :(

Any idea how to bring this down. It must be said that the signal is not very strong art my place, which could account for a slight drop in battery?
[BetterBatteryStats] demonwind:
Anyone know the best program for finding what my deleted wake-locks are?

Using Samsung Galaxy S2 Skyrocket.
[BetterBatteryStats] ishtylishguy:
lost 40 % battery in 2 hours with screen off :(

Hello everyone,

I'm having a serious issue with the battery on my phone. Just a couple of hours ago I slept with the phone charged to its full capacity and its been about 2-2 n half hours and it's now got 56 % :'(

My wifi / bluetooth / GPS / live wallpaper were off.

I'm on 2g and the only thing that could be running is auto sync which updates my gmail, google currents and pulse news.

I look at people losing 1% or less batteey per hour and mine's just killin me :-$
[BetterBatteryStats] jeremysherriff:
Yes it is! OK something is stopping your phone going to sleep. See how awake time is like 99%.. that hould be single-digit %. I can't help with the "how" but it looks to me like you need to disable fast dormancy. I'm sure if you Google it you'll find it, or someone here might be able to point out how. It's mentioned several times on XDA so a search should help.

PS switching to 2g might also help, for troubleshooting. Also, airplane mode might be useful for troubleshooting.
[BetterBatteryStats] ishtylishguy:
My carrier doesn't support 3g yet( yes, I'm from India ;-) I'll check about disablinf fast dormancy when I have access to a computer with internet ( where I live Internet's a rarity too :p )

I'm currently on checkrom hdv4 running on stock kernel, do tou think changing the kernel to something like speedmod or the latest dark knight may help??
[BetterBatteryStats] jeremysherriff:
Make sure you're phone isn't set up to try to get a 3g connection if your carrier doesn't support it.

Yes i think there is value in trying a different kernel.
[BetterBatteryStats] suku_patel_22:
Why dies my Desire S take more than 2 hours to charge from 75% to 100%?
[BetterBatteryStats] msgfromside3:
Thanks! This works for gs2(i777) miui as well.
[BetterBatteryStats] torchedlh:
Hey guys, need some help. Only had 2 hours of screen on time today but had 6 hours of awake time. Running CheckromHD and Siyahkernel 2.6.5 on my GS2. Please take a look, thanks!
[BetterBatteryStats] longfeng:
answer: airplane mode.
[BetterBatteryStats] Hrithan2020:
no way! I was referring to posts where, there were people who were getting only 1% battery drain. Surely, if I reduce my wakelock the battery life would increase?
[BetterBatteryStats] intulsa:
I agree, sleeping I lose about 1% in 10 hours. Took a couple of weeks of tweaking all of the tips from this thread. Even with 1 or 2 bars on 3g. Started at the point where I was losing over 50% in 6 hours. I had to do much more tweaking on my epic than I did my evo. Low signal affects my battery life however.
[BetterBatteryStats] s2d4:
Absolutely, 1% over 5.5hrs, all sync on.
[BetterBatteryStats] shumo:
can you please tell me your phone and rom/kernel ? :)

and your secret to that drain as well :D
[BetterBatteryStats] Braneless:
Not sure about s2d4's phone, but the Nexus S 4G offers identical performance. I run the 4.0.3 AOKP Milestone 2 rom with Steve Garon's kernel and consumption flatlines at idle and drains very slowly under heavy usage.

The kernel is undervolted -50mV and I run 100/1100mhz, interactive governor. The stock 1440mah battery lasts 30+ hrs under heavy use and would last multiple days if used as an actual phone and not a laptop replacement (which is how I use it).
[BetterBatteryStats] CRXed:
You overlooked the answer yourself :rolleyes:

http://xdaforums.com/showpost.php?p=21523794&postcount=2739

---------- Post added at 02:54 AM ---------- Previous post was at 02:45 AM ----------

net.dinglisch.android.taskerm = Tasker, waking your phone 96 times

I don't know which tasks you have in it, but they are not doing any good.

com.google.android.gsf = Google apps waking your phone 75 times

Disable Market notifications and apps/settings backup

com.google.android.apps.maps waking your phone 47 times.

Freeze it with Titanium backup if you don't use it and sing out of Latitude.

When you have done all that, try another log.
[BetterBatteryStats] Braneless:
Thanks for the eyeroll. The response got buried in between people posting file dumps and others quoting said file dumps. Really difficult to navigate with the xda app.
[BetterBatteryStats] Adrianrff:
-Delete-
[BetterBatteryStats] spacer00ster:
Hey guys,

BetterBatteryStats shows 3.9%/h with light use. Device details are:

I9300 with Temasek's UNOFFICIAL CyanogenMod 12.1

Kernel: Boeffla-kernel-4.0-alpha2-CM12.1-NG-i9300

Main wakeup offenders are:

com.android.phone - 75%

multipdp - 11.6%

RILJ - 9.0%

I don't understand what to make of it or what to do but if you guys have any ideas please feel free. Thanks in advance.
[BetterBatteryStats] Perseus:
Dialer > Settings > Lookup (or similarly named item). Uncheck Forward Lookup and People Lookup. Set Reverse Lookup provider to Whitepages.Is Location Service off ? Toggle airplane mode please. You either have signal issues or tower bouncing.
[BetterBatteryStats] spacer00ster:
Just re-flashed rom without custom kernel but will try this suggestion. Thank you
[BetterBatteryStats] Flipnotic:
I'm having a battery drain issue where something is preventing my phone from going into deep sleep. I did a clean flash, and nothing else has been changed.

BBS Screens: http://i.imgur.com/rFksZNX.png + http://i.imgur.com/aXrxelM.png

Text dump is also attached. It SEEMS as if MSM_OTG is what's not letting it sleep, but I'm not quite sure... Any ideas?
[BetterBatteryStats] Tzfardaya:
Did you have a USB device connected to it?
[BetterBatteryStats] Flipnotic:
Negative. I never connect any USB devices (other than wall charger)
[BetterBatteryStats] jhuff83:
Could someone take a look at this log. Sitting idle, I'm draining 1.5%/hr. I'm not sure if it's my wifi calling that keeps disconnecting and trying to reconnect that is causing my wakelocks.
[BetterBatteryStats] marknoll:
That isn't bad huff.

---------- Post added at 03:22 PM ---------- Previous post was at 03:20 PM ----------

I see according to your log lots of apps are running, which causes battery drain. I use app ops to deny wake ups and keep awakes..I also use greenify(xposed) to help device shut down unused apps

Other than tons of apps running, battery drain is normal
[BetterBatteryStats] DaveX2012:
I've no idea.. Just flash the zip files and this happen.

Cm 12.1 N9005 temasek
[BetterBatteryStats] Karpfenhai:
Did you also install the main app?

Regards
[BetterBatteryStats] DaveX2012:
Uninstall before flashing the zip file. I'll try.
[BetterBatteryStats] gaich:
Cannot start AppOps with B2, the popup message tells me there`s no such thing in my firmware. Of course, it is present and I had no problems opeing AppOps in previous versions. Tried AppOps starter from Google Play to be sure, it does open these settings. LG G3, Android 5.0 (details in signature).

View attachment logcat-2015-04-26_094044428.txt
[BetterBatteryStats] Malkeet669:
Does not work on nokia x2
[BetterBatteryStats] Hazelberg:
I can't launch the app. Instant crash every time. I tried rebooting and clearing data/cache of app, still same problem.

Any ideas?
[BetterBatteryStats] mohit310:
[MENTION=1330150]chamonix[/MENTION] Can I include the xda version of the app in my default gapps. Please let me know

My thread is at this link

http://xdaforums.com/oneplus-one/themes-apps/gapps-modified-slim-gapps-calkulin-t3082242
[BetterBatteryStats] IronTechmonkey:
In spite of reviewing the thread I'm not sure if there is a known issue with BBS and CM12.1/L5.1 on certain phones, although it seems like there is and I did just have a pack of trouble running with BBS in CM12.1/L5.1 4/26/15 nighlty on Moto MB886/AHD. BBS 2.0RC, 2.1b1 and 2.1b2 all FC when run after phone is rebooted post installation. Since the app would not run, attempts to uninstall resulted in partial installation asking for main app (which explains some of the preceding reports) but I was able to clean it up with TiBU. Back in CM11 now with BBS 2.0RC but can provide logs and details when I next test CM12.1 if this is being chased.
[BetterBatteryStats] PeQuEsan:
[MENTION=1330150]chamonix[/MENTION], can I expect anything about this?

Thanks a lot!
[BetterBatteryStats] chamonix:
No, I don't want bbs to be distributed through other channels than this thread
[BetterBatteryStats] :
Bbs from play store crashes with null pointer exception:

Edit: it's 5.1.1
[BetterBatteryStats] mp3deviant721:
[MENTION=5119654]IronTechmonkey[/MENTION] and others having issue with the app on 5.1.1... I was having the crash issue as well on my phone. I installed the 2.1b2 the normal way (install apk, grant it root, have it install to /system). Crashes no matter what I do. So for kicks I tried installing the apk again and it works! App launches without crashing immediately. It survives a reboot too. Dunno if anybody has discovered this get, but I hope it helps people out.
[BetterBatteryStats] Perseus:
Tested this just now. Confirmed as a workaround for those with Crashes on 5.1.1
[BetterBatteryStats] IronTechmonkey:
I tried to install from the apk multiple times each for 2RC, B1 and B2 with no success.

---------- Post added at 12:09 PM ---------- Previous post was at 12:03 PM ----------

Am I missing something? This is how I've always installed BBS and it did not work through multiple attempts. Perhaps there is another as yet undocumented action required taken to make this work ...

Ahhhhh I get it, you mean; reinstall the apk on top of the partially broken installation without uninstalling that installation. Will give that a try next time I test L5.1 (CM12.1).

[EDIT] It sounds like the action of installing as system app breaks something in the main app and reinstalling on top of that fixes it?
[BetterBatteryStats] qitt:
I simply convert BBS (ver. 2.1B2) to system app with "/system/app mover". ( Sorry for advertising ). No more crashes.
[BetterBatteryStats] Perseus:
Yes. That's it. This is why @chamonix 's question. Is In-App Installer Ok ? The answer is yes if you are on LP5.0 and bellow. The installer is having issues with LP5.1.1 from the looks of it.

For everyone else, moving the apk from /usr/app to /system/app with the help of other apps might be an idea.
[BetterBatteryStats] mp3deviant721:
Yep. Thats what I meant. Still working good for me.

[MENTION=1330150]chamonix[/MENTION] I noticed before installing the apk the second time around that the version number read 1.11.0.0. After installing it it read the correct version number and had an option to "Uninstall updates". Thought I'd let you know in case it helps.
[BetterBatteryStats] chamonix:
a call stack with 2.0 (not rc) as well as 2.1b would be helpful
[BetterBatteryStats] chamonix:
good idea, added as feature request #694
[BetterBatteryStats] chamonix:
/system/app or /system/priv-app?
[BetterBatteryStats] chamonix:
The 1 something version is the version number of the system app.
[BetterBatteryStats] chamonix:
a thought about the problems occuring with LP5.1.1.

Could it be the size of the apk that causes problems? The only change in the installation of the system app since 2.0 (besides cosmetics) is that the apk grew in size because of the two system app apks packaged inside in the assets container. Looking at the call stack the null pointer exception occurs accessing the assets. I will push b3 tomorrow with simply reverting back the system app to the old version. I prefer to chase that option as the problem seems more related to that specific rom to me
[BetterBatteryStats] IronTechmonkey:
Pardon my ignorance on this as I'm tech-advanced but old-schoool and still getting up to speed on droids. How do I provide the call stack? I get the concept but not how to produce what is needed in this case, in spite of searching for it.
[BetterBatteryStats] jesse542:
I've been getting pretty bad battery drain on my Note 3 for quite some time. Recently I updated it to Lollipop 5.0, but nothing has really changed. Today was especially bad, with the phone held awake longer than in deep sleep and definitely much longer than the time the screen was on. It's worth noting that I had a Moto 360 connected the entire time, had Power saving mode turned on (haptic feedback off, screen dimmer, and max CPU frequency lowered) and had location settings set to power saving, as well. If anyone would take a look at my text dump or logcat, it would be much appreciated.
[BetterBatteryStats] chamonix:
I suggest that you start here: http://xdaforums.com/showthread.php?t=1726238
[BetterBatteryStats] Perseus:
Quiet Possible. Although I saw only Reports from D2LTE (Galaxy S3 US Version) device users, (me included) . Could that be a factor ? Assuming its not, then 5.1.1 probably has a problem with the Stub APK as you said in /system/app after in-app installer. Remember, everything works well after you re-install the B2 on top of existing installed App+In-app Installation.

Happy to try out B3. Let us know if you'd want us to remove B2 first.
[BetterBatteryStats] IronTechmonkey:
For what it's worth I had the problem on a Moto Atrix HD/MB886.
[BetterBatteryStats] Adrianrff:
I'm unable to uninstall BBS as a system app. I've tried using the option inside the app, flashing the zip file, using ES Explorer, nothing works. After I do all that and try to install the app from scratch, it still says "Uninstall system app" instead of "Install as system app".

I want to try some of the methods suggested here to get the app working, but I'm stuck in this process.

I'm also seeing something weird in the graph section. Bluetooth and charging show a bunch of dashes as if I was turning Bluetooth on and off or plugging and unplugging all the time. When I had the app working well I didn't see this. What's this about?

Thanks in advance.
[BetterBatteryStats] Tzfardaya:
Reboot?
[BetterBatteryStats] Adrianrff:
Yes, I rebooted everytime.
[BetterBatteryStats] IronTechmonkey:
Well that's a basic tutorial about logging with no reference to stacks or how to assemble such data beyond the log. If you just need logs I'll have a chance to test more thoroughly and post logs in few days if this has not been sorted out by then. (I should have provided logs the first time first time but was caught with my logging down having just done some CM12.1 tests and needing to restore device to daily use by the time I noticed this). Thanks!
[BetterBatteryStats] chamonix:
how much space free does you system partition have?
[BetterBatteryStats] wolfmanro:
Hey guys, I need a bit of help here. I've already searched the thread, but either because I just glanced at the results or becuse in fact there's not enough info, I couldn't find a solution to my problem:

When trying to view the wakelocks, I get a message saying "file could not be read". I'm on an unrooted, 5.0.2, LG G2 (D802) using BBS 2.0.0.0 xda edition.

Everything worked fine on KK 4.4.2, but after updating to LP I get this frustrating issue. I've already factory reset my device (before AND after the firmware update, I'm paranoid like that) and also cleared all BBS data before uninstalling/reinstalling BBS.

Any tips/ideas would be appreciated.
[BetterBatteryStats] nitin.chobhe:
I think you need root to get past to that error
[BetterBatteryStats] aitvariux:
Guys, BBS doesn't show any wake locks so I am attached a log. Please help me to find who is preventing my phone from deep sleep.

https://docs.google.com/file/d/0B9deUgT65pOvdjJyNUdzai1hcDQ/edit?usp=docslist_api
[BetterBatteryStats] wolfmanro:
Worked perfectly fine without root before LP. I'm talking about the "normal" wakelocks, not the partial ones which indeed require root.
[BetterBatteryStats] Spiralzz:
Can somebody please guide me how to get rid of this wakelock? I've disabled all sounds, but it still persists.

I know it's not related to bbs (I'm on 5.1.1), but since wakelock experts are here, I figured someone might be able to help me on this.
[BetterBatteryStats] shaggyskunk:
That wakelock looks like it's caused by Google Now's "ok Google"...
[BetterBatteryStats] -m3tac0rt3x-:
Can anyone help and decipher what is this eating away my battery?:

Alarms: 453

, Intent: com.android.internal.telephony.data-reconnect.default

I tried searching on Google, this thread and XDA in general for that and can't seem to find any answer :S

From the logs I have seen on this thread, usually there aren't many alarms from that com.android... What can it be, any idea?

Thanks.

Edit:

"Solution", at least for my issue on post #28240
[BetterBatteryStats] dougiefresh36:
Guys I'm in need of some help here as well. Hangouts kept phone awake a full seven hours. I tried searching but nothing find regarding what BBS tells me. Anyone experience something similar? All hero is appreciated ?
[BetterBatteryStats] shaggyskunk:
Looks to me that your device is struggling for a Data connection - Check your APN and that you have the correct APN settings - You could try this - Turn off Cellular Data - Use WiFi and see if you get the same wakelock?
[BetterBatteryStats] -m3tac0rt3x-:
Thank you for advice!

The first thing I did when I saw the "data-reconnect" and before posting here was to check my carrier APN :highfive: And it's correct.

I have data access with all bands, LTE | H+ | 3G+ and even on Edge. But it's eating the battery up at 14% /h and it's really odd :eek: :eek:

I'll try disabling data to see if it helps. :fingers-crossed:

Note: I'm on wifi at work but with data enabled, and draining continues :eek: But I'll try with data off.

I already have latest modem available for my carrier, even though it's an old one (latest for Note 2 - t0lte is from November 2014), but if it continues I'll reflash latest modem, could it be corrupt by something? :confused:
[BetterBatteryStats] wolfmanro:
So basically there's no known fix for this? Maybe in the next release:). I'll have to wait and see.
[BetterBatteryStats] -m3tac0rt3x-:
Alarms: 453, Intent: com.android.internal.telephony.data-reconnect.default

Post history here:

Just for future reference... seems like my Modem partition was somewhat corrupted?!

I say somewhat because everything was working normally, except for the unusual battery drain...

Before trying with data disabled I re-reflashed the latest modem (which was already the one I had flashed on December) and drain is back to "normal", and the data-reconnect disappeared from Alarms!
[BetterBatteryStats] 95thfallout:
Is anyone else experiencing difficulties with the apk after installing it as a system application?

Currently running the newest Blisspop (Android 5.1.1) on my s5 and as stated after its install as a system application I long longer am able to access the application properly and only see the screen included below. Furthermore the uninstall button on this screen falls to work and I am forced to uninstall this application through TitaniumBackup. Can anyone provide clarity on this problem, as it has persisted through a clean flash.

Application works fine when it is not installed as a system application however I don't get wakelock info.

***update***

Flashed recovery file and received same screen.

Thanks.
[BetterBatteryStats] byobodybag:
I have the latest Cyanogen nightlies CM12 5.1.1 and I can't make this app work. It's always force-closing everytime I open it.

It's been installed as a system app and already rebooted. Any ideas?
[BetterBatteryStats] IronTechmonkey:
Read back a few pages and you'll find more details about this. If you just reinstall the main app it might run properly.
[BetterBatteryStats] chamonix:
This is as it should be, you see the helper app. Reinstall the main app and you should be good to go
[BetterBatteryStats] v7:
See my Extreme battery life thread(Servicely+Greenify+Amplify) HERE
[BetterBatteryStats] adinpop:
A couple of days ago i fully wiped my S4 and clean flashed a tw 5.0 lollipop rom. My baterry becomes miserable... Pls take a 5look...
[BetterBatteryStats] Marcovanbasten:
Add the same "problem". After flashing the zip, you need to install the .apk...and that worked for me (LG G3 Cloudy 2.2)