Hi VideoRipper , Thanks a lot for ur reply. Yes my laptop battery has some juice and it usually lasts 3-5 mins.. The windows power option u suggested can put the laptop to sleep but it doesnt wake it up when the AC is restored.. It would be highly appreciated if u could help suggest some script or program to do so.. Thanks in advance...