You need a service manual. There's likely one on this site to download. That will tell you how to check the temp sensor.
The manual should say how to test the throttle position sensor and the air flow or air pressure sensor.. Any of which could cause this, (what sounds like), lean mixture. If you can you could also check the fuel pressure. That can be checked with a bit of experience just by holding the fuel hose to the injector while you turn the key on. The hose will bulge if the pressure is the required 50 pounds. If you can barely feel the hose stiffen or bulge then it might be low fuel pressure.
Tell us more about this problem.. Have you had the bike for long, has it been parked up or did the problem start while you were riding along one day, has it got gradually worse and how long did it take to get this bad, or did it just happen over night, is the fuel fresh.. ?