Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am looking for a free software or configuration settings in windows 7 that detects the power events in LAPTOP(AC power off) and forces shutdown or hibernate.

Why do I need this ?

I am from Nepal and here we have more than 14 hours of load-shedding per day. And sometimes the power cuts out of schedule.

I want my laptop run as long as electricity is available (even after I go to Office in daytime - because I have VPN and remote access services to this laptop running). However, I don't want to consume battery power in daytime (when I am not directly using laptop) because, when I return back from work at evening, there might not be electricity and if laptop was running in battery power in daytime I could not use my laptop at night.

Psycogeek's link configured the following in Advanced Power Option. But I don't think this is proper solution to my question.

I am wondering if there is any utility software or settings to achieve this?

share|improve this question

closed as not a real question by wizlog, nhinkle Dec 21 '11 at 9:26

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

techsupportforum.com/forums/f108/… Check out triggerfingers post on using battery alarm set weirdly to accomplish that? –  Psycogeek Dec 21 '11 at 6:58
@wizlog, thank you for the comment.. i read the FAQ(superuser.com/faq#questions) again..could you please explain me more what made this question "NOT A REAL" ? –  gt_ebuddy Jan 1 '12 at 17:06
I edited my question. I hope this is now REAL and clear. Could you please re-consider? Sorry for my poor English. –  gt_ebuddy Jan 2 '12 at 4:15
@gt_ebuddy: You can use the Task Scheduler for this, just set the event of the task that runs the shutdown command (with the right parameters) to run whet the certain event is made. You can find the event ID by looking at the details of the event in the event log. –  Tom Wijsman Jan 2 '12 at 5:15
@gt_ebuddy Your English is generally fine, I wouldn't worry. Use Google Translate (translate from English to Nepali so you can see if it makes sense). Your clarification of the question really helped me understand what was going on, what you were trying to find out... Have you tried taking the battery out of the computer while you're at work? This would let the laptop run on the power adapter, and when there is a blackout, or the electricity goes out, the computer will turn off. BIOS settings can turn the computer on when power restores, and you can have your VPN software start automatically. –  wizlog Jan 2 '12 at 5:44
show 4 more comments