yashsingh1/xdaforums huggingface dataset:
[BetterBatteryStats] magicblack7:
[IMG="Error"]https://lh3.googleusercontent.com/-cT_eLSQfR9I/VUJpaIXBvSI/AAAAAAAAFrw/4ROS_RHHo1s/s512/2015-04-30.jpg[/IMG]

Why do I have this error? I downloaded the latest stable apk (2.0) and I install as system app on my CM 12.1 nightly 30/04. The I reboot and I have this message.
[BetterBatteryStats] -m3tac0rt3x-:
Just reinstall the apk again and it should be fine!
[BetterBatteryStats] Lither:
I have 4 wakelocks which drains my battery, can someone explain what each one does and how to avoid it?

AudioMix 1013 - This relates to music via earphones?

AudioMix UID

ConnectivityService - This relates to no signal?

NextAlarmTracker
[BetterBatteryStats] marknoll:
Sounds on your device

---------- Post added at 09:28 PM ---------- Previous post was at 09:25 PM ----------

Try a deep clean and fresh install of your rom

---------- Post added at 09:29 PM ---------- Previous post was at 09:28 PM ----------

Try a deep clean and fresh install of your rom
[BetterBatteryStats] Lither:
My phone is on vibrate with all system sounds turned off such as dial tone, lock screen tone, keyboard and etc
[BetterBatteryStats] Adrianrff:
I'm still unable to use BBS because I can't even uninstall as system app from previous installation. I've tried the zip for recovery and every other method to uninstall system app. I don't see the app in the system/app nor in system/priv-app folders. After trying all this (recovery, ES explorer, etc.) to try to uninstall and start over, when I downbload and install the apk it still asks me to "uninstall as system app". Can someone please give me a hand here?
[BetterBatteryStats] -m3tac0rt3x-:
Did you read my "solution"?

It was something with my modem, because flashing it corrected the drain...

