logo
search
Others

How to Fix Microsoft Defender Keeps Turning Off on Samsung Android

WPS EditorWPS Editor Sep 25, 2026 870 views

Question details

The user needs to prevent Microsoft Defender from automatically closing in the background and falsely reporting an offline status despite a working network connection.

How to Fix Microsoft Defender Keeps Turning Off on Samsung Android Phone
Product
Microsoft Defender for Android
Device & OS
Samsung Z Flip 6 (Android)
Scenario
Running a background security application on a modern Android device connected to the internet.
Observed behavior
The application repeatedly stops working, gets killed in the background, and reports that the device is offline even when Wi-Fi or mobile data is active.
Before you start

Ensure your Samsung device has an active, stable internet connection and that you know your Microsoft account credentials in case a reinstallation is required.

Solution 1Recommended

Disable Battery Optimization and Allow Background Activity

Android's aggressive battery management forces background apps to close. Setting the app to unrestricted battery usage prevents Defender from shutting down unexpectedly.

Samsung devices utilize strict battery optimization techniques to extend battery life, which often suspends or kills apps running in the background. Security apps like Microsoft Defender require continuous background execution to function properly.

1
Open App Settings

Navigate to 'Settings' on your Samsung phone and select 'Apps'.

2
Locate Microsoft Defender

Scroll down the list of installed applications and tap on 'Microsoft Defender'.

3
Adjust Battery Settings

Tap on 'Battery' and select 'Unrestricted'. If you are on an older Android version, toggle off 'Optimize battery usage' or enable 'Allow background activity'.

Disable Battery Optimization and Allow Background Activity
Continuous Protection: Setting the battery usage to unrestricted ensures Microsoft Defender can actively scan and protect your device without being terminated by the operating system.
Free Microsoft Office alternative

Try WPS Office for Your Mobile Productivity Needs

While troubleshooting background app issues on your Samsung device, consider switching to WPS Office as a lightweight, free alternative for your document needs. It offers seamless compatibility with Microsoft files without heavy background processes that drain your battery.

  1. 1. Search for WPS Office: Open the Google Play Store on your Samsung device and search for 'WPS Office'.
  2. 2. Install the App: Tap Install to download the free, all-in-one document editor.
  3. 3. Open and Edit: Launch WPS Office to instantly access, create, or edit your Microsoft Office files directly on your Android device.
Fully compatible with Microsoft Office formats like DOCX, XLSX, and PPTX.Lightweight app design that uses minimal background resources and battery.All-in-one suite for editing documents, spreadsheets, and PDFs on mobile.Free to use with a highly familiar, user-friendly mobile interface.
microsoft office alternative - wps office

Frequently Asked Questions

Why does my Samsung phone keep closing background apps like Microsoft Defender?

Android's built-in battery optimization aggressively closes background apps to save power. You must manually set security or communication apps to 'Unrestricted' battery usage in your device settings to stop them from being killed.

Why does Microsoft Defender say I'm offline when my internet is working?

This usually happens if background data usage is restricted for the app, if a specific network firewall is blocking Microsoft's servers, or if the app's cache has become corrupted. Enabling background data usage typically resolves this.

Is it safe to clear data and cache for Microsoft Defender on Android?

Yes, clearing the app cache or data is perfectly safe. It will reset the app to its default state, meaning you will simply need to log back into your Microsoft account and re-grant permissions the next time you open it.