Some smoke alarms are powered by AC (alternating current) and use a battery backup. When these units lose power momentarily they may chirp several times to inform you they are on backup power or are returning to main power. For more information, review the manufacturer’s documentation on your type of alarm.