BatteryAlert is a PowerShell script that helps you manage your laptop battery health by notifying you when the battery is low at 30% or fully charged at 80%.
Maintaining a charge between 30% and 80% is endorsed by most laptop manufacturers as it contributes to prolonged battery lifespan, minimizing unexpected shutdowns, and optimizing long-term performance.
For more information:
- HP - How Long Should I Charge My HP Laptop Battery?
- Battery University - BU-808: How to Prolong Lithium-based Batteries
-
Download the Script:
- Download latest release from this repo.
-
Copy Script Folder:
- Extract zip and Copy the BatteryAlert Folder to "C:\Program Files".
-
Open Task Scheduler:
- Press Win + S to open the search bar.
- Type "Task Scheduler" and press Enter to open Task Scheduler.
-
Import Task:
-
Save BatteryAlert Task:
-
Start BatterAlert Task Manually:
- (Optional) After All the installation, you can better restart your laptop to read battery percentage and run the script properly.
- If you find that BatteryAlert is not running, In task scheduler follow above step 6.
- This script supported for Windows 7+.