yashsingh1/xdaforums huggingface dataset:
[Nexus 6P Q&A, Help & Troubleshooting] k_jump:
Hey everyone,

I've been using the 6P since early December. It's a wonderful phone, except the BT wake lock and keep awake on Android OS when paired to my Moto 360v2. Battery life definitely takes a hit. The phone will not Doze when paired. With BT off, it's able to without problems.

Any suggestions or new thoughts? I read through the thread here, I don't have GasBuddy or other apps that seemed to be causing problems for others. I run my phone pretty lean in terms of apps, not much except the standard usual stuff. Stock 6.0, not rooted.

Thanks,
[Nexus 6P Q&A, Help & Troubleshooting] jejb:
Greenify works on non-rooted phones now, but does have full functionality. Might give it a try.
[Nexus 6P Q&A, Help & Troubleshooting] motoridersd:
Ugh, now I have a bluesleep lock that will not go away when turning bluetooth off. I did add some cycling BLE devices and I'm using Ghostracer to track my workouts. My 6P will sleep fine for a while, but then after using bluetooth in the car with Waze, it never goes back to sleep. Only a reboot fixes it. I'll have to check out the logs and figure it out.

How did you configure pushbullet to push you the bluetooth log?

edit: Apparently I need a native Pushbullet app. I was trying to do it through the browser.
[Nexus 6P Q&A, Help & Troubleshooting] doki81:
sigh..i am encountering the same issue...i suspect it's the android wear issue... :(
[Nexus 6P Q&A, Help & Troubleshooting] motoridersd:
Which Android Wear issue? I've had the phone sleep properly while using Android Wear in the past. It doesn't feel like what I'm seeing now would be caused by Android Wear. Maybe it's a combination of Wear and something else.
[Nexus 6P Q&A, Help & Troubleshooting] motoridersd:
I noticed this when running a logcat on mine. It happened with the screen off. Not sure what this means. Did bluesleep request SU? Or did something with SU access run it?

01-25 11:29:41.751 10727 15194 D libsuperuser: [libsuperuser][O][SU-] bluesleep 1 1 0 0 817410 817410 817410 55525 0
01-25 11:29:43.216 10727 15295 D libsuperuser: [libsuperuser][O][SU-] bluesleep 1 1 0 0 818879 818879 818879 55525 0

edit: Finally found the culprit. It's Amplify and my current settings. I haven't gone back to see what wakelock/alarm/service I am blocking that is causing bluesleep to trigger, but just an FYI for anyone else using Amplify and noticing worse battery life instead of better.
[Nexus 6P Q&A, Help & Troubleshooting] T-pex:
So like alot of people I to have had problems with Bluesleep being awake 100% of the time. This fix may only concern people with ElementalX Kernel! I´ve downloaded Ex kernel manager and under miscellaneous settings i´ve simply disabled "bluedroid wakelock" that did the trick for me, my phone is sleeping like a baby with bluetooth turned on all the time now. Hope this helps someone.
[Nexus 6P Q&A, Help & Troubleshooting] motoridersd:
Thanks for the update. Franco did this with his kernel for a while, but he removed the option in the latest version because it was causing more issues than it was fixing. Do you use Android Wear?
[Nexus 6P Q&A, Help & Troubleshooting] T-pex:
Yes i have a Lg G watch R, and just recently started having these issues with bluetooth being awake all the time... On nexus 6p
[Nexus 6P Q&A, Help & Troubleshooting] motoridersd:
I had my Moto 360 disconnected (and Android Wear completely removed) for a day. My bluesleep wakelock was pretty much non-existent that day. Now that I paired it back, I got about 2 hours of bluesleep over a whole day. This is a known issue with Android Wear though, and it still allows the phone to doze, just not that long.
[Nexus 6P Q&A, Help & Troubleshooting] T-pex:
My bluesleep problem started when i flashed Ex kernel... couldn't pin point what the problem was just noticed that it had something to do with bluetooth being on, Started to Google the problem and found that ppl where naming some wheather app and gasbuddy app that i didn´t have, So I started disabling one thing at a time, like double tap to wake, didn´t work, went in to system apps-Bluetooth and cleared cache, didn´t work, Went in to recovery cleared cache and dalvik... Didn´t work... so yesterday I was in ex kernel manager and stumbled upon bluedroid wakelock option it was enabled so just tried to disable it and see what happens. And looks like everything is fine now. At least for me, ppl are having this problem with stock kernel as well, can´t imagine what the fix could be for them.
[Nexus 6P Q&A, Help & Troubleshooting] slickie88:
For me this was resolved by uninstalling Gas Buddy.
[Nexus 6P Q&A, Help & Troubleshooting] TeamPowerstroke:
My bluetooth has been causing a wakelock for a while now on my 6P, Figured i would sit down and get to the bottom of this. After running the Bluetooth snooping in Developer options and the app Permission explorer to tell me what is using bluetooth.

