I used two methods: Multimeter, oscilloscope to read the voltage and current. and to get the signal graph and to caulculat the Power.
I use servo motor
Voltage: oscilloscope reading: as we can see that each box represent 1V so the servo used 3.3 volt and that because I connect it to the 3.3V in RP 2040 microcontroller.
Current: Multimeter reading: are current reading is (0.164 A)
The equation for electrical power is P=IV: and as we know I = 0.164A and V = 3.3v
P=IV ----> P = (0.164A) x (3.3v) = 0.5412 W
So the power consumption for the servo motor is (0.5412 W)