Ground Plane for different GND types
You have to put the Rsense into the minus lead of the battery. I.e. It will see both charging and discharging current. And this will do nicely away with the split ground. Alternatively you can use a gas gauge with high side current sensing.