So i started deleting a bunch of apps and the issue was still happening, The last app to try was Android wear and the wakelock stopped. So i figured it couldnt be just Android wear itself because it works fine with my Pixel C and Moto360 2, So i just started deleting all of the watch faces i had. After deleting all of them and checking the logs the wakelock has stopped with Android Wear running. Probably was one of the free watch faces i had. Oh well finally happy to have fixed this.
[Nexus 6P Q&A, Help & Troubleshooting] jejb:
Might try the newest version. I'm running it and it's not keeping the phone awake anymore. I had the same issue as you with the old version, though.
[Nexus 6P Q&A, Help & Troubleshooting] slickie88:
Was there a new release yesterday? If not then I was already running the latest.
[Nexus 6P Q&A, Help & Troubleshooting] jejb:
No, it was a few days ago now. Looks like it was their 4.7.4 release. "Alleviated battery issue that was affecting a few devices."

Running great on my 6P now, FWIW. No excess battery drain caused by it.
[Nexus 6P Q&A, Help & Troubleshooting] sirxdroid:
^^^ Nice detective work!
[Nexus 6P Q&A, Help & Troubleshooting] chowfun:
To add to the last message, if you want to disable GasBuddy's beacon scanning as well, you can use these:

pm disable gbis.gbandroid/gbis.gbandroid.beacons.BeaconsDetectorService

pm disable gbis.gbandroid/com.xone.internal.XoneService

This should stop GasBuddy from waking the Bluetooth adapter.
[Nexus 6P Q&A, Help & Troubleshooting] stalls:
I have the same problem on kylo.. Any fix for that?
[Nexus 6P Q&A, Help & Troubleshooting] syndacate2004:
Same problem hera on my Lg G3 with Android MM. Using my sony swr10 smartband the battery of the phone does not last an entire day. Is there any fix for this?
[Nexus 6P Q&A, Help & Troubleshooting] jejb:
I don't think it's Kylo. I have the Kylo.R29.angler.UBER4.9 kernel on my 6P and it also sleeps very well. I lose 0% overnight, BT on all the time.
[Nexus 6P Q&A, Help & Troubleshooting] stalls:
Hmm well I can't figure this out for the life of me.. Tried almost everything in here and still have a non stop bluesleep wakelock...
[Nexus 6P Q&A, Help & Troubleshooting] Flyview:
I just figured out it's GasBuddy causing this problem on my Nexus 5 (Android 6.01.1) with the help of XDA. Has anyone informed GasBuddy about this bug? I don't really mind it scanning for BT while the screen is on but it shouldn't be keeping the phone awake! To be fair, it doesn't keep it awake right after a restart but eventually it does.
[Nexus 6P Q&A, Help & Troubleshooting] chowfun:
GasBuddy is unlikely to disable this functionality since it allows them to deliver targeted promotions to you via the GasBuddy app, and they probably would consider this a "feature" rather than a bug. As far as keeping the phone awake, my experience is that the Bluetooth beacon scanning will occur when the app is active. If you are using the GasBuddy app and is hitting the home key to return to the home screen, it is possible that it's keeping GasBuddy active in the background and is keeping the phone up.

