yashsingh1/xdaforums huggingface dataset:
[BetterBatteryStats] BigLisy:
I have this partial wakelock on my Nexus 5:

*sync*/subscribedfeeds/com.google/704a52957b139075241efdc0a891ce78@gmail.com (Google Services)

Any idea what this could be? My system sync setting is off, and as far as I know I'm not subscribed to any feed or something.
[BetterBatteryStats] Osama Zabin:
Help Please

Hi,

this is a dump file of my friend's HTC One, he couldn't submit it himself due to slow data connection issue.

I see WLAN wakelocks are high, he's not using power saving mode, i told him to activate it, though I'm not sure whether it will reduce these wake-locks or no.

Your help is highly appreciated.
[BetterBatteryStats] mdamaged:
Overall, his battery consumption isn't the worst I've seen, .7/hr is not optimal, but it's not horrible, but you are right, he has a large amount of wakelocks and expired wakelocks due to his wifi, he needs to fix his wlan issue if he wants those to stop. Putting it in power saving mode may or may not reduce them while the screen is off (I've read about some bug where putting it so it disables wifi while screen is off is actually as bad if not worse, not sure the merit of this), of course disabling wifi would certainly fix it.

That then begs the question, is it his router (be it distance, dying radio, interference, etc), or the wifi radio in his device (defective/dying/inherently weak).
[BetterBatteryStats] Osama Zabin:
Many thanks for your quick and informative response.

I'll check your points with him and come back to you.

Could it be related to kernel? He's not using HTC One stock kernel!
[BetterBatteryStats] mdamaged:
I can't really say, I do not know enough to say if one can affect the other. It certainly could be something to try (reverting to the stock kernel).
[BetterBatteryStats] siopaoboi:
thank you for the suggestion. will try it, but just a thought...aside from greenifying it, does anyone know what the main reason is of this wakelock? what activity is causing it so we can avoid this?
[BetterBatteryStats] chamonix:
1.16B1

A new beta is up. See changelog for details

Edit: pulled, investigating

Edit2: APK is back up again, problem fixed
[BetterBatteryStats] hvihavai:
When trying to update I get "conflicting signature" error, is this normal?

Thanks.
[BetterBatteryStats] bombadier:
Same here,,just uninstalled the old one and tried again,the new beta fails to install so I'm guessing there is something wrong with it,will try downloading again

Tapatyping from my nexus
[BetterBatteryStats] :
+1
[BetterBatteryStats] guido_glx:
+2

Enviado desde mi GT-I9100 mediante Tapatalk
[BetterBatteryStats] FlanjeUK:
I copied to System App, set permissions and rebooted, works fine for me.

I do get a message asking me to make it a system app at startup, but pressing back dismisses the message and the app runs fine
[BetterBatteryStats] chamonix:
looking into it right now
[BetterBatteryStats] wilflare:
would we ever get beta builds via Google+/Play Store?
[BetterBatteryStats] chamonix:
nope, RCs maybe but no betas: it makes no sense to changing the distribution channel in my eyes as feedback is what I am after and this takes place here
[BetterBatteryStats] chc31:
I was wondering if someone can PLEASE PLEASE PLEASE help me what is creating my SyncloopWaeklock and alarm manager wakelocks!!!! its been going on for weeks and ive had it, the bettery life is horrible! I don't know what to do, if anyone can please help me
[BetterBatteryStats] Perseus:
Please enable Root features of BBS from under Settings > Advanced. Please stop Sync and then reboot. Leave the phone idle for 3-4 hours or overnight. Post the log in the morning.
[BetterBatteryStats] herwegan:
any progress? i can test and report if you want to :good:
[BetterBatteryStats] Perseus:
Tut Tut. Its pretty rude to ask ETA. When he's quiet ready, I am positive [MENTION=1330150]chamonix[/MENTION] WILL post for testing.
[BetterBatteryStats] herwegan:
i personaly

don't

see a question about an

"estimated time arrival(!)"

by

asking if i can help in the progress

to test the app and meaning it well. you guys really should not be so paranoid...
[BetterBatteryStats] phrotac:
Agreed. All you did was offer to test. No ETA question there lol. It's all good. Sometimes people just misinterpret intentions ;)

Posted via Tapatalk 4 Pro

Wicked v10 - TMoSGS4

Ktoonsez - Comatose
[BetterBatteryStats] Perseus:
The fundamental intent of this thread is for testing betas and gathering feedback. This is exactly why the paid app has been posted here. Of course [MENTION=1330150]chamonix[/MENTION] posts here and expects that others will test.

