Welcome to our peer-to-peer forums, where owners help owners. Need help now? Visit eSupport here.

English Community

Software and Operating SystemLenovo Vantage Knowledge Base

Q&A - setting a ThinkPad battery charge threshold by script


 How can I set (or disable) a battery charge threshold on my ThinkPad computer without using Vantage?


It can be done in the following steps:

1.  Confirm that the Lenovo Power Manager device is installed in Device Manager -> System Devices.  This driver is installed automatically by Windows Update.  (See note below if you are deployment engineer and want to deploy the driver as part of MDT or SCCM.)

2.  Download ChargeThreshold.exe

3.  To set the charge threshold as 80%, run this command from a command prompt:  ChargeThreshold.exe on 80

4.  To disable the charge threshold:  ChargeThreshold.exe off

5.  To see more options:  ChargeThreshold.exe


Note for deployment engineers:

The Lenovo Power Manager driver can be imported into your driver store, same as the SCCM driver package.  You can get it here:  https://support.lenovo.com/us/en/downloads/ds541411

Was this information helpful?

Yes No


userXt On 2019-01-30, 13:54 PM

What could be the cause if the set threshold resets immediately? (see picture)


someotherguy On 2019-01-30, 13:57 PM

, what model ThinkPad and BIOS version do you have?

userXt On 2019-01-30, 14:47 PM


I have a Thinkpad T480s - 20L7CTO1WW

BIOS: LENOVO N22ET50W (1.27 ), 07.11.2018

someotherguy On 2019-01-30, 15:05 PM

It's the same I have here, but mine works.  I'm asking author of ChargeThreshold.exe what could cause your problem and how to debug it.  Please wait.


someotherguy On 2019-01-31, 12:55 PM

, the author of ChargeThreshold.exe can't imagine how your problem happens, and we can't reproduce it here.  I'm going to send you a private message with a method to collect some logs that might give us a clue.

userXt On 2019-01-31, 12:59 PM

OK, thanks!

Carlotronics On 2019-03-10, 19:05 PM

Hi, I have the same problem as userXt with a Thinkpad T480

Have you found a solution?

userXt On 2019-03-11, 8:17 AM

 Hi Carlotronics ,

yes, they fixed this.

You have to download and install this fix: https://forums.lenovo.com/t5/Pre-Installed-Lenovo-Software/Lenovo-Vantage-constantly-resets-power-settings/m-p/4351839/highlight/true#M34305


Basically, this error occurs in some Eruopean Versions of Windows 10.


Have a nice day!

Eugene2019 On 2019-03-25, 22:28 PM

Charging threshold is amazing feature. 90% of time i use laptop connected to dock. Sometimes i disconnect it to make a call in quite place. So 60% (charge until 95%) threshold works great for me. But sometimes i take my laptop, for example, on weekend. And want to charge it till 100%. So with this scritp i can change the threshold values with just two clicks on shortcuts ( example: first- charge below 50% and stop at 100%, second (after full charge) - 60% and 95%. But it still two clicks. I think the hotkey or a hardware button like "charge 100%" will be very usefull. Thanks a lot for this script!!


and one more question: what is the best value of battery charge for using with dock? 95 is better than 100, that i know. but may be the lower value will extend battery life?

Community Guidelines

Please review our Guidelines before posting.

Learn More

Check out current deals!

Go Shop