"keithr"
** You are 100% correct.At my previous address, the installed smoke alarm was of the type that are somewhat dangerous but have no replaceable battery. One day it went into slow beep mode, 20 minute intervals.
A sparky came and replaced it and let me keep the old one.
Turned out a 470nF class X2 cap in the AC feed had gone open circuit.
So I fixed it and still have it in a cupboard, too cute to chuck out.
.... Phil