Let $f_n$ be a sequence of functions in $L^2_\text{loc}(\mathbb{R})$ which converge to a function $f\in L^2_\text{loc}(\mathbb{R})$ in the topology of $L^2_\text{loc}(\mathbb{R})$, i.e., $f_n\to f$ in $L^2(K)$ for all compact subsets $K\subset\mathbb{R}$.
A function is said to be Besicovitch almost periodic if it is the limit of trigonometrical polynomials in the seminorm $|f|_2=\left(\lim_{T\to\infty}\frac{1}{2T}\int_{-T}^T|f(x)|^2dy\right)^{1/2}$. Clearly, all Besicovitch almost periodic functions are locally square integrable.
Assuming that $f_n,f$ are Besicovitch almost periodic, can we also conclude that $f_n\to f$ in the seminorm of almost periodic functions, i.e, $|f_n-f|_2\to 0$?