(and I seem to have forgot to mention on previous posts, but this happened on a completely clean flash... only thing I didn't wipe was external_sd - I always try a clean flash first, before reporting anything to any thread) :highfive:
[BetterBatteryStats] magicblack7:
I already tried, but nothing. Same error
[BetterBatteryStats] arubamon:
Wakelocks

Could someone help me decipher these bbs logs? I have everything greenified that I can greenify and have limited just about everything in amplify. According to bbs, I'm only losing 0.8% battery / hr w/ the screen off for the last 1 hr 12 min, but *alarm* (Android System) is wakelocking 69.9% of that time and 21.9% for msm_hsic_host. Currently, while I'm awake, I've got the wi-fi, cell data, and gps all on. Before I go to sleep, i use ds battery saver to disable both the wi-fi and cell data. Any help would be appreciated. Thanks
[BetterBatteryStats] madboymatt:
Is anyone able to determine my battery's health based on the attached text dump log?

I'm not getting my usual stellar battery life, and wakelocks seem really low/good.

Cheers.

https://docs.google.com/file/d/0B22Py-kwWlGVWTlFS0o0NUgtMnc/edit?usp=docslist_api
[BetterBatteryStats] gideonlfc:
I've been looking for a thread like this. Interesting stuff
[BetterBatteryStats] evilarthas:
I have a problem with Calendar storage working when I turn on my phone (not unblocking), I get rid of it by stopping it. Then calendar is working but there is no more longer wakelock. Are there any other methods to stop this? I can't turn it off every time. The another one is OffloadTrack service. As I understood it is music player service but it continues working even after stopping player. Any ideas? It drains my battery from the time music was turned on and continues working.
[BetterBatteryStats] leAndroid91:
Hi guys,

my rooted Lollipop Nexus 5 with franco Kernel loses 7% of battery overnight.

Do you have any adivice for me?

For me it looks like the Google Play Services are draining the battery but the location history is already turned of.

Thanks for your help!
[BetterBatteryStats] tomislav.hofman:
I made a mistake by installing it from F-droid. When I tried to install it as system app this happened. Now I can't access the app or uninstall it.

Pressing back just exists the app

What can I do to fix this?

Thanks

Edit: converted it back to normal app and it seems to run fine. Still what should I do if I want it as system app?
[BetterBatteryStats] Lither:
I have 4 wakelocks which drains my battery, can someone explain what each one does and how to avoid it?

AudioMix 1013 - This relates to music via earphones as I have all system sounds turned off?

AudioMix UID

ConnectivityService - This relates to no signal?

NextAlarmTracker
[BetterBatteryStats] wolfmanro:
Tried the payed app from GP, and I'm still getting the "file could not be read" error when trying to view kernel wakelocks. Since the app's dev didn't even bother to tell me to **** off when I asked about the problem on this thread, I'm assuming he doesn't really give a **** about people actually willing to pay for the app. Keep going like that, you'll get really far [MENTION=1330150]chamonix[/MENTION]
[BetterBatteryStats] chamonix:
event if one hour is not really representative in that reading of one hour saga and websecurity are the apps that wake up your phone / keep it awake. Besides Google services of course.
[BetterBatteryStats] chamonix:
Well, if you use that kind of tone you sure will get help.

I understand that you are frustrated but did it occur to you that I may have either overlooked your question or that it did not contain the required information for a serious report (see post #1).Now you can either be stubborn and ask me nicely (by mail) for a refund or you are willing to invest a little time so that we can track down the problem that would help you and potentially others..... Creating it's up to you
[BetterBatteryStats] chamonix:
just for your info: I do not maintain the king of BBS that is on f-droid.

Happy that you got things sorted out though
[BetterBatteryStats] chamonix:
can you please do the following:

1. in the main app for to preferences - advanced and enable debug logging

2. reboot and open the app. At this point what happens? does it go to the main screen or does it show the system app dialog? assuming it shows the system app take a screenshot, hit 'back' and save a dumpfile and a logcat from the app

3. go to settings - apps and check how many installs of BBS you have installed

4. go to a shell, run 'su' followed by ls -la /system/priv-app and post the result

That should give us enough info to figure out what is going on
[BetterBatteryStats] chamonix:
You should be careful with unsolicited links to other threads. Some may consider that spam.

As a side note I personally think that the approach and tools that you suggest is overkill and not necessary.
[BetterBatteryStats] wolfmanro:
Sorry for the tone, I was a bit pissed at the fact that a great app had stopped working. I don't need a refund, I payed for the app solely to support its development. I'll try to post a log, but since I'm currently unrooted I'm not sure I'll be able to.

LE: reinstalked latest version and enabled private storage. Tried to view kernel wakelocks and the same error occured. Tried to view the kernel wakelocks under raw stats and got a message saying that an error has occured. Went to my storage to look for logs, and to my surprise the com.asksven.betterbatterystats folder is not where it's supposed to be. In fact, it's nowhere on the internal memory of the device (unless it resides in the file system root area which I cannot access). Maybe that's the problem: LG changed storage naming syntax or folder permissions un LP. Sadly this is all the info I can provide, I cannot root my phone just yet.
[BetterBatteryStats] chamonix:
is unrooted your normal state or temporary? because bbs will be on work without root... you know that right?
[BetterBatteryStats] wolfmanro:
Unrooted is my normal state on this device. Weird thing is that I can read kernel wakelocks on my gf's unrooted Nexus 7 running 5.1, and U was able to read them on my current device while on unrooted KK. The problem started after updating it to LP so I'm suspecting a change in file system naming or permissions (see my edit on the previous post)

And yes, I know BBS works best on rooted devices and I've been dying to root my G2, but I can't just yet.
[BetterBatteryStats] chamonix:
a logcat will confirm if I am right but my theory is that the kernel wakelocks file has permissions preventing the 'world' (read app with no root access) to read it.

There are two sources for wakelocks and depending on the ROM and Android version these files are world readable, of not. BBS takes this into account and first tries accessing them without root. if it fails a second try will be make with root, of course on if available.

Ain a nutshell: all the new stuff that Google and phone makers implement to prevent us from taking control of our phones force us to root. The reason at am an Android and not an iPhone is because I don't like to be told what to do and what not. If this goes on I will probably decide to stay on an Android version where this is still possible or build my own rom to stay in control.
[BetterBatteryStats] Adrianrff:
Thank you, [MENTION=1330150]chamonix[/MENTION].

After rebooting it always shows the system dialog, not only after rebooting, it shows the SD everytime I close and open the app. There's only one install of BBS, but I've installed and uninstalled several time, including flasing both the romove zip and the install zip.

I don't know if I did the shell bit right, first time I do that. It shows BBS in there, but I don't see it in ES explorer or any file manager.

Btw, I did a factory reset last night, I don't if that matters, but nothing changed.
[BetterBatteryStats] wolfmanro:
So it's bye bye BBS for me until I root my phone. I just love OEMs and the way they **** things up for us. Thanks for the help [MENTION=1330150]chamonix[/MENTION]
[BetterBatteryStats] threadstone:
Hi,

I need your help. Since a couple of days my tablet (Samsung Galaxy Note 10.1 2014 LTE) is permanently awake and I don't find the reason. Can you help me?

Thanks in advance.

Andi
[BetterBatteryStats] belloni:
So I was on wifi the whole night, I left it from 100% whilst sleeping. 9 hours later, it has lost 20% battery life, when I go into the app, it says 9 hours deep sleep, 100%. Wifi on but then also says no data connection 100%? Bit confused? There was no rogue app running in the background.
[BetterBatteryStats] vitoski:
On some phones wifi drains more battery than mobile data. It for sure happens on my Moto X with stock rom therefore it's better to switch off wifi of you don't use it.

Regarding the stats it shows just fine. While your wifi was on the mobile data is reported as 0% usage.

Sent from my XT1052
[BetterBatteryStats] shr33kant:
I've been having some strange wakelock issues lately and I've attached my log - can anyone please help me?

I'm running stock 5.1 Android on Nexus 5.

I can't figure out what it is that's not letting my phone sleep - any info at all will be helpful.
[BetterBatteryStats] chcknsld:
Doesn't work on 5.1.1. Force closed after installing and rebooting.
[BetterBatteryStats] chamonix:
2.1B3 is up, fixing some issues, especially the installation problem on CM12/LP 5.1.1

Sorry that it took so long to post a new build but I have been sick all week and then there was MS //Build.
[BetterBatteryStats] :
Awesome! Been waiting for this so long! Thanks a lot mate :)
[BetterBatteryStats] stevemack76:
Nice upgrade. This is the best battery monitoring app available. Thank you for your hard work.
[BetterBatteryStats] chcknsld:
Still not working on 5.1.1. I got this message after installing and rebooting.
[BetterBatteryStats] shaggyskunk:
Latest beta working just fine for me on 5.1.1 - So it has to be something that you're doing / or not doing - How did you install it - XDA version or from the store?
[BetterBatteryStats] iruiz2:
Working fine con Blisspop 5.1.1. Install method:

1 install apk

2 open it and click in install-as-system app

3 reboot

4 reinstall apk (again)
[BetterBatteryStats] m1trand1r:
step 4 Is not needed imo

..works fine here...:)

