This is built-in on the latest versions on Android. Open the Settings app, then Battery -> Battery Health -> Battery optimisation and choose Limit to 80%.
This is built-in on the latest versions on Android. Open the Settings app, then Battery -> Battery Health -> Battery optimisation and choose Limit to 80%.