Power Up Safely: Mastering Battery Management with BMS Connection!