We consider the hypothesis that dark matter and dark energy consists of ultra-light selfinteracting scalar particles. It is found that the Klein-Gordon equation with only two free parameters (mass and self-coupling) on a Schwarzschild background, at the galactic lengthscales has the solution which corresponds to Bose-Einstein condensate, behaving as dark matter, while the constant solution at supra-galactic scales can explain dark energy. PACS numbers: 04.62.+v, 95.35.+d, 95.36.+x arXiv:1702.05757v2 [astro-ph.CO]