Create laptop battery full charge notification on Windows 10
if for some reason, you want to be notified when your laptop battery has been fully charged, then the Windows OS will not be able to help you as such. You can change Critical & Low Level Battery Action and change Low Battery Level Notifications. too, but there is just no setting available that tells you when your laptop battery has been fully charged. In this post we will see how to create a battery full charge notification, alert or alarm for your Windows 10 / 8 / 7 laptop, without using any software.
Create laptop battery full charge notification
Open a Notepad on your Windows desktop, and copy paste the following code in it.
set oLocator = CreateObject("WbemScripting.SWbemLocator") set oServices = oLocator.ConnectServer(".","root\wmi") set oResults = oServices.ExecQuery("select * from batteryfullchargedcapacity") for each oResult in oResults iFull = oResult.FullChargedCapacity next while (1) set oResults = oServices.ExecQuery("select * from batterystatus") for each oResult in oResults iRemaining = oResult.RemainingCapacity bCharging = oResult.Charging next iPercent = ((iRemaining / iFull) * 100) mod 100 if bCharging and (iPercent > 95) Then msgbox "Battery is at " & iPercent & "%",vbInformation, "Battery monitor" wscript.sleep 30000 ' 5 minutes wend
From the Notepad File menu, select Save as, and then from the save as dialog box which appears, under Save as type, select All files.
Next give the file any name, along with extension as .vbs. For instance you may name the file as FullBat.vbs. Click on Save to save the vbs script to your desktop or any other location of your choice.
You may also right-click on it and select Create shortcut. Once you have done this, move the shortcut to the Windows 10 startup folder located at:
C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp
This way, everytime your laptop boots, the script will start monitoring. That is all you need to do.
You may also click on it right away to start running the script immediately. Once it runs, it will start monitoring your battery status.
When your battery charge exceeds 95%, you will hear an alarm and see the following notification pop up.
The scrip sets the notification to appear when it crosses 95%. If you wish, you can change it to 99%.
It worked for me. Let us know if it worked for you too.
Battery Alarm and Laptop Battery Monitor are good freeware that will tell you when your battery is fully charged. Take a look at them too. BATExpert is another good tool that may interest you as it shows you the current status of the battery installed in your laptop and also provides other detailed information about it like the battery type, manufacturer, voltage and temperature, etc.
Comments
Post a Comment