just replaced battery now esp light perm on

drive the car and see if the light goes out
often comes on when changing battery ..... if not get a fault code
 
Drive car about 20 meters and the system will set itself
 
Coincidence or problem?
Normal, when you disconnect the battery the G85 ESP yaw sensor loses it's calibration.

Easily reset exactly as Mike.M described.