I'm developing android app using OpenCL for CPU-GPU parallel computing. I want to measure CPU-GPU each power consumption or total power consumption in app execution. But I can't find proper measurement method.
The Android Developer site provides you with all you need :
https://developer.android.com/training/monitoring-device-state/index.html
You can :
1.Monitor the Battery Level and Charging State
2.Determine and Monitor the Docking State and Type