1.. zephyr:code-sample:: bq274xx 2 :name: BQ274XX fuel gauge sensor 3 :relevant-api: sensor_interface 4 5 Get various fuel gauge parameters from a BQ274XX sensor. 6 7Overview 8******** 9 10This sample application retrieves all the fuel gauge parameters: 11 12- Voltage, in volts 13- Average current, in amps 14- Standby current, in amps 15- Maximum load current, in amps 16- Gauge temperature 17- State of charge measurement in percentage 18- Full Charge Capacity in mAh 19- Remaining Charge Capacity in mAh 20- Nominal Available Capacity in mAh 21- Full Available Capacity in mAh 22- Average power in mW 23- State of health measurement in percentage 24 25from BQ274XX sensor and prints this information to the UART console. 26 27Requirements 28************ 29 30- innblue22/nrf9160 board with BQ274XX sensor `BQ274XX Sensor`_ 31 32Building and Running 33******************** 34 35Build this sample using the following commands: 36 37.. zephyr-app-commands:: 38 :zephyr-app: samples/sensor/bq274xx 39 :board: innblue22/nrf9160 40 :goals: build flash 41 42References 43********** 44 45.. target-notes:: 46 47.. _BQ274XX Sensor: http://www.ti.com/lit/ds/symlink/bq27421-g1.pdf 48