I recently had the battery replaced in my RS6 (which is presumably similar tech to D3 S8). And the after having it recoded the ESP light was on, mechanic said it would go out after a couple of miles and it did. Battery issues do seem to throw up weird things in that generation Audi. Take it out for a drive and hopefully it will clear