disconnecting the battery will no longer clear codes from the memory of the pcm in today's cars. You need a bi-directional scan tool. OR, you can go to any big chain parts store like AutoZone and they have a code reader that will clear codes. It is true that the codes will clear themselves if in fact the problem was corrected. However, this will take up to 40 consecutive drive cycles without a fault occurring before the history codes are cleared.