Make sure to check with Steam as well. In settings, there's an option in "Controller" tab that says "Idle Gamepad Shutdown Timeout" and switch that to "never"