How to max out an iPhone and a Mac book's battery life?

I own a Mac Book Pro 13' inch and an iPhone 4s, but i don't know how to keep the battery life, should I plug them in when ever i can, or let the battery get all used all and then recharge it?

Don't keep your brightness on the screens up all they way… Turn off Bluetooth, never use airplane mode, never keep them plugged in all the time. Never keep them just leave your Mac running wi programs open overnight or for long periods of time with out using them. Same with you're phone. Invest in apple headphones with a controller on it. Answering phone calls and changing music and adjusting volume with those headphones can DRAMATICALLY save battery power.

Modern batteries based on Lithium-ion tech don't have the memory effect like the old ones so it doesn't need to wait til the very end to recharge.