Keep Alive Android App
đ Keep Alive â Your app watchdog!
A simple app to keep specific apps alive by checking if they are running. If not, they will be attempted to start for you.
đ STOP đ - Know before you use â
This app is designed with a very specific use case in mind. It is important to understand what this app does and how.
- App is designed to be always running in the foreground to watch and restart other applications.
- App is NOT optimized for battery and will cause high battery đĒĢ drain. Ideally, this should not be used on your primary phone that you use daily.
- âšī¸ This app works best on a secondary phone plugged into a power cable 24/7.
- App contains some additional features like Remote Logging and Heartbeat monitoring. However, the app can be used without enabling those features.
đ How to use the app
- Launch the app and accept all the required permissions.
- Once all permissions are active, you will see 2 options:
- Configure apps that should be running
- Configure app settings like interval of checking for app
- Add app that you want to be checked periodically
- Done âī¸
- This app will always run in the foreground, continuously checking if your selected apps are active. If any are not, it will automatically restart them for you.
Limitations đ
Despite having many needed permissions, this app may still not work due to the strict security of Android.
- One known issue is related to receiving
RECEIVE_BOOT_COMPLETEDevent that is needed to start the watchdog service of this app. However, theRECEIVE_BOOT_COMPLETEDevent is not delivered until user unlocks the device after phone is restarted or in case phone got soft-started because of very low memory pressure. - In that case, this "Keep Alive" app will fail to start configured apps until the device is unlocked manually.
- Another known issue is, even though foreground service is running, it does not trigger the periodic checks based on your configured interval. This has been noticed on Samsung Galaxy S23, while on other phones it works. So, there might be some bug or manufacturer or device specific issue. Take a look into "Monitor Activity" to see how checks are doing.
Open Source
This app is open source! You can view the source code, contribute, or learn more about how it works on GitHub.