You don’t have to be charged formally before you are arrested.
Police can take you into custody for nothing? You mean that you don't have to actually break a law? They can beat you because you annoy them? And you're ok with this?
Btw, we have a police chief in the family. He's never arrested anyone or beaten them for annoying him.