Do you have American plugs available in the rooms?
Generally all Spanish hotels have standard two pin European electrical sockets. I am unfamiliar with design and wattage of US electrical sockets and would therefore suggest taking a European adapter with you to use on any US electrical appliances, which is what I do. You can generally buy these from most international airports.
Get an answer from Hotel Niu Barcelona staff and past guests.