Set Time Until Controllers Turn Off
To set the amount of time a controller can remain unused before it automatically turns off, select (Settings) > [Power Save Settings] > [Set Time Until Controllers Turn Off].
This setting is disabled when your PS4™ system and the controller are connected with a USB cable.