We are using the STC3117 connected to QCom msm8909 SoM booting into Android and are having problems getting it to start up correctly.
Once the battery is connected to our device it will never be removed, so we have tied the BATD pin to ground.
We are using the Driver found here (link to GitHub).
I have added in debug messages to the driver and it looks like the check for battery presence in GasGauge_Task() is coming back 1 (not present).
This basically keeps the STC3117 in a restart loop.
I have attached a screen shot of all my debug messages (registry values and basic progress).
Besides connecting BATD to ground is there anything else that needs to be done to get the STC3117 to 'see' the battery?