Batteries wear out. Here's how to tell yours is on the way out — and why it's cheaper than you think to fix.