shrex in battery settings, the battery health toggle that says “if you charge your phone over night blablabla” enable it and normally it will slow down the charge above 80% (if i’m not wrong) but this work only if you have a alarm set for the morning, if you charge over night, etc… etc… I can’t remember all the condition