Driving a tram in city traffic is a challenging task. It is especially difficult to drive smoothly (without unnecessary jerks) when the route runs through streets with many other vehicles, pedestrians, and traffic lights. A smooth driving style of the tram driver not only has a significant impact on the comfort of passengers being transported, but also affects the energy consumption of the tram. The paper focuses on the analysis of the tram driver’s way of driving and the resulting energy savings. The energy consumption of the tram was measured depending on the driver’s driving technique. For the analysis of the driving technique, an innovative electronic device was proposed to be installed on the tram. It detects jerks in the lateral and longitudinal directions. Based on vibration analysis, it evaluates the driver’s driving technique on an ongoing basis and displays the result of this assessment. The device is cheap and uses a popular minicomputer, a GPS system receiver, an IMU accelerometer, and a screen. It is independent of the electronic systems of the tram. Due to this, it is possible to increase passenger comfort and reduce electricity consumption. It can be useful when learning to drive a tram. Preliminary tests of this device were carried out on a real tram during rides with passengers in city traffic. Tests have confirmed its effectiveness.