Flip the computer over and press the little button that's on the battery. Do the indicator lights come on? If not, then the battery is dead. If they do come on, then you'll need to troubleshoot it further. Assuming the battery is firmly in place, and it still isn't working with a charged battery, then you indeed have a hardware issue which you will have to consult Apple to repair (under warranty).