yashsingh1/xdaforums huggingface dataset:
[Nexus 6P Q&A, Help & Troubleshooting] chaco81:
i been noticing the whole Solid awake bar too... so i uninstalled gasbuddy and inmediately noticed it to sleep again... will wait a day or two and see.... to ensure its this or not...
[Nexus 6P Q&A, Help & Troubleshooting] thacounty:
I think Madden Mobile causes wakelocks as well. That and Gas buddy seem to be the major possibilities for me.
[Nexus 6P Q&A, Help & Troubleshooting] NeoteriX:
MyTransit NYC appears to be causing this Bluetooth-related wakelock on my device too. When either Bluetooth is disabled or it is uninstalled, my Nexus 6P is able to idle/sleep again.
[Nexus 6P Q&A, Help & Troubleshooting] mercado79:
Same here. Uninstalled...again.
[Nexus 6P Q&A, Help & Troubleshooting] reidar.ostrem:
Having Android OS wakelock issues as well on my Nexus 6p.. Just installed the lastest 6.0.1 to see if it was fixed but no luck.

My Android OS is wakelocking as soon as bluethooth is turned on, and stops as soon as bluethooth is turned off. No app is causing this as far as i know on my phone. Had Pebble time connected, but tried to uninstall app and disconnect the watch.. Same thing unfortunatley.. I was going to try my LG Urbane instead, but as the problem is present just by turning on bluethooth, i guess it does not matter.
[Nexus 6P Q&A, Help & Troubleshooting] jackal424:
Best option is for you to use your phone as stock or Google only promoted apps and see how your battery is using Bluetooth.

Best thing to do is, install apps two at a time and check your battery drain over night. Last I checked, my drain was maximum 5% over night, many times less.

I have the following additional apps installed (not a full list) and know they don't cause an issue:

Netflix

Spotify

NFL

Amazon

Textra

Chase

Alexa

Evernote

Slickdeals

EBay

PayPal

Smarthings

Yelp
[Nexus 6P Q&A, Help & Troubleshooting] reidar.ostrem:
Indeed, but I really don't want to use too much time on this as this would cripple my use of the phone :P

But; As I said, i've narrowed it down to being bluethooth and I now actually don't have any app (3rd party, system i really don't know) that could request the use of bluethooth on my phone. But I will try to connect my LG urbane just for kicks to see if this will work ... I'm guessing a bug in Android 6.x.

Thanks for your reply.

Reidar
[Nexus 6P Q&A, Help & Troubleshooting] jackal424:
From what I know, its not a bug. Because as many said above, its usually been a rogue app.

If the upgrade made no difference, then I would almost say its an app that your or your profile auto installed.

Good luck.
[Nexus 6P Q&A, Help & Troubleshooting] reidar.ostrem:
Thanks, yes, i've seen the posts above and it might be rouge app.. But i find it strange that i just swapped from Galaxy S6 Edge (5.0.1) with just the same apps, no new, to Nexus 6p with Android 6.0 (and 6.0.1) and theres the wakelock. But anyways, thanks for your thoughts!

Reidar
[Nexus 6P Q&A, Help & Troubleshooting] Awesome24:
Maybe one or more of the apps that u had installed on your s6 isn't fully compatible with 6.01 yet
[Nexus 6P Q&A, Help & Troubleshooting] reidar.ostrem:
Yes, it might be. Lets hope that either Google or my app creators can fix it :)
[Nexus 6P Q&A, Help & Troubleshooting] jackal424:
Another thought is that maybe an app is not integrated or upgraded to work with Marshmallow just yet. So that may be. I saw many app updates that had to be updated due to the OS change.

Be sure to keep us posted though, this thread is a good safe keep for others.
[Nexus 6P Q&A, Help & Troubleshooting] motoridersd:
As you can see from the posts before, the rogue app causing the bluetooth wakelock for a lot of us was Gas Buddy. A lot of us installed all the same apps from our previous Lollipop devices on our new 6P and found ourselves in this situation.