That said, if you don't need any of the promotional offers via the GasBuddy app, your best bet is to disable these beacon scanning services completely.
[Nexus 6P Q&A, Help & Troubleshooting] Flyview:
In my case I hadn't opened GasBuddy in days and it started to keep the phone awake with its scanning. As soon as I force stopped the app, the periodic logcat messages related to Bluetooth stopped.
[Nexus 6P Q&A, Help & Troubleshooting] chowfun:
I had that issue on my Nexus 6 too before, but I don't quite remember if I left it up by using the home button to exit or what not. To be safe, I just disabled the beacon services so I don't have to worry about it. My battery life is so much better after trashing the Sears app and disabling the GasBuddy beacon services.
[Nexus 6P Q&A, Help & Troubleshooting] motoridersd:
It's pretty frustrating that Android doesn't let us get a list of all apps that are currently using Bluetooth, or that the logs don't show us which process is responsible for the scans.

Looking at your logs closely, I can see "BLE device name=Charge HR" Are you sure you don't have a FitBit connected? Or is there just a FitBit nearby when the scan is running?

The way I found my app was to look at the running processes in Android and killing them manually through adb shell.

Freezing the app in Titanium Backup is probably not killing it, so unless you freeze everything and reboot the phone, your best bet is to use adb along with 'ps' and 'kill'.
[Nexus 6P Q&A, Help & Troubleshooting] PeQuEsan:
Well... I'm suffering this wakelocks everywhere I go, so it's shouldn't have to do with a near Fitbit... Also, I can see this same messages with another "name="... I'm not sure what's going on really... I've been using my phone for over 2 years with no problem... It's been the last few days that I've started having this problem.
[Nexus 6P Q&A, Help & Troubleshooting] motoridersd:
Seeing devices there only means that the scan is finding other things nearby, so forget about that. Look for an app that got updated recently, or installed recently and uninstall them (or force stop them). Some apps will automatically relaunch if they are running in the background so the only way to find it is to uninstall it, or kill it properly. Starting with recently installed/updated apps should help you narrow it down.
[Nexus 6P Q&A, Help & Troubleshooting] fernievidal:
Have you tried booting to safemode? Its a good practice to do that so you can see the phone perform at a controlled environment. If this still occurs, there's an app that causes this.
[Nexus 6P Q&A, Help & Troubleshooting] eclansky:
Good find. I had same issue, fivestars app was causing BT to go wild, huge drain.

---------- Post added at 04:15 AM ---------- Previous post was at 04:13 AM ----------
[Nexus 6P Q&A, Help & Troubleshooting] terrorist96:
Who wants to hold their breath with me?
[Nexus 6P Q&A, Help & Troubleshooting] a1exus:
i reached out to developers of weatherbug, then due to inactivity on developers part i gave up and just uninstalled their app... before i did though i left them some feedback, and went to playstore reflect my review and rating, there are dozen other weather apps to choose from...

gasbuddy, replace it with waze ...
[Nexus 6P Q&A, Help & Troubleshooting] kellybrf:
this is basically the same email they send everyone who has brought the issue up over the past year or so
[Nexus 6P Q&A, Help & Troubleshooting] galaxys:
At least they are consistent... :rolleyes::eek:
[Nexus 6P Q&A, Help & Troubleshooting] vaidya.abhishek:
how were you able to identify this app? the logcat makes no mention of the FiveStar app.
[Nexus 6P Q&A, Help & Troubleshooting] motoridersd:
It's not in the logcat but I mentioned "This app causes the phone to do a BLE scan constantly when the process com.fivestars.FiveStarsConsumer is running"

You have to check the running processes at the same time
[Nexus 6P Q&A, Help & Troubleshooting] vaidya.abhishek:
ah! i see. i did this test with a few of my apps. i don't have FiveStar installed but GasBuddy was the culprit. madness!!! multiple BT scans per second and what's more Greenifying the app did not stop it.

