yashsingh1/xdaforums huggingface dataset:
[BetterBatteryStats] Lewis_eds:
I installed it via the apk in the OP. I now have unplugged and boot but that's it. Custom ref doesn't work either.

I'd upload a picture if i could, i get an error about battery info could not be collected and selected from or to reference could not be loaded
[BetterBatteryStats] Perseus:
With @chamonix, aien't gonna happen in this or next 10 lifetimes.

^^^^What he said! :D

Hit the Refresh button within the app after you plug in. Hit it again after unplugging. If on Kitkat, make sure the app is a system App and has root permissions.
[BetterBatteryStats] mdamaged:
Custom ref. has to be set in the 3-dot menu at the upper right before it will show up.
[BetterBatteryStats] Lewis_eds:
Still no luck, i can get boot, unplugged and custom (can't seem to customise though) and nothing else. Thank you for your help
[BetterBatteryStats] Perseus:
See [MENTION=5490227]mdamaged[/MENTION] 's post above yours.
[BetterBatteryStats] godlesplay:
can anyone help me with these wakeups? please reply with quote

logs in attachments
[BetterBatteryStats] Lewis_eds:
everything he says is already done, but it still isn't working

I have no idea how his looks like that either, could you explain how to attach a picture?

---------- Post added at 10:15 PM ---------- Previous post was at 10:09 PM ----------

Here are some pictures
[BetterBatteryStats] Perseus:
Essentially Google went Crazy trying to find network. Either turn off Android Backup or briefly toggle Airplane mode when at home or office/school.

I see that BBS had issues contacting Battery Info Service from your 1st Screen. That indicates issues with BBS install. Remove the app completely. Wipe Dalvik & Cache in Recovery then Reinstall the app. This time use a Root Explorer to manually move the app from /data/app to /system/priv-app folder. Reboot immediately after.
[BetterBatteryStats] Lewis_eds:
Okay thanks a lot, do i need to move the apk or the whole folder?

Edit: basically what I mean is, i have the XDAedition apk on internal storage do i move that to the file path you said then install, or install then move the whole folder to the path you said. Thank you again
[BetterBatteryStats] Perseus:
Move just the APK. If you moved folder then all kind of issues will happen.
[BetterBatteryStats] Lewis_eds:
Really sorry to bother you again, but i have es file explorer and it has root access yet i'm still getting permission denied when copying the apk to priv-app
[BetterBatteryStats] mdamaged:
You have to mount /system as r/w.
[BetterBatteryStats] Lewis_eds:
Thank you, it's been a while since using es, i switched to solid explorer and it was easy.

Still only showing boot and unplugged, but i can't think what else i've done wrong
[BetterBatteryStats] GJT-UK:
Is this still causing a problem for you?

---------- Post added at 01:41 AM ---------- Previous post was at 01:29 AM ----------

This finer control on the sync frequency alone would be worth the price of Tasker and the related battery savings.

For auto-airplane mode, I used to use Ring Scheduler, but it no longer works on my rooted SGS III after I upgraded from Droid 4.1 to 4.2+.
[BetterBatteryStats] j1gga84:
Hi,

some screenshots in attachment. I have not much different wakelocks but the few I have (whatsapp for example) are quite much. Can I do something to improve that?

Many thanks and regards
[BetterBatteryStats] godlesplay:
what do you mean by turn off android backup? and I can't turn on airplane mode because there is bug in my rom and I can't turn it off ( restart is needed)
[BetterBatteryStats] mdamaged:
BTW and FWIW, I submitted the latest version to Andrubis, in case you want to see the results.

http://anubis.iseclab.org/?action=result&task_id=1b762bcbe5e631a1449c72227af03e9aa

Report: http://anubis.iseclab.org/?action=result&task_id=1b762bcbe5e631a1449c72227af03e9aa&format=html

Pcap: http://anubis.iseclab.org/?action=r...e631a1449c72227af03e9aa&download=traffic.pcap

No surprise, looks clean to me. Yes the "Maliciousness Rating" says otherwise, but that's almost always the result when ad networks and/or analytics along with SU are in an apk (it's probably why heuristics went off on your scans). But, no coin mining daemon is ran, etc.:)
[BetterBatteryStats] Perseus:
There's nothing much that can be done for Watsapp. Its Sync frequency can't be controlled. You gotta live with it. But it seems like a well written app. Even though it wakes up a lot, not significant battery is drained as the phone immediately goes back to sleep.

