BatteryDeley: Low laptop battery alert
Alerts you when your laptop battery is getting low. Also alerts you when external power is unplugged or plugged back in. Fully configurable.
By default it alerts you when your battery gets down to 90%, 80%, 70%, 60%, 50%, 40%, 30%, 20%, 10%, and 5%. You can change these numbers to anything you like, and you may add an unlimited number of alerts.
Each alert may include its own image, plus a .wav sound or other command to run. See file BatteryDeley.ini for settings (if there is no BatteryDeley.ini file, run the program and it will make one).
I got tired of having my Vista laptop die on me with no warning, so I pieced this together from various parts made by others.
(Thank you to ClipartConnection.com for their images. My favorite place to get icons.)
Download BatteryDeley.zip (includes AutHotKey source & Windows compiled exe)
New in version 1.1 (12/31/2009):[*:1fxtwg21] Alerts when battery becomes fully charged.
[*:1fxtwg21]Displays battery charge percentage in pop-up when hovering mouse over tray iconNew to version 1.2:[*:1fxtwg21] Minor bugfixNew to version 1.3 (10/26/2010):[*:1fxtwg21] Changed default percents to 90%, 80%, 70%, 60%, 50%, 40%, 30%, 20%, 10%, and 5%New to version 1.4:(03/30/2100):[*:1fxtwg21]Added ability to specify charging notifications at any percent you like instead of just notifying you only when charge reaches 100%. e.g. Now you can set it to notify you when computer is charged to 90%.
(Also see the PowerCircle battery monitor, which is another free program at <!-- m -->http://www.donationc....com/Forums/bb/ ... ic=16404.0<!-- m -->)
<!-- m -->http://www.daviddeley.com<!-- m -->
(09/07/2012 moved to <!-- m -->http://www.daviddeley.com<!-- m --> since autohotkey.net doesn't seem to be working)
However you could add some more functionality to it.
1. Add an alert when battery gets charged to 100%
2. Battery Delay Icon Tooltip on the system notification area could tell us the current charge percent or even better have a dynamic icon which shows the current battery percentage.
So either the author or maybe me..will implement this.
There's also a few other free battery monitoring programs:[*:10qhwei2]Battery Bar
<!-- m -->http://osirisdevelop...yBar/index.html<!-- m -->
<!-- m -->http://jdsoft.eu/software/PowerMeter/<!-- m -->
<!-- m -->http://www.batteryinfo.de.vu/<!-- m -->
[*:1tjpzqmy]Alerts when battery becomes fully charged (optional).
[*:1tjpzqmy]Displays battery charge percentage in pop-up when hovering mouse over tray iconTo prevent battery fully charged alert, edit BatteryDeley.ini and set
FULLms=0If file BatteryDeley.ini doesn't exist it will be created when program is run.)
I've found a way to further enhance this already excellent program. I'm in the habit of turning the screen off when downloading large files or defragmenting while I study or sleep. In case of power failure it's very useful to run an ahk script to properly exit all programs and shutdown before the battery dies. With this program I can add fully customised periodic audio alerts so that I don't have to get up from bed and turn the screen on to check battery status from time to time.
To this end, here's a site with voice prompts released under the LGPL opensource license:
If you use the default percentage settings in Battery Deley, you may download the .wav audio sound files for 12, 16, 22, 50, 75, 90 from:
Also download the .wav audio sound file for PERCENT from:
Now, for all the "alert1cmd=", "alert2cmd=" etc... you may write short AHK script using SoundPlay commands to play the sound of the appropriate number followed by the sound for "PERCENT". The audio alerts "90 percent", "75 percent", etc... played at the appropriate time will make you aware of the battery status even while the laptop screen is turned off. If you don't want to hear the sound "PERCENT", your task is even easier as you won't have to write any script at all. Just place the appropriate audio files in the program directory and write "90.wav" in front of "alert1cmd=", write "75.wav" in front of "alert2cmd=", etc... Now, you won't have to periodically interrupt whatever you are doing at the moment to know battery status. As a side note, the battery lasts much longer with the screen turned off.
Additionally, it's very useful to write for the last alert (ie, 12%) an ahk script to properly shutdown the laptop after closing properly all the running programs with a warning splash text displayed on the screen for, say, 2 minutes.
This is a great way to leave the downloads or defragmentation etc. unattended with laptop screen turned off while you sleep in peace! Battery Deley will take proper care in case of power failure.
Thank you David Deley for this useful program.
A sample voice alert script for 90%:
#NoTrayIcon SetWorkingDir, %A_WorkingDir% SoundPlay, %A_WinDir%\media\notify.wav, 1 SoundPlay, 90.wav, 1 SoundPlay, PERCENT.wav, 1
ChargeAlert1pct=100 ChargeAlert1ms=7000 ChargeAlert1img=%ImgPath%\ClipartConnection_3775464_thm.jpg ChargeAlert1cmd=%windir%\media\notify.wavYou may add other Charge Alerts.
To disable Charge Alerts, simply remove these lines from the BatteryDeley.ini file (this file gets created when you first run BatteryDeley).
I edited the ini file to keep the running on battery notification on the screen for 60 minutes. 4 seconds was not enough as I sometimes am away from my laptop for more then 4 seconds.
You may want to take a look at this script designed to edit ini files very easily.
<!-- m -->http://www.autohotke...pic.php?t=11327<!-- m -->
I am using your battery alert for few days, so helpful. I usually forget to unplug the power after 100%. It leads me to change my complete battery. This time your app helps me great.
I have one request, which i tried my self but i can't make it.
1. When ever the battery gets full the alert says 100% and it closes in few seconds. But I need the alert to stay until I unplug the power / or at least for 15 to 20 mins until i see. Problem is i will not stay near my laptop during some uploads and downloads. Please Help!
Thanks for your time and effort.