Hello, welcome to JustAnswer!
go ahead and try that
I'm assuming this is a newer Mac since you mentioned the battery meter on the side.
I bought it in 09'
I tried the above and nothing.
it just went out all of the sudden huh
and you haven't installed any memory modules or anything?
what I had you do was reset the system management controller
It went out yesterday and I thought it was the battery. I charged it up for about 30 minutes and it turned on but when I unplugged it went dead again
No installing of anything.
but it doesnt turn on, right?
Right. It's dead.
gotcha...just making sure I understood you
I'm going to recommend you schedule a service appointment with an Apple Retail Store or an Apple Authorized Service Provider. If you plan to visit an Apple Retail store, make a reservation at the Genius Bar using http://www.apple.com/retail/geniusbar/.
there really isn't much that be done remotely for something like this
we reset the SMC
ok. sounds bad.
you have tried another charger
it could be a bad battery, fault memory module, or a bad motherboard
its hard to say at this point
good luck to you
it was nice talking with you