yashsingh1/xdaforums huggingface dataset:
[BetterBatteryStats] Orphee:
Hello,

I'm using xposed module, and i still have the same issue with 1.16.x nothing appears.

It seems it is not just the system check.

Is seems to be the way you handle battery_stats...

Something has change since 1.15. Because 1.15 is working well.

On 1.16 all screens are empty, alarms say must be root... I have root...

1.15 use an old variable? Thank you
[BetterBatteryStats] chamonix:
Yes there is a change from 1.15 to 1.16 in that regards: BBS checks if the required permissions were granted - the way android was designed. Obviously the xposed module does not reinstate the perms and I will need to find a way to work around that. TBH not a high prio as BBS provides a system app and does not required XPosed
[BetterBatteryStats] Rhonin86:
Hi Charmonix,

just a small question: Is it possible just to install the RC 1 over an existing donated 1.15 from Playstore or will there be any future problems due to the different versions ?

THX in advance

Rhonin
[BetterBatteryStats] chamonix:
You can not install RC1 "over" a version from the playstore. All releases from xda have a different package name so they will install besides the version coming from gplay. Besides being potentially confusing there will be no conflicts.
[BetterBatteryStats] Perseus:
I wouldn't worry too much. This is best log I have see. The various widgets you have got are keeping the phone awake. But a few minutes in 6 hours is pretty good in my books. Please freeze Google Search.
[BetterBatteryStats] blackbirdsinging:
Anyone able to look at this?

Anyone able to take a look at these for me? I think I've done the log dump correctly but I am very new to root so I don't understand most of this stuff yet.

I use JuiceDefender because I still notice a drain when I don't, but overall, battery life on this model has always been horrible and I'm actively looking for ways to improve it now that I have a little more control. If it helps, I've used Greenify to hibernate Google Play Services and some other stuff that's non-essential. It's always running in power save mode, and with the screen off on my home wifi it lost 4% off a full charge within an hour and a half or so.

Any suggestions would be greatly appreciated.

eta I am running Themer and I understand this will draw some of my power away, however other than what's baked into my theme, I don't have any widgets in the background on touchwiz home screen. (speaking of which, I have to go do some searching to find out if I can freeze that, it really is a terrible launcher) and in general I don't leave GPS or location services on. Mainly because it's creepy, imo, but also since it burns battery.

This was run this afternoon on a Samsung Galaxy SIII, SPH-L710 (US, Sprint) - recently rooted on stock 4.1.2
[BetterBatteryStats] Perseus:
Please freeze Juice Defender, Exchange Services and Email Client and then reboot. If you need Email, use K9Mail and set it to pull on schedule. You have a chatty wireless or a chatty device on your wlan. Please issue a static IP to your phone from the Wireless Router. If possible, turn off IPV6 on your router.

Kindly leave the phone overnight after a reboot and then post the log next morning.

[MENTION=1330150]chamonix[/MENTION]. Grabbed the latest RC. Looking great. Saw the new option for the Xposed module users. Since I don't use it, did not test. Otherwise everything is looking great. Like the circular graphs by the way from prior release.

Did notice something. When I click on a Partial Wakelock, think I used to see some specific details inside. Now nothing happens. Maybe I am confusing things. Its been a long day.

BTW, is it worthwhile to include a link to the [GUIDE] The Total Newb's Guide to Wakelocks somewhere in the App ?

http://xdaforums.com/showthread.php?t=1827676
[BetterBatteryStats] czach5932:
I've been connected to WiFi for almost 48 hours and have rebooted but I'm still getting about 10 alarms per hour.

Any idea if this is os or app related or how to track down what is trying to update?
[BetterBatteryStats] Perseus:
What Alarm is that ? What do you see under network tab ?
[BetterBatteryStats] blackbirdsinging:
Okay, I've just made the changes you mentioned- thanks for the extra detail! I'll post you the log tomorrow morning. Forgive the newbie question, but the phone will still need to be left unplugged, right?

Also thanks for posting that guide, I'm going to go through it tonight and see what I can learn.
[BetterBatteryStats] anuradha96:
Hey guys :) I got a 10-11 % battery drain last night in flight mode..here is my bbs report..can someone help me ?
[BetterBatteryStats] godlesplay:
[MENTION=1330150]chamonix[/MENTION] you could add new sreenshots to 1st post :P
[BetterBatteryStats] Karpfenhai:
hey Sven, the only "issue" I found is the percentage calculation, sometimes it shows 101 percent [emoji2] but congruent in text and circle, maybe a divider for multi cores is slightly out of range?

no fc's, no lags, fast and reliable.

Regards

