It is already known that Russian police is corrupt. It doesn't mean you will have troubles with police if you travel to Russia. I have never had any trouble. Normally, they see you are foreigner/tourist just visiting the country, that's fine.
They won't bother you. Of course, don't give any pretext for cops approach you. For example, carrying alcohol outside at night is illegal. Or looking like a suspicious, terrorist.
Consumption of drugs is also illegal. Stay away of demonstrations. On one of my visits to Saint Petersburg, a demonstration happened in Moscow and cops suddenly showed up along the whole Nevsky Prospekt Avenue. Having copies of your passport and visa is crucial.
If cops ask for your you document, say you carry copies for not feeling safe and insist on call the embassy of your country. And have the number of the embassy. Their targets are usually immigrants from Central Asia, who are normally illegal. \*\*Picture from masterrussian.com
