I use shutdown -h time command to shutdown my laptop after a particular time. I observed that the laptop doesnt come to a halt after the set time if the lid of my laptop is closed. When i open the lid the next morning it tells " goint to halt". So how do i make ubuntu shotdown at a pre-set time even if the lid is closed.?