Background playback is not working properly on Huawei p30 pro

In having similar issue as this post

At times, YouTube in the background plays then it cuts out and then replays again, but eventually after maximum a minute or so it cuts out till I go back to the app or if I just click on the brave notification .

@Smokemake,
Thanks for reaching out to us. I know that we’ve had some issues with Huawei phones in general.
Can you tell me whether or not it happens for sites other than Youtube?

I think it’s mainly YouTube. Dailymotion seems to work fine. Is there here a fix to this ?