I am running ubuntu 18.04 LTS on a dell Vostro-3480 Laptop and every time I boot into my system when it is not connected to AC power adapter it gets stuck on a purple screen. I've already tried to solve this with nomodeset but it's still not working.

I would be really thankful to anyone who could help me solve this issue.