I keep telling my students that the GPA doesn't matter. Some students get super stressed when they get a 3.4 in a test or a 3.7 in homework, and many cheat - and sometimes covertly admit they have cheated - just to improve their GPA.
So I'll quote the CNN article "So you want to work at Google":
You'll be heartened to hear that a 3.0 GPA doesn't necessarily wreck your prospects at Google. McDowell acknowledges that the 3.7-or-higher-GPA myth is widespread, but she discounts it. "When I joined Google, my team of eight people included three who didn't have college degrees at all," recalls McDowell. "And our next college hire had a GPA that wasn't so hot."
She adds: "Academia is merely one way to distinguish yourself, and there are plenty of others. So if your GPA, or your school, doesn't stand out, look for additional avenues. Besides, you'll need to excel in multiple areas to get your resume selected."
The last piece is very important. Academia is only one way to distinguish yourself. Having a 3.0 GPA and winning the entepreneurial competition could be much better than getting a 4.0 GPA by being the teachers pet and having no other passion than getting a 4.0 GPA. On its own, a 4.0 GPA means nothing.