Other Parts Discussed in Thread: BQ40Z50
I found bug in Battery Management Studio ( bqStudio )
Version : 1.3.101 Build 1
Connected to: bq40z50-R3
the 0x0F RemainingCapacity() field overflow in the Registers in Watt-hour-mode but the raw data is not, check the attached image which compare the remaining capacity with True Rem E.
In addition the unit is not mWh but cWh as it was mentioned in the reference manual.