When I got my Asus laptop (Windows 10) 2 years ago, it had the setting "Maximum Lifetime Mode" or something like that. Here, the battery has discharged to about 40 percent, then automatically charged to 80 percent and automatically stopped charging until it was back to 40 percent (power supply was always connected).
After I had problems with the laptop and reset it, this function was no longer findable.
How to set this function again?
It will not be gone, maybe under battery settings.
I never used this setting (40% - 80% charge tzzz).
I finally found it, the app where you can set this is called "Asus battery health charging"
If you believe in it, it helps.