Hi, Francis-Heath and the usual suspects are:
1. Severely discharged or a damaged battery should have 12.5 volts or more and be able to pass a proper "LOAD" test if necessary, you may have a cursory reading of 12.5 volts or more but little or zero amperage the battery is faulty and must be replaced, AGM batteries fail in this scenario more so than lead-acid batteries.
2. Check battery terminals for damage or corrosion, check the battery cables at "BOTH" ends for loose, corroded, or broken connectors, "INSIDE" and outside the cable harness, perform connector wiggle test and check cables with an ohmmeter if necessary.
3. Spark plugs in bad condition or partially fouled.
4. Spark plug cables in bad condition and leaking check for spark leakage in the dark
5. Spark plug gap too close or too wide.
6. Faulty ignition coil, module, and or sensor.
7. Loose, dirty, or corroded ignition module connector at crankcase.
8. Faulty CKP or CMP, MAP, ETS, ATS, TPS, O2 sensor.
9. Dirty air filter.
10. Intake air leak.
11. Water, dirt, or rust in the fuel system.
12. Carburetor contaminated, sticky float, plugged jets.
13. Carburetor has oil in the bowl due to excessive oil in pre-mix.
14. Carburetor vacuum diaphragm torn, cracked, not seated or installed improperly.
15. Multiple carburetors out of sync.
16. Fuel filter clogged.
17. Old or contaminated fuel.
18. Fuel tank vent system plugged or carb vent line closed off.
19. Gas cap diaphragm valve faulty.
20. Vacuum line from intake manifold to fuel valve is broken, cracked, pinched, or missing.
21. Carburetor controls misadjusted.
22. Incorrect valve timing.
23. Valve springs floating, weak, or broken.
24. Damaged intake or exhaust valve.
25. Incompatible performance parts.
26. The control module may be in "LIMP" mode
27. Check for engine trouble codes.
For more information about your issue and valuable "FREE" downloads that you will need for viewing or printing please click on the blue links below. Good luck and have a wonderful day.
virago 535 loss of power
Yamaha XV535 Virago 1987 2003 Workshop Service Repair Manual Download...
YAMAHA XV535 Owner Manual
Btw, I’m available to help over the phone in case u need at https://www.6ya.com/expert/gregg_c0ec1df182c7330e