FWIW - The analysis of the results is a side effect for him. I do recall he had asked in past if this thread should be split into development and Discussion. The survey indicated majority did not want split.
[BetterBatteryStats] chamonix:
I am still working on the signature problem but it's more complicated than I thought. The good news is that I know what I have changed even if I can't find the real reason and a fix:

I have changed my dev workflow in order to dog-food the virtual dev appliance (other thread). Despite the fact that I am using the same debug keystore from my old dev box I still am unable to sign the APK properly, leading to the problem that some of you have noticed: 1.16B1 does not install over 1.15 (xda edition).

I will do some more testing but may end up reverting to my "old" workflow if it takes too long to figure out.

Edit: fixed

For those interested, here's the thread for the virtual development appliance: http://xdaforums.com/showthread.php?t=1697025

Expect some more frequent updates as I am using it myself now (currently the ureleased v3.0)
[BetterBatteryStats] gaich:
Installed 1.16 B1 and cannot get stats for alarms. Using Xposed framework+GSAM batterystats module - this worked fine for 1.15.0.0 without need to install BBS as system app.

To fix the problem I tried to use "Install as systemapp" tab, the companon is installed, but the main app becomes deleted somehow.

I uninstalled the companion app, and the BBS cannot be installed (signature alert) - then I cleaned everything I found related to BBS in data/app, system/app and system/priv-app, even in data/data/app, but BBS doesn`t install itself at all now (no errors indication, just the note - the app hasn`t been installed).

Wiping cache, dalvik, remowing and regranting SU rights did nothing - even updating rom and reinstalling SU just made possible to install BBS, but I still canot get alarms stats:

