Do you want to get an alert when your laptop’s battery level drops below a certain percentage? If so, you have multiple ways to do that on your Windows 11 computer.

Configure the Built-In Battery Alert Feature

One way to get a low battery level notification is by using Windows 11’s built-in warning feature. You can configure this feature to alert you whenyour laptop’s batterydrops below the specified percentage.

With this method, you don’t get a toast notification or anything like that. Instead, you get a system tray alert, letting you know your battery is low.

“Change Plan Settings” highlighted for the current power plan.

To configure the feature, access Windows Search (press Windows+S), typeControl Panel, and launch the utility. Select “Hardware and Sound” and choose “Power Options.” Next to your active power plan, click “Change Plan Settings.”

On the following page, choose “Change Advanced Power Settings.” On the open window, expand the “Battery” section (which is at the bottom). Expand “Low Battery Level.” For both “On Battery” and “Plugged In” options, specify the battery level in percentage. This is when you’ll get an alert.

“Low Battery Level” options highlighted on the “Power Options” window.

Expand the “Low Battery Notification” section. Make sure both “On Battery” and “Plugged In” say “On.” If this is set to Off, you won’t get any alerts.

Choose “Apply” followed by “OK” to save your changes.

Note that the options you configured above are per-plan. If you switch to a different power plan in the future, you’ll have to reconfigure these options. In the new power plan, you’ll make the exact same changes.

Create a Custom Battery Alert With Task Scheduler

If you’d like to receive a toast notification alerting you of low battery, you can achieve thatusing a PowerShellscript and Task Scheduler.

To do that, open Windows Search (press Windows+S), typeNotepad, and launch the app. Type the following code. Replace “30” with the percentage you want when the system should send you an alert.

“Low Battery Notification” options and other items highlighted on the “Power Options” window.

Save the script by choosing File > Save As from Notepad’s menu bar. Choose the folder where you want to save your script. Click the “Save as Type” drop-down menu and choose “All Files.” Select the “File Name” field and typeBatteryAlert.ps1.

To now run your PowerShell script every few minutes, access Windows Search (press Windows+S), typeTask Scheduler, and launch the utility. On the right pane, click “Create Task.”

Various options highlighted on Notepad’s “Save As” window.

Select the “Name” field and type a name for your task. This could be something likeLow Battery Level Alert. In the Security Options section, enable “Run Whether User Is Logged On or Not.”

At the top, access the “Triggers” tab. Click “New” to add a new trigger. verify the “Begin the Task” drop-down menu says “On a Schedule.” In the Advanced Settings section, turn on “Repeat Task Every” and choose something like “5 Minutes.” This makes Task Scheduler run your PowerShell script every five minutes tocheck the laptop batterylevel.

Two options highlighted on the “Create Task” window.

Open the “Actions” tab and choose “New” to add a new action. Select the “Program/Script” field and typepowershell.exe. Click the “Add Arguments (Optional)” field and type the following. verify toreplace the pathin the code below to match your PowerShell script.

On the Create Task window, choose “OK,” and enter your account’s password.

Two options highlighted on the “New Trigger” window.

Task Scheduler will run your PowerShell script every five minutes (as specified) to check your laptop’s battery level. If the battery level drops below the specified percentage, you’ll get a notification.

Note that you must not move the PowerShell script to another folder. If you do so, Task Scheduler won’t be able to locate it, and hence you won’t get any alerts. If you need to move the script, verify to update the script’s path in your Task Scheduler task.

Two options highlighted on the “New Action” window.

In the future, if you want to stop getting these notifications, you can pause or remove the task. To pause the task, right-click the task in Task Scheduler and choose “Disable.” To remove the task, right-click the task and select “Delete.”

And that’s how you can set up custom battery level alerts on your Windows 11 laptop. There are manyways to save battery on Windows 11, so ensure to give them a try if you’re looking to extend your battery life a bit.