When you stream your screen or a game on Discord Mobile for Android, the stream often stops as soon as you switch to another app or lock your phone. This happens because Android limits background activity to save battery and data. Discord’s streaming feature requires constant foreground access to capture and send video. This article explains the technical cause behind this behavior and provides step-by-step fixes to keep your stream running even when the app is not on screen.
Key Takeaways: Keep Discord Stream Running in Background on Android
- Android Battery Optimization: This system feature pauses Discord when it runs in the background, stopping the stream.
- Settings > Apps > Discord > Battery > Unrestricted: Disabling battery optimization allows Discord to run freely in the background.
- Settings > Apps > Discord > Advanced > Draw Over Other Apps: Granting this permission helps maintain stream stability when switching apps.
Why Discord Mobile Stream Stops in Background on Android
Android 6 and later versions include aggressive battery and data management features. When an app like Discord moves to the background, the operating system can pause its network activity, reduce CPU access, or kill the app entirely. This is controlled by a setting called Battery Optimization. By default, Discord is optimized, which means Android may stop the app’s processes to save power. Since streaming requires continuous video encoding and network upload, any interruption causes the stream to freeze or disconnect.
Another factor is the “Draw Over Other Apps” permission. Discord needs this permission to display the streaming overlay when you switch to another app. Without it, the stream may stop because the overlay cannot render. Additionally, some Android manufacturers like Samsung, Xiaomi, and OnePlus add their own battery management apps that can interfere with Discord even if the standard Android settings are configured correctly.
Steps to Keep Discord Stream Running in Background
The following steps will disable battery optimization for Discord and grant the necessary permissions. These steps apply to Android 8 through Android 14 on most devices. If you use a custom skin from a manufacturer, additional steps may be required and are covered in the next section.
- Open Android Settings
On your Android device, open the Settings app. This is usually a gear icon in the app drawer or notification shade. - Go to Apps or Application Manager
Scroll down and tap Apps or Application Manager. The exact name varies by device. - Find and Tap Discord
In the list of installed apps, locate Discord and tap it to open the App Info page. - Tap Battery
On the Discord App Info page, tap Battery. You may need to scroll down. - Select Unrestricted
Under Battery Optimization, you will see three options: Unrestricted, Optimized, and Restricted. Tap Unrestricted. This tells Android not to limit Discord’s background activity. - Go Back and Tap Advanced
Return to the Discord App Info page. If you see an Advanced section, tap it to expand additional permissions. - Enable Draw Over Other Apps
Look for the permission called “Display over other apps” or “Draw over other apps.” Tap it and toggle the switch to On. This allows Discord to show its overlay when you switch to another app. - Restart Discord
Force close Discord by swiping it away from the recent apps screen. Then reopen Discord and start a stream. Test by switching to another app. The stream should continue.
If Discord Still Has Issues After the Main Fix
Discord Stream Stops on Samsung, Xiaomi, or OnePlus Devices
Manufacturers like Samsung, Xiaomi, Oppo, and OnePlus add their own battery management apps that can override Android’s standard settings. For Samsung, go to Settings > Device Care > Battery > Background usage limits. Tap Never sleeping apps and add Discord to the list. For Xiaomi, open Security app > Battery > App battery saver > Discord and select No restrictions. For OnePlus, go to Settings > Battery > Battery optimization > Discord and select Don’t optimize. For Oppo and Realme, go to Settings > Battery > App battery management > Discord and select Allow background activity.
Stream Quality Drops or Lag Increases When Switching Apps
Even after fixing the background issue, you may notice lower frame rates or higher latency when the app is in the background. This is because Android may still reduce CPU or GPU priority for background apps. To mitigate this, close other apps running in the background before you start streaming. Also, lower the stream resolution in Discord’s stream settings to 720p or 480p to reduce the processing load.
Stream Stops After Phone Screen Turns Off
If you lock your phone and the stream stops, Android may be preventing Discord from running while the screen is off. In addition to the steps above, go to Settings > Display > Screen timeout and set it to at least 5 minutes or higher while streaming. Alternatively, keep the screen on by enabling Developer Options and checking “Stay awake” under Settings > Developer options. This keeps the screen on while charging.
Android Background Settings: Standard vs Manufacturer Customizations
| Item | Standard Android | Manufacturer Customization |
|---|---|---|
| Battery Optimization location | Settings > Apps > Discord > Battery > Unrestricted | Settings > Device Care > Battery (Samsung) or Security > Battery (Xiaomi) |
| Overlay permission | Apps > Discord > Advanced > Display over other apps | Same location on most devices, but may be under Special Access |
| Background activity toggle | Not always present on stock Android | Present on Xiaomi, Oppo, Realme as “Allow background activity” |
Discord Mobile streaming requires both Android’s standard battery optimization settings and any manufacturer-specific battery management to be configured correctly. The most reliable method is to set Discord to Unrestricted for battery and enable Draw Over Other Apps. If you own a Samsung, Xiaomi, OnePlus, Oppo, or Realme device, you must also adjust the manufacturer’s custom battery saver app. After applying these settings, your stream should continue uninterrupted even when you switch apps or lock the screen.