First, sorry for my English.
I found solution for my S4 display not to dim anymore.
I rooted my device and installed ROM Toolbox PRO where I created an CPU profile which reduces max. CPU frequency depending of battery temperature. So, when battery reaches 30 grade Celsius the CPU profile...