Tapatalked from my Galaxy SII
[BetterBatteryStats] Bilmoussaoui:
the icons are so big..

I'm using cm 11 last nightly, a modified theme and icon pack.

hope you will fix it soon ;)

Envoyé de mon GT-I9195 en utilisant Tapatalk
[BetterBatteryStats] jr67:
Strange I'm using the latest CM11 and my icons look fine.

It must be the icon pack you're using. Revert back to the stock icons and see if that fixes your issue. If it does then the problem is most likely the icon pack and not BBS.
[BetterBatteryStats] chamonix:
The height of the icons is not set in this list because the package manager is supposed to return the right icon size. it looks like you rom or theming engine returns Hi-res icons. I'd consider that a bug (not in bbs) but will fix anyway.

I guess you will have recalled icons everywhere, causing an unnecessary cpu overhead.

added #464
[BetterBatteryStats] chamonix:
#465
[BetterBatteryStats] chamonix:
I will make RC2 and following RCs available from gplay beta. Any volunteers to test the upgrade process from gplay 1.15 to 1.16 please PM me you Google account email address
[BetterBatteryStats] czach5932:
Sorry ment to reply to your last post but it's the android.app.backup.intent.RUN under android in the alarms tab. Just charged my phone last night so almost nothing under network right now. I disabled Google backup in settings and the Verizon backup assistant. Anything else I can do? Still Bergen looking on Google but like I said a whole bunch of results for that alarm but no-one else has this as a primary problem
[BetterBatteryStats] -sandro-:
OK so since no one was ever able to help me I went ahead and tried to analyze a logcat. First of all BBS cannot catch (I believe due to how android works) some activities. For weeks I had heavy standby drain on 3G (about 10%/h!!) and there was NO indication in kernel, partial wakelocks and alarms on who was the cause. The logcat showed me a continuous sync of tabs/history from Dolphin browser. It was the cause. Now I'm left with the usual unknown 3G battery drain which is always 2.5-3%/h and above while it should be 1%/h (with other ROMs it is). So I did a logcat of 8hours recording with a radio log also, can anyone see a pattern or a possible cause?

This was recorded in a steady position with high reception (-75dbm).

https://www.dropbox.com/s/jxmixfdvb5z2qa9/2014-06-22-03-59-42.txt
[BetterBatteryStats] MegaSharkXDA:
Titanium Backup, right?
[BetterBatteryStats] blackbirdsinging:
[MENTION=3639717]Perseus71[/MENTION] Okay, here's the log from overnight after I made the changes you requested. Thank you so much for the suggestions you gave. Just leaving the phone alone overnight for 8hours plus, I only lost 5% off the charge, which is a big difference on its own from what it usually loses when not plugged in and in sleep mode.
[BetterBatteryStats] sidki:
Network app icons missing

While in "Network" view, I don't see the app icons on the left of the screen (screen_1).

The app icons do show up in all other relevant views (Alarms, Process, ...).

I'm on I9505XXUFND7 (Galaxy S4 Kitkat Stock, rooted), using BBS V1.16RC1.

If I switch back to BBS V1.15, the "Network" app icons are shown again (screen_2).
[BetterBatteryStats] Karpfenhai:
Damned, he is right, same on aosp Rom, didn't notice it [emoji14]

Tapatalked from my Galaxy SII
[BetterBatteryStats] Perseus:
Media Scanner went Berserk. If you have a lot of Music files, then wipe the data to Media Storage app then reboot and leave the phone alone. If you don't have any music on the phone, then please install an app from the Play Store called "Media Scanner Killer" Use it to... Well kill the darned thing. Your ringers and notification settings would be lost after reboot. So be prepared to re-set them.

Your log does not contain Alarms. I don't know what happened this time. May be the Reference did not set this time. So can't tell what those were. Please reboot the phone and make sure to hit refresh button in the app before leaving it idle for at least 3-4 hours.

@chamonix

With the latest release Candidate, I noticed that the apps listed by BBS have their Icons cut off. Please see a sample bellow.
[BetterBatteryStats] chamonix:
#467
[BetterBatteryStats] blackbirdsinging:
That's bizarre, I haven't played any music on my phone in several days though I do have a ton of music on my sd card. I swear this phone seems to have a mind of its own sometimes. I reset all the music data and froze Google play music and some other stuff that I don't use and will try the log again.

I went looking for Alarms in those log files and that was something I was wondering about. I only have one daily reminder alarm on my phone so I'd assumed it just didn't show up because it wasn't set to go off during the period BBS was scanning- from what you're saying I guess that's incorrect. Will try again.