/LG-G3/d-855/16Gb/Titanium Black/
[BetterBatteryStats] chamonix:
You might want to (re)install the main app
[BetterBatteryStats] iruiz2:
In Blisspop it is. If not, only companion app opens.
[BetterBatteryStats] m1trand1r:
I am on BlissPop 5.1.1 aka official 3.2 bud:)

/LG-G3/d-855/16Gb/Titanium Black/
[BetterBatteryStats] chcknsld:
Thanks for the responses. I'm going to install it again later! :)
[BetterBatteryStats] vizdak:
Same here. Tried the recovery zip but still the same. The BBS app is zero kb in /system/priv-app and the dir is already RW.
[BetterBatteryStats] marknoll:
I don't think having those settings off makes a difference I think that there is always going to be wakelocks for sound
[BetterBatteryStats] ts_mpls:
Agreed. In fact, I'm running the latest BlissPop nightly (0503) and I can just flash the recovery zip right after the ROM and all works flawlessly.
[BetterBatteryStats] m1trand1r:
I just got a bit more vicious idea....i'll add BBS to addon.d backup script I have for my certain system apps....and...no action will be required after flashing fresh rom:victory:

/LG-G3/d-855/16Gb/Titanium Black/
[BetterBatteryStats] ts_mpls:
I was just updating my own personal "bloatware removal script" and was thinking the exact same thing! :)
[BetterBatteryStats] m1trand1r:
well...i'm using one of backup script for backup of LolliViper and I just modified it in a way that I want...and to confirm...it works on my end after dirty flashing latest Blisspop 3.2 3rd May build...BBS is there and I didn't have to do a single thing:D

