It depends on the brand of smart alarm clock. Some have battery backups designed to ensure your alarm goes off even when the internet or power goes out, but others don't. Before you buy, check the manufacturer's specifications to be sure.