According to PlayStation4 User’s Guide, it takes approximately 2 hours to charge the controller when the battery has no remaining charge. [1]https://manuals.playstation.net/document/gb/ps4/basic/usecontroller.html
You can charge your controller most effective when the temperature is between 10 °C and 30 °C (50 °F and 86 °F). It’s recommended to charge the controller at least once a year to keep it functioning properly.