An app could be flagged with importance on coding ex: 1. Never close unless it is really necessary (like a browser). 2. Close only if closing those with flag 3 didn't help 3. Close and save state if CPU usage is constantly up.