title: Cordova app slows down Android multi-task UI and message center
body: <p>I am currently developing a <strong>Cordova</strong> app targeting <strong>Android</strong>, using <strong>Ionic</strong>. I noticed that the android multi-task UI (if you tap the context button next to the home button on your phone) slows down heavily if the app is active. If I close the Cordova app, it's running fluently again. This happens to Cordova apps with and without the use of Ionic.</p>
  
  <p>My app also uses the <a href="https://github.com/katzer/cordova-plugin-background-mode" rel="nofollow noreferrer">cordova-plugin-background-mode</a>, and if I start background mode with a sticky notification, it slows down the Android message center (But only if the sticky notification is visible). Though I think this issue might be related to Ionic, since another sample app I created without Ionic does not have this issue.</p>
  
  <p>I profiled the app using Android Studio's Monitor, but it does not seem to use a lot of Memory (10MB) or CPU (0.8%) when running in background, so I don't understand where these performance drops come from.</p>
  
  <p>Has anyone else had these kinds of performance issues and found a way to improve them? I tried <strong>prod/release-mode</strong> and <strong>Crosswalk</strong> already, both did not work (prod mode improved the app startup time though). </p>
  
  <p>Here are my system configurations:</p>
  
  <pre><code>Node version: v6.10.0
  Cordova CLI : 6.5.0
  Ionic: 3.6.0 (ng) / 2.1.4 (app-scripts)
  Android SDK: AP25
  android-minSdkVersion: 16
  Test Phone: HTC10
  </code></pre>