help wanted
仓库指标
- 星标
- (2,604 个星标)
- PR 合并指标
- (30 天内没有已合并 PR)
描述
It is possible to get energy by providing pid only?
I have installed this package in local and tried to modify the code by providing pid in the command for ex : tidevice energy
Here is the modified code:

But the data is not coming, so I've modified the code and print the result directly like this:
(last second line print(ret))
So after doing this I observed the output and it's always coming blank({}) even I'm using the application and have verified the pid as well using tidevice ps command.
Any idea why data is not coming and how should we resolve this?