Recently I need to monitor the battery consumption of some process.
The method I already know is to get it through top:
top -stats pid,command,cpu,idlew,po