Why don't you list all the apps you have on your phone and we can help you rule out the ones that we have installed that are not causing the bluetooth wakelock.
[Nexus 6P Q&A, Help & Troubleshooting] tzortst:
I'm having the same issue and it's driving me insane

Here is a list of apps, I've never used gasbudy.

I have two bluetooth devices, my car and headphones, Headphones are only used every morning at the gym.

Only app that uses bluetooth is tasker, and I still seem to get the wakelock when tasker is disabled :|

2048

13CABS Taxi

8 Loop

80 Days

ABC

Adobe Photoshop Mix

ALDI Australia

Andoku Sudoku 2 Free

Android System WebView

Anomaly Defenders

Apple Music

AppSales. Best Apps on Sale

Australian News - Newsfusion

Authy 2-Factor Authentication

Barcode Scanner

BetterBatteryStats

Big Lifts 2

Big Web Quiz

Border Siege [war & risk]

Brain Dots

Brickies

Bridge Constructor

Calorie Counter - MyFitnessPal

Camera FV-5

Candy Crush Soda Saga

Catan

Chrome Browser - Google

Chromecast

City 2048

CounterSpy™

Deep Dungeons of Doom

DIGIPASS Mobile Enterprise Sec

Dimly - Screen Dimmer

DiskUsage

eBay

Eliss Infinity

Facebook

feedly: your work newsfeed

FolderSync

Getflix

GIPHY for Messenger

Google

Google Authenticator

Google Camera

Google Connectivity Services

Google Drive

Google Fit - Fitness Tracking

Google Keep

Google Opinion Rewards

Google Photos

Google Play Games

Google Play services

Google Text-to-speech

Google+

Gumtree Australia

Health Mate

HERE Maps: Offline Navigation

Hitman GO

Hook

IF by IFTTT

IMDb Movies & TV

Inbox by Gmail

Insight Timer Meditation Timer

Instagram

JibJab

KAMI

Kernel Adiutor (ROOT)

Kiwanuka

Kore, Official Remote for Kodi

Lara Croft GO

LastPass Password Manager

Leo's Fortune

LFconnect

LinkedIn

LYNE

Manual Camera

Maps

Material Wallpapers

Meditation Assistant Free

Messenger

Messenger

Microsoft Remote Desktop

Mixcloud - Radio & DJ mixes

MobiGo Scan - Barcode Scanner

MONOPOLY

Monsters Ate My Birthday Cake

Netflix

Nine - Exchange on Mobile

Nova Launcher

Nova Launcher Prime

Office Lens

OTTTD

Plastexo - Wallpaper

Plex for Android

Pocket

Pocket Casts

Polycon - Icon Pack (Beta)

Progression - Fitness Tracker

Project Fi by Google

Prune

Public Transport Victoria app

Pulseway

Pushbullet

QuickEdit Text Editor

Recipe, Menu & Cooking Planner

reddit is fun

Shooty Skies - Arcade Flyer

SilverTop Taxi

Skitch - Snap. Mark up. Send.

Sleep as Android

Sleep as Android Unlock

Snapseed

Social Contact Photo Sync

Solid Explorer File Manager

Solid Explorer Unlocker

Solitaire

Sonos Controller for Android

SoundHound 8 Music Search

Space Invaders Infinity Gene

Spelltower

Spider Solitaire

Spotify Music

Steam

Stocard - Rewards Cards

SuperSU

Sync for reddit (Pro)

Tabata Stopwatch- Tabata Timer

Tapatalk - Forums & Interests

Tasker

TeamViewer for Remote Control

Telstra 24x7

The Curse

The Guardian

The Path To Luma

The Room Two

Ticket to Ride

Titanium Backup ? root

Titanium Backup PRO Key ? root

Today's Word

Torrent Search Tool

Transdrone

Transmission

Trick Shot

Two Dots

Uber

ULTRAFLOW

Vimeo

VPN by Private Internet Access

VSCO

Wake On Lan

Weatherzone Plus

Wifi Timer

WikiCamps Australia

Wikipedia Beta

Woolworths

Worms 3

Xbox One SmartGlass

YouTube