Thanks for your help!
[Nexus 6P Q&A, Help & Troubleshooting] PeQuEsan:
Oook. I found the app that was doing bluetooth scans every few seconds... just disabling one by one...

Skyview: https://play.google.com/store/apps/details?id=com.t11.skyviewfree&hl=es

Just FYI

bye!
[Nexus 6P Q&A, Help & Troubleshooting] mrja22:
Gas Buddy was the problem for me.

One a S7 Edge and just couldn't figure out where the random wake locks were coming from. Narrowed it down to bluetooth, but until I hit this thread didn't realize it was actually Gas Buddy causing the issue.

As soon as I uninstalled my wakelock issue went away.
[Nexus 6P Q&A, Help & Troubleshooting] terrorist96:
Please contact them and let them know you were having this issue too. Unless they get bombarded with problem reports, they won't fix it.
[Nexus 6P Q&A, Help & Troubleshooting] Matrix_19:
I uninstalled GasBuddy for the same issue 3 months ago and it's still not fixed... lame
[Nexus 6P Q&A, Help & Troubleshooting] mochamoo:
WeatherBug was an app that was causing wakelocks for me. There was an app update at the end of March so I decided to try it again as it is my favorite weather app. I am happy to report that it is not causing Bluetooth wakelock issues now. Not sure if it is the app update or Android updates that fixed this.
[Nexus 6P Q&A, Help & Troubleshooting] a1exus:
Weather Bug still full of bugs, I report developers, they did fix bluesleep kernel wakelock FINALLY!
[Nexus 6P Q&A, Help & Troubleshooting] terrorist96:
I think the most recent GasBuddy update may have fixed the bluetooth wakelock issue. After updating, my bluetooth would crash when trying to turn it on. Restarting my phone fixed it. I've had bluetooth on for about an hour and my phone successfully entered doze mode. Can anyone else confirm? (I also did update to the April build of Marshmallow, so it could also be due to that).
[Nexus 6P Q&A, Help & Troubleshooting] kellybrf:
definitely not fixed, it's destroyed my battery today with almost no use. 100% awake
[Nexus 6P Q&A, Help & Troubleshooting] terrorist96:
Yeah, you're right. Initially it dozed over night, but it hasn't dozed all day today. :\
[Nexus 6P Q&A, Help & Troubleshooting] pogi1100:
Hey I just wanted to chime in that Amplify was also causing the dreaded Bluesleep wakelock for me. I would not even get 1 second of deep sleep through the night.

Upon disabling it, the phone is now able to deep sleep and doze properly.

Is this not a widespread issue? Based on my search, you're the only other person who seems to have a wakelock being caused by Amplify... an app that's supposed to block them...
[Nexus 6P Q&A, Help & Troubleshooting] motoridersd:
Amplify is very powerful and changing the wrong setting can wreak havoc. I blame my issue on that. I probably restricted something that caused the wakelock, and you probably managed to do the same thing. Most people probably don't change the same setting, or, they never figure out that this wakelock is killing their battery.
[Nexus 6P Q&A, Help & Troubleshooting] AndroidFS2:
I was thinking it had to be an app.

100% it's Bluetooth.

As soon as I turned it off my wake-locks disappeared.
[Nexus 6P Q&A, Help & Troubleshooting] AndroidFS2:
I turned Bluetooth off shortly after 8pm.

You can see the wake-lock stop.
[Nexus 6P Q&A, Help & Troubleshooting] kellybrf:
well, yes that's why it's a Bluetooth wakelock. however, it's an app that's behaving poorly and calling on Bluetooth several times a minute that is causing it, not Bluetooth itself. if you turn off your cellular radio you'll get great battery life too
[Nexus 6P Q&A, Help & Troubleshooting] AndroidFS2:
I thought I had found the app, "The Weather Network" I found was using Bluetooth also. Once I removed it the battery life did increase but I still had the wakelock occurring, though no where near as bad.

