how to maximize CPU usage in Android
<p>I have an android app that does some heavy duty calculations on the device. On devices with less than 1GHz processors the calculation is 'offloaded' to a backend server and the results sent back to the device. On devices with 1ghz or more, the calculations are done on the devices. Now i noticed that when the 1ghz+ and even multicore devices haven't been 'active' i.e. no apps are running or have been running and then i run my app, the calculations take an almost unbelievable amount of time (more than 5mins sometimes) to complete, but if i exit the app and re-launch it, the calculations are done in less than 2secs which makes me believe that the 1st time android wasn't utilizing the full power of the cpu but on the 2nd run, the full power of the cpu is used. So my question is how can i make android use the full power of the cpu the 1st time?</p>

<p>P.S. On the emulators the calculations are completed in about 2secs all the time.</p>
