Automaticly turn off bluetooth/or bluetooth headset after no playback for xxx minutes - Android Q&A, Help & Troubleshooting

Hi.
I've been looking for days, but finally had to make a thread of my own. Sorry, I know I should try and find the answer myself, but in this chase I just couldn't.
Jump to the last paragraph if you don't care for all the backstory.
Anyway, the "problem".
I like to listen to audiobooks when going to sleep. I use bluetooth earpods which I usually just fall sleep with in my ears (they are very comfortable, so it's not a problem..). However, I use a timer on my audiobook app so it automaticly turn off the playback every 20 minutes (or it will continue if I'm not sleepy yet, and press a button on the earpiece when I hear the sound starting to fade out.). This is a neat feature, since when I wake up the next day, I know I fell asleep somewhere within the last 20 minutes of where the book is paused, and it's easy to backtrack to the point before I dozed off.
Great!
However, the earpiece itself doesn't turn off, it stays connected to the phone thoughout the night, and the next day I usually have to charge it before I can use it again (depending on how much I used them before going to bed, they usually work for like 14 hours before needing a recharge).
SO, I was wondering, is there some way to make my phone (Xperia XZ2) tell my earpiece to turn itself off if there is no audio playback for a given amount of minutes? Or simply turn off bluetooth all together? I think the earpiece will turn itself off after a while if it isn't connected to any BT source.
A have bought Tasker, thinking that could help me. But I have no idea what I'm doing.. I'm handy enough with technical stuff, so I should be able to do at least some fancy stuff you guys might come up with. It doesn't have to be pretty, it just have to work.
Thanks for reading and any response.
Regards, donkeyhigh

Related

My Hero plays back tunes via BT streaming too fast...

