PSL Fire & Safety recommend long-life photoelectric or interconnectable smoke alarms.
You will find that photoelectric alarms are often sold as 10-year alarms; it’s more accurate to say they have a long life. The life of the battery will depend on how many times the alarm is tested and the conditions (e.g., temperature).
Long-life smoke alarms have built-in batteries, which are required by law for landlords to install. This removes the temptation to remove the batteries to use them with remote controls, etc.