I have connected the TI-make battery fuel gauge and charger to the I2C port of my raspberry Pi and eventually plan to control them using RPi. I have some minimally working code. However, I found a few drivers, one specifically for the BQ27441 battery fuel gauge that I use. The driver is here. I think the use of driver which provides an API should be preferred as it leads to consistency and avoids incorrect register manipulations.
But I wasn't able to use it. As in, even if I include it or try to modify it, it asks for the included header files, for which I don't know the exact paths.
Can somebody shed some light on how to use these drivers, or a minimal working example of the use of these drivers or any similar drivers that help explain the compile + run process for the same ?