Thank you for taking the time to help me with this. :)
[BetterBatteryStats] mathrania:
I have attached the log... I am not getting how to stop this thing keeping my device in wakeup....
[BetterBatteryStats] nullend_void:
I'm trying to figure out a partial wakelock called OffloadTrack that seems to be hogging my phone. Any ideas what may be causing it?

Lastly, any advice on how I can squeeze more battery life from my device? Thanks!
[BetterBatteryStats] MegaSharkXDA:
Freeze Google Search with Titanium Backup? Or any other tool?
[BetterBatteryStats] gaich:
This isn`t an idle dump, as it should be.

OffloadTrack is an audio wakelock, held during audiotracks transition, for the instance. Can appear after using poor designed games too, leaving audiochannel open even after exiting the game itself.

And there`s a lot of location alarms and wakelocks in your dump, please turn off location reports and provide an idle dump afterwards.
[BetterBatteryStats] xu198516:
can this software helps to save power?
[BetterBatteryStats] Titchener17:
Does a fat baby poot ?
[BetterBatteryStats] Perseus:
If you have a ton of Music on SD Card, no wonder Media Scanner went Ape. Instead of killing, follow my other advice on letting it do its job.

By alarms I did not mean Alarms that go Rrrring or Buzzz or whatever. I meant the System Alarms that wake the phone up to do stuff. In BBS you will see those under Alarms in the Dropbox.

Yes that'd do with Titanium Backup.

Turn Off Google Location Reporting. If it was already turned off, then turn off Location Service. Freeze Google Search. Facebook and its Messenger are your Battery's worst enemy. Remove them and your battery will thank you forever.
[BetterBatteryStats] tuniel:
extensions

Hi Gents,

i'm running into a trouble with BBS 1.16.RC1 (or any BBS 1.16.xx) and the extensions.

i have Chronus installed, which is now capable to use the dashclock extensions.

if i use BBS 1.15, the extension show up in chronus, while moving to 1.16.xx it doesn't.

anyone else having the same?

thanks
[BetterBatteryStats] Dark_Avenger:
Yes. I can confirm this. Maybe because of different package names - play vs xda edition.
[BetterBatteryStats] MegaSharkXDA:
What about Greenify? I still want to be able to use Google Search.
[BetterBatteryStats] Perseus:
I don't use it or reccomend it. So no comment there.
[BetterBatteryStats] Sir_gpm:
Could you plz explain a little bit....because I used but when I read that android make a good manage of memory and so Greenify is useless.

Enviado desde mi Nexus 4 mediante Tapatalk
[BetterBatteryStats] Karpfenhai:
Greenify isn't for saving memory at all.. it's for preventing non user caused app activity, it literally freezes the apps until you decide to use them, easy and noob friendly.

I like it for certain apps but misbehaving system apps you need to take care manually.

Regards

Tapatalked from my Galaxy SII
[BetterBatteryStats] Perseus:
Please see #23917

greenify does not do memory management but yes Android does manage Memory Better.

^^^^What he said.
[BetterBatteryStats] sam142000:
Any suggestions to improve the wakelocks and in turn the battery life?

Currently I use DeepSleep Battery Saver app to get this type of backup.
[BetterBatteryStats] mdamaged:
Those are some nice screenshots, very pretty, but how about you post a dump instead, so someone has something useful to actually to help you? Charge device, let sit idle for 4 hours or so, then post a dump as an attachment, or a link to it from pastebin...if you're going to post a dump directly to the thread, or a bunch of screenshots, use hide tags.
[BetterBatteryStats] nullend_void:
Thanks a lot. I'm thinking if the Offloadtrack is caused by my home screen Aviate. Anyway, I'm including a 2 hour idle dump here. Thanks again.
[BetterBatteryStats] elhennig:
Why does 1.16RC1 always ask to be installed as system app on my 4.4.4 Slimbean weekly 5.10?

The button to change this in the app does not work, making a system app of BBS in Titanium Backup does not change the behaviour. Stats do not work with 1.16RC1 but works partly fine with 1.15 except that the widget does not show correct values..
[BetterBatteryStats] Karpfenhai:
hey there, I think this is a titanium bug, it moves the app to /system/app instead of /system/priv-app where it belongs since kk, maybe [MENTION=1330150]chamonix[/MENTION] can handle this as well (folder location)

the easiest way for you to fix this is moving the apk to /system/priv-app, set permission to 644, change owner and group to root.

delete the one from /system/app.

Regards

Tapatalked from my Galaxy SII
[BetterBatteryStats] Perseus:
2 Hour is very less to work with. You should post an Idle Dump preferably overnight.

That OffloadTrackis still at it. You may have to change the Rom if we can't find out what's causing it. Try another launcher and reboot. Turn off Google Location Reporting.

