How to programmatically obtain relative power consumption?

前端 未结 0 402
误落风尘
误落风尘 2021-02-06 03:31

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         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题