With the powerful INA226 chip and Arduino, you can create a very accurate instrument capable of monitoring the electrical consumption of an electrical DC device. The current, voltage and power measurements are displayed on an LCD display and saved on a micro SD card.
There are numerous possible applications for this monitoring tool: battery-powered devices such as scooters or pedal-assisted bicycles, photovoltaic panels, etc.
There are some libraries for the INA226 chip, I used the Korneliusz Jarzebski library which seems to me quite complete although I had to modify a couple of functions because they led to wrong results.
A complete and detailed description of this project and modified library functions can be found on my blog: http://ardupiclab.blogspot.it/.