Is keeping macbook battery 20%~80% good? [duplicate]

I heard that keeping macbook battery in 20% to 80% is good.

Is it true? or what is the best way to use macbook best way?


Apple Lithium-ion Batteries

See https://www.apple.com/batteries/ and https://www.apple.com/batteries/maximizing-performance/ for Apple's authoritative recommendations.

They’re inside every iPhone, iPad, iPod, Apple Watch, MacBook, and AirPods, helping you do all kinds of things in all kinds of places. Find out more about your battery to get the most out of it throughout its lifespan — and beyond.