I have a Pixel 4a running Android 11 and when I use the Roku remote app I have to manually turn off my phone or it stays on indefinitely. I have my screen timeout set for 2 minutes, but the Roku app apparently doesn't care about that.
It took me a few days to figure out that my battery was draining way too fast and when I looked at the usage, 22% was going to the Roku app. I've tried to find a specific setting for individual apps, but if it exists I don't know where. All I can find on the web are articles about how to keep your screen from turning off for specific apps, not the other way around.
Thanks!