Zomato - Restaurant Finder
[Nexus 6P Q&A, Help & Troubleshooting] thacounty:
My newest wake lock issue is from weatherbug. I don't have to force close gas buddy anymore, and I still have to force close Madden, but since the update to weather bug, nothing fixed besides uninstall.
[Nexus 6P Q&A, Help & Troubleshooting] murphyjasonc:
I've been using the exposed module app controls and going through the permissions of my installed apps. Several of them have Bluetooth permissions even though they font have any reason to use Bluetooth at all. I've disabled that permission in several apps and they still work fine. I'm still having the wakelock but I haven't had time to go through my whole list of apps yet. I only use Bluetooth to connect to my car while I'm driving so it hasn't been that big a deal but still a minor irritation.
[Nexus 6P Q&A, Help & Troubleshooting] stalls:
Im having a similar issue....

http://xdaforums.com/nexus-6p/help/bluesleep-100-wakelock-t3273565
[Nexus 6P Q&A, Help & Troubleshooting] subhani:
Try and disable Bluetooth scanning without disabling Bluetooth. This helped me
[Nexus 6P Q&A, Help & Troubleshooting] stalls:
Already disabled.. If u look at my thread above.
[Nexus 6P Q&A, Help & Troubleshooting] skyo12:
What does this do exactly? Will bluetooth devices you have paired still work with the phone?
[Nexus 6P Q&A, Help & Troubleshooting] subhani:
This is used to improve location services I believe.
[Nexus 6P Q&A, Help & Troubleshooting] Jsalinger:
Gas Buddy Update

I saw that Gas Buddy in Google Play has been updated a few times recently, including one update to resolve "battery drain issues". I was running the latest version (as of 12/28), but still had bluetooth wakelock problems (the wake time was 100% of phone uptime). I uninstalled Gas Buddy, and the issues went away completely.

Just wanted to provide a recent update to anyone who hasn't yet resolved their issues, or for those of us whose issues might not have been resolved by Gas Buddy... yet.

Looking forward to the day when I can re-install Gas Buddy!
[Nexus 6P Q&A, Help & Troubleshooting] sirxdroid:
Had the same problem with GasBuddy and uninstalling it fixed the constant bluetooth wakelock for me. It's strange that GasBuddy didn't show up in BBS at all -- do other wakelock/battery monitoring apps show it? How did you guys figure it out?

What in the world does GB need Bluetooth for?

This may actually point to an underlying bluetooth stack problem on Marshmallow if and app can cause bluetooth to keep the phone awake and the app is not showing up as having a wakelock.
[Nexus 6P Q&A, Help & Troubleshooting] Franzie3:
Curious. Anyone using a smartwatch did you set it up as a trusted Device? That could be the cause of it. Either way seems like a bluetooth issue is around.

I have a Huawei Watch and paired with My 6P im getting crazy bluetooth drain. The watch is set up to be a trusted device.
[Nexus 6P Q&A, Help & Troubleshooting] Ok_Kaleidoscope5109:
I don't use my watch as a trusted device. Android Wear seems to just have issues with the 6P and Bluetooth stack. It's the combination of the 3.
[Nexus 6P Q&A, Help & Troubleshooting] a1exus:
I have same Huawei watch (trusted device) and Nexus 6P.

I do too suffering from bluesleep wakelock, I even opened up an Issue 198180 - android - NO DOZE - thanks to bluesleep kernel wakelock for keeping my phone awake all the time - Android Open Source Project - Issue Tracker - Google Project Hosting.
[Nexus 6P Q&A, Help & Troubleshooting] motoridersd:
I've used my Moto 360 as a trusted device and my 6P has been able to doze successfully with it enabled. Lately something started causing bluesleep again. I don't have Gas Buddy or any of the other guilty apps installed, so something I installed recently is causing it.

