This is often a power management issue.
Press Win + X and select . Look under:
Press and hold (or Home + B depending on your model) for 3 seconds until the LEDs blink rapidly. gamepad plus v3 pc driver
While the controller is OFF, press and hold the Home + R1 (or Home + B on some models) buttons for about 2-3 seconds. This is often a power management issue