Skip to main content

Automatically Hibernate Your Laptop on Power Failure

It’s very common and even natural for people to run their laptops on AC power whenever an AC source is available to conserve battery. The practice makes sense in regions where power supply is erratic and prone to prolonged power cuts. By making sure your battery is fully charged you can avoid disruption of work when the power fails. While some people prefer to keep their batteries full, doing so for extended periods of time everyday can weaken the battery and it’s ability to hold charge over time. At times, however, this cannot be avoided. There are some tasks that cannot be run off the battery. Windows, for example, refuses to run Windows Experience Index test unless connected to the AC power.

No matter how careful you are with your laptop’s battery, sooner or later the battery will fail to provide adequate power to the laptop and you must run it on AC power to avoid the computer from shutting down. If the battery is at critical levels and cannot do without AC power for more than a couple of minutes, running unattended programs on the laptop poses a problem.

Most laptops come with some kind of power management software that can automatically shutdown or hibernate the laptop once the battery level drops below a threshold. But this doesn’t save battery power. By the time the laptop shutdown or hibernates, you are already down on battery power. To avoid a situation where you need to conserve battery power, you need a way to automatically hibernate the laptop once the AC power fails. This can be achieved using a tiny program called HibernateOnPowerFail.

Just copy the 15KB executable file to the location you want to keep and run it as an Administrator (right-click > Run as Administrator). The program will install itself as a system service, which means it can hibernate the computer without anyone logged in. Once the service is created, you must not move or delete the program. If you don’t have administrative rights, the program runs as an ordinary application. Then you have to restart it every time when you log on, or place it into the autostart folder.

Beware: Do not run the program in your laptop if the AC power is not connected as it will immediately send the laptop into hibernation. Do not attempt to turn on the laptop either without first plugging into an AC source.

hibernateonpowerfail

While it does the job, i.e. automatically hibernate the computer as soon as the AC power fails, it poses two grave problems. First, the thing happens too quickly and without warning. It doesn’t give you time to save your work or fire off that all important email you were typing. It happens abruptly, as abruptly as losing power to a computer that doesn’t have a backup UPS. Secondly, it’s impossible to turn on the laptop until AC power returns. If you try to power on the laptop, it will immediately go back to hibernation as soon as Windows gets to the login screen.

HibernateOnPowerFail effectively turns the laptop into an AC power-only device, which is something I’m sure you won’t like very much.

I advise users to exercise caution when using this program: use only when needed, and remember to shutdown the service (by going into Services Manager) once the job is done. This isn’t something you can keep running in the background and forget. The result can be frustrating.

Related: Enable/Disable Windows hibernation on demand

Comments

  1. Actually, no, if you'd read the whole thing. Windows sends a notebook into hibernate if the battery dies, whereas this service/application puts a laptop into hibernation as soon as the power fails, that is, the laptop goes on battery backup rather than direct AC source. Quite a difference, I'd say.
    rugged laptop computers

    ReplyDelete

Post a Comment

Popular posts from this blog

How to Schedule Changes to Your Facebook Page Cover Photo

Facebook’s current layout, the so called Timeline, features a prominent, large cover photo that some people are using in a lot of different creative ways. Timeline is also available for Facebook Pages that people can use to promote their website or business or event. Although you can change the cover photo as often as you like, it’s meant to be static – something which you design and leave it for at least a few weeks or months like a redesigned website. However, there are times when you may want to change the cover photo frequently and periodically to match event dates or some special promotion that you are running or plan to run. So, here is how you can do that.

69 alternatives to the default Facebook profile picture

If you have changed the default Facebook profile picture and uploaded your own, it’s fine. But if not, then why not replace that boring picture of the guy with a wisp of hair sticking out of his head with something different and funny?

How to remove watermark from an image or picture

A watermark is any recognizable text, logo or pattern that appears over an image to identify the owner of the image and generally used to prevent unauthorized reuse of the image. Watermarks are usually transparent and can be difficult to remove. The difficulty or ease of removal depends on the content of the image and the position, color, size etc of the watermark.