Prevent Android apps from autostart

asked 2018-02-23 12:25:29 +0300

ziellos gravatar image

updated 2018-02-23 15:23:01 +0300

Some of my Android apps seem to start despite "enable background service" (German: "Starten von Hintergrund-Diensten beim Einschalten erlauben") is disabled in settings --> apps. Of cause these apps are not shown in the GUI, but they are visible Lighthouse, and may be manually stopped in settings --> apps. Sometimes apps that have never been used are running in background, so it seems random to me.

Some of the apps need large amounts of memory, and some may use location services, so I would like to get control over them.

I am a Whatsapp user, and want Whatsapp to run in background for getting notifications. So stopping Alien Dalvik would not be sufficient.

Since the mentioned background service setting doesn't have the desired effect, I am looking for a more reliable solution to prevent Android apps from autostart. Any suggestion would be highly appreciated...

Xperia X, Sailfish OS 2.1.4.13 EA, but also noticed with earlier Sailfish versions.

edit retag flag offensive close delete

Comments

can you give us the name and version number?

ds1979 ( 2018-02-23 13:22:17 +0300 )edit

I noticed that too. For example, in my case, whatsapp is not supposed to autostart but while I am not a big user (so not easy to test), I am confident to say that I receive notifications even before the app is started...And indeed the app is running in the background after a reboot even though the 'autostart' is desactivated! (I am still under 2.1.3, with Xperia X)

pat_o ( 2018-02-23 13:47:51 +0300 )edit

@ziellos: what apps in particular do you think of, except for WhatsApp?

ds1979 ( 2018-02-23 13:50:12 +0300 )edit

@ds1979: there is no visible pattern of running android apps, it seems to be totally random. Sometimes an app is listed multiple times in Lighthouse. Android apps I use regularly are Opera, Strava, ForecaWeather, and DS Cloud (Synology).

BTW: I have created an action in the Situations app that stops Alien Dalvik service in the evening when the phone goes offline, and starts it in the morning. So the whole Android layer gets initialized once a day.

ziellos ( 2018-02-23 14:11:22 +0300 )edit

Hi.

In the settings app, there's an option called "Android Support". There you can deactivate/activate support for Android Apps as you will...

Regards.

Pasko ( 2018-02-23 15:59:27 +0300 )edit