You could try something like this:
https://www.amazon.com/Current-Sensor-ACS712-Module-Arduino/dp/B08R5BX9F5/ref=sr_1_3?crid=3TNICCARCBDY4&keywords=arduino+current+sensor&qid=1677740753&sprefix=Arduino+current%2Caps%2C305&sr=8-3