Windows Smart Charge?

And making a batch file with the following scripts, I can now change my charge limit to 80 or 100 just by double-clicking on the desktop.

bat80.bat

framework_tool --charge-limit 80
pause

bat100.bat

framework_tool --charge-limit 100
pause

And I can even get the scripts to automatically run with administrator privileges using https://stackoverflow.com/a/13811519/, which results in only 1 popup window and is less annoying to me.

Shortcut setting to always run as admin:

Huh, so it doesn’t even work though. That’s disappointing.

I run the tool, it confirms it set max to 60%.

C:\Windows\System32>framework_tool --charge-limit 60
Minimum 0%, Maximum 60%

But then after plugging in overnight, it’s back to 100% again.

Is the device off when you have it plugged in over night?

I’ve definitely tried with device sleeping. Don’t think I’ve tried with it off yet.