Limit battery charge in Windows

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).

Thanks in advance.

2 Likes