Bluetooth goes to sleep after ca. 5 minutes
Steps to reproduce:
- Connect Bluetooth headphones.
- Start audio playback.
- Lock the phone.
- Wait a while.
Expected result: Playback should continue via headphones until the end of time (or the end of track, or until battery is drained :-)
Actual result: After ca. 5 minutes, headphones will disconnect and audio output will switch to Pinephone internal speakers.
Workaround: Press Pinephone power button. Bluetooth will reconnect to to headphones and it will be used again for audio output. This log from journalctl -u bluetooth
shows it in action: bluetooth-sleep-bug.txt. The first entry at 14:39 was when I connected the headphones for first time. At 14:53:37 occured the first disconnect, followed by wakeup after button press.