Created a static function that calculate the energy left in every Vehicle depending on the status of the Vehicle OFFLINE, ONLINE, CHARGE, DRIVE