Turn off your laptop, unplug all wires, remove the battery, and hold the power button for thirty seconds. Afterwards, reattach the battery and connections.
If it still happens, try replacing the AC power adapter. If it happens with a new one, it's likely a hardware failure with the laptop.
- Peter