The Besicovitch class of $B^p$ almost-periodic functions is defined as the closure of the set of trigonometric polynomials (of the form $t \mapsto \sum_{n=1}^N a_n e^{i \lambda_n t}$ with $\lambda_1, \dots, \lambda_n \in \mathbb R$) under the semi-norm $$||f||_{B^p} := \left(\limsup_{X \to +\infty} \frac{1}{X} \int_0^X |f(t)|^p \,\mathrm{d}t\right)^{1/p}.$$
Let $F \in B^1$ be such that there exists $(a_n)_{n \in \mathbb N} \in \ell^2(\mathbb N)$ and $(\lambda_n)_{n \in \mathbb N} \in \mathbb R^{\mathbb N}$ be such that $$\lim_{N \to +\infty} ||F-P_N||_{B^1} = 0,$$ where $$P_N := t \mapsto \sum_{n=1}^N a_n e^{i \lambda_n t}.$$ Does $F \in B^2$ follow from the fact that $(a_n)_{n \in \mathbb N} \in \ell^2(\mathbb N)$ ?
Litterature on the subject is a bit hard to find since there are so many different classes of almost-periodic functions, of which $B^1$ is one of the largest. Also $|| \cdot ||_{B^p}$ is only a semi-norm so this might complicate things.