Smart technology in electric cars