Did you try using Chargie? It's a phone charge limiter that interrupts power at your chosen charge level, automatically, during the night. I've been using it for the past 7 months on my Poco F1 and it still goes all the way up to 4000mAh per cycle. Just google it. Chargie dot org.