Lack of liquid level being detected by analysing the parameters of the electric drive