Got this answer from a forum at http://forums.macrumors.com/showthread.p... happened is that I didn't let the battery drain fully. So I charged it 100% used it to maybe 40%, then charged it to 70%, then back to 40% and then to 100% and so on. I didn't drain it to 0%. That's when my indicator became inaccurate, and it would suddenly shut down.
Solution for me, charge to 100%, let it be for 100% on the charger for a few hours. Then use it normally to when it goes down all the way, let it be in that state for an hour. Then charge it all the way to 100% without using, let it be for an hour in 100%, and then finally use it down to 0% again.