The 40-80 rule for lithium-ion batteries is a recommended guideline to extend the life of the battery. The rule suggests that you should charge your lithium-ion battery to a maximum of 80% and discharge it to a minimum of 40% to keep it in good condition.