I need to go through the recently installed apps and see which one could be causing this again (I had had Gas Buddy in the past and removing it fixed it for me for a while).
[Nexus 6P Q&A, Help & Troubleshooting] Franzie3:
Mhmm... Idk unless it's a wear app doing it or something
[Nexus 6P Q&A, Help & Troubleshooting] stalls:
Bluetooth on and no devices even connected and there Still is a bluetooth blue sleep wakelock.....
[Nexus 6P Q&A, Help & Troubleshooting] ljwnow:
Why every single Nexus got bt wakelock issue. Why...
[Nexus 6P Q&A, Help & Troubleshooting] Aria807:
My gf's Nexus 6 has bluetooth and wifi always on, and her's doesn't appear to have constant wake issues.
[Nexus 6P Q&A, Help & Troubleshooting] a1exus:
6 or 6p? if she's not having this issue, then it's only 6p (possible 5x too)
[Nexus 6P Q&A, Help & Troubleshooting] locksmithone:
GasBuddy, Weatherbug, CVS

Nexus 6, Marshmallow 6.0.1.

In my case, the culprit seemed to be both Gasbuddy (even with their last update that claimed to address bluetooth issues) and Weatherbug. Both of them require Bluetooth permissions.

CVS recently updated their app including Bluetooth permissions. I was already experienced: I allowed the update, used the app, and then immediately the Bluetooth wakelock issue re-appeared. I turned off all permissions for CVS and the Bluetooth wakelock issue vanished.

It would seem the problem arises with apps that are not Marshmallow-ready and utilize Bluetooth permissions?
[Nexus 6P Q&A, Help & Troubleshooting] Aria807:
She is on Nexus 6 Marshmallow as well. I just thought it was strange since she has Wifi + BT on all the time.
[Nexus 6P Q&A, Help & Troubleshooting] jejb:
So what do folks use instead of WeatherBug to put the current temp in the notification bar? Preferably apps that have been tested to not have constant wakelocks like WB is apparently causing.
[Nexus 6P Q&A, Help & Troubleshooting] a1exus:
WeatherBug doesn't use bluetooth, so bluesleep would not effect that app..
[Nexus 6P Q&A, Help & Troubleshooting] jejb:
Actually, if you look at "All Permissions" of WB, it does list Bluetooth. You don't have a choice to turn it off, though.
[Nexus 6P Q&A, Help & Troubleshooting] a1exus:
if I were you, I'd uninstall it and then re-install it as mine only uses Location, Phone and Storage ... no bluetooth
[Nexus 6P Q&A, Help & Troubleshooting] jejb:
When you're looking at the Permissions screen, touch the 3 vertical dots at the top right of the screen and then pick All Permissions.

The Permissions screen only shows you the ones you can change, not all of them.
[Nexus 6P Q&A, Help & Troubleshooting] a1exus:
I see under "Other app capabilities" bluetooth is in there, but it's not being used... that's weird .. i dont know where bluetooth is used by that app..
[Nexus 6P Q&A, Help & Troubleshooting] jejb:
Thanks. This was the final piece of the puzzle for me. I uninstalled it last night and left the phone off the charger over night. It lost 0% in 7 hours, Bluetooth and WiFi both on. So my 3 offending apps appear to be:

-GasBuddy

-WeatherBug

-MyRadar

I may play with WeatherBug to be sure since it may have been that MyRadar was still installed and causing the real issue. I'll miss MyRadar, I used it a lot. I'm using 1Weather for weather now, and it seems like a good app.

