• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Need to make sure one app is never put to sleep

dorlow

Android Enthusiast
Jan 2, 2014
272
49
I'm on call and I have a pager app that catches certain texts and makes my phone go bazzerk if I'm paged. When I go to battery settings and look at the 'apps that wont be put to sleep' the pager app isnt listed so I can't add it. Any idea why?
 
The reason that the app does not appear is that it is most likely a 'foreground' app- an app that is running and made to stay that way.

Depending upon the device and the memory capacity, along with how much memory the app uses, the system may let it run or shut it down.

Something that might be possible, depending on the device, is called 'Pinning' the app.

On some devices, this will force it to remain in the foreground and avoid the OS from shutting it down.
 
  • Like
Reactions: ocnbrze
Upvote 0
Can you force the app to Stay Awake rather than Never Sleep?

Activate developer settings:
  • Go into Settings > Software Info > About Phone
  • Tap 'Build Number' 7 Times
Then go to:
  • Settings > Developer Options > Stay Awake
Let us know if this works!

It just says when enabling this that the screen will never go to sleep while charging.
 
Upvote 0
You can use - Lock this app - if you press recent apps or swipe if you use gestures, long press on the app icon and select - Lock this app.
I think that might do what you are looking for
Screenshot_20200316-213046_Samsung Internet.jpg
 
Upvote 0
You can use - Lock this app - if you press recent apps or swipe if you use gestures, long press on the app icon and select - Lock this app.
I think that might do what you are looking for
View attachment 148722

Locking the app will most likely only make it so that a pin must be entered in order to open the app.

What is wanted is the option to pin the app, which is an option on the page that you have shown.
 
Upvote 0
The Lock this app should keep it in the RAM and keep it open, Pin this app is different, just try it out


I always thought that it was the opposite.
Generally, when locking an app, it is just like locking the device- making it inaccessible without a code.

Pinning, at least on my deices, and some others, is what will keep the app open.

I learned of this from Blokada, when people with a certain brand name of device had trouble with the app closing when in the background.

Pinning the app in the recent apps area kept the app from closing.
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones