I am looking for a way to limit my battery charge to 60% in Windows 11 on my AMD 13. I would love to use a bat file or PowerShell. I know this can be done from the BIOS, but being done from the OS would be awesome. If this has been answered before, I am really sorry (I searched and could only find an answer for linux).
I would also like this feature. My laptop usually lives on the desk, so I keep it plugged in and lower the charge limit. However, before traveling, I increase the charge limit. I would prefer not having to reboot the system to go into BIOS, and just being able to raise the charge limit from the OS.
There is an article on Exploring the Embedded Controller that @DHowett developed that talks about interfacing with the embedded controller that could change the battery charge state. There is a ton of reading and so many things that can be done; it may be a little overwhelming.
It might be possible to install Hyper-V or VirtualBox and a Linux flavor and then interface with the EC. This may be more effort than it is worth though and booting to the BIOS to change the charge level is the easier solution until a dedicated tool exists to adjust these settings native to Windows.
I’m on AMD|16"|Windows11 and rather not mess with Secure Boot, so TomsonTom’s PR that adds support via WinRing0 seems ideal. However that hasn’t been merged into Dustin’s main branch.
Since that thread seems more appropriate, I’ll ask there what’s the state of affairs, as it may be as simple as just merging and letting the CI build the artifacts
As a developer working on a Python-based Framework Hub for windows, I would greatly appreciate if this functionality could be integrated too. It would provide seamless compatibility and significantly enhance the integration process within the framework I am building.
I hope this suggestion aligns with future development plans, and I am eager to see its potential inclusion!