Electric Vehicles (EVs) have emerged rapidly across the globe as a powerful eco-friendly initiative that if integrated well with an urban environment could be iconic for the city’ host’s commitment to sustainable mobility and be a key ingredient of the smart city concept. This paper examines ways that will help us to develop a better understanding of how EVs can achieve energy use optimization and be connected with a smart city. As a whole, the present study is based on an original idea that would be useful in informing policy-makers, automotive manufacturers and transport operators of how to improve and embrace better EV technologies in the context of smart cities. The proposed approach is based on vehicles and buildings communication for sharing some special information related to the vehicle status and to the road condition. EVs can share their own information related to the energy experience on a specific path. This information can be gathered in a gigantic database and used for managing the power inside these vehicles. In this field, this paper exposes a new approach to power management inside an electric vehicle based on bi-communication between vehicles and buildings. The principle of this method is established on two sections; the first one is related to vehicles’ classification and the second one is attached to the buildings’ recommendation, according to the car position. The classification problem is resolved using the support vector classification method. The recommendation phase is resolved using the artificial intelligence principle and the neural network was employed, for giving the best decision. The optimal decision will be calculated inside the building, according to its position and using the old vehicle’s data, and transferred to the coming vehicle, for optimizing its energy consumption method in the corresponding building zone. Different possibilities and situations were discussed in this approach. The proposed power management methodology was tested and validated using Simulink/Matlab tool. Results related to the battery state of charge and to the consumed energy were compared at the end of this work, for showing the efficiency of this approach.