This is a strange one and I don't know whether anyone will have an answer. When connected via BT to my car head unit (a Sony unit), the first 10-20 seconds of the song are played at a faster rate. It's kinda like an old belt driven turntable that hasn't been calibrated properly. You can actually hear the song slow down after the initial period (which cold last anywhere up to 45 seconds) and then it's fine. But jump to another track (and it could be the next track on the album that is playing sequentially) and it does it again. It's a strange quirk, and I can't figure it. There's no problem when played back through headphones so it must be a BT issue. Oh, and I'm running Modaco 2.7 if that makes any difference (I don't think I tried it with a standard ROM, I flashed after having the Hero for only a day). Here's hoping someone can shed some light, or at least convince me I'm not going mad!

Bluetooth Disconnects

Has anyone had issues with bluetooth phone and media disconnecting randomly with the rezound? I have the rezound paired with my 2011 Acura TL, and I've had it just randomly disconnect 4 or 5 times now. Sometimes just media disconnects, sometimes both, sometimes bluetooth shuts off entirely? Anyone else notice weirdness?
I use a blueant t1. When an incoming call comes in, it is fine. Occasionally, when I make an outgoing call, I have to shut off the blueant and turn it back on to make it work even though it says it is connected.
One time I would turn it on and 3 seconds later it would turn itself off. Reboots or battery pull did not fix. I had to do a factory reset. Verizon said was probably some software I loaded, but I have since restored all the same apps and happened once for like 10 minutes, but never again. I looked and it was in performance mode too. Otherwise, I have had mine disconnect but never during a call, maybe only once. I also have an issue with it coming into the middle of a sentance during navigation if using my bluetooth speaker. It works fine without the bluetooth, but not with it.
I don't think so. I used it in my car for 2.5-3 hour trips over the holidays and it has been solid. Used it for calls and streaming music from my phone and mostly streaming podcasts from internet.
I could swear I read something about someone having disconnect problems in his car but I searched and couldn't find it. Something about it disconnecting in his car when he held it a certain way.
Found it!:
http://forum.xda-developers.com/showpost.php?p=20741052&postcount=397
feralicious said:
I don't think so. I used it in my car for 2.5-3 hour trips over the holidays and it has been solid. Used it for calls and streaming music from my phone and mostly streaming podcasts from internet.
I could swear I read something about someone having disconnect problems in his car but I searched and couldn't find it. Something about it disconnecting in his car when he held it a certain way.
Found it!:
http://forum.xda-developers.com/showpost.php?p=20741052&postcount=397
Click to expand...
Click to collapse
Thanks. I'll try that out. I always have it in my inside jacket pocket in the car, so it's definitely not the way I'm holding it.
I rarely use the phone over bluetooth, but loves me some A2DP.

Using an android app and a bluetooth device to never loose my messenger bag again

Mods - If this doesn't belong here I do apologize, this is such a random topic I really did not know the most appropriate place to post...
also I do apologize if there is a similar post like this, but I did search and did not see anything related yet...
Back story
I was having dinner with my lovely wife at an Indian restaurant, and as I usually do I was carrying my messenger bag with me.
Long story short, left the restaurant without my bag.
I was determined to find a solution to this problem so it does not happen again.
I think I have found a simple and elegant and almost free / CHEAP solution and I wanted to share with the community that has provided me so much useful knowledge.
The 2 different approaches and the pros and cons of them...
First of all, after hours of searching, I decided the 2 best suited Android apps were:
Bluetooth Alert and Blue Unity
The original idea was to use a cheap $10 or less bluetooth headset, toss it in my bag
Once I walk out of range of my bag, the bluetooth signal will drop and the android app will alert me
Bluetooth Alert works by connection and Blue Unity works by proximity
Both will alert you once you are so far away that a bluetooth signal for the device can no longer be seen.
Problem 1:
The problem I had with the original idea is that the headset once paired and connected would take over my calls.
I didn't want that.
Problem 2:
And when I pair but not connect, then there is the issue of the device going to sleep.
Once the device goes to sleep it sets the alarms off. I didn't want any false alarms either.
Problem 3:
Turns out the free motorola headset I found has a long long range, while most people would not think this is much of
an issue, we usually park close to the restaurant, so that means we would be half way down the block before I get an alert.
So there is a possible theft issue that could occur before bag recovery.
I ended up using a Bluetooth Keyboard and pairing and connecting it to my LG Optimus.
1. It has a short range (maybe 20 feet or less)
2. It does not take over my calls.
3. It has a very decent standby mode giving me plenty of time to do lunch or run errands out
So far this solution seems to test out well. I hope this saves someone from loosing their property one day.
Other bluetooth devices may work even better, such as those bracelets that alert you when you have an incoming call
or other devices. You guys will have to experiment and post back.
If you find a better method/app/device combo please let me know!
Cheers,
dtmf

[Q] plug in/charging sound, can i shut it off?

is there any way to shut off that beep? my wireless charger randomly looses connection occasionally and beeps in the middle of the night... not often, but enough! id really like to kill that sound, any suggestions?
I don't believe there's a way besides putting your phone on silence. I use the Quiet Hours setting to put mine on silence during sleep time, and create exceptions for certain contacts.
ive got the quiet hours set and it still beeps? i thought that would do it, but no luck on my phone?
You know, I stand corrected. Quiet Hours still doesn't disable the charging sound. Only silent mode shuts it off.
That is the #1 reason I want to root mine... I'm holding out for samsung pay though. I have a lot of different wireless charging pads and they are hit and miss as far as the connection. However, the one I have at my bedside is an official samsung pad and it never seems to lose connection as long as it is centered. Perhaps switching pads might fix your night problem.

SGN4 Bluetooth streaming drops after 30mins

Like it says, the bluetooth streaming with my SGN4 drops after 30mins, like clock work(no pun intended :laugh It doesn't matter what I'm paired with, or which app I'm using. I can't remember how long it's been an issue for me, as I usually only use the bluetooth streaming in the car, and my commute used to could be 35min. But I now have a set of Bose QC30s and it is really annoying to have to pull the phone out of my pocket, and turn the tunes back on every half an arn at work.
Since the note 7 is kaput, and the note 8 won't be around until fall I'd like to fix this. My next "upgrade" is 63 days out, and I love my note 4 elsewise. I never had connectivity issues with my SGS3, in fact it could even go 10hrs of music listening on wired headphones and did not have to be plugged in IIRC.
TIA,
Johnny
Almost forgot, I'm on stock rom Android 6.0.1, but the issue has existed for at least 6 months, yeah, I know, I shouldn't have put up with it for this long but I get busy and some stuff falls to the wayside...
You are not the first one to complain about it.
But I would suggest you to factory reset your device after backing up your data.
This solution worked for me though

Categories

Resources