Hi, Thanks for your Question. My name is Kevin and I will try and provide a solution to your question.
Your Husqvarna is equipped with a Briggs and Stratton engine. The Stator acts as an alternator to provide power to keep the battery charged after passing through a rectifier/voltage regulator which converts the A/C current generated by the stator into D/C current regulated to approximately 13.8 volts.
The stator is located beneath the flywheel at the top of the engine. Keeping in mind that it is extremely rare for a stator to fail, it should be tested to verify it is malfunctioning. This can by done very easily with a voltage meter set to measure AC voltage at the plug prior to the regulator. Once verified that it is defective, the following procedure will provide access to the stator.
Remove the top engine cover via loosening the four bolts, two in front and two near the rear of the engine. You will also need to remove the fuel pump from the cover and removing the dipstick support fastener. Once the cover is off, remove the bolt from the crankshaft located in the center of the flywheel. You will need to use something to hold the flywheel so it does not turn as you remove the bolt. A large screwdriver placed into the cast iron section of the flywheel will work fine. After the bolt is removed, you will need to use a flywheel puller to remove the it from the tapered crankshaft. A puller can be purchased at auto parts store such as Napa or an online site such as Amazon ( HERE is the LINK to order )
Briggs Stratton 19203 Flywheel Puller
The stator may now be removed via three or four fasteners and the new one installed. It is very important to use a torque wrench to tighten the flywheel so as to not crack the flywheel nor damage the bolt or crankshaft.
I hope this helps. If you have any clarification feel free to ask. You may wish to bring the machine to a qualified repair shop to properly test the stator and replace if needed. Labor should be no more than one or two hours.