Yes, modern solar battery setups can be configured with an emergency power supply feature. If the grid goes down, the battery backup kicks in to keep your essential circuits running. The transition is so seamless that during recent tests, you don’t even notice the lights flicker when the main power is turned off.