Using an OBD-II scanner lets you check for trouble codes. Just connect it to your car's OBD-II port. You can then see if there are any engine problems following a battery replacement.