Battery Toolkit Is the Best Free App for Managing Your MacBook's Battery
Battery Toolkit lets you keep your Macbook's battery percentage between two pre-defined values. It also allows you to charge your MacBook to 100% when you need it and to stop the MacBook from charging when plugged in.
Source: lifehacker.com