Energy resolution and power consumption of Timepix detector for different detector settings and saturation of front-end electronics