This project shows the details of how to make a power meter for Jetson Xavier/TX2/Nano developer kit.
It's not 100% original work (of course) but this project contains a lot of issues I had while doing it and the solutions for the issues, hope this can help others and save your time.