profilingwear-oscpu-usageddmssony-smartwatch

Is there a way to monitor the cpu and power consumption of an individual app on a smartwatch (android wear)?


I was wondering if there is a way to monitor the cpu and power consumption of an individual app on a smartwatch (android wear) remotely such as through the Android studio or something little eye which is not accessible anymore ? The usual handheld apps such as power tutor and trepn doesn't fit the screen of the watch.

Any suggestions would be appreciated on somehow adapting these apps to work on watch or anything else ?

Regards


Solution

  • I finally used power tutor (battery consumption) and dumpsys cpuinfo for these measurements.

    Power tutor does not provide correct power values when it comes to absolute values, however, it works for relative comparison of various apps (power consumption) which was the case with my situation.

    http://ziyang.eecs.umich.edu/projects/powertutor/ https://developer.android.com/studio/command-line/dumpsys.html