Toyota frequent dead battery

Ive been redaing some new cars the computer doesnt sleep (still awake with key out) the fix is to take it to the dealer to flash the computer…have dealer check to see if there is a technical service bulletin for the problem