Settings >Backup & Restore > Uncheck backup.
[BetterBatteryStats] Renton91:
Hello, I disabled the Fast Dormancy by the Fast Dormancy Toggle I found on Play Store, switched to another Baseband and now everything's alright.

I set the Facebook sync manually and I've always kept the AutoSync off, I've always turned on when I'm wifi connected.

If I have any problem again with the Google Play Services, I'll try with this Mod as well.

Thank you very much for your aid!
[BetterBatteryStats] leafs44:
Hello, is anyone having NLPCollecterWakeLock? This is the only wake lock that is preventing my device from sleeping really well. The thing is, this wakelock has to do with location, and Google Search recently got an update. After that update, the wakelocks appeared, and no I didn't change any of my location settings. They are: Battery Saving, and location reporting/history off. If I uninstall the update to Google Search, the device doesn't get the NLPCollecterWakelock and it deep sleeps fine. Is this something on my end or is it due to the latest Google Search update - anyone else get it after updating?
[BetterBatteryStats] oz_90:
I'm facing the same problem on my phone. The NlpCollectorWakelock and NlpWakelock started appearing recently taking a big percentage of the battery draining. Here are my details:

Samsung Galaxy S4 GT-I9500

ParanoidAndroid 4.3 Beta2 with Gravity Box.

Location Reporting and History: Off (I've had them like that since months and haven't had any trouble till the last week).

I use mobile data connection most of the time.

In the Alarms section there is com.google.android.gms at first place with a lot of wakeups and no matter if I disable Google Now or Android Device Manager, it keeps like that until I disable Location at all. As I said I've used this configuration for months without problem.

I attach my log for more details, if someone can help it'll be appreciated.
[BetterBatteryStats] Perseus:
Network Location Provisioning (NLP) is a wakelock when some app or service tries to obtain GPS Position of the Phone. If you have not been using any such app, then typically that's caused by Google Location Reporting. Either turn off that or turn off your GPS all together. Phone GPS is controlled by Android Location Service Setting.

The Log shows Google Now Active. Here's a Clue.

NotificationRefresh_wakelock (com.google.android.googlequicksearchbox.Google Search): 32 s (32 s) Count:28 8.9%

Did you know freezing just the Google Search does not turn off Google Now completely? Also Now is integrated into the Google Experience Launcher ? Did you have this ? Lastly search for [MENTION=4355376]Karpfenhai[/MENTION]'s mod. I personally linked it repeatedly in this thread. Apply that.
[BetterBatteryStats] dimm0k:
how's mine looking now? did I let it run long enough?
[BetterBatteryStats] Perseus:
The Drain as such is pretty low. But there are other processes that are keeping the phone awake. The Weather & Clock widget or something you have. Also turn off Google Location Reporting or Location Service.Facebook & Google+ are in control but have runaway Kernel threads doing god knows what. Or may be its Tasker's problem.
[BetterBatteryStats] oz_90:
Thanks for the reply. As I said, the setup has been the same since January (Google Now activated, Google Now Launcher, Location: High Accuracy with Report and History disabled). The problem came up a few days back, maybe due the lastest updates to Google Search. I haven't freezed Google Search, just turned off Google Now but the problem persists until I completely turn off location. I really don't want to disable location and miss features, I managed to get a really nice battery life with that setup but it screwed up suddenly.

I want to try using an old Google Search app, but in the App Info there's no option to uninstall updates (since I recently clean flashed the ROM trying to find an answer to the problem). I already have an old apk but can't install it. Any advice? If that doesn't work, I'll try the mod you're talking about.
[BetterBatteryStats] Perseus:
You'd have to Clean flash the Rom again and then try the old APK. The thing is, Google now is very pervasive. It has at least 2 APKs and 4 Libraries and 2 ancillary files. So Reflash is the only way to completely remove it.

