The Roku "Bandwidth saver" function kicks in when the Roku has received no user input in four hours. It asks if you are still watching, and if it receives no response, it exits the current stream and returns the Roku to its home page.
You can't adjust the time but you can turn this feature on and off via Settings > Network > Bandwidth saver
Note that some individual channels may have a similar feature with their own timer setting.
Roku Community Streaming Expert I am not a Roku employee, only a user like you. Streaming Stick+ 3810 | TCL Roku TV 43S245/C107X | Streaming Stick 3600
If this post solves your problem please help others find this answer by clicking "Accept as Solution.". Please only do this if it ACTUALLY solves your problem.