Why does the battery go bad when charged