This time when you install the old APK, make it into a System app. So that when the updates come along, you can use Settings > Apps to remove them.
[BetterBatteryStats] leafs44:
I already have them off, but thanks. Hopefully I can figure it out soon, as I don't want to completely disable it because I use it a lot.
[BetterBatteryStats] zaheedsk:
Help needed

Hi,

I hope some will be able to help me. My Note Pro 12.2 is unrooted so I cannot use BBS to check what is keeping awake. Android system keeps awake all the time. Ive used Wakelock Detector for PC to identify the culprit. It seems com.sec.android.app.bluetoothtest is keeping the device awake.

Please could someone assist in explaining how I can fixe this? Which apps use bluetooth test? It could be an app causing this but I dont know which could be. Ive tried to force stop the process but that did not resolve the issue.

I've tried to wipe the device, this helped for a few days only. I then tried to reload firmware using Kies without wiping but this did not help. There is no software update since I got the device at the end of March.

Thanks
[BetterBatteryStats] leafs44:
Same, I haven't had any trouble for the last couple of months. Recently, these wakelocks started appearing. I'm gonna try out a few things.

---------- Post added at 08:13 PM ---------- Previous post was at 08:09 PM ----------

You could wipe cache and dalvik in your recovery, then flash older gapps. They will have an older google search, just don't update it. The thing is, I won't want to stay on a old version forever to make my device deep sleep. N5 here with PA.
[BetterBatteryStats] dimm0k:
[MENTION=3639717]Perseus71[/MENTION] is there a need to manually turn off Google Location Reporting if I have the "global" Location services in Settings turned off?
[BetterBatteryStats] Perseus:
That's bit incomplete information. Bluetooth usage is probably a surface symptom.

Can you tell me if your device is on Kitkat or JB 4.3 ? If its 4.3 or lower, BBS will work but won't give network and alarms. But you can still pull a log.

Either way, try basic steps first. Turn off Location Service. Disable Google Play Service. Reboot and see the difference.

No Not needed.
[BetterBatteryStats] zaheedsk:
Thajks for your help. I had location reporting and location history both set to off. Now ive switched location off completely. Ive disabled Google Play Services and rebooted. I will let you know if this helps.

Sorry for not giving all the info. Im on 4.4.2 thats why I cannot use BBS without root and I'm not rooted due to Knox and warranty issues.
[BetterBatteryStats] zaheedsk:
Update. I've left the tab since rebooting. The problem still persists. Attached is the current screen shot.
[BetterBatteryStats] Perseus:
You will need to Root in order to get any further useful information.

Post a screen shot of the Battery screen. Not the one you just attached.
[BetterBatteryStats] zaheedsk:
Here is the screen shot of the battery usage.

Just a question for my knowledge. Why did you suggest I disable Google Play Services? Does this affect bluetooth?
[BetterBatteryStats] aeroman:
@chamonix

want report that, "install as System App" fail with latest Play Store Version and latest B3 XDA Edition!

