yashsingh1/xdaforums huggingface dataset:
[BetterBatteryStats] pspilot:
I use it without problems, just reduce the update rate in the app settings. I get 95% deep sleep with 3g watchdog running.

That's actually the nice feature I also like with the pro version. Apart from battery issues I also like to 'identify' stupid apps that connect and transfer without obvious needs. I eliminated quite a few of them already with the help of 3G watchdog :).
[BetterBatteryStats] yhrn:
"PowerManagerService" - Kernel wakelock placeholder for user land wakelocks. So the interesting info is under Partial wakelocks.

"vbus_present" - The wakelock that occurs when your phone is plugged in/charging. Nothing to worry about.

You can read about these two in the BBS knowledge base (just tap the little icon next to it in BBS).

Can't say much about "Managewakelock" other than that it is most likely related to some user app (Googling it gives a few alternatives including SMS Popup app).

But you have a really nasty kernel wakelock - "deleted_wake_locks" for a total of 8 hours 21 minutes and a count of 267253! Maybe somebody else can shed some light on that one.
[BetterBatteryStats] hollal:
WLAN_wake. I didn't notice any increase of the wake_rx count but once I noticed the wlan_wake I may have ignore the other one without realising. I'll test again tonight to make sure.
[BetterBatteryStats] sohebq:
Thanks for your reply. Can you explain "power manager service" in simple words?
[BetterBatteryStats] Tommmii:
Hi all,

here's my BBS dump file, could some one please have a look at it to help me out?

http://pastebin.com/vpGi5XaG

tia,

T.
[BetterBatteryStats] skullunit:
Purchased this app from the market last night. Still trying to make sure I understand all the information. Looks like it's going to be a great app, thanks. :)
[BetterBatteryStats] CRXed:
se.f1nally.snowstorm.Snowstorm is causing a lot!! of wakeups - remove it

*backup* is keeping your phone awake - disable automatic Android backups.

Besides thaty you have other services that are syncing, like Gtalk, Cooliris Gallery, Gmail and you have also been using your phone for 2 hours.

---------- Post added at 04:26 PM ---------- Previous post was at 04:22 PM ----------

You have been using your phone for 4 days without charging? :confused:

If you charged in between but nog to a 100%, your log is a bit useless.

And there are no kernell wakeups of Alarms in your logs either.

Anyway, most of your wakelocks are because of apps that sync.

Google services

Gmail

Maps, which also uses your location.

etc.
[BetterBatteryStats] yhrn:
The userland wakelocks are in the section called simply "Wakelocks" in the dump file and "Partial Wakelocks" if you are looking directly in the BBS app.

You can think of the "PowerManagerService" kernel wakelock as the sum of all userland wakelocks.
[BetterBatteryStats] sohebq:
Thanks. Tell me that on average, if things are fine, how much difference there should be between awake and screen on? 1 hour difference is normal?
[BetterBatteryStats] Tommmii:
In fact, the phone was fully charged at the middle of that, but BBS & MIUI don't always get along nicely.

I shall recharge & try again, unless Chamonix figures a way round the MIUI mess... hint hint hint ;)
[BetterBatteryStats] AmolAmrit:
Guys I have a little problem here. Even in the advance menu of WiFi , my wifi is set to be always on during sleep but after few minutes ( 15 or so ) my internet connection becomes inactive even though the WiFi Icon is there in the status bar . This happens when the screen is turned off for 15 mins or so. Because of this I don't receive push notifications. The moment I turn my screen on I'll get a flood of notifications or I will have to again turn off and turn on WiFi. To prevent this , and after researching a lot I found an app called Advance WiFi Lock which keeps wifi always connected every time. But this app drains battery. Let me remind you , it doesn't happen on stock rom plus my connection is fine. The app "Advance WiFi Lock" adds up a Wakelock which prevents WiFi from sleeping or disconnecting during screen off , but at the cost of battery. Any help would be appreciated regarding wake lock issues. Thanks

