Battery detection system software process introduction