App sleep mode on smartphones Samsung is an optimization feature that automatically suspends background processes to save battery power. However, sometimes it blocks notifications, updates, or even completely freezes the apps you need. If you notice that WhatsApp messages do not arrive, mail does not syncand games or instant messengers do not start without rebooting the problem is precisely this.
In this article we will look all official and hidden ways to disable sleep mode, including settings One UI, commands ADB, and even workarounds for system applications. The instructions are relevant for all modern models Galaxy (from S8/S9 to S24 Ultra/Z Fold 5), but some points may differ depending on the firmware version. Ready to take back control of your applications?
1. Disabling sleep mode through the One UI settings
The easiest way is to use the built-in optimization tools. Samsung provides two levels of control: global (for all applications) and individual (for individual apps). Let's start with the global one:
- Open
Settings โ Device maintenance โ Battery. - Tap on the three dots in the upper right corner and select
Battery settings. - Find option
Sleeping applications(orAuto-optimizationin older versions) and disable it.
For individual applications:
- ๐ฑ Go to
Settings โ Applications, select the one you need. - ๐ Tap
BatteryโBattery optimization. - โก Select
No restrictionsorOptimize manually.
โ ๏ธ Attention: On some models (for example, Galaxy A54 or S22 s One UI 5.1+) path may differ. If you don't find the item Sleeping applications, try an alternative route: Settings โ General โ Optimization โ Sleeping applications.
2. Manually adding to "Optimization Exceptions"
Even if global optimization is disabled One UI may continue to restrict individual applications. To ensure that the app is excluded from sleep mode:
- Open
Settings โ Applications. - Select the desired application (for example, Telegram or Gmail).
- Go to the section
Battery. - Activate the switches:
- ๐
Allow background activity - ๐ถ
Allow background activity - ๐ซ
Disable battery optimization(if available)
- ๐
For system applications (for example Contact or Messages) the path may be hidden. In this case:
1. Enable developer mode (7 taps on the build number in "About phone")
2. Activate "Keep screen on" in developer settings
3. Use the ADB command to remove restrictions
4. Reboot the device-->
โ ๏ธ Attention: After updating One UI (especially to versions 6.0+), optimization settings may be reset. Check exceptions after each major update.
3. Using developer mode for deep customization
If standard methods do not help, it's time for hidden functions. Developer mode allows you to disable background restrictions at the system level:
- Activate developer mode:
- Go to
Settings โ About phone โ Software information. - Tap 7 times on the item
Build number.
- Go to
Developer options.Applications and do:
- ๐ ๏ธ Disable
Do not save actions(if enabled). - ๐ Set
Background processes limittoStandard limit. - ๐ฑ Enable
Do not turn off the screen(for testing).
For advanced users, a command is available ADB, which completely disables optimization for the selected application:
adb shell dumpsys deviceidle force-idle
adb shell cmd appops set RUN_ANY_IN_BACKGROUND allow
๐ก Example: For WhatsApp the packet will be com.whatsapp. You can find out the package of any application through App Inspector (available in Google Play).
If after using ADB the application still goes to sleep, try additionally executing the command adb shell am set-inactive false. This will reset the inactivity flag, which Android sometimes assigns to rarely used apps.
4. Bypassing sleep mode through notifications and widgets
Some applications (for example, instant messengers or trackers) can be โwoke upโ by indirect methods. Here are the ones that work. tricks:
- ๐ Enable high priority notifications:
- Hold down the application notification โ
Notification settings. - Select
High priorityorSound and flash. - Activate
Show icon on lock screen.
- Hold down the application notification โ
Google Assistant or Bixbythat will โwake upโ the application.For WhatsApp i Viber there is another life hack: create a group with yourself and a bot (for example, @ManyBot in Telegram). Periodic messages from the bot will keep the messenger active.
| Method | Applicability | Efficiency | Cons |
|---|---|---|---|
| Notifications with high priority | Messengers, mail | โญโญโญโญ | Drains the battery faster |
| Widgets on the main screen | Any applications | โญโญโญ | Takes up space on the screen |
| ADB commands | All applications | โญโญโญโญโญ | Requires a PC and debugging |
| Developer mode | System restrictions | โญโญโญโญ | Resets after updates |
5. Third-party utilities for managing sleeping applications
If the built-in tools Samsung fail, specialized apps come to the rescue. Here are proven solutions:
- ๐ ๏ธ Greenify (requires
rootfor full functionality):- Allows you to manually put applications into sleep mode or exclude them.
- Works with
ADBdevices withoutroot.
- โก Battery Optimizer (by Samsung):
- Official application from Samsung for fine-tuning optimization.
- Available in Galaxy Store.
- ๐ Package Disabler Pro (for system applications):
- Disables built-in services Samsung, which aggressively optimize background processes.
- Dangerous for beginners - can disrupt system stability.
- Go to
Settings โ Security and privacy โ Auto Blocker. - Disable the option
Limit background activity. - ๐ Reset application settings:
- Go to
Settings โ Applications โ [Select an application] โ Memory. - Click
Reset(will delete the cache and data, but not the application itself).
- Go to
- ๐ฅ Reinstalling the application: Sometimes it helps clean installation from an official source (for example Galaxy Store instead of Google Play for system applications).
- ๐ง Firmware rollback: If the problem appeared after the update One UI, you can return the previous version via
Odin(risky!). - ๐ Contact support Samsung: In rare cases, sleep mode may be caused by a hardware malfunction (for example, a defective power controller).
- Use the built-in backup (
Settings โ Accounts and archiving โ Data archiving). - For games, connect your account Google Play or social networks.
- In messengers (for example, Telegram) enable cloud backup.
- Before updating, make a backup of your settings via
Smart Switch. - After updating, manually check the battery settings for critical applications.
- Use
ADBto block automatic optimization (command:adb shell settings put global adaptive_battery_management_enabled 0). - A reduction in battery life by 30-50%.
- Overheating of the device during intense background conditions. activity.
- System slowdown due to overloaded processes.
- Use
ADBwith superuser rights (root). - Install modified firmware (for example, LineageOS), where there are no such restrictions.
- Disable optimization via
Package Disabler Pro(risk forKnox!). - ๐ Via
Settings โ Applications โ [Select application] โ Battery: if there is an inscriptionOptimizedorSleep mode, the application is limited. - ๐ Through
Settings โ Device maintenance โ Battery โ Battery usage: if the application does not consume battery in the background, it sleeps. - ๐ ๏ธ Via
ADB: commandadb shell dumpsys battery unplugwill show a list of optimized applications. - Xiaomi/Redmi/Poco: Settings in
Battery โ Battery optimization(need to be disabledMIUI OptimizationviaADB). - Google Pixel: Used
Adaptive battery(Settings โ Battery โ Adaptive preferences). - Huawei/Honor: Function
Application protectioninSettings โ Battery.
โ ๏ธ Warning: Applications like Package Disabler Pro can break the operation of Knox (protective system Samsung), which will lead to loss of warranty and problems with Samsung Pay or Secure Folder. Use them only if you understand the risks!
What is Knox and why should you not disable it?
Knox is a hardware security system Samsungthat encrypts data and verifies the integrity of the firmware. Any intervention in system files (including disabling services via
Package Disabler) flagKnox 0x1is triggered. This means:- Loss of hardware warranty.
- Inability to use Samsung Pay, Secure Folder, Pass.
- Potential problems with OTA updates.
It is impossible to restore
Knoxafter triggering - this irreversible change in the bootloader.6. Features for different versions of One UI and Samsung models
The interface and capabilities for managing sleeping applications vary depending on the firmware version and device model. Here are the key differences:
One UI Model/Version Path to sleep settings Features Galaxy S8/S9 (One UI 1.0โ2.5) Settings โ Device maintenance โ Battery โ Sleeping appsThere is no separate section for exceptions - only a global shutdown. Galaxy S10โS21 (One UI 3.0โ4.1) Settings โ Applications โ [Select application] โ Battery โ Battery optimizationAn option has appeared Deep Sleepfor individual applications.Galaxy S22โS24 (One UI 5.0+) Settings โ Device Maintenance โ Battery โ Background UsageAdded Adaptive battery modewhich dynamically manages sleeping applications.Galaxy A-series (all models) Similar to flagships, but without Adaptive mode.The section Developer optionsis often missing as standard.๐น On devices with One UI 6.0 (for example, Galaxy S24) Samsung has introduced a new mechanism
Auto Blockerthat can block background activity even for excluded applications. To disable it:Starting with One UI 5.1, Samsung has hidden some battery optimization settings for European and Korean firmware due to local regulatory requirements. If your smartphone was purchased in the EU, the path to the settings may. differ or demand
ADB.7. What to do if nothing helps?
If you have tried all the methods, but the application still โfalls asleepโ, here are radical measures:
โ ๏ธ Attention: Before resetting or reinstalling application save its data (for example, chats in WhatsApp or progress in games. To do this:
FAQ: Frequently asked questions about sleep mode on Samsung
โ Why does sleep mode turn on by itself after an update?
Samsung regularly tightens battery optimization policies in new versions. One UI. After the update, the system resets user settings and applies default restrictions. To avoid this:
โ Is it possible to disable sleep mode for all applications at once?
Technically yes, but this is highly not recommended. Completely disabling battery optimization will lead to:
It is better to add to exceptions only those applications that are really necessary (for example, instant messengers or navigators).
โ Why do some system applications (for example, "Contacts") not wake up from sleep mode?
System applications Samsung are often protected from manual changes. To manage them:
โ ๏ธ Attention: Changing system applications may disrupt operation Samsung Health, Bixby or Secure Folder.
โ How to check if an application is sleeping?
There are several diagnostic methods:
โ Will these methods work on other brands (Xiaomi, Google Pixel, etc.)?
No, the instructions in this article are adapted exclusively for Samsung with shell One UI. Other manufacturers use their own optimization mechanisms:
Separate manuals are required for these brands.