1. Download our Official Android App: Forums for Android!

Does Android automatically kill unused tasks?

Discussion in 'Android Lounge' started by -Ollie-, Jul 16, 2010.

  1. -Ollie-

    -Ollie- Well-Known Member
    Thread Starter
    Rank:
    None
    Points:
    58
    Posts:
    188
    Joined:
    Jun 15, 2010

    Jun 15, 2010
    188
    21
    58
    Hi all, Maybe I am misunderstanding something but I believe Android is supposed to automatically kill "unused" tasks after a while. Is that correct? I own a Galaxy S and I see that I still have in the running tasks list some apps that I haven't used for more than 18 hours. And these taks do not make any kind of auto sync, they communicate with the network only when used actively. Am I misunderstanding something?
     

    Advertisement

  2. macprv

    macprv Android Enthusiast
    Rank:
    None
    Points:
    43
    Posts:
    337
    Joined:
    Mar 16, 2010

    Mar 16, 2010
    337
    47
    43
    im not an expert but to my understand, android OS only kills a task whenever it feels like it needs more resources or memory.
     
  3. -Ollie-

    -Ollie- Well-Known Member
    Thread Starter
    Rank:
    None
    Points:
    58
    Posts:
    188
    Joined:
    Jun 15, 2010

    Jun 15, 2010
    188
    21
    58
    Thanks. But in this case, if some apps are not used at all for more than 24 hours, is it really saving battery to not kill them and keep them running in the background?
     
  4. Vehtemas

    Vehtemas Android Expert
    Rank:
    None
    Points:
    93
    Posts:
    946
    Joined:
    Jul 6, 2010

    Jul 6, 2010
    946
    146
    93
    Territory Manager
    Yes...

    Quite simply because while they are in the background the majority of programs do not run, if they do run while the screen is off ALL of them can only use a max of 10% of the total processor.

    Also say you kill a task and it then has to reload it, it takes more CPU to reload that program than it would if it just kept it in memory doing nothing.

    It is very similar to how a computer runs with cacheing RAM, it holds the most used programs ready to go, which is why novel programs sometimes take longer to load.
     
  5. -Ollie-

    -Ollie- Well-Known Member
    Thread Starter
    Rank:
    None
    Points:
    58
    Posts:
    188
    Joined:
    Jun 15, 2010

    Jun 15, 2010
    188
    21
    58
    Got it, thanks!
    One more question: how can Android know that some tasks are NOT to be killed ever without the use of a "task manager alike" program that would allow to build up an "ignore" (do not kill) list? I don't really have such apps right now (except gmail/calendar/contact sync, but I assume android already knows how to handle those), but there must be some apps that requires NW sync every x hours or maybe even x days.
     
  6. Demache

    Demache Android Expert
    Rank:
    None
    Points:
    183
    Posts:
    3,011
    Joined:
    Apr 18, 2010

    Apr 18, 2010
    3,011
    341
    183
    Sioux Falls, SD
    Some apps, especially ones that pull information of the internet for syncing, run as a service in the background. They are pretty lightweight and only run when they need to.
     

Share This Page

Loading...