Tapped from my Títan ??
[BetterBatteryStats] cdzo72:
That's a problem you need to discuss with your ROM and kernel developers
[BetterBatteryStats] :
Can you give discount to your software at Google Play store India.

Can you cost upto Rs 50 INR only.

I can buy upto this max amount.
[BetterBatteryStats] :
Since your last post was deleted... That would likely mean no. So please, enough.

Thanks,

Darth

Forum Moderator
[BetterBatteryStats] cryogent:
Hi, i have a 5% baterry drain without doing nothing, i just charged my phone, unplugged and after 9 hours the phone loose 5% of baterry.

Is my baterry going to die or my software go crazy?

i9305 Stock 4.4.4 with Agni kernel+Greenify+Amplify+AppOpsXposed+Seeder.
[BetterBatteryStats] Nimueh:
5% in 9 hours, that's about 0.5% per hour ... I'd consider that good and definitely no "drain". :)
[BetterBatteryStats] cryogent:
Hmm, but my wifi was off, sync was off, location off, bluetooth off, not even touch my phone, i think is a little bit odd.
[BetterBatteryStats] AssToast:
Overtime battery capacity decreases so I would consider that pretty good or you have some malicious app doing things in the background
[BetterBatteryStats] cryogent:
Ok, what app to use for finding malicious apps?

If i dont find anything suspicios my cell its 4 years old and never replaced the battery so i think its time to buy a new one.
[BetterBatteryStats] mdamaged:
Nothing, you are not having an issue, .5% is fine, just because you did not touch your phone does not mean it stops doing thing, there are things going on in the background that happen as a part of normal housekeeping, syncing, etc, if you want battery to be 0% drain, shut it off.
[BetterBatteryStats] chamonix:
assuming the profile you posted corresponds to your normal use. That would mean that you battery would last 200 hours, or about 10 days. That is pretty much the best you can do for that usage as long as your phone stays on.
[BetterBatteryStats] cryogent:
mdamaged- Do not misunderstand me but I thought it was pretty much drain compared to other phones that have a 0.2% -0.3% drain and I panicked a bit:confused:

chamonix - It was not my normal use.

It was not used because it was night.

with normal use: talking 20'-40', a little social networking 20'-30',

little Real Racing gaming 20'-30', battery reaches from 100% to 30% from morning till evening from 8.00 to 19.00.
[BetterBatteryStats] gregferns:
The 0.2% to 0.3% is drain per hour... Also if by YOUR normal use you're getting 11 hours SOT with still 30% remaining,,,, that is pretty good.... Although it depends on each persons usage and the apps they use....
[BetterBatteryStats] draxema:
Battery drain

Hi, I am having a huge battery drain on my phone but I can't figgure what it is. If anyone could help me to identify/solve it, it would be appreciated. Thank you.
[BetterBatteryStats] akhilkumarco007:
shows as companion app

