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
Changes
Revision | Date | Who | Commit message |
---|---|---|---|
6:998cc334f8f2 | 2017-12-13 | breadboardbasics | Fixes current = 0 problem and adds power measurement capability |
5:63b325f2c21a | 2017-06-14 | rob.meades@u-blox.com | Add ability to enable/disable battery detection and make sure that it is switched off when the tests are run on the u-blox C030 platform (since the BIN pin is not connected). |
4:e6208506ebc7 | 2017-06-07 | RobMeades | Add datasheets. |
3:ebd56471d57c | 2017-06-06 | rob.meades@u-blox.com | Add API to check if battery gauging is enabled. Remove old UTM board pin-outs. Remove unused Doxyfile. |
2:93310a83401a | 2017-04-11 | RobMeades | Change Doxygen comment format to match mbed on-line IDE's somewhat restrictive expectations. |
1:566163f17cde | 2017-04-10 | rob.meades@u-blox.com | Add files to repo, removing temp.txt placeholder. |
0:96f866ab5396 | 2017-04-10 | RobMeades | Create repo for TI BQ27441 battery gauge chip. |