Brazil does not have the same voltage everywhere. In Rio de Janeiro the electric mains supply is 100 or 120 volts almost everywhere. Many other cities also have 220 volts. Always check before you put your plug in the socket. An adapter is the solution, although power failures do happen.