Is keeping macbook battery 20%~80% good?
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.