I am doing research on best practices for my lithium batteries and lifepo4 powerstation. There's some conflicting opinions and variation for cycle numbers.
Will leaving my things plugged in at 100% hurt it more than constantly unplugging at 80% and replugging at 20%?
iPhones figure out when you usually take your phone off the charger (e.g. based on your wake up alarm setting, but I think it also does some machine learning) and when you charge your phone it only charges it to 80%. Then, just before you are expected to take it off the charger in the morning it charges it to full. That way the battery spends less time above 80% charged.
My android pixel does the same.