I guess the takeaway from this for me, being a first time Nexus owner, is that sometimes being on the bleeding edge of Googles Android releases can have some drawbacks. Seems like we are basically the Beta testers. By the time the releases get pushed to folks on carrier based phones, we've got the bugs figured out for them! I will need to remain aware of battery life suddenly taking a dive as I add apps in the future.
[Nexus 6P Q&A, Help & Troubleshooting] .dan:
is there a way to deny or disable bluetooth permission in marshmallow (per app)?
[Nexus 6P Q&A, Help & Troubleshooting] Frankenscript:
Fwiw, I have the same WeatherBug blue sleep wakelock on my LG G3 running Lollipop 5.01. And my Nvidia Shield tablet also fails to deep sleep if WeatherBug is there (Lollipop 5.1.1). It's not just a nexus or marshmallow issue.
[Nexus 6P Q&A, Help & Troubleshooting] a1exus:
as soon as I uninstall Weatherbug app off, my phone was able to enter deep sleep cycle and eventually doze off) I emailed to Weatherbug team, but it seems like they dropped the ball on Android app( I wrote to them earlier in regards to yet another bug a while back, yet they still haven't resolved it yet... honestly I don't even understand why Weatherbug needs to have "phone permissions" at the first place, it's not like it makes phone call or utilizes bluetooth anyhow...

anyways, it's pretty clear what needs to happen / only one thing left to do... UNINSTALL!!! oh and change my rating in PlayStore... maybe then they'll do something...
[Nexus 6P Q&A, Help & Troubleshooting] jejb:
I was able to put MyRadar back on my phone as long as I Greenify it. Been running like that for a couple of days, with 0% loss overnight. I tried it with GasBuddy too, but that did not work. It would never doze. I'm going to try it on WeatherBug next, but I can live without that app as 1Weather works well for me.
[Nexus 6P Q&A, Help & Troubleshooting] aaa6112:
Thank you all so much! I just jumped ship from WP to Android and the Nexus 6P is my first Android phone. I was looking forward to respectable battery life but had a horrible experience this past weekend. Our family had to spend a night out of town at a hotel (Saturday). This was something we hadn't planned for, so I didn't have my phone charger with me. After reaching the hotel, my phone battery was at a respectable 40% (thanks to my car phone charger). I put the phone in "battery saver" mode before going to bed, but the next morning I see my battery is around 20%. Sunday morning we head up to Mount San Jacinto to enjoy the fresh snow from the recent El Nino storms and I take a few pictures on the way up before the battery dies. So frustrating! Luckily, the wife had her phone and a point-and-shoot camera, so we were still able to take photographs. However, my phone continued to have miserable battery life and would lose over 13 - 15% battery life overnight, just sitting there. From the battery history graph in settings, I figured the phone was always awake, which meant Doze never kicked in. After some trial and error, I figured turning bluetooth off would stop the battery drain and would allow the phone to go into Doze mode. But I didn't want to do that, because I want my phone to stay paired to my Fitbit Charge. I first thought the Fitbit app was the culprit, but then I found this thread, and after reading through all the posts I realized I was wrong. The culprit indeed, was the WeatherBug app. After having uninstalled it, my phone's battery life is much better.
[Nexus 6P Q&A, Help & Troubleshooting] thacounty:
Glad I could help. It was driving me crazy! Every time I update an app now, I'm nervous the 6p will never sleep again haha.
[Nexus 6P Q&A, Help & Troubleshooting] a1exus:
you're welcome, don't forget to update play store rating as well)
[Nexus 6P Q&A, Help & Troubleshooting] motoridersd:
I've been chasing my bluetooth wakelock for a while now and haven't found the culprit. I haven't spent as much time as I should, but I don't have Weatherbug or Gas Buddy installed anymore. For a little there I thought the United Airlines app was the problem, but it had been placebo effect. Need to uninstall everything and start putting things back slowly.

Anyone found another bad app?
[Nexus 6P Q&A, Help & Troubleshooting] sirxdroid:
I'm afraid there is some underlying problem in the Bluetooth stack as multiple apps can trigger this constant bluetooth wakelock and they don't show up as holding a wakelock in monitors such as BBS. We may need a fix from Google for Android M.
[Nexus 6P Q&A, Help & Troubleshooting] jejb:
Just an update on MyRadar. They updated it yesterday and the change log says it was deal with battery drain issues. I installed the update and de-Greenified it this morning. I've had the phone off the charger for an hour or so and it seems to be behaving. So probably one app we can scratch off the list of offenders.
[Nexus 6P Q&A, Help & Troubleshooting] kellybrf:
is there any app that will let me see what apps use the Bluetooth permission? I uninstalled gas buddy months ago but I will still randomly get times where bluesleep is keeping my phone awake 100% of the time
[Nexus 6P Q&A, Help & Troubleshooting] ljwnow:
It's amazing that Google still has not fixed the Bluetooth issue.
[Nexus 6P Q&A, Help & Troubleshooting] Quiktrik:
I've been having battery issues for a few months and finally had some time to track down the problem. Long story short, it was Weatherbug using bluetooth constantly. I have no idea what Weatherbug needs to use bluetooth for, but it sure uses it a lot. I tracked this down by first narrowing the problem down to having bluetooth enabled. Then I used the bluetooth hci snoop log in the developer options to monitor bluetooth usage. The log file kept growing every few seconds, so I knew something was using it excessively. Then I installed Permission Explorer to see what apps use bluetooth. I went through that list, force stopping each app and checking the log each time to see if it stopped growing. Finally after stopping Weatherbug the log stopped growing. Uninstalled Weatherbug and used GSam Battery Monitor to monitor the battery drain rate over the next few hours. Noticed a significant improvement (about 5% less per hour!). I hope this helps others track down other apps misusing bluetooth.

