Sunday, April 3, 2022

[SOLVED] how to keep Bluetooth speaker connected to raspberry pi does not sleep

Issue

I am developing software for playing audio on bluetooth speaker, so far, it works with raspberry pi 0 w, using blue-alsa, but the problem is that after a while the speaker gets into sleep mode and then i need to wake it up again manually.

is there a way to avoid speaker getting to sleep mode?


Solution

I found the solution to this issue as following feature

in bluealsa there is a keep-alive



Answered By - Sherif O.
Answer Checked By - Gilberto Lyons (WPSolving Admin)