Why does the doorbell beep twice after playing a melody?

The doorbell beeps twice to notify you that the push button battery is low and needs replacing.