A method is provided, the method comprising detecting a magnetic resonance
imaging (MRI) interference signal and enabling at least one preventive
measure to protect an implantable medical device from interference by the
magnetic resonance imaging (MRI) interference signal. The method also
comprises switching from a first sensing mode more affected by the
magnetic resonance imaging (MRI) interference signal to a second sensing
mode less affected by the magnetic resonance imaging (MRI) interference
signal.