This class provides APIs to all of the registers of the TI BQ27441 battery gauge, as used on the u-blox C030 board. The caller should instantiate an I2C interface and pass this to init(), which will initialise the chip and place it into its lowest power state. When battery gauging is enabled, the getRemainingCapacity()/getRemainingPercentage() API calls may be used; otherwise the chip will be maintained in its lowest power state until a voltage/current/temperature reading is requested.
Dependents: example-battery-gauge-bq27441
Hi Tyler, very sorry for the late response. For some reason we never get e-mail notifications of pull requests, which is a real pain. Thanks very much for your fix: it so happens that one of our guys noticed this issue himself and was beginning to look into the problem. By complete coincidence, while looking for something else, I noticed your fork and then this PR.
It all turns out well in the end :-).
We'll do a quick test of your changes and then pull them in.