Put the beans in a pot, remembering that they will swell to about 3 times their dried state once cooked. Cover with two inches of water. Add the onion, chili powder, and ham hock. Bring to a boil, stir everything, then reduce heat to a simmer. Cover loosely and cook until done.