Is this what are you talking about? I saw last night iPhone charged to 100% and after reach 100% stopped charging and started draningFrom Apple:
"With 80% Limit enabled, your iPhone will occasionally charge to 100 percent to maintain accurate battery state-of-charge estimates."
Maybe that's the culprit?
🤔
About Charge Limit and Optimized Battery Charging on iPhone - Apple Support
To improve the lifespan of your battery, your iPhone learns from your daily charging habits.support.apple.com