You got me curious so I did a bit of research and it is not that hard to make a battery fuel with an Arduino. You need at least 22 bits of analog conversion, This is from Analog Devices web page: "Coulomb Counter (Battery Fuel Gauge)
Analog Devices' battery management gas gauges and coulomb counters accurately measure and report battery capacity in single cell or multicell handheld applications. Charge accuracy is uncompromised thanks to a variety of unique sensing techniques that appear seamless to the user. High-side current sensing allows downstream failure detection and avoids ground disturbance. Analog integrators digitize charge directly, resulting in cancelled amplifier offsets, minimal gain error, and better overall charge accuracy. Some models also provide battery voltage and temperature, while others integrate a sense resistor to minimize component count and increase accuracy even further. All devices have small footprints and provide simple digital interfacing with a host processor." You can get them assembled from Banggood, RobotShop and others for a few bucks. This response is to help you get started in solving your problem, not solve it for you.
Good Luck & Have Fun!
Gil