A typical electrocardiogram , specifically a quiet one, offers a view into your heart's electrical function while you're relaxed . This test detects the rhythm and strength of your heartbeats , revealing likely issues like erratic heart patterns, signs of problems from a past cardiac event , or c