---------- Post added at 06:15 AM ---------- Previous post was at 06:12 AM ----------

That Log is under usage. Difficult to tell. Post an Idle log instead. Your screen was on for all the time of the log. No wonder battery dried up.
[BetterBatteryStats] Titchener17:
Does the whitepages/canada suggestion mean check the north American dialing box or uncheck...have unchecked "smart dialing " in addition to getting rid of ipv6 in data
[BetterBatteryStats] Perseus:
Not sure what you are referring to. I was referring to the Lookup Providers for Reverse Lookup.
[BetterBatteryStats] Titchener17:
Ok , have found exactly what you are referring to, and see how to do so if running cyogenmod, however is there anything in this picture of my call settings that will do the same, or any patch, code, or app that will achieve the change/improvement/suggestion? Thank you again, and I apologize for being on the dense side on this help. Thank you for continuing to try to help kind sir.
[BetterBatteryStats] Perseus:
If that is all the options you have on there, then your Rom does not offer the option of Lookup Providers. So you don't have a control over that. We may have to investigate further. Please post an overnight Idle log.
[BetterBatteryStats] chamonix:
1.16 uses dashclock api 2.0, previously it was 1.x. Maybe that is the reason but I can't tell for sure as I don't chronus
[BetterBatteryStats] habylab:
Hi there. I'm on the latest RC, and I only seem to have since boot as an option? Nothing else!

Sent from my Linaro SM'd CM11 Galaxy S3, with arter's kernel. A proud Googy Beta tester.
[BetterBatteryStats] tuniel:
thanks, Chronus developer mentioned they found bugs on the way extensions were handled, maybe that's the reason

Inviato dal mio Galaxy Nexus utilizzando Tapatalk
[BetterBatteryStats] amjath:
It used to be good, cm and Gustavo makes good battery life at night for me. But now no. These deleted wakelocks and other NLP wakelocks giving me nightmares help

https://www.dropbox.com/s/6cpbcx43t9qodjf/BetterBatteryStats-2014-06-25_054240287.txt
[BetterBatteryStats] demoncamber:
Could someone please help me figure out what ippolicy is a part of so I can find the apk responsible? I cannot find the service in app ops
[BetterBatteryStats] elhennig:
Thanks a lot. Now BBS works also with the latest release of Slimbean
[BetterBatteryStats] chamonix:
the in-app install handles the directory being different between 4.4 and previous so the solution is to find the problem with the installation
[BetterBatteryStats] chamonix:
please provide a logcat so that we can find out the problem with the installer
[BetterBatteryStats] elhennig:
In my case the app was installed as /system/app/com.asksven.betterbatterystats_xdaedition-1.apk

I just moved it manually to to /system/priv-app/ and it was not recognized as system app.

Now I renamed the apk to com.asksven.betterbatterystats_xdaedition.apk and it is now recognized as system app.

Are you searching for com.asksven.betterbatterystats_xdaedition.apk in the "install as system app" function? Then of course it might not be found if the file name differs.

It would probably help to get the path using something like

pm path com.asksven.betterbatterystats_xdaedition
[BetterBatteryStats] PeQuEsan:
Sorry to bother you... I'm under kk 4.4.4 and last 1.16 RC1, and my problem is that after some hours of showing all the stats correctly, I start getting "BatteryInfo service could not be contacted" randomly... IF I just kill BBS and reopen it, it works again.

I've got BBS installed in /system/priv-app, with correct perms and owner (I did it using in built facility).

Any idea?

PD: I'll try to get some logcat...
[BetterBatteryStats] Titchener17:
https://www.dropbox.com/s/m8rg948lr5xo0ii/BetterBatteryStats-2014-06-25_075716235.txt
[BetterBatteryStats] tuniel:
Chronus extensions (2)

Hi all,

i have Chronus 4.5.2 and BBS 1.16 RC1 and i don't seem to be able to change the settings of the BBS extension through chronus.

anyone else having the same?

thanks
[BetterBatteryStats] guido_glx:
Same thing happens with DashClock v1.6 (and also with previous versions)
[BetterBatteryStats] pikachukaki:
Anyone having problem showing alarms???It sais it need root i have root i install the app as system but still it didn't show anything....

Also i dont have offscreen drain but whatever i do i can't pass the 2.30h/SOT barrier with my nexus 5....how can i check whats draining my on screen usage??

