It is incredibly easy to burn out if you try to maintain a perfect GPA while trying to build the next massive SaaS product on the side. Sometimes, you have to accept that a decent grade is enough if the time saved allows you to build a substantial portfolio piece that will actually get you a job. The industry cares far more about what you can build than a perfect transcript.