PS4 Safe Mode can be useful to troubleshoot issues with your console, but you might also get stuck in a Safe Mode loop.
If your PS4 controller won't charge, you can try swapping out the charging cable or checking the charging port.