The issue is that changing the battery erased the various monitors that the computer tests to verify that the systems on the car are working properly. Now you have to get the tests to all run again. Some of them require specific drive cycles to run while others run every time you start the engine. The "drive it one hundred miles" is a generic drive cycle to get them to run, but it may not do them even then unless certain things happen in the correct order. Short trips generally will not run the tests.
This is a drive cycle process that works on Toyota's when trying to get the monitors to run.
Fuel tank at 1/2-3/4. Below or above and the EVAP tests will not run.
Overnight engine cold start (above forty degrees or the EVAP test will not run) then idle for ten minutes.
Drive at highway speed fifty five to sixty mph with steady throttle for fifteen to twenty minutes.
Stop, place transmission in park, and idle for three minutes.
Drive again at thirty five to forty mph for ten to fifteen minutes.
Stop, place transmission in park, and idle for three minutes.
Repeat again the next day.
This will usually set the various monitors. Just do not disconnect the battery or you have to start over.
SPONSORED LINKS
Monday, July 10th, 2017 AT 3:05 PM