A battery manufacturer tests just a sample of its product to verify its claims about battery life. A margin of error and a confidence level help quantify its accuracy.