I make a phonegap application for Android, but I stick to the following: When I use the application and check the task, the application still consumes a significant amount of CPU (from 5%, and sometimes up to 15%). I tried to remove all other parts of my code, but the only thing that stops the application from CPU activity in the background is to remove phonegap.js from my code.
I got the impression that Phonegap would stop javascript execution when entering onPause, but something is missing for me.
I tried 1.1.0, 1.2.0 and 1.3.0 to no avail. It is also interesting that if I launched 2 telephony applications, their background CPU usage seems to behave the same: one goes up, the other goes up and basically they are accurate in use to a percentage point.
Has anyone understood what the application is still doing on the CPU and / or how can I find out?
Hello
source share