battery pack diagnostics