I purchased a used google pixel from eBay about a month ago, and I have used it happily ever since, until this past saturday. I use my device with 2 bluetooth devices constantly, a medical device (dexcom) that connects every 5 minutes, and a raspberry pi, which is always connected via bluetooth tethering. I had very reliable connections to both devices 24/7, until suddenly I started getting the message: 'Bluetooth keeps stopping.'
whenever this happened, it would turn off bluetooth tethering and then turn off bluetooth altogether. I would try to press the bluetooth icon to turn it back on, but it would aggressively turn it back off again. After several frustrating minutes, it would sometimes go back to normal and work just fine for 2 minutes-8 hours. But this error started appearing more and more often, to the point that my devices became useless, because they were never connected to my phone for a reasonable amount of time (and even then only because I was manually turning bluetooth back on over and over.)
tried changing the dexcom app settings
tried forgetting dexcom device then re-pairing
tried turning off bluetooth tethering
tried turning off the raspberry pi
tried clearing the bluetooth cache
tried clearing bluetooth data
tried restarting the device more times than I can count
nothing at all worked. per the suggestion of one of my developer friends, I ran adb tools on my computer to see what was going on in the HCI bluetooth logs. According to what he said, it looks like it is trying to connect to Bluetooth headset service, failing, crashing, and disconnecting from all bluetooth devices. We decided to eliminate all variables, it would be best to factory reset the device and carefully install only my important medical apps first, then slowly any other apps over a period of days to see if the culprit became obvious.
So I performed a factory reset. I logged into my wifi, then was about to log into google, when...
the same message, popping up constantly, after a factory reset!
at this point I was almost convinced it was a hardware problem, until I heard some others have had the same issue due to their android version. But I have used 9.0 Pie ever since I got the phone, so that still doesn't make sense to me.
Please let me know if you have any solutions, ideas, or suggestions. If you want more screenshots, more information, or anything like that then please ask and I will try to post it. Thank you.
edit: since I am a new user, the image links aren't working. Basically, they both say
'Bluetooth keeps stopping
(i) App info
(x) Close app
(!) Send feedback'
edit 2: I also tried rebooting in safe mode, still getting the same 'bluetooth has stopped' message