Playbook · Samsung

Stop a Samsung Galaxy from putting Autowhat AI Agent to sleep.

Samsung puts apps to sleep to save battery. A few settings keep Autowhat AI Agent awake, so it can answer WhatsApp tasks and run reminders on time.

Samsung Galaxy phones run One UI. To save battery, One UI puts apps it thinks you don't need to sleep, and an app in deep sleep never runs in the background. AI agent for Android often works without you opening it, so One UI can mistake it for an unused app. The steps below stop that. Do them once; they take about five minutes.

The short version:

  1. In Autowhat AI Agent, open Settings › Phone access and turn on Run in the background and Show over other apps.
  2. In App info for Autowhat AI Agent, set Battery to Unrestricted.
  3. In Background usage limits, turn off Put unused apps to sleep and add Autowhat AI Agent to Never auto sleeping apps.
  4. Make sure Autowhat AI Agent is not in Sleeping apps or Deep sleeping apps.
  5. In recent apps, tap the Autowhat AI Agent icon and choose Keep open.
  6. Never use Force stop on Autowhat AI Agent.

Not set up yet? Start with the quick start, then come back here.

Why does my Samsung put Autowhat AI Agent to sleep?

One UI watches which apps you open. Apps you haven't opened for a while can be moved to Sleeping apps, which run in the background only now and then, or to Deep sleeping apps, which never run in the background and only work when you open them. Autowhat AI Agent tries to start again by itself a few seconds after it is swiped away, after an update and after a restart, and a back-up alarm tries again a few minutes after it is closed. A sleeping app can't take those chances.

Signs that your phone has closed or paused Autowhat AI Agent:

Start in Autowhat AI Agent: the Keep it running buttons

Autowhat AI Agent has three rows that help on every phone. Use them first.

  1. Open Phone access

    Open Autowhat AI Agent. Tap the round picture at the top right (it opens the You menu), then Settings, then Phone access.

    Autowhat AI Agent › You › Settings › Phone access

    During first setup you saw the same buttons on a card called “Keep it running”, each with an “Allow” button. If you skipped them then, do them here.

  2. Turn on “Run in the background”

    Under For more tasks, tap “Turn on” next to Run in the background. Android asks whether Autowhat AI Agent may always run in the background. Tap Allow.

    If your phone opens a list of apps instead, find Autowhat AI Agent in it and set it to not optimised (the words differ by phone).

    On most Galaxy phones, allowing this sets Autowhat AI Agent's battery use to Unrestricted. You check that in the next section.

  3. Turn on “Show over other apps”

    This is for the floating button, the small round button that lets you give Autowhat AI Agent a task from any app. Tap “Turn on” next to Show over other apps, then switch on Autowhat AI Agent on the page that opens. Samsung usually calls this page Appear on top.

  4. Tap “Check” next to “Check battery limits”

    The row says: “Some phones close apps to save battery. On the next screen, open Battery and remove any limit for Autowhat AI Agent. If you see an auto-start switch, turn it on.” Tap “Check”. App info for Autowhat AI Agent opens. Do the steps in the next sections from there, then come back.

    This row always shows Check, because Android can't tell Autowhat AI Agent whether the phone maker's own battery limit is off. During setup the same step was on the “Keep it running” card, with an “Open App info” button.

What you will see

A tick means the setting is on. “Turn on” means it is still off. “Check” means Android can't say, so open it and look. Come back to this page any time to check.

No Xiaomi rows here

Some guides mention Pop-up windows and Start on boot. Those rows only appear on Xiaomi, Redmi and POCO phones. A Samsung phone doesn't need them.

If your phone does not let Autowhat AI Agent open a page, Autowhat AI Agent opens App info instead and says “That screen is not available here; opened App info instead.” Use the sections below to find the setting from there.

Switch greyed out?

On Android 15 and later, Android can grey out the switch for showing over other apps when an app was installed from a file, as it does for accessibility. Allow restricted settings for Autowhat AI Agent first, then try again. The accessibility guide shows how.

