The battery is one of the most crucial components of a laptop that needs to be monitored more than others to maintain the device’s “productive life” and also to get the maximum number of years of laptop use. Especially considering the difficulty of replacing the battery in modern devices in general, where the battery is non-removable and requires complete disassembly of the device.
As the Windows system does not provide sufficient means to extend battery life, there are many other methods that can be relied upon to get an instant notification when the laptop battery is fully charged. This way, when the charge reaches 100%, an alert sound is issued to disconnect the charger to prevent the battery temperature from rising and also to avoid increasing the number of charging cycles at a fast pace. Let’s start reviewing these methods.
Method 1: Creating a VBScript
This method is the best if you want to activate an alert when the laptop battery is fully charged without installing any additional programs on the device. It relies on creating a VBScript or a simple “Visual Basic” code that tells the Windows system to display a notification on the screen as soon as the battery is fully charged 100% or when it reaches a certain percentage. One of the advantages of this method is also that the VBScript will display repeated alerts until you disconnect the charger so that you do not ignore the notification at all.
set oLocator = CreateObject(“WbemScripting.SWbemLocator”)set oServices = oLocator.ConnectServer(“.”,”rootwmi”)set oResults = oServices.ExecQuery(“select * from batteryfullchargedcapacity”)for each oResult in oResultsiFull = oResult.FullChargedCapacitynextwhile (1)set oResults = oServices.ExecQuery(“select * from batterystatus”)for each oResult in oResultsiRemaining = oResult.RemainingCapacitybCharging = oResult.ChargingnextiPercent = ((iRemaining / iFull) * 100) mod 100if bCharging and (iPercent > 95) Then msgbox “Battery is at ” & iPercent & “%”,vbInformation, “Battery monitor”wscript.sleep 30000 ‘ 5 minuteswend
After pasting the command into the Notepad window, you can set the percentage of the battery level according to your needs. For example, the code by default displays a notification after exceeding a 95% charge level, but this value can be modified through the last part [bCharging and (iPercent > 95)] where you replace 95 with any number from 1 to 99 where this number expresses the percentage at which the alert notification will appear when it is exceeded.
Now, click on the File section from the toolbar at the top, then choose from the drop-down menu the Save As option and determine the location to save the file. You can initially set the desktop now. The most important thing is to change the name through the File Name field where the file name must end with the format (vbs.) Then from the Save as type menu, we select the All Files option and then click on the Save button at the bottom to save the file in the specified location.
With that, you now have a small program to alert you when the charge is complete. All you have to do is double-click on it to run it. The script works silently in the background where you will not see any icon on the taskbar or a sign indicating the execution of any command, but you will find it in the Task Manager as one of the currently running processes.
As soon as the battery charge exceeds the specified percentage, a notification will appear showing you the current percentage [as shown in the attached picture above] and you can then remove the charger cable from the device to preserve the battery life for as long as possible.
Please note that this script will not work permanently in the background. If you shut down the computer and restart it, you will need to run the code again by double-clicking on its icon. You can make this command automatic, i.e., the script is run as soon as the computer is turned on, by adding the file to the Startup folder.
All you have to do is open the Run tool by pressing the Win + R keys together, then type the command [shell:startup] and press Enter to show you the folder, then you drag the script file to add it to the folder. Thus, it starts working as soon as the device is turned on automatically.
Method 2: Using the Battery Alarm & Analytics App
If you don’t mind using an external program that performs the task in a simpler and easier way, you should try the Battery Alarm & Analytics app. It alerts the user by sound when the laptop is fully charged, just like in Android phones and iPhones with the help of Siri.
The app is easy to use and the only thing you need to do is install it and allow it to work constantly in the background so that it constantly monitors the battery charge percentage and when it arrives at the chosen percentage, it displays a notification on the desktop and starts playing the alert you set.
By default, the app informs you when the laptop battery reaches 90% of the charge, but this can be customized by moving the bar located under the “Full Battery Notification” section. To set the alert sound you want to hear every time the charge percentage reaches the set percentage, press Notification tone. The app comes with a large number of ringtones or alert sounds that can be set. All you have to do is click the Play button to listen to a preview, and when you like the tone, press Set audio. If you want to add a voice message or an existing mp3 file on your device, press the plus (+) sign at the top to add it so you can listen to it every time the laptop battery is fully charged.
Once you have finished setting the charge percentage and setting the alert tone, every time the device’s battery reaches the set percentage, you will see a notification on your screen with the sound of the alert, which will not stop until you disconnect the charger. The notification also tells you the remaining time to use the device without a charger. It is worth mentioning that the Battery Alarm & Analytics app does not only notify the user when the battery is fully charged, but also allows setting notifications to inform us when the battery charge level is very low. As is the case with full charging, you can choose the percentage and the alert tone for the low battery notification, from the Low Battery Notification section.
In general, Battery Alarm & Analytics can help you extend the battery life, especially if you are used to using the laptop as if it were a personal computer PC, i.e., connected to the charger all the time. And we don’t need to confirm that any device’s battery is one of the components that suffer more than others when the device spends long periods connected to the charger.
Method 3: Using the Battery Notifier Program
Oneof the simplest and easiest programs that can be used to get an alert when the laptop battery is fully charged is the Battery Notifier program. This program is characterized by its small size and simplicity, as it does not contain any complicated settings, but it performs its task with high efficiency. The program is completely free and does not contain any annoying ads, and it does not consume a lot of device resources, which makes it suitable for all types of devices, even those with weak specifications.
After downloading and installing the program, it will appear in the taskbar at the bottom right of the screen. By clicking on its icon, you will see the current battery charge percentage and the remaining time to use the device without a charger. To set the alert, click on the Settings option from the drop-down menu, then in the new window that appears, you will find two main options, the first is to set the alert when the battery is fully charged, and the second is to set the alert when the battery charge level is very low.
In the Full Battery Alert section, you can set the percentage at which the alert will appear when it is exceeded. By default, the program is set to display the alert when the battery charge exceeds 90%, but you can change this percentage according to your needs. As for the Low Battery Alert section, it is also set by default to display the alert when the battery charge level drops below 20%, but you can also modify this percentage according to your needs.
Once you have finished setting the alert percentages, you can now choose the alert sound that will be played when the battery is fully charged or when the battery charge level is very low. The program comes with a number of alert sounds that you can choose from, or you can add any mp3 file from your device to be played as an alert sound. To do this, click on the Browse button next to the Sound option, then choose the mp3 file you want to set as an alert sound.
After finishing all the settings, click on the Save button at the bottom to save the changes. Now, every time the battery charge exceeds the set percentage, the program will display a notification on the screen and start playing the alert sound. The same thing will happen when the battery charge level drops below the set percentage. The program works in the background and does not consume a lot of device resources, and it starts working automatically every time the device is turned on.
In conclusion, these are some of the best methods that can be relied upon to get an alert when the laptop battery is fully charged. These methods can help you extend the battery life and get the maximum number of years of laptop use. It is worth noting that the methods mentioned above are not the only ones, but they are the best and most effective.