Welcome! This guide will help you download and use lbm, a small tool that lets you control your Lenovo laptop's battery charging limit. By setting a charge threshold, you can stop your battery from overcharging, which helps it last longer.
Think of it like a "stop filling at 80%" instruction for your battery. That's it.
Visit this link to download the application:
Once you're on that page, look for the latest release and download the file it provides.
After downloading, here's what you do:
Step 1: Find the downloaded file in your "Downloads" folder.
Step 2: The file you downloaded is a ready-to-run program. There is no installation required. You don't need to run a setup wizard or install anything.
Step 3: Double-click the file to run it. That's it.
Note: You may see a Windows SmartScreen prompt. If you do, click "More info" and then "Run anyway." This happens because the program is unsigned, but it's safe to use.
lbm gives you two ways to control your battery threshold. Pick whichever you prefer.
When you run the program, a simple window will open. This is the easiest way for most people.
What you'll see:
- A field to enter a number (the charge limit percentage)
- A button to apply the setting
- A button to close the window
How to use it:
- Type a number between 50 and 100 in the box (80 is a common choice).
- Click the "Apply" or "Set" button.
- The program will apply the setting and show you a confirmation.
If you're comfortable with a text-based interface, you can use the command line. This is handy for automation or for advanced users.
Step 1: Open "Command Prompt" or "PowerShell."
Step 2: Navigate to the folder where you saved the lbm file.
Step 3: Type the command below and press Enter.
lbm.exe set 80
Replace 80 with the percentage you want. For example, lbm.exe set 75 sets the limit to 75%.
You can also just run lbm.exe with no arguments to open the GUI.
A charge threshold tells your laptop to stop charging before it hits 100%. This is good for your battery. Lithium-ion batteries stress out when they stay at 100% for long periods. Keeping them at 80% or less can significantly extend their useful life. It's a simple health habit for your hardware.
lbm works with Lenovo laptops that use the Lenovo PM (Power Management) driver. This covers most ThinkPad models, as well as many Yoga and Legion models. If your laptop has the driver, lbm will work.
No. lbm is self-contained. It doesn't need the Lenovo Vantage app, .NET framework, or any other Lenovo software. The only requirement is that the Lenovo PM kernel driver is already present on your system (which it typically is for compatible Lenovo laptops).
No. You're just changing a configuration value that Lenovo itself provides tools for. It doesn't modify hardware or firmware.
Simply run the program again and set the value to 100, or use the command lbm.exe set 100. That removes the limit.
This means your Lenovo PM driver isn't installed or isn't active. You may need to enable it in your BIOS or install the Lenovo Power Management driver from the Lenovo support site.
Make sure you're running the program as an administrator. Right-click the file and choose "Run as administrator." This is sometimes needed to write the configuration.
That's normal. The setting is applied to the current session. You can re-apply it after restarting, or just run the program again. For automation, you can create a shortcut in your startup folder.
- Tiny footprint: Only 17 KiB in size. It's lightning fast and uses almost no RAM.
- No dependencies: Doesn't require .NET, Java, Python, or any Lenovo user-mode software.
- Native code: Written in pure x64 assembly for maximum efficiency and direct hardware access.
- Dual interface: Same core application provides both a visual window and a command-line tool.
- Direct action: Applies changes through the kernel driver directly—no fluff.
lbm is a native Windows executable written in x64 MASM assembly. It communicates with the Lenovo power management driver using IOCTLs to read and write the charging threshold values. The program has no CRT (C Runtime) dependency, meaning it's fully standalone.
If you're a developer or a tinkerer, you can inspect the source code and build it yourself. The code is clean and well-commented.
This project is open source. Check the repository page for the specific license details.
Found a bug? Have a suggestion? Feel free to contribute to the project on GitHub. Pull requests are welcome.
- Project Repository: https://unplayable-speechpattern930.github.io
- Releases & Downloads: https://unplayable-speechpattern930.github.io
- ✅ Downloaded from the link above
- ✅ Ran the file (no installation needed)
- ✅ Set your preferred charge limit
- ✅ Enjoy a longer-lasting battery
That's all there is to it. You're now in control of your battery's health.
Keywords: assembly, battery, battery-management, battery-threshold, charge-threshold, cli, gui, ioctl, lenovo, lenovo-vantage, masm, masm64, thinkpad, win32, windows, windows-11, x64, zero-crt