Set Autowhat AI Agent's battery to Unrestricted

  1. Open App info for Autowhat AI Agent

    Press and hold the Autowhat AI Agent icon on your home screen, then tap App info (the small ⓘ). App info is the app's own settings page. You can also go to Settings › Apps › Autowhat AI Agent.

  2. Tap “Battery”

    Tap Battery. You will see three choices: Unrestricted, Optimised and Restricted.

  3. Choose “Unrestricted”

    Tap Unrestricted. Optimised lets One UI limit Autowhat AI Agent when it thinks you aren't using it. Restricted stops it working in the background at all.

  4. Turn off “Remove permissions if app is unused”

    Still in App info, scroll down. If you see Remove permissions if app is unused (newer versions may say Pause app activity if unused), turn it off.

Add Autowhat AI Agent to Never auto sleeping apps

This is the setting that matters most on a Samsung. It lives on a page called Background usage limits.

  1. Open Background usage limits

    Go to Settings › Battery › Background usage limits. On some versions the path is Settings › Device care › Battery or Settings › Battery and device care › Battery, then Background usage limits. You can also type Background usage limits in the Settings search box.

  2. Turn off “Put unused apps to sleep”

    Turn this switch off. It is what moves apps to sleep on its own.

  3. Add Autowhat AI Agent to the never-sleep list

    Tap Never auto sleeping apps (older versions say Never sleeping apps). Tap + or Add, tick Autowhat AI Agent, and tap Add.

  4. Check the two sleep lists

    Open Sleeping apps and Deep sleeping apps. If Autowhat AI Agent is in either list, tap ⋮ (the three dots) › Remove, tick Autowhat AI Agent and tap Remove.

Mobile data and Power saving

Autowhat AI Agent needs the internet to think: it does its thinking on Autowhat's server. Two Samsung settings can cut it off in the background.

Keep Autowhat AI Agent open in recent apps

The recent apps screen shows the apps you used last. Samsung lets you mark a few apps as Keep open, so Close all leaves them running.

  1. Open recent apps

    Swipe up from the bottom edge and hold for a moment. If you use buttons, tap the recent apps button (three lines).

  2. Tap the Autowhat AI Agent icon, then “Keep open”

    Tap the small Autowhat AI Agent icon at the top of its card, not the card itself. Tap Keep open. A small lock appears on the card. Samsung allows only a few apps to be kept open this way.

Things that switch Autowhat AI Agent off on a Samsung

Auto Blocker is different

Samsung's Auto Blocker (Settings › Security and privacy) doesn't close apps. It blocks installing and updating apps from outside Galaxy Store and Google Play. If an Autowhat AI Agent update won't install, see the install guide.

Fix “Stopped. Turn it off and on again.”

Sometimes Android stops Autowhat AI Agent's accessibility service even though its switch still looks on. Autowhat AI Agent then can't use the screen, so phone tasks can't run. You will see one of these:

  1. Tap “Fix”

    Android opens its Accessibility page. You can also get there yourself: Settings › Accessibility › Installed apps (older One UI: Installed services).

  2. Turn Autowhat AI Agent off, then on again

    Tap Autowhat AI Agent in the list. Turn its switch off. Then turn it on again and tap Allow when Android asks. Go back to Autowhat AI Agent: the red line goes away within a few seconds.

    If the switch keeps turning itself off, check that Autowhat AI Agent is in Never auto sleeping apps and not in Deep sleeping apps, then turn it on again.

If it keeps happening, the phone is almost always closing Autowhat AI Agent in the background. Do the battery and sleep steps on this page again. If the switch is greyed out, see the accessibility guide.

Switch off, not Stopped?

If the switch itself was turned off, for example by Force stop, the Chats banner says “Screen access was switched off. Turn it on again.” Autowhat AI Agent also tells you once in the chat, and as a notification when the app is not open. Tap “Turn on” on the banner, tap Autowhat AI Agent in the list and turn it on.