I have facebook btw :(((((
[BetterBatteryStats] Perseus:
It might be IPV6 or your Wireless, Did you use WiFi Calling ?

You need to enable root features from under BBS Settings > Advanced.
[BetterBatteryStats] sofia-captivate:
Im new i got a s5 which my battery wont last more than 2h30mins screen time few people recommended me this app but do i have to root my phone for this? Thanks
[BetterBatteryStats] Cozmos23:
2h30mins on S5 is not that bad. Its summer and its very bright so your screen runs most oft the time at 100%brightness. With bright backgrounds its definitely a battery eater. Also u may have a lot of background services running which also are draining the battery. No reason to worry about. Try to deactivate WLAN Network scanning and try to switch to 2g when u are not surfing vor disable the mobile data when u don't need it.
[BetterBatteryStats] pikachukaki:
I have and it take root but still alarms said that it needs root to work....
[BetterBatteryStats] chamonix:
I guess I will need to instrument BBS further so that we can have a closer look and diagnose what happens:

a) BBS relies on the SDK version to decide what directory is the right one for system apps

b) the APK name is irrelevant as the package manager and adroid itself takes care of everything located on priv_app

What you describe (the package name mattering) indicates a problem with the ROM rather than with BBS (on a stock rooted nexus 5 I can't reproduce). To figure out more I really need a logcat...
[BetterBatteryStats] m0ar:
Battery drain on S3

Hi, my S3 has some serious issues with battery. I've recently gotten a new, third party battery but it didn't make things better. I'm attaching a dump file from yesterday, I'd appreciate if someone could take a look.

Best regards,

Edvard
[BetterBatteryStats] u81:
Samsung Spica-i5700 - Battery Drain- not entering deep sleep with wifi on

[MENTION=3639717]Perseus71[/MENTION]

Hello Perseus,

I finally managed to get the BBS_Stats Granted as well as DUMP_Granted.

So please find attached herewith 2 sets of logs.

1- After leaving wifi and sync off during the night- the phone entered Deep Sleep without any problems and the battery drain was under 3%.

2- After turning on wifi and sync for about 1 hour - the phone doesn't enter sleep anymore and the battery drain is increasing rapidly.

It's a phone from 2010 with only 160mb RAM. I'm running only a few apps on it- Viber (quite an old and light version ), ES file explorer, Tapatalk, Zeam launcher, Sipdroid (with pbxes registered account).

The ROM is GB 2.3.7 , a highly customised version , and that was the cause I was not able to get DUMP_Granted message. I had to put the .apk into /system/app . I can't update su binary either.

In any case, please see if there is anything you think is way out of line.

Thanks.

Note- I just noticed that nothing showed under alarms screen- and when I try to see the network stats- I get an error- " An error occured retrieving stats".

Before I reported this, I verified that I have the following done:

1- BBS has SU permissions.

2- Root features are enabled

3- In system app section- BATTERY_STATS- Granted + DUMP Granted.

I wish to reiterate that the BBS apk is in /system/app and not /data/app-priv .
[BetterBatteryStats] sarveshvaity:
Better Battery Stats is not showing any information for anything. I have installed it as System App and granted root features.
[BetterBatteryStats] WettbackMartyr:
Having an issue with v1.16RC1 where no information is shown by the app what so ever. No stats at all. No percentage battery remaining...nothing. Anyone else getting this behavior at all? (Stock nexus 5, stock ROM 4.4.4, Franco kernel)
[BetterBatteryStats] mlkjuggalo:
Same issue here.
[BetterBatteryStats] leafs44:
Same here, it worked fine on 4.4.3. Is this an issue with 4.4.4?
[BetterBatteryStats] Perseus:
Idle Log would help more. I see that out of 4 hours of Awake time, the screen was on 3 hours. That usage kind of distorts the picture. It makes difficult to identify errant vs. Real processes.

Please turn off Google Location Reporting.Remove Facebook and its Messenger. If you need to use, use the Mobile website instead.

Is BBS installed as System App and Root Features turned on as well as Root access Granted ?

[MENTION=1330150]chamonix[/MENTION] , is there a reason for PWLS to work but not Alarms on GB ?

You can't put the App in 2 different places. Remove it from /data/app-priv Hit refresh on the alarm tab. See if there's any notifications.

From the Log after turning on Wireless, there are Deleted wakelocks. Please if possible, go to recovery and wipe dalvik and Cache. Boot again. Did you play any Music for 16 minutes in this log ? I see Media Player.

After turning on WiFi, some app gave out a LOT of Alarms. So without knowing which alarms, its difficult to say.
[BetterBatteryStats] WettbackMartyr:
[MENTION=3639717]Perseus71[/MENTION] yes installed as a system app with root enabled.
[BetterBatteryStats] mlkjuggalo:
Yes to both not sure what the issue is was on 4.4.3 yesterday updated to 4.4.4 and it no longer shows anything .