Short of flipping to safe mode or removing apps one by one, is there a method to identifying what app it could be?
[Nexus 6P Q&A, Help & Troubleshooting] pogi1100:
Ah, I never thought it would be due to a wakelock I blocked... I just tried resetting Amplify to default settings and it deep sleeps fine. No idea what wakelock it was, but I did limit them to the following ones listed in this thread: http://xdaforums.com/android/general/guide-extreme-battery-life-t3095884

I guess I will leave Amplify on default settings for now. Thanks for the help.
[Nexus 6P Q&A, Help & Troubleshooting] kasimodem:
Hello,

This solution did it for me, my Nexus 5X under Marshmallow was loosing too much battery unless I turn off Bluetooth but I need it for my smartband. I made a factory reset and it was fine until I began to reinstall my apps, so the poblem was one of the apps.

I installed "Advanced Permission Manager" freely from the Play Sore, chose "Apps by permission" menu and checked for Bluetooth using apps list. I enabled the bluetooth log in the Dev menu to create the .log file which grow quickly and began to kill app one by one. No root needed, just use the Prefs / Apps / Explorer integrated function to see the .log file at root and check if it continue to grow at each app kill.

I found the french postal service app "La Poste" was the problem, it must be checking for some beacon points in postoffices. After uninstall everything is now fine, my Nexus 5X came back to it's two days battery life.

Thanks a lot for the help ;)
[Nexus 6P Q&A, Help & Troubleshooting] akenis:
Did the same. Was CVS beacon. Couldn't find an integrated app explorer? But used advanced permission Manager to remove Bluetooth and startup permissions, then reinstall. No more snoop file growth. Sleep...
[Nexus 6P Q&A, Help & Troubleshooting] Gary02468:
I'm grateful for this information. I don't even have a Nexus (Note 5 instead), but I've been having the same problem and this thread has the only relevant information I could find.

I uninstalled CVS and my Bluetooth wakelock problem vanished. The phone now deep-sleeps properly.

UPDATE: It appears that it's ok to install the CVS app and leave its permissions intact, but turn off in-store notifications in the app's settings. Then it leaves Bluetooth alone and the phone can sleep (at least so far for me).
[Nexus 6P Q&A, Help & Troubleshooting] terrorist96:
I have some news:

GasBuddy claims they have fixed the bluetooth issue server-side. For now, it seems like it may be fixed. Can anyone else test?

Here's the response:
[Nexus 6P Q&A, Help & Troubleshooting] Fusiongate:
Thank you, as soon as I disabled this setting in the CVS app, my bluetooth log stopped growing. I can't believe this was using 60% of my Nexus 5X battery!
[Nexus 6P Q&A, Help & Troubleshooting] Pandur2000:
It seems to me that several apps can be the cause of this issue (bluesleep wake lock). I experience it since I updated my Note4 to DBT 6.0.1 PDA N910FXXS1DPG1, CSC N910FOXA1DPE1, Phone N910FXXU1DPB1. I disabled almost every app that has Bluetooth access, still bluetooth hinders the phone from deep sleep. Very annoying since I also wiped completely and reinstalled the image. Only solution so far is to disable BT. Will roll back to DPE6 or DPE1 soon, but am concerned because of missing security updates in that case (rooted).

Samsung Note owners with 6.0.1 see also this Note4 thread
[Nexus 6P Q&A, Help & Troubleshooting] Carterman32:
I'm also having trouble with bluesleep. I got rid of my wlan_rx wakelock by installing Kylo kernel, but the bluesleep maintains its issue, even when there is no Bluetooth devices connected, and even when I have bluedroid disabled in ex kernel manager. It seems like there's no rhyme or reason for Bluesleep. I was napping, woke up in the middle, and the phone had barely wakelocked. Immediately went back to sleep, and 45 mins later, the phone was awake the entire time because of bluesleep.

If I go into safe mode, I won't be able to tell if it's caused by one of my apps, since I wouldn't be able to run better battery stats. What the best way to pinpoint the problem?