shows bbs as a companion app upon installation :( im using cm12.1 with stock kernel ....... device : xiaomi redmi 1s ........ i tried many versions still shows the same ... can anyone help me with the reason? :confused:
[BetterBatteryStats] FernBch:
Did you try installing a second time?
[BetterBatteryStats] akhilkumarco007:
yeah bro i tried uninstalling and installing and even tried using different versions too :(
[BetterBatteryStats] gregferns:
You're supposed to install it 1st,, it shows as a companion app,, then you go to play store and it will show you update available.. you have to update and then the other app shows up... you're not supposed to UNINSTALL and then INSTALL...

Have you done the above ???
[BetterBatteryStats] FernBch:
All I have ever done is install the app, then install as system app, reboot and shows companion app, then reinstall same apk again. Never had to go to Google Play.
[BetterBatteryStats] Sir_gpm:
Any help to cure my illness, something is killing my battery ;p. Report copied to this url. http://pastebin.com/TCVapjei
[BetterBatteryStats] MysticGolem:
I had a quick look at your file and here's what I gather.

You went from 79% to 72% over the course of 35 minutes of having your phone off the charger.

In that time you use your phone with the screen on for 17 minutes. At first, your battery stats and drain look normal. However there's no sleep time, hence your phone is always awake and draining battery.

So far I don't think it is an app that is causing the problem.

You have 2 kernal wakelocks:

xhci.wakelock (): 14 m 41 s Cnt:(c/wc/ec)6/0/0 42.5%

EINT wakelock (): 12 m 25 s Cnt:(c/wc/ec)622/0/621 36.0%

The xhci wakelock seems to be, https://groups.google.com/forum/#!msg/android-x86/jmDsPzmamFU/VQO2x9_lRl4J.

However I don't know much about it, nor do I believe you can solve this issue.

The EINT wakelock seems to be, https://meizufans.eu/forum/topic/2149/battery-drain-uknown-wakelock/8 or https://forums.oneplus.net/threads/wakelock-problem-need-help.305570/.

Once again , not sure if it is a WIFI or an issue with Google Play Services.

I would test your phone with mobile data turned on and your wifi turned off and do a similar test.

Could you provide more information about the phone you have? Have you just recently completed an update? Anything else that we can use to determine what happened before and possibly after.

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

Battery Info

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

Level lost [%]: Bat.: -7%(79% to 72%) [12.3%/h]

Voltage lost [mV]: (3911-3890) [36.8%/h]

===========

Other Usage

===========

Awake (): 34 m 33 s 100.0%

Screen On (): 17 m 26 s 50.5%

Wifi On (): 34 m 33 s 100.0%

Wifi Running (): 34 m 33 s 100.0%

---------- Post added at 11:55 AM ---------- Previous post was at 11:52 AM ----------

It looks pretty normal to me.

Your phone was sleeping for 7 hours and you used the phone for 2 minutes. It was awake for 10 minutes doing some background work. I think you are fine. I don't see anything out of the ordinary.
[BetterBatteryStats] r1akn:
Hey guys.

I have dont these two tuts:

http://xdaforums.com/android/general/guide-extreme-battery-life-t3095884

http://xdaforums.com/android/general/guide-0-0-hour-idle-battery-drain-stock-t2973588

attached BBS log
[BetterBatteryStats] DarthCthulhu:
I'm experiencing the same issue. Never got an update in the Play Store either.. Tried RC1 and B5.

Edit: Nevermind.. Reinstalling the .apk after installing the system app got it to work.
[BetterBatteryStats] qwerty22:
Please commetnt:
[BetterBatteryStats] draxema:
View attachment 3482830

Hi, I managed to reduce the xhci wakelock and EINT wakelock (was probably google play services) with amplify and it did reduced my comsumption but to 7%, there is still a battery drain but it is more "acceptable". Here's another dump file (for since it booted) should be a bigger time frame so more representative of a normal usage. Thank you for your help, I will continue to investigate this issue and if I find a solution I will post it for other users that might have the same problem as me.

edit: I fogot to mention, it was doing this on stock rom, reflashed it (not only factory, I reflashed the whole thing), and was hoping that it would solve it, but it did not. So I came here for help
[BetterBatteryStats] RASTAVIPER:
How did you manage to reduce EINT wakelock?

I have the same problem and I can't find how to fix that.

Unleashed by my Onda v975m
[BetterBatteryStats] draxema:
Hi, I followed this guide http://xdaforums.com/android/general/guide-extreme-battery-life-t3095884 Please note that I still have the xhci battery drain. But the guide helped me reduce by a huge amount my EINT wakelock drain
[BetterBatteryStats] chamonix:
I have not heard any feedback on RC1. Is everything working fine?

Next on my plate would be fixing the layout of the widgets, no other issues needing a fix are known
[BetterBatteryStats] qwerty22:
Changelist is not contains previously published problems...
[BetterBatteryStats] chamonix:
I can only see that I misnamed the current release to B6 instead of RC1. Is that what you are talking about or I am missing something?
[BetterBatteryStats] gaich:
That`s about a bug with "string" instead of "change". This was fixed in original changelog, I did it in translation too, but it was after the release. [MENTION=1330150]chamonix[/MENTION], if this is possible, please, inform the translators before the release, so we could update the translations for the new version.
[BetterBatteryStats] aegeuss:
Guys,

Could someone help me please analyzing the attached stats? I lose %20 battery in a night :(

Regards
[BetterBatteryStats] qwerty22:
Excuse me for persistence... What about fixing of the two bugs?

1. Section "Alarms" on "Boot to Current" has Wakeups is less then "Unplugged to Current" dump.

2. No Wakelocks on Samsung Galaxy with lollipop (patched BBS is work normaly).
[BetterBatteryStats] Gliuk_er:
It's possible to avoid this:

1- Install BetterBatteryStats with the apk file.

2- Open BetterBatteryStats and press "Install as a system app".

3- Reboot device.

4- Install AGAIN BetterBatteryStats using the apk file.

5- Finally, open BetterBatteryStats, and it should work fine now.

Overall, app works fine.
[BetterBatteryStats] mdamaged:
Analysis in attachment.

Password for it is: xda
[BetterBatteryStats] chamonix:
I appreciate the fact that it's difficult to synchronize between me finishing a release and the translations. Before the final version with a merged changelog I will do as for previous releases, for intermediate releases I prefer not to wait for translations because it makes the development less streamlined.
[BetterBatteryStats] maigre:
I've been running RC1 since you posted it. I haven't tried to "force" bugs, but I've paid attention to what it's been displaying. No issues that I'm seeing. I haven't used the widgets.
[BetterBatteryStats] j1gga84:
I am searching for a working script for LP and the BBS App (xda Edition, not PlayStore!) that the BBS app stays in system folder after an update of my ROM. I only found a script for the PlayStore build and when I manually change the apk name it still does not work.. :confused:

can anybody help me or share a working script?

many thanks and regards
[BetterBatteryStats] IronTechmonkey:
Apologies. Installed it the first day on Moto E XT1511, CM12.1, L5.1.1 and looking good since. Not heavily used except for the main page bar graph and partial wakelocks which are looking good.
[BetterBatteryStats] Adywizard:
OK, try this:

1. Rename .apk to BBS.apk

2. Reboot your handset

3. One more time reboot into recovery mode and flash signed zip https://www.dropbox.com/s/0ekcspnjc570y9n/82-BBS_signed.zip?dl=0

I'm using it with xda version too, and it works flawless.
[BetterBatteryStats] Primokorn:
All you need to create your own script: http://v.ht/TLvq (clean flash + survive a dirty flash)
[BetterBatteryStats] cLogic:
I use the attached script in /system/addon.d on cm12 5.1

I had to add a .txt extension so that xda would allow Me to attach it, so remove that .. filename should be 95-betterbatterystats.sh or whatever-you-like.sh

remember to set permissions to rwxr-xr-x, owner= root, group= root
[BetterBatteryStats] Al Gore:
I am getting same battery life (2 days and ~2 hours of SOT) on CM 12.1 + new battery + amplify + paid greenify as I used to get on Touchwiz 4.4 + old battery + free greenify, any tips?
[BetterBatteryStats] chamonix:
I am making progress tweaking the resizable widget. Expect RC2 soon
[BetterBatteryStats] shaggyskunk:
You do realize that you can download the xda version at an Immense discount - FREE ?

I for one don't think that it's appropriate to ask devs to start discounting their apps on the Store - Google already takes a chunk!

Download the apk from the thread - And say Thank You to [MENTION=1330150]chamonix[/MENTION] a thousand times ?

Sent From my SM-N910W8 Running SlimRemix v4.7
[BetterBatteryStats] :
Dear shaggyskunk, Please clear my 4 doubts:

Dear shaggyskunk,

Please clear my 5 doubts:

1. Please provide me the Valid BetterBatteyStats apk link on XDA forum from where I can download Full (Non Trial) Legal Version as you mentioned in previous message.

2. Is BetterBatteyStats apk provided on XDA is exactly same as provided on Google Play Store INDIA.

3. Do really Dev (@chamonix) giving all XDA forum members his apk FREE.

4. Is XDA BetterBatteyStats apk free from Viruses. (I don't know much about XDA but Google uses their Scanning tools to avoid possible threats).

5. Google Servers checks for license purchase, how will your XDA link apk handle it.

Request you please clear all my 5 doubts.

Thanks in Advance
[BetterBatteryStats] shaggyskunk:
The Downloads for all the apks are in the Second post - I have purchased the Donate version from the store to support the Dev - But I'm running the xda version on my devices.

The BBS apk available on xda is likely more developed than the play store version.

There is no cost to download the apk from [MENTION=1330150]chamonix[/MENTION] thread.

I certainly would be exceedingly confident that there are NO viruses on any download from any Recognized Contributor or Recognized Developer!

There is no license check on the xda apk.

When you are able - I'm sure that purchasing the Donate version would be appreciated.

Sent From my SM-N910W8 Running SlimRemix v4.7
[BetterBatteryStats] :
Thanks Friend: shaggyskunk,

shaggyskunk,

I will support Dev, when I have enough money to buy many be next or next to next month.

This month I have a shortage of money to buy Apps.

Is this the link that you are focusing on. Please confirm.:: http://xdaforums.com/showthread.php?t=1179809
[BetterBatteryStats] shaggyskunk:
Your link just takes me to your post - This is the link to the Second post which is where the apks are posted - Download the very bottom apk

http://xdaforums.com/showthread.php?p=15869886

Sent From my SM-N910W8 Running SlimRemix v4.7
[BetterBatteryStats] coolfire:
Anybody so kind as to help me check my stats please? As I do not see anything odd which would let my battery drain 23% while idle overnight (apart from 12m SOT) for almost 8 hours...

Thank you very much in advance!
[BetterBatteryStats] chamonix:
RC2 is up
[BetterBatteryStats] Al Gore:
Any tips on dealing with GPSD wakelock? Or at least finding out which program in particular requests it?

Otherwise it would be sleeping great

https://www.dropbox.com/s/2kzs3jiqpzlsjug/BetterBatteryStats-2015-09-28_082516850.txt?dl=0
[BetterBatteryStats] MysticGolem:
Hello coolfire,

I had a look at your battery stats and I couldn't find anything out of the ordinary.

You had 12 minutes of SOT which is fine, you should have lost approximate 8 - 12% battery life overall.

However you almost lost double that. I don't see any particular app that is draining your battery (Partial). I don't see any Kernal wakelocks which is set by the manufacturer. Sure the powermanagement wakelock looks high, but that's normal because you used your phone for 12 minutes.

In my opinion your phone should have been awake for approximately 30 minutes with all of the background tasks going on at night.

What phone are you using, also do another test overnight so we can compare.

If you are using a Galaxy S6, then this battery drain issue has been report, I've seen this issue with my friend's S6 too, but he didn't root his phone meaning I can't get any stats to help him.

Next test would be to have no apps running in the background while you are asleep.

Also could you provide more information regarding the app you used to get 12 minutes of SOT, because it is possible that an app might be causing battery drain.

Best of luck!
[BetterBatteryStats] ASHURiCAN:
Do we need to install as system app when we use the Enable BatteryStats Permission Xposed Module?

Envoyé de mon Nexus 5 en utilisant Tapatalk
[BetterBatteryStats] caiorrs:
Nice Job

Thanks [MENTION=1330150]chamonix[/MENTION] great job man =D
[BetterBatteryStats] coolfire:
Thank you very much, [MENTION=5264964]MysticGolem[/MENTION]!

For info, in running a SM-N910G Note 4... And I'm also puzzled as to why this kinda drain surfaced. I'm attributing it to the kernel I was running but just a couple of days ago on the same kernel, things seemed normal...

As for the 12mins SOT, I was using mainly the Tapatalk app and checking some whatsapp msgs and Dropbox files :)

Will try to run another overnight test without using any apps..

Thanks once again!
[BetterBatteryStats] m0han:
bbs stats reports 100% 'no data connection' and 'no or unknown signal'. :( :confused:.

who's the culprit here - device / rom / kernel / app? or a combo of any of these?

bbs stats: http://pastebin.com/wQgdCBjA

screenshot: http://s12.postimg.org/4j04zdbbx/BBS_In_built_Battery_Stats.jpg

rom: BlissPop v4.0.1 [5.1.1_r18]

kernel: [GK-MR1.2][God's Kernel][CAF]

please take a took and let me know if anything is to be done to set things right(?). thanks, [MENTION=1330150]chamonix[/MENTION].

edit: the stats was collected overnight with 3g data on all the time (wcdma preferred).
[BetterBatteryStats] yoh_anim:
Usually this type of result is when you are connected through WIFI. in such a case the mobile data connection is closed.
[BetterBatteryStats] v7:
WiFi was turned off.

Tapped from my ❶+❷ ;)
[BetterBatteryStats] m0han:
:good: yeah. and i posted 'cos i found the 'no data connection, no or unknown signal' thing to be unusual.
[BetterBatteryStats] t-minik:
Hi all.

I used bbs since a few years without problem, was lucky it always worked perfectly.

Since the last 2 days I try lollipop on my ulefone be pro Mt6732 phone and I can't get detailed alarms and wakelocks as it was on kk.

I tried both with or without alarm / wakelocks API and rebooted.

Does anyone have a clue?

Best regards

PS / here is what I got anytime :
[BetterBatteryStats] qwerty22:
Original BBS on Samsung Galaxy has no wakelocks too. Try to patched BBS... For exampe:

http://xdaforums.com/showpost.php?p=62911595&postcount=29388
[BetterBatteryStats] t-minik:
Thanks for your reply.

Unfortunately I don't find anything else than dump and logcat.

I looked for a few pages before and after, I don't find the patched app.

Best regards
[BetterBatteryStats] tangcla:
So I've just changed phones (Samsung Galaxy S5, stock but deodexed Lollipop ROM) and I too don't have details in my alarm stats.

I had posted something about this around page 2859 but I can't seem to remember how to fix it.
[BetterBatteryStats] Hedied4me:
I personally liked the widget in RC1 over RC2

Sent from my Virgin Mobile HTC Desire 601 zaraCL cdma
[BetterBatteryStats] pnm3049:
I do not have kernel wakelocks displayed. It says file could not be read. It tried checking the kernel wakelocks using API in the settings but still it wont show. Any help?
[BetterBatteryStats] ASHURiCAN:
Any advice please?
[BetterBatteryStats] banciii:
I have huge battery drain with latest RC2 in deep sleep (6-7%/h). Downgrading to 2.0 stable solves the problem (0.6-7%/h).

Nexus 5 with latest CM12.1 nightlies.
[BetterBatteryStats] draxema:
Xhci kernel wakelock

Hi, a kernel wakelock is preventing my phone to go to sleep. It is the xhci wakelock, it is preventing my phone to go to sleep and it is at 70% on BBS. It cause my phone to not charge well, I need to reboot my phone in order to make it charge. I tried to reflash but with no luck. I am on stock rom and my phone is the zopo zp999/3x. Any help is appreciated
[BetterBatteryStats] code010101:
Hello,

the (new) widget is still missing an option to show the time periods as percentage (as in the old ones)

it would be nice to set the widget to show only a big (say 2x2) circular diagram, without any text.

I can just manage to a have a small one (without text), but the widget takes a lot of space (2x3)

Ste
[BetterBatteryStats] chamonix:
Please provide a dumpfile. Without tangible proof that the drain is bbs related your observation does not allow any analysis