:confused::confused::confused:
[BetterBatteryStats] Mit_Randir:
Could you please help me. What causes night battery drain, even in flight mode? Android os is on the first place. BBS shows huge radio-interface and RILJ wakelocks. I have tried installing different kernels, roms, modems-no result:(

SGN3 N9005.
[BetterBatteryStats] GeobMcFly:
I've encounter this too.
[BetterBatteryStats] zuzuz:
same awake and screen on time

Is this normal that my awake time is similar to my screen on time? I never had this until update to KitKat... :confused:
[BetterBatteryStats] DefTaker:
Same issue here...1.16 B1 doesn't do anything for me and I can't install 1.15 after uninstalling 1.16 B1...completely wiped (i.e.: wiped system, data, cache and dalvik-cache) and reinstalled rom twice now...no go so I have no idea what the problem is. :confused:
[BetterBatteryStats] It_ler:
It's not an issue.

If your awake time is nearly the same as your screen on time, it's good as your phone is in deep sleep when screen is off :good:
[BetterBatteryStats] zuzuz:
ok, but how u explain this, you see that awake time is very much lower than screen on, it isnt the same time like on my device?
[BetterBatteryStats] It_ler:
Not sure what you mean.

Awake time can't be lower than screen on time.

Please check your battery stats properly - in BBS in "Other" view.
[BetterBatteryStats] zuzuz:
Fisrt of all, I cant use BBS because my device isnt rooted :( and what I thaugt, on my first picture awake bar and screen on bar are the same, and at other picture I posted awake bar is less than screen on bar, did u saw that? How is that possible?
[BetterBatteryStats] josepr2012:
Hi guys, Recently moved on to a 4.4 TW rom and since then can't make the app work. Any suggestions ?

Is there a specific version for Kit Kat or this is normal ?

Here is my error.

Thanks

Sent From My Galaxy S4
[BetterBatteryStats] mdamaged:
Did you install BBS as system app? If so and it did not work, try to install xposed+battery_stats module.
[BetterBatteryStats] phrotac:
It is normal. Google blocked the ability for apps to poll battery stats in KitKat ?.

Posted via Tapatalk 4 Pro

Wicked v10 - TMoSGS4

Ktoonsez - Moonlight v3
[BetterBatteryStats] mdamaged:
Well, they tried to anyway. Did not work for those of us on XDA who are rooted. :laugh:
[BetterBatteryStats] phrotac:
Oh, I didn't know that. Thanks for the heads up :)

Posted via Tapatalk 4 Pro

Wicked v10 - TMoSGS4

Ktoonsez - Moonlight v3
[BetterBatteryStats] josepr2012:
Back to life. .. Thanks!

Sent From My Galaxy S4
[BetterBatteryStats] NonXtreme:
GPSD kernel wakelock

Does anyone know the cause of GPSD wakelock and how can i stop it

It won't let my phone enter deep sleep even a second!!

I started having this wakelock when flash omega kitkat rom and perseus18 kernel, and now it won't go away.

I have tried flash a lot of roms both jelly bean and kitkat with perseus 16.1 17 18 kernel, adam kernel and stock kernel with full wipe and GPSD wakelock still won't let my phone sleep.

I have Samsung Galaxy S4 GT-I9500(Octa core).

Please helppp
[BetterBatteryStats] mdamaged:
I think there is a tracking system setting in security settings that you can disable (then reboot), see of that helps.
[BetterBatteryStats] NonXtreme:
Unfortunately gpsd is still there but I start to notice that it seem to be triggered when I turn on mobile data (3g). So my temporary fixed now is to turn off 3g and reboot but that will be annoying as I must reboot every time I stop using 3g.
[BetterBatteryStats] mdamaged:
Do you have anything set to allow location based services (other phone tracking apps, google stuff, etc)? Disable those within those apps might help, or set to wifi only if applicable. Disable GPS completely to see if GPSd goes away too.
[BetterBatteryStats] viking2.0:
Can anyone please look at the wakelocks and see if anything stands out. I get 1.6%/hr drain overnight with not much showing up under partial wakelocks. I get wlan_rx wakelocks but they have reduced after i set my wifi to be off when screen is off and switched on my mobile network to 2g all the time. L2_hsic seem to be high as well but not sure what is triggering it. I suspect its playstore. The custom reference point is the from last night.

EDIT: I also have sync turned off and location services off.
[BetterBatteryStats] gaich:
Anybody else without alarms stats in 1.16.0.0_B1?
[BetterBatteryStats] chamonix:
1.16B2 is up, fixing the signature problems that you may have encountered with B1. Please make sure to uninstall the system app from B1 if you had installed it. With B2 and after cleaning up after B1 there should be no signature problems left.
[BetterBatteryStats] zyrill:
I'm at a loss how to install this app properly. I downloaded the 1.16 B2 version, installed it by simply selecting the downloaded .apk (phone said app successfully installed) and then I fired up my terminal and made /system writable by doing:

$ mount -o rw,remount /system

Afterwards I used my root explorer and moved com.asksven.betterbatterystats_xdaedition-1.apk from /data/app to /system/app. I also changed owners by executing

$ chown root:root com.asksven.betterbatterystats_xdaedition-1.apk

in the /system/app directory. Now, if I start BBS, it asks for superuser permission (why? shouldn't it have those automatically by being placed in /system and having the right owner and group?). I grant su and then BBS says BATTERY_STATS not granted DUMP not granted (why? shouldn't it have access to those because of being placed in /system and having the right owner and group?). There is also a message saying something along the lines of: 'Selected "from" or "to" reference could not be loaded[...]' It vanishes too quickly to read. Permissions on the apk are rw-r-r just like all the other apks in /system/app.

I tried googling this thread for a solution but couldn't find any, maybe I searched for the wrong strings. In any case, could somebody please tell me what I am missing? Thanks!
[BetterBatteryStats] mdamaged:
You made it more complicated than it is, just undo what you just did, then install BBS apk as you would any normal app, then start BBS, it will state that it needs to be installed as a system app, inside BBS, it will have an install button, hit it, and it will install its helper into /system/app, then it will tell you to reboot.
[BetterBatteryStats] chamonix:
You couldn't find anything about that because what you did is not required and the directory you have copied bbs to is not correct.

please revert and use the app to install as system app.

BBS asking for root is normal as root is required and that is independent from it being a system app. the system does get additional perms but not root access.
[BetterBatteryStats] nateohio:
Having an issue with a crazy wakelock...I've only every used better battery stays to determine my wakelocks and then I'll usually Google how to fix it.

This most recent issue is one I've never encountered before and there is really no info out there on how to fix it. I don't know how to pull a dump file but if someone would be kind enough to tell how I'd do it happily.

Last couple of days I've been encountering a weird partial wakelock.

PhoneApp was running for a total of 11 hours and change only having been off the charger for about 14 hours.

Any help you guys can provide would be appreciated
[BetterBatteryStats] zyrill:
That did not work (at least with B1). Two icons showed up in my app drawer, one of them the helper app and the other supposedly the correct app. Trying to start that second app resulted in an error message saying the app was not installed. Also, why NOT do it like this? It has been recommended a few times in this very thread. And I don't need a helper app if the main app has access to all the info it needs... I'm just bugged by the message saying the app does not have access to the info when I think it should and actually has.

---------- Post added at 07:00 AM ---------- Previous post was at 06:58 AM ----------

I've had that problem as well: you're using CM11 nightlies or M builds, aren't you? What fixed it for me: format everything, install latest nightly and start from there. This problem is due to some significant changes in the phone code and flashing ROMs in the wrong order wreaks havoc. Just start over from scratch. Simply wiping does not solve this problem, by the way. You really need to format everything, including /system.
[BetterBatteryStats] mdamaged:
Worked for me with B2, not a single hitch. You're either doing something wrong, or something is wrong with your setup, you should probably check into which it is and fix it.
[BetterBatteryStats] j1gga84:
No detailed alarms under 1.16B2 (see Screenshot).

What could be the reason?

Regards

Sent from my GT-I9100 using german Tapatalk 4
[BetterBatteryStats] zyrill:
BBS is working for me, don't you know? I'll try to be even more clear: BBS should not ask for permissions it already HAS. EOL!
[BetterBatteryStats] NonXtreme:
Gps has already been disabled completely i removed every account on my phone and uninstall every user apps with no luck.

Today phone call also trigger gpsd wakelock.
[BetterBatteryStats] guido_glx:
Latest 1.16.0.0_B2 runs in my device significantly slower than previous 1.15.0.0 :(
[BetterBatteryStats] chamonix:
As stated earlier doing this by hand is not forbidden but system/apps is not the place for system apps on 4.4+
[BetterBatteryStats] chamonix:
Alarms on 1.16 as obtained in an alternate way, not using dumpsys but API calls. the effect of that is that the Intent info is not available anymore. I will add an option for rooted users to go back to the more complete implementation instead of using the API (#448)
[BetterBatteryStats] chamonix:
Could you be more specific? what device, what screens/actions?
[BetterBatteryStats] chamonix:
What permission are you talking about? root access is no permission from an Android point of view, it is managed by su implementations
[BetterBatteryStats] guido_glx:
Sure! I didn't know if it was relevant...

Device: Samgung GT-I9100

ROM: SlimSaber 4.4.2

Kernel: stock

If I open the app, screen takes like 5 sec to load.

Then I select "kernel wakelocks", the same, shows "computing" and it takes like 5 sec to get the screen showing results.

It's the same with all tabs: alarms, network, process, all of them.

I hadn't measured how long it took v1.15 to calculate, but I'm sure it was less than now...

If I can be of any help, just let me know :good:
[BetterBatteryStats] bombadier:
I too am experiencing the same,this was a fresh install and is in system/priv-app

version 1.15 opened and computed a lot quicker

Nexus 4

Cataclysm 4.4.2 using ART
[BetterBatteryStats] chamonix:
on what device have you tested that? I will do some profiling but would like to select the right device from my collection.

I suspect the change made in how the references are serialized for storage but may be able to counter that effect with proper caching
[BetterBatteryStats] mdamaged:
I noticed this too on my N7 2013, stock ROM. Seems much slower than 1.15. Thanks.
[BetterBatteryStats] guido_glx:
Is this what you need?
[BetterBatteryStats] cboss718:
I had the option unchecked already, also I don't want to switch to wifi on during sleep to never because my phone's battery drains much faster on 4g then it does on Wi-Fi. Since I'm at school using their Wi-Fi, I can't adjust router settings. Anything else you can suggest?
[BetterBatteryStats] chandoliasnikos:
I own a Samsung Galaxy Note II, rooted with TW based ROM and stock kernel. The last couple of days I have a great amount of awake time in BBS, although I lock my phone and it should have been in deep sleep. How can I see which app or process keeps the phone awake? Thanks in advance!
[BetterBatteryStats] chc31:
URGENT PLEASE HELP!

Can someone please take a look @ this? im having a CheckinHandoff wakelock WHENEVER i turn off the screen. the past 3 days, non-stop. it wont end!!! someone please help!
[BetterBatteryStats] kiiiiiid:
Can someone take a look at this:

https://www.dropbox.com/s/ob2xji1xsvaox72/BetterBatteryStats-2014-03-09_082551170.txt
[BetterBatteryStats] chandoliasnikos:
Any help would be appreciated!!
[BetterBatteryStats] wilflare:
finally upgraded to 4.4.2 (KitKat) on my Note3

Do I need to install any special Xposed framework to get this running as it used to (on 4.3)?
[BetterBatteryStats] piats:
Uptime: 3h 40min

LTE connection on

Alarms: wakeups: 145 com.android.internal.telephony.data-stall

I think that this wakeup is related to mobile data connection so no point to worry about it?

Or could there be any way to fix this?
[BetterBatteryStats] josepr2012:
Hmmm, Is this normal on 4.4 Roms ?

Never saw Glance wake lock before in previous versions:confused:

Sent From My Galaxy S4
[BetterBatteryStats] FlanjeUK:
It's a TouchWiz feature you have enabled, to see your notifications at a glance (by swiping your hand down the front of your phone)
[BetterBatteryStats] Perseus:
It would be more helpful if you could post Idle Log.

Yes its related. Sometimes its caused either by Google Location Reporting or by Android backup.

Please follow @Karpfenhai's Mod. You will need System Tuner app.
[BetterBatteryStats] yahyoh:
1.16b2 definitely slower to load than 1.15 , it takes like 4 - 6 sec to load :)
[BetterBatteryStats] Karpfenhai:
Yeah he's right, confirmed, but I guess it's related to active debugging routines, don't worry about that.

I'm happy the graphs are back and less crashes, I got "Unfortunately BBS had crashed"on occasion with 1.15.

Well done Sven!

Tapatalked from my Galaxy SII
[BetterBatteryStats] Perseus:
Seconded. I also see that sometimes it does not remember my to and from references.
[BetterBatteryStats] matthias1976:
Hi !!

Im on 1.16 B2 and using CM 11 unofficial 4.4.2 KitKat Samsung Galaxy ACE2

1.16B2 works now as system app :good:

1.16A wont work like that.

After maybe 3 - 4 hours the screen off to current dont reset.

Its adding the screen off times. over and over.

no reset times as before.

first 3 - 4 hours works correct.
[BetterBatteryStats] AssToast:
Try looking in kernel wakelocks or partial wakelocks
[BetterBatteryStats] zebidybob:
Hi, recently got a new battery and up until a few days ago the battery life has been great.

I have attached a log if someone would like to have a look to see if my battery is duff or something in the Rom / an app is draining power it would be appreciated.

https://www.dropbox.com/s/unvmwncu22tit69/BetterBatteryStats-2014-03-14_061043535.txt

Edit - the xda app doesn't allow you to attach files?
[BetterBatteryStats] shiznit1:
I am having trouble with it saving the screen on reference.It works ok for a while after a reboot, then stops saving.

The widget seems to update when the screen is turned on though.

I had similar problems with both screen on and off references not saving on v1.15.

Running SlimKat on Motorola Razr XT910.
[BetterBatteryStats] Perseus:
Do you have Google Hangouts ? Also turn off Location and HTC Smart Sync.Remove facebook, reboot and post another Idle Log.
[BetterBatteryStats] AssToast:
Sorry for bothering but does Android device manager works with google location reporting turned off?
[BetterBatteryStats] nateohio:
I'm having a funky wakelock issue. Over the last couple of days I've had a PhoneApp partial wakelock that's been running almost continuously while the phones been off the charger. Today a new one related to the phone popped up. I've attached screen shots and dump files from better battery stats so hopefully someone can help me figure out what's going on.
[BetterBatteryStats] mdamaged:
Go into your settings and disable the torchlight, and reboot, see if that stops the wakelock.
[BetterBatteryStats] Vlad Paul:
Hi! First i want to thank for this app, is the best battery app from market.

I have a noobie question, sorry for this. Now i have 2 BBS app in my phone, 1 version from play store and 1 version from here wich is installed as system app. How can i uninstall BBS from system? Both version have the same features? Wich version must to keep in my phone? Thank you!
[BetterBatteryStats] LiquidT:
Massive Battery Drain. Please Help

Hey guys.

I running a custom rom, and having a massive battery drain. Here is a copy of my BBS logs.can someone look at this and tell me what is draining my battery and how to fix it??
[BetterBatteryStats] Perseus:
What Launcher do you have ? Please freeze Google Search and turn off Location Service. Reboot and post an overnight Idle Log.
[BetterBatteryStats] LiquidT:
The launcher is whatever came stock with LiquidSmooth 4.4.2 d2lte rom. How do I freeze Google Search??
[BetterBatteryStats] jdstrydom:
Titanium backup pro works fine to freeze. There must be other apps on the market or you can just delete the apk in system/app or wherever it was installed
[BetterBatteryStats] EL Sa7eR:
I have got an issue, I have lost more than 40% with less than 2 screen on time on my nexus 7 flo.

Android OS show me 1.5 hour of cpu using

This is the dumb file

https://mega.co.nz/#!j5pR1SzS!dN8rZEm6QSEVZ2yLdS2IRKEF9edqyciKaGarc7bhj2I
[BetterBatteryStats] mdamaged:
Looks like the majority of your issues are from GPS requests, I'd try and disable GPS and see if that helps your battery drain...the other next culprit is syncing, you should go into your google accounts and disable the syncs you don't need, like currents etc, along with other apps that want to sync...either disable or set the frequency to be less often...there are other suggestions but chances are you would not want to lose their functionality...you could try and greenify (cut off their wakeups) those things (such as viber).
[BetterBatteryStats] joshdax2:
someone please take a look at my stats