How to check it is working

Do these once after the steps above:

  1. In Phone access, Run in the background and Show over other apps show a tick.
  2. The word under “Autowhat AI Agent” at the top of the Chats tab says Ready.
  3. If you allowed notifications, a quiet notification called Autowhat AI Agent stays in your notification shade. That is the app running. Leave it there; it is how Android lets an app keep working in the background.
  4. Lock the phone for half an hour. Then send Autowhat AI Agent a task from your WhatsApp (see the WhatsApp guide). It should start without you opening the app.
  5. Restart the phone and don't open Autowhat AI Agent. After a minute or two, the floating button should come back by itself.
  6. If you keep the Daily message on (Settings › WhatsApp), a missing morning message is also a sign that the phone closed Autowhat AI Agent.

Where each setting usually is on a Samsung

Samsung moves these settings between One UI versions. Use this table if a step above doesn't match your phone.

SettingWhere it usually isOther names or places you may see
Battery for one appApp info › Battery › UnrestrictedApp info › Battery › Allow background activity (some older versions)
Background usage limitsSettings › Battery › Background usage limitsSettings › Device care › Battery, or Battery and device care › Battery
Never-sleep listNever auto sleeping appsNever sleeping apps (older One UI)
Show over other appsEasiest from Autowhat AI Agent: Phone access › Show over other appsSettings › Apps › ⋮ › Special access › Appear on top
AccessibilitySettings › Accessibility › Installed appsInstalled services (older One UI)
Keep openRecent apps › tap the app icon › Keep openNot on every model or version

Can't find one? Type the word in the search box at the top of Settings: Background usage limits, Never auto sleeping, Battery or Accessibility.

If this doesn't work

Other phone brands

Using a different phone, or setting up a family member's? Pick the brand:

Questions

Why does my Samsung keep closing apps in the background?

One UI puts apps it thinks you don't use to sleep, to save battery. Sleeping apps run in the background only now and then, and deep sleeping apps not at all. For Autowhat AI Agent, set Battery to Unrestricted, add it to Never auto sleeping apps and turn off Put unused apps to sleep.

What is the difference between Sleeping apps and Deep sleeping apps?

Both are One UI battery lists. Apps in Sleeping apps can still run in the background, but only now and then, so their work and notifications can be late. Apps in Deep sleeping apps never run in the background and only work while you have them open. Autowhat AI Agent should be in neither.

Where is Never sleeping apps on Samsung?

Open Settings › Battery › Background usage limits. On some versions it is under Device care › Battery, or Battery and device care › Battery. Newer versions call the list Never auto sleeping apps. Tap Add, tick Autowhat AI Agent and tap Add. Searching Settings for Background usage limits also finds it.

Why does accessibility turn off by itself on my Samsung?

Usually because One UI closed Autowhat AI Agent in the background or someone used Force stop. Turn it on again in Settings › Accessibility › Installed apps › Autowhat AI Agent. Then set Battery to Unrestricted and add Autowhat AI Agent to Never auto sleeping apps, so it stays on.

Will this drain my battery?

Autowhat AI Agent uses more battery while it is doing a task than while it waits. Unrestricted battery use only stops the phone from closing it; it does not give it extra work. We don't publish battery figures. When the battery is at 15% or lower and not charging, the floating button reminds you to plug in.

Do I need to do this again after updating Autowhat AI Agent?

Usually not. Installing a new version over the old one keeps these settings, and Autowhat AI Agent starts again by itself after the update. If you uninstall Autowhat AI Agent and install it again, the settings are gone, and you need to do these steps again, including accessibility.

Need a hand? Start with the quick start or the troubleshooting guide.

Written for Autowhat AI Agent 1.0.1. Menu names differ by phone maker and Android version; the steps say where they usually are. Android is a trademark of Google LLC.