On an OBD2 system I am surprised that disconnecting the battery turned off the Check engine light and cleared the fault code. You may have done that with your reader. After codes are cleared there is some monitoring and testing that the ECU must perform before everything is truly "clear". This can be done only by driving the car for a few trips to allow that testing to be completed. It has nothing to do with having the the reader connected.
The purpose of this self testing and monitoring of sensors is to prevent someone from clearing the codes and rushing off to the testing station. It will fail until self testing is complete.
Check it again in a few days.
--
David Hunter
|