There is so much confusion, misinformation and naive testing about this topic.
I've only learned about this "80% battery thing" when researching EVs recently and it seems to have been (maybe) spawned by the Nissan Leaf many years ago.
And now it's appearing on HN seemingly once a week. What has changed? Is someone running an information(or disinformation) campaign? Blog or app to promote?
I've not spoken earlier for fear of being downvoted into oblivion: I am sorry to say, but this 80% nonsense is just ... terrible advice and is 90% wrong. Like "skipping a daily coffee will let you retire 10 years sooner" wrong. (And all these lovely graphs I see thrown around are from poorly setup and poorly controlled tests using small samples or maybe even they're faked idk).
To be horribly simplistic about it, the biggest factor in battery ageing is thermals. So if you want actionable advice on increasing the longevity of your battery (in the mobile phone context):
Don't let it get hot, which means things like:
* Take off that awful plastic insulator you call a phone case. (But we need phone cases)
* Charge it slowly. Lower charge rate = less heat = happier battery. (But people love charging their phone in 1 minute)
* Charge at human ambient temperature. (But on my bed, in the sun is easier)
I guess those are inconvenient and poor sound bites. I'm sorry, but consumer devices (especially phones) have poor thermals and the environment they're subjected to sucks. That's just a fact of life (and economics and physics).
Very simplistically, the only way "charge to 80% only" *might* be helping you is by keeping the battery cooler (In which case the above advice is much better).