does this happen if you force it to shut down by holding the power button for +10sec, or if you remove and reinsert the battery after power off?
forcing a shutdown or removing and installing the battery, will ensure that the laptop is indeed shut down and not just halting during the shutdown process.
if you still have the same issue after this test I would guess your battery is dying, but if not you know that the issue is a software and not a hardware problem..
anyway, best of luck getting it sorted