Background play in Spotify

Brave is an excellent browser for blocking ads, especially on Spotify and YouTube. I really appreciate how it provides an ad-free music experience on Spotify Web. However, I am facing an issue with background playback for Spotify. While YouTube plays smoothly in the background, Spotify often stutters or stops completely when I switch to other apps or lock the screen. It would be great if the developers could optimize Spotify background playback just like they did for YouTube.