I want to prove the following (I believe it is true but I am not sure)
If $f\in \mathrm{AP}(\mathbb{R})$, where the space of almost periodic functions $\mathrm{AP}(\mathbb{R})$ is defined in the sense of Bohr https://en.wikipedia.org/wiki/Almost_periodic_function with the mean value $$ M(f) = \lim_{T\longrightarrow \infty} \frac{1}{T}\int_{0}^T f(x)\;dx = 0 $$ then its anti-derivative \begin{equation*} F(x) = \int_0^x f(t)\;dt \end{equation*} is bounded.
The analog of this in the case $f$ is periodic is clear, but I don't know how to do with this case. One idea is using approximation by trigonometric polynomials but there is still some difficulties.