Yes, all mains powered radio frequency smoke alarms need connecting to the power supply.
If you are retrofitting your RF alarms the electricity supply can be taken from the nearest light fitting. In new builds, the electrician will create a dedicated electrical circuit for the alarms.
If your mains powered smoke alarms are not radio-interlinked you will also need to connect your alarms with a signal wire.