I have two main issues going on:
Whenever I start my computer fresh after shutdown, it freezes right after logging in. The time of freezing is not constant, but it's within a minute or two from logging in. If this happens, I have to shut down the laptop (force shutdown) manually. I have to do this at least ten times, and then it stays on, with no issues. Something to do with the power supply?
Whenever my battery dies, the computer shuts down rather than going to sleep. So when I plug in the adapter and start the computer, it starts fresh. Not sure why it's doing this, I am losing all the programs running
I am using Dell Laptop with just one OS, Ubuntu 18.04.