You should exercise the battery, so it can be able to hold as much power
as intended, over the expected life of the battery; and avoid letting the
computer battery run totally flat because that may cause the battery to
no longer hold as deep of a charge, thereby shortening its lifespan.
• About Mac notebook batteries - Apple Support
• How to store Apple notebook computers and their batteries - Apple Support
•Batteries - Maximizing Performance - Apple:
http://www.apple.com/batteries/maximizing-performance/#macbooktips
• Use 'Activity Monitor' on your Mac - Apple Support
• Apps can affect Mac performance, battery runtime, temperature, and fan activity - Apple Support
• Apple Portables: Troubleshooting MagSafe adapters - Apple Support
There are automatic regulation circuits inside the MacBook/Air & other
model portable Apple computers to help not overcharge batteries. The
battery life depends on other factors outlined in the Support links above.
Good luck & happy computing! 🙂