Your resting electrocardiogram, or ECG, provides a view of your heart's electrical activity while you're during rest . Essentially , it detects the impulses that cause your heart to beat . Your healthcare provider use this evaluation to examine for potential cardiac problems , such as arrhythmias