I can't say for sure if it will work...But I'm 98% sure as it has power flowing to it however it might need the battery in.
If you are opening up the controller and have a spare DS3 lying around put that battery in I've heard people getting around 14/15 hours on there DS4 once this is done. If you don't have a spare DS3 lying about check ebay - you could probably pick up a broken DS3 for around $2/$3 just harvest the battery out of it
Good luck bud