From Old Galician-Portuguese acordar, from Vulgar Latin *accordāre. Sense of "to wake up" was possibly influenced by cordo (“judicious, prudent”), from Latin cordatus (“wise, prudent”).
Practice speaking and memorizing "acordar" and many other words and sentences in Galician.