An implantable medical device is configured to perform a method for detecting cardiac events by sensing a patient activity signal and determining a patient activity trend in response to the activity signal. A cardiac event detection threshold is set in response to the patient activity trend. The device senses a cardiac signal and detects a cardiac event in response to the cardiac signal and the detection threshold.