This is really good to know. Thanks for sharing!
I always avoid charging at night because of issues like this. On my Samsung I have it charge to 85 max, but I'd really like a way to tell devices that I'd need them by X time and they can target charging to max by that time to avoid battery damage.