it is also necessary to to set power settings options → system → power and sleep in this menu, switch the settings of the Screen and Sleep mode to the item "Never"