---------- Post added at 03:24 PM ---------- Previous post was at 02:29 PM ----------

Just tried another method. Froze all my user apps with titanium. Bluesleep continues to incessantly tick up, even though nothing is installed. This has to be something bigger.
[Galaxy S6 Q&A, Help & Troubleshooting] frillybob:
I have a GS6 on either 5.0.1 or 5.0.2. I wanted to get rid of my root and go back to stock firmware while upgrading to 5.1.1.

Odin seems to always fail. I can go back to download mode or be instructed to restore via Verizon's software assistant. Here is what odin has to say. It fails at the system.img Verizon G920V

<OSM> Enter CS for MD5..

<OSM> Binary Check MD5.. Do not unplug the cable..

<OSM> Please wait..

<OSM> Checking MD5 finished Sucessfully..

<OSM> Leave CS..

<OSM> All threads completed. (succeed 0 / failed 0)

<ID:0/004> Added!!

<ID:0/004> Odin engine v(ID:3.1100)..

<ID:0/004> File analysis..

<ID:0/004> SetupConnection..

<ID:0/004> Initialzation..

<ID:0/004> Get PIT for mapping..

<ID:0/004> Firmware update start..

<ID:0/004> SingleDownload.

<ID:0/004> sboot.bin

<ID:0/004> NAND Write Start!!

<ID:0/004> cm.bin

<ID:0/004> boot.img

<ID:0/004> recovery.img

<ID:0/004> system.img

<ID:0/004>

<ID:0/004> Complete(Write) operation failed.

<OSM> All threads completed. (succeed 0 / failed 1)
[X Play Q&A, Help & Troubleshooting] Davirus849:
Im about to buy a new SD card, since the Adata 64GB Class10 is really slow, im using Link2SD and most of the apps in the SD are really slow, but they run quite fast once I move them back to the internal memory.

Since im in Mexico, this are my options:

Anyone have any experience with those SD or brands? Any knowledge about the compatibility and performance of those SD cards with the X Play?

Thanks in advance.
[X Play Q&A, Help & Troubleshooting] Mooseh:
I would put speed over capacity atm, especially since we will be able to merge internal storage with external storage in Marshmallow. The 95mb/s seem to be a good fit for this. I benchmarked my phones internal storage a few weeks ago and it was around 125-130mb/s. While the SD cards performance is slower then internal, it probably won't be that noticeable. Go with the one which has the fastest speed. (The fastest SD card atm seem to be 95mb/s)
[X Play Q&A, Help & Troubleshooting] MrBelter:
It's the write speeds you need to worry about, read speeds are pretty reasonable anyway on class 10 and up.

Get a UHS-U3 card because writes are much better, my 64GB Sandisk Ultra UHS-U1 card can manage 50MB/s reads but only 12MB/s writes. The minimum write speed of a UHS-U3 card is 30MB/s and the max i have managed out of my MXP internal memory for writes is 37MB/s so the card isnt much slower which will be great for when Marshmallow comes along.
[X Play Q&A, Help & Troubleshooting] Mooseh:
Everything about this post is wrong. Write speeds are almost pointless on a mobile device. What writing you do is almost going to be bottlenecked by your network connection, unless you are on a very, very fast internet connection (Gigabit+ or recording extremely high bit-rate 4k video (which the MXP can't do anyway)). Read speeds effect everything, from opening an app, loading pics, videos, even games. You have bad read speed, you'll notice it, why OP is noticing a significant performance decrease when he puts apps onto his SD card. He isn't noticing a performance decrease before his phone can't write the data fast enough.

The faster the read speed, the faster apps will load, the faster the cache will be read, loaded into memory and displayed. Read speeds effect the general performance of your device.

Secondly, the read speed of a class 10 SD card is pathetic. Look at my previous post. The phones internal memory reads at 125-130mb/s. Class 10 specification is 10mb/s. That's 110mb/s slower that your phones is reading apps from a SD card then your phone memory. That is a HUGE difference.