Btw, the bluetooth hci snoop log location can be found in the following file: /etc/bluetooth/bt_stack.conf. For me it was /sdcard/Android/data/btsnoop_hci.log.

I'm running 5.1.1 on a Galaxy S6 with AT&T.
[Nexus 6P Q&A, Help & Troubleshooting] a1exus:
I also uninstalled app recently and saw deepsleep & doze mode kicked in.. what was really strange is app permissions showed phone and even when I toggle switch so would still use Bluetooth.. I though the idea behind permissions that I can fine tune permissions individually.. Sorry, but what am I missing here?
[Nexus 6P Q&A, Help & Troubleshooting] kellybrf:
thanks [MENTION=7215241]Quiktrik[/MENTION], using your method it seems like the meijer app may also be a culprit here. my log didn't stop growing, but it slowed after uninstalling and my phone stopped showing 100% awake.
[Nexus 6P Q&A, Help & Troubleshooting] Mfeigley:
Unfortunately Bluetooth is not a permission you can revoke in 6.0. Every app has access to Bluetooth.
[Nexus 6P Q&A, Help & Troubleshooting] a1exus:
thanks for explaining)
[Nexus 6P Q&A, Help & Troubleshooting] reidar.ostrem:
Hi and thanks for the method you provided here. I did the same on my phone (log file for me /sdcard/btsnoop_hci.log) and the log file was populating extremely fast, I was using pushbullet to monitor the size and download the file to my computer. I opened the log file in wireshark to see the time stamps on the packets, and my first test without removing anything gave 1451 BT packets in 3 minutes to the log file. After looking through the permission manager i uninstalled 2 apps (Slides and Mitt Telenor) and did the same again. Now the logfile contained only 102 packets in 6 minutes!! ...I just did this and have no idea if it will stick, but first impression looks good!

Reidar
[Nexus 6P Q&A, Help & Troubleshooting] garpunkal:
just peeking over the nexus 6p discussions coming from a nexus 5x and I'm experiencing so much battery brain. I wonder if this could be a similar issue. I use my bluetooth to connect to my car every day... my standby time is subpar..
[Nexus 6P Q&A, Help & Troubleshooting] motoridersd:
I just went through uninstalling almost all the apps on my phone until the bluesleep wakelock stopped with the screen off. Unfortunately, I don't know which one it was. I didn't have any of the ones that have been mentioned so far.

I'm slowly installing things again but keeping the list small by only installing the apps I need.
[Nexus 6P Q&A, Help & Troubleshooting] garpunkal:
Do you have bluetooth on? Do you have a trusted device for bluetooth? bluetooth scanning?

I usually connect to bluetooth on my car and add as a trusted device. I haven't done that this time (after factory reset) and it's working perfectly. I'll report back after my day test at work today.
[Nexus 6P Q&A, Help & Troubleshooting] jejb:
I have BT enabled all the time and paired with all our vehicles. Causes no issues, now that I've removed my offending apps. I lose 0% overnight consistently now.

I see GasBuddy just an update. So maybe it can be removed from the list now? I have not tested the new version for that, though.
[Nexus 6P Q&A, Help & Troubleshooting] garpunkal:
Hmmm, I haven't got the app installed and still getting the problem.

Maybe I need to go through my list of apps.