INA219: How to tune the INA219 for 0 - 20 mA - Amplifiers...
You could also just use a bigger shunt resistor to increase the usage of the INA219 PGA. Right now you can measure up to 400mA but you placed 12mA as your max, this is a very low range you are using vs what you could use. ...