Dear friend!
You can't do what you need.
To automatically collect device power, you must create a new task, which is not available in the optional task sublist(The effect of running the script is the same).

So I can only recommend that you do it manually when you need the data
Thank you!