How to get cpu usage of a specific android application using robotium or java scripts
I am currently automating the user interface of an android app using robots. I would like to get the value of the CPU usage of my application in the task manager in android using scripts. Which piece of code can I use here.