(I tried it under KitKat Rom LS (Aosp)

Regards
[BetterBatteryStats] Perseus:
no it does not affect bloetooth. It does reduce the wakelocks from the Google cloud Messenger code within Google Play Service.

Do please remove or disable Sync for G+.
[BetterBatteryStats] stiiiv19:
Hello guys, why my BBS marks 3 hours and 45 screen On when in fact I've done only 2.47? Sometimes BBS marks even 8 hours when in fact i've done only 3 or close

here are the screenshots:

https://www.dropbox.com/s/te5vffmqo5wafz2/Screenshot_2014-05-09-20-49-56.png

https://www.dropbox.com/s/i7zfqzhja8k0oua/Screenshot_2014-05-09-20-50-06.png

I have a Moto G EU
[BetterBatteryStats] zaheedsk:
I cleared data and disabled G+. I checked Google account settings and G+ was not there. This still did not allow deep sleep.

Thanks.
[BetterBatteryStats] Perseus:
Those two have insufficient information. It would be better if you could post the BBS text log.

As I said, there isn't much else we can do without Rooting.
[BetterBatteryStats] stiiiv19:
Where is the text log?
[BetterBatteryStats] Perseus:
Look in op and / or search this thread on instructions.
[BetterBatteryStats] an0n981:
This app does not save your battery per say. It is used to analyze battery consumption and adjust according to the findings
[BetterBatteryStats] Legatus Onoris:
How do I uninstall this app? I can't find any option and I can't uninstall it from the drawer or in the phone settings.

edit: ok I've done, sorry
[BetterBatteryStats] oz_90:
I installed the 20140316 PA GApps and didn't update the Google Search App, that seems to do the trick. I know is not the best to have an old version of the app, but for now I'll stick on that. Maybe the next update won't have that issue, I hope.
[BetterBatteryStats] sweeds:
Does anyone know a debugging process for finding what exactly is causing "com.google.android.gms" location wakelocks? Is there an app that can hook into that Alarm so I can find out what is using ALARM_WAKEUP_LOCATOR?
[BetterBatteryStats] kaushikd:
Proximity Sensor Wakelock

Someone please help to go through my log. Does this 'proximity sensor' partial wakelocks looks normal?
[BetterBatteryStats] Wilktomson:
Mobile Network Signal

My mobile Network Signal consume lot of battery, what can i do please suggest me ...
[BetterBatteryStats] Perseus:
I bet that's Google Location Reporting. Just turn it off and reboot.

Just turn off Google Location Reporting. Seems you are using Google Now. Just know that its a known battery hog. The Sensor wakelock is from when you were on call and the screen turned off automatically or intermittently.

Do you have bad signal or you see any wakelocks. There's nothing much that can be done about bad signal except maybe change the modem. As to the wakelock, depends on which one.
[BetterBatteryStats] Hopper8:
I would say that it was during your phone call. Either that, or it's something to do with your auto-brightness/similiar. Either way, without your phone being idle over the dump, it's hard to say. 5 minutes over 5 hours is not a large wakelock so it's not a big problem in any case. If you really want to check on it, analyse the log after a few hours of the phone being idle and see if it features in the log.
[BetterBatteryStats] infectedorganism:
Any help, insight or suggestions are welcomed and appreciated.

Thanks in advance.
[BetterBatteryStats] Hopper8:
I'm not sure why, but none of your partial wakelock stats are stated there. Maybe BBS isn't being granted root rights properly? Check your settings in BBS and SuperSU/ Superuser. In saying that, what app is "Fenix"?? It used quite a bit of data in standby. If you can, use greenify to stop it accessing excessive data when you're not using it. Else, if it's not meant to use data at all, have a look at 'Droidwall' which blocks apps from using internet access.
[BetterBatteryStats] kaushikd:
Not using Google Now at all and the Google Location Reporting is also turned off.

I am getting this wakelocks only during calls, so it will not be there when the phone is idle. If I make calls for around 32 mins, the proximity sensor wakelock stays for around 30 mins. Wanted to check whether this is normal.
[BetterBatteryStats] Perseus:
Are you doing any Tether or Hotspot or any such thing ? If so, that does drain a lot.

Yes the Proximity is normal. Try to use Bluetooth for all your calls between BBS reference points. Make sure the Screen is completely off on these calls. You will notice drop in the wakelock.

Turn off Location Service completely. Make sure to reboot afterwards.
[BetterBatteryStats] infectedorganism:
Nope. No tethering/hotspot of any kind. The log was taken after the phone was idle the entire night.

The modem_usb_* wakelocks SEEM to be an issue with the Galaxy Nexus, but I cannot be sure of that.
[BetterBatteryStats] Perseus:
Please reboot just before leaving it idle overnight. Take another log please.
[BetterBatteryStats] kaushikd:
Great! I'll try that.

Sent from my Nexus 5
[BetterBatteryStats] Durocks:
BetterBatteryStats Failed

So i have a Rooted LG G2 Kitkat 4.4.2, in which i installed BetterBatteryStats. It tells me that to use the best features, it needs to be installed as a System App, and shows me a window with the option to move it to System, but when i click the Button, it fails to do so. (See attachments).

It says:

"Selected 'from'or 'to' reference could not be loaded please refresh"

"Failed"

I tried uninstalling, reinstalling, clearing data, etc... No luck.

Thanks, Durocks.
[BetterBatteryStats] Durocks:
Did you get to fix this? I'm having the same issue.
[BetterBatteryStats] Abdul.wahid9001:
Thanks ! Alot !
[BetterBatteryStats] EcHoFiiVe:
Use something like root explorer to move it to system/app or use titanium backup to make it a system app
[BetterBatteryStats] jhuff83:
Could someone please look at this and tell me why I'm losing 10% in 3 hours? Thanks.
[BetterBatteryStats] lucas:
I'm having issues, even after an uninstall and reinstall of the newest xda version....

Time issues, it's not keeping the correct amounts of time after unplugging.

Contemplating getting the S5....
[BetterBatteryStats] shohratshankar:
Hi,

Can someone Pls help me with identifying what is draining the power in my phone.

I have got the overnight log cat from BBS. Along with screenshots from BBS, wakelock detector and GSAM.

https://www.dropbox.com/sh/okukawet5kvyfpn/AADCAyDRI-XpZKx_1TUqn3Gva

Thanks for your help in advance

Sent from my HTC One_M8 with Elemantal kernel
[BetterBatteryStats] skivnit:
Here's my dump. What's bothering me is the amount of alarms that's waking my phone

I https://app.box.com/s/gkchj4rggxakvbrpwda6
[BetterBatteryStats] kzhkr:
hi guys,

was using the phone normally and having good battery life 3 days ago. today out of a sudden my phone refuse to get

into deep sleep. i checked the alarms and wake locks and it seems normal. wondering anyone could enlighten me

what could be the cause. thanks! :laugh:
[BetterBatteryStats] mdamaged:
Disable fast dormancy.
[BetterBatteryStats] SaintCity86:
Can somebody help me out a little bit?

BBS doesn't seem to be working correctly for me. Take a look at this screen:

The 3 options up top stay like that.

And when I took this screen, I had ley my battery go from 100 to 7, then I plugged it in again for a minute, unplugged it again so I could take the screen shot fast...

But the info is always wrong, aside from the %/h it seems, cuz 4.9 seems right.

But, it always says 0s in that line of info, and the time periods displayed below are never fully correct. Even in the screen, it says 5 minutes of screen, but I had just unplugged it seconds before. But even still, it isn't matching up with the other incorrect info right above it.

I've uninstalled my old version and got the latest from this thread.... And I'm on jelly bean. Used to work great, but now it seems like it's all messed up.

Any ideas?

Thanks guys

Contemplating getting the S5....
[BetterBatteryStats] zebidybob:
Installed as system app?
[BetterBatteryStats] SnowboundTeam:
Nice app, shows very detailed stats. It is really helpful in identifying battery drain source.

Also I found a bug in it. When I open some app information in process list, a new activity appears which has three tabs: package, permissions, services. I select "permissions" tab and application crashes. My device is Samsung Galaxy Nexus running Android 4.4.

Here is an app info screenshot. Switching to "permissions" tab causes a crash.
[BetterBatteryStats] Karpfenhai:
I have to confirm this issue, here is my log:

View attachment logcat-2014-05-19_130217648.tar.gz

[MENTION=5868300]SnowboundTeam[/MENTION], please do the same, thx!

Tapatalked from my Galaxy SII
[BetterBatteryStats] Sir_gpm:
Any help?, whats keep my screen on? Or what is eating my batt?. Thnx.:

Battery Info

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

Level lost [%]: Bat.: -17% (100% to 83%) [1.6%/h]

Voltage lost [mV]: (4234-4047) [17.1%/h]

===========

Other Usage

===========

Screen On (): 9 h 40 m 58 s (34858 s) Ratio: 56.8%

Deep Sleep (): 9 h 56 m 4 s (35764 s) Ratio: 90.7%

Awake (): 1 h 1 m 9 s (3669 s) Ratio: 9.3%

=========

Wakelocks

=========

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

Kernel Wakelocks

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

"msm_hsic_host" (): 11 m 13 s (673 s) Cnt:(c/wc/ec)713/175/0 1.7%

"PowerManagerService.WakeLocks" (): 3 m 55 s (235 s) Cnt:(c/wc/ec)1634/0/0 0.6%

"radio-interface" (): 2 m 43 s (163 s) Cnt:(c/wc/ec)345/0/0 0.4%

"alarm_rtc" (): 46 s (46 s) Cnt:(c/wc/ec)223/177/13 0.1%

"sns_async_ev_wakelock" (): 40 s (40 s) Cnt:(c/wc/ec)241/0/0 0.1%

"PowerManagerService.Broadcasts" (): 14 s (14 s) Cnt:(c/wc/ec)41/0/0 0.0%

"alarm" (): 6 s (6 s) Cnt:(c/wc/ec)1694/0/0 0.0%

"qcril" (): 2 s (2 s) Cnt:(c/wc/ec)926/0/0 0.0%

"kickstart" (): 2 s (2 s) Cnt:(c/wc/ec)12/0/0 0.0%

"PowerManagerService.Display" (): 1 s (1 s) Cnt:(c/wc/ec)23/0/0 0.0%

"power-supply" (): (0 s) Cnt:(c/wc/ec)245/-1/0 -0.0%

"qmuxd_port_wl_9" (): (0 s) Cnt:(c/wc/ec)3153/0/0 0.0%

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

"smd_sns_dsps" (): (0 s) Cnt:(c/wc/ec)18639/0/0 0.0%

"mmc0_detect" (): (0 s) Cnt:(c/wc/ec)413/0/0 0.0%

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

Alarms (requires root)

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

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

Network (requires root)

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

==========

CPU States

==========

384 MHz (): 20 m 51 s 3.2%

486 MHz (): 2 m 26 s 0.4%

594 MHz (): 37 s 0.1%

702 MHz (): 26 m 52 s 4.1%

918 MHz (): 1 m 6 s 0.2%

1.03 GHz (): 3 m 32 s 0.5%

1.13 GHz (): 55 s 0.1%

1.24 GHz (): 1 m 29 s 0.2%

1.35 GHz (): 1 m 10 s 0.2%

1.46 GHz (): 45 s 0.1%

1.51 GHz (): 1 m 20 s 0.2%

Deep Sleep (): 9 h 56 m 4 s 90.7%

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

Reference overview

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

ref_unplugged: Reference ref_unplugged created 6 h 5 m 30 s (Wl: null; KWl: 20elements; NetS: null; Alrm: null; Proc: null; Oth: 2 elements; CPU: 12 elements)

ref_charged: Reference ref_charged created 6 h 5 m 30 s (Wl: null; KWl: 20elements; NetS: null; Alrm: null; Proc: null; Oth: 2 elements; CPU: 12 elements)

ref_current: Reference ref_current created 17 h 2 m 44 s (Wl: null; KWl: 20elements; NetS: null; Alrm: null; Proc: null; Oth: 3 elements; CPU: 12 elements)

Enviado desde mi Nexus 4 mediante Tapatalk
[BetterBatteryStats] mdamaged:
root the device first, install BBS with root privs/system app, charge it, unplug, let it sit for 4 hours, and use HIDE tags, or pastebin, or attach the dump as a txt file next time.
[BetterBatteryStats] SnowboundTeam:
Here it is. Hope this helps!

View attachment log.txt
[BetterBatteryStats] Karpfenhai:
At least we both are facing the same issue, I think [MENTION=1330150]chamonix[/MENTION] will take care but it may take a while.

Thx for bringing this up.

Tapatalked from my Galaxy SII