Check for poor contact between the ECM and battery current sensor connectors.
Is there poor contact of the ECM or battery current sensor connectors?
Repair any poor contact between the ECM and battery current sensor connectors.
Replace the battery current sensor.