/LG-G3/d-855/16Gb/Titanium Black/
[BetterBatteryStats] 95thfallout:
S5 2.5 Hours of Screen on Time

Hey guys, finally got BBS working on my S5 with android 5.1.1 (mind you it's an old version of the app). Anyways, can someone please take a look at my dump file from yesterday. My phone is losing alot of power but I'm not sure where. I'm only getting about 2.5hrs of screen on time per full charge, most people experience double that.

My phone seems to be awake alot but I'm having trouble isolating the wakelock cause as I'm not the most experienced. Any help would be appreciated!
[BetterBatteryStats] UnquietPeasant:
This worked for me, thanks!
[BetterBatteryStats] ahpatel:
Would you mind sharing the script?
[BetterBatteryStats] chcknsld:
This method worked for me. Thanks!
[BetterBatteryStats] code010101:
I don't remember if I've already said that ...

but, please, add an option to show the

statistics as percentage of total time in the new widget

, as it was in the legacy ones

Ste
[BetterBatteryStats] ferrocene:
I feel like a total idiot, but how do I use this program?
[BetterBatteryStats] P1f:
Install it one more time and it will look as it should.
[BetterBatteryStats] chamonix:
#697
[BetterBatteryStats] :
Today:

I don't know when but before today:

Anyone know what's the problem? Should I change battery?

Lend me a hand plz

Ty
[BetterBatteryStats] iruiz2:
Reinstall the app on top of the existing one. And open it...
[BetterBatteryStats] threadstone:
No idea?!

A new info: if I make a clean temp and cache, the problem is gone for some hours. But then it comes back...
[BetterBatteryStats] f0xy:
Guys this is my idle log, I left the device for a few hours. Any feedback is welcome.

Spoiler content hidden.
[BetterBatteryStats] kholdstare21:
Your issue is coc! Lol [emoji12]
[BetterBatteryStats] nookin:
pmic8058_xoadc_wakelock preventing phone from sleeping

I noticed unusual battery drain today. I left the phone on for 8 hours or so after unplugged. Rarely used. It is showing 6 hours are spent on kernel wakelock pmic8058_xoadc_wakelock. Any ideas what it is? Full dump is attached.

================

Kernel Wakelocks

================

"pmic8058_xoadc_wakelock" (): 6 h 4 m 32 s (21872 s) Cnt:(c/wc/ec)3/1/0 67.6%

"PowerManagerService" (): 10 m 26 s (626 s) Cnt:(c/wc/ec)2349/0/0 1.9%

"sdio_dmux" (): 7 m 31 s (451 s) Cnt:(c/wc/ec)662/0/662 1.4%

"radio-interface" (): 2 m 31 s (151 s) Cnt:(c/wc/ec)200/0/0 0.5%

"max17040-battery" (): 58 s (58 s) Cnt:(c/wc/ec)2420/0/0 0.2%

"deleted_wake_locks" (): 17 s (17 s) Cnt:(c/wc/ec)3255/0/46 0.1%

"alarm" (): 14 s (14 s) Cnt:(c/wc/ec)959/0/0 0.0%

"alarm_rtc" (): 13 s (13 s) Cnt:(c/wc/ec)92/64/2 0.0%

"rmt_storage" (): 6 s (6 s) Cnt:(c/wc/ec)21/0/0 0.0%

"KeyEvents" (): 1 s (1 s) Cnt:(c/wc/ec)6264/0/0 0.0%

"mmc1" (): 1 s (1 s) Cnt:(c/wc/ec)1792/28/0 0.0%

"mmc4" (): (0 s) Cnt:(c/wc/ec)607/60/0 0.0%
[BetterBatteryStats] mdamaged:
Are you using a custom kernel? ... or custom rom?
[BetterBatteryStats] nookin:
Stock kernel, stock ROM. But rooted.
[BetterBatteryStats] mdamaged:
I would probably try a factory reset.
[BetterBatteryStats] Javinotfound:
Hey, [MENTION=1330150]chamonix[/MENTION], I really love this app and I use it everyday for controlling my wakelocks and other stuff, but the icon is a bit old. I've redesigned it for my personal use for it to fit with the rest of Material Design icons of my apps box. I'm sharing it here because maybe you'd like to use it. If you want it, just MP me and I'll send you the files.

[IMG="BetterBatteryStats Material Design icon"]http://i.imgur.com/4P0in8am.png[/IMG]
[BetterBatteryStats] devatxda:
That's some very nice work, thanks for sharing it and hopefully [MENTION=1330150]chamonix[/MENTION] will use it. Very nice :)
[BetterBatteryStats] d.casper.b:
I also had to reinstall the app after rebooting (otherwise I get the companion app...).

Using the 05/05/2015 CM12.1 nightly.

This post was created on a Motorola RAZR Maxx (XT910).
[BetterBatteryStats] :
But it only took 6%....look [emoji41]
[BetterBatteryStats] kholdstare21:
Coc uses lots of CPU power. Try to do a full charge cycle without it. You will see a difference.
[BetterBatteryStats] skivnit:
How come I don't see higher frequencies of the exynos 7240? BBS just shows the little cores frequencies

Sent from my SM-G925F
[BetterBatteryStats] chamonix:
I just love it!
[BetterBatteryStats] Javinotfound:
I'm really glad you like it! :o
[BetterBatteryStats] mrQQ:
Hello,

Would it be possible to make the percentage display % of wake lock time, instead of all running time?
[BetterBatteryStats] poison_snake:
Blessings can someone help me out im getting sometimes like 10hrs of battery i dont understand the app yet please thanks in advanced
[BetterBatteryStats] txtsd:
Why do I have to do this now?

BBS worked fine when I was on Stock 5.1

But I'm on an AOSP based ROM now and I only see the companion app after rebooting.
[BetterBatteryStats] guhvanoh:
How about you just do as asked and see if that works?
[BetterBatteryStats] txtsd:
I already did. I'm asking why the regular way doesn't work anymore.
[BetterBatteryStats] Genericxx:
For those who are losing bbs after a reboot and just get the companion:

Download this file, remove the .txt in the end and copy it to /system/addon.d. Don't forget to set correct permissions (chmod 755). This will also ensure that bbs survives dirty flashes.
[BetterBatteryStats] marknoll:
Um. What does this have to do with this aplication?
[BetterBatteryStats] aitvariux:
Can anyone help me with the catlog here?

BBS doesn't show any wakelocks but the phone is not going to deep sleep.

https://docs.google.com/file/d/0B9deUgT65pOvdjJyNUdzai1hcDQ/edit?usp=docslist_api
[BetterBatteryStats] slicetwo:
I just got a galaxy s5 g900a. Rooted it and froze a bunch of apps. I'm getting a wakelock titled "event0-899" but I can't find any info about it.

Anyone ever seen this?
[BetterBatteryStats] Karpfenhai:
Hmm, any chance you had a headset / earphones attached?

Remove them and see if it goes to sleep then..

Regards.
[BetterBatteryStats] slicetwo:
Edit. Will repost under guidelines.
[BetterBatteryStats] aitvariux:
no its not attached mate. Any other ideas?
[BetterBatteryStats] roofrider:
Need help getting this installed.

Rom: AICP (5.1.1)

The reinstall method worked previously but not now.

1. I was not able to install it as a system app, so i downloaded the zip and flashed it.

2. Screenshot attached. That is what i see now. Installed as a system app, but permissions not granted.

3. Reinstalling does not fix it.

Problem sorted. System partition had no space for some reason.
[BetterBatteryStats] wahuka:
This only works if i dont update nighties CM12.1

Today i updated nighty and BBS dont work.

it say that i must install as system app, always the same problem.
[BetterBatteryStats] mdamaged:
Please read the first post on how to ask for help (need more than 30 mins), and either use hide tags or attach the dump as an attachment rather than posting it as a monolithic novel.
[BetterBatteryStats] slicetwo:
Will do. Sorry.
[BetterBatteryStats] slicetwo:
Following the directions now for help. Haha.

I just got a galaxy s5 a few days ago. Rooted it, installed all my apps. Running Greenify and Amplify for app/wakelock management. Froze most of the ATT and other bloat apps.

The only new wakelock I'm seeing is an "event0-xxxx" with various numbers in places of the xxxx.

You can see that it seems to be staying awake longer than it should be overall, but I can't pin down what's actually causing it.

Thanks for any help!
[BetterBatteryStats] Karpfenhai:
Hmm, your dump looks incomplete, did you grab it by a 3rd partie app? Any chance it's pre-filtered?

I'm missing certain entries, try to attach another verbosed one.

Regards.
[BetterBatteryStats] aitvariux:
i grabbed it with the Catlog apk and set log level to debug. ok, next time will do verbosed. Maybe you have something to suggest better than catlog?
[BetterBatteryStats] plb-dev:
Companion App

I installed the latest BBS apk and opened the app. Then installed it as system app as it asked me to do. But it shows it has no functionality at all. Is there anything else that I should do ?
[BetterBatteryStats] yoh_anim:
Reinstall BBS, it will fix all
[BetterBatteryStats] wahuka:
no fix it.

only works fine one time, when you restarted or install a new nighty it crash again, so dont works on 5.1.1
[BetterBatteryStats] mdamaged:
Works perfect on stock 5.1.1. Maybe CM needs to fix their rom (as usual).
[BetterBatteryStats] plb-dev:
Im on AOSP LegacyXperia 5.1.1.

Then what am I doing wrong?
[BetterBatteryStats] wahuka:
ok, them, can you say to me how you install the apk?

Thanks
[BetterBatteryStats] mdamaged:
LegacyXperia is CM-based no? If so, that's not AOSP, that's CAF and it's based on CM sources which may be broke. I keep away from CM-based roms, can't stand them, they are always having compatibility issues.

Same way you install any other apk with one other step, tap on the apk, tap install, tap install as system app, reboot, done, if it does not work after that, install the apk again, reboot.
[BetterBatteryStats] plb-dev:
I downloaded 2.1B3 and installed. When I opened it, It asked me to install as system app. Then I did and rebooted as instructed. After reboot, when I opened, it showed it's just a companion app. So, how can I access the main app?

---------- Post added at 05:41 PM ---------- Previous post was at 05:38 PM ----------

No AOSP LegacyXperia is from the original source code. No special features. Just like stock.
[BetterBatteryStats] Nomad1600:
Reboot.
[BetterBatteryStats] plb-dev:
No AOSP LegacyXperia is from the original source code. No special features. Just like stock.
[BetterBatteryStats] mdamaged:
AOSP or not, it sounds like something about your setup is broken (or you just keep doing something wrong), because I'm on 5.1.1 stock from google and it's working fine. Maybe try a factory reset and try again.
[BetterBatteryStats] roofrider:
After doing all that (installing, installing the system app, & rebooting), ignore the companion app message and just reinstall the main app. It'll work.
[BetterBatteryStats] wahuka:
it works, but if i reboot them it says again that must be install as a system app
[BetterBatteryStats] Nimueh:
I'm on a CM based 5.1 rom too and it worked fine for me when I did it like [MENTION=4186558]roofrider[/MENTION] said., I already rebooted a couple of times after flashing a new rom build today Something on your end must be fubared :eek: