Part Number: BQ27542-G1
I use battery fuel gauge ic with i.mx6 solo dual. i use bq27xxx linux i2c driver(bq27xxx_battery.c) of ti. my ic name is bq27542.i have below confusions while writing code on qtcreator in c++.
1. i want to get percentage of charge of battery(which shows 0 % ,1%,2%.....100% according current battery charge). so which register i have to read. i go through datasheet and technical manual but i not understand which register i have to read.
2. in driver smooth en bit is 0 or 1 for bq27542. i does not get is it 1 or 0.
3. to understand in short which operation i have to read and from where in which section and at what index.