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:

  1. Open Settings โ†’ Device maintenance โ†’ Battery.
  2. Tap on the three dots in the upper right corner and select Battery settings.
  3. Find option Sleeping applications (or Auto-optimization in older versions) and disable it.

For individual applications:

  • ๐Ÿ“ฑ Go to Settings โ†’ Applications, select the one you need.
  • ๐Ÿ”‹ Tap Battery โ†’ Battery optimization.
  • โšก Select No restrictions or Optimize 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.

๐Ÿ“Š What Samsung model do you have?
Galaxy S23/S24
Galaxy A5x/A7x
Galaxy Z Flip/Fold
Galaxy Note
Other model

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:

  1. Open Settings โ†’ Applications.
  2. Select the desired application (for example, Telegram or Gmail).
  3. Go to the section Battery.
  4. 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:

  1. Activate developer mode:
    • Go to Settings โ†’ About phone โ†’ Software information.
    • Tap 7 times on the item Build number.
  • Go back to the main settings, find the new section Developer options.
  • Scroll to the block Applications and do:
    • ๐Ÿ› ๏ธ Disable Do not save actions (if enabled).
    • ๐Ÿ”„ Set Background processes limit to Standard 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:
      1. Hold down the application notification โ†’ Notification settings.
      2. Select High priority or Sound and flash.
      3. Activate Show icon on lock screen.
  • ๐Ÿ–ผ๏ธ Add an application widget to the home screen. The system is less likely to optimize apps with active widgets.
  • โฐ Set up regular reminders via 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 root for full functionality):
      • Allows you to manually put applications into sleep mode or exclude them.
      • Works with ADB devices without root.
    • โšก 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.
      • โš ๏ธ 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) flag Knox 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 Knox after 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 apps There 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 optimization An option has appeared Deep Sleep for individual applications.
        Galaxy S22โ€“S24 (One UI 5.0+) Settings โ†’ Device Maintenance โ†’ Battery โ†’ Background Usage Added Adaptive battery modewhich dynamically manages sleeping applications.
        Galaxy A-series (all models) Similar to flagships, but without Adaptive mode. The section Developer options is 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:

        1. Go to Settings โ†’ Security and privacy โ†’ Auto Blocker.
        2. Disable the option Limit background activity.
        ๐Ÿ’ก

        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:

        • ๐Ÿ”„ Reset application settings:
          1. Go to Settings โ†’ Applications โ†’ [Select an application] โ†’ Memory.
          2. Click Reset (will delete the cache and data, but not the application itself).
      • ๐Ÿ“ฅ 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).
      • โš ๏ธ Attention: Before resetting or reinstalling application save its data (for example, chats in WhatsApp or progress in games. To do this:

        • 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.
        • 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:

          1. Before updating, make a backup of your settings via Smart Switch.
          2. After updating, manually check the battery settings for critical applications.
          3. Use ADBto block automatic optimization (command: adb shell settings put global adaptive_battery_management_enabled 0).
        โ“ 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:

        • A reduction in battery life by 30-50%.
        • Overheating of the device during intense background conditions. activity.
        • System slowdown due to overloaded processes.
        • 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:

        1. Use ADB with superuser rights (root).
        2. Install modified firmware (for example, LineageOS), where there are no such restrictions.
        3. Disable optimization via Package Disabler Pro (risk for Knox!).

        โš ๏ธ 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:

        • ๐Ÿ” Via Settings โ†’ Applications โ†’ [Select application] โ†’ Battery: if there is an inscription Optimized or Sleep 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: command adb shell dumpsys battery unplug will show a list of optimized applications.
        โ“ 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:

        • Xiaomi/Redmi/Poco: Settings in Battery โ†’ Battery optimization (need to be disabled MIUI Optimization via ADB).
        • Google Pixel: Used Adaptive battery (Settings โ†’ Battery โ†’ Adaptive preferences).
        • Huawei/Honor: Function Application protection in Settings โ†’ Battery.

        Separate manuals are required for these brands.