Let $\omega(n)$ the number of distinct prime factors of $n$ (counted without multiplicity). A famous consequence of Turán–Kubilius inequality is $$ \sum_{n\leq x}(\omega(n)-\log\log x)^2=O(x\log \log x). $$
However, I am interested in a small variation of the previous result. Indeed, I would like to obtain a similar result to $$ \sum_{n\leq x}(\omega(n)-A\log\log x)^2, $$ for some previously fixed $A\in (0,1)$ (e.g., $A=1/4$ is enough for me).
Any suggestion? Thanks in advance.