How to measure power consumption in watts?

Hello Community,

I am using a Raspberry Pi5 AI kit with Hailo-8L module.
Could you please guide me on how to measure Power consumption of both CPU and Hailo-8L module at runtime? Using python for my experimentation.

Thanks in advance.

Hi @accounts,
You can use this post to measure power on the Hailo device. For measuring power on the pi, you can see posts like this one: How to check power consumption on Raspberry Pi - Linux Tutorials - Learn Linux Configuration

Thank you @Nadav
I got following error:
Traceback (most recent call last):
File "hailo_powertemp.py ", line 4, in
from hailo_platform import Device
ModuleNotFoundError: No module named ‘hailo_platform’

You’re right my bad, this was not enabled yet. Working on it as we speak.

When this would be available?

Still checking, I may have mislead you. Verifying before giving the final answer.