Place the grated potatoes in a clean kitchen towel and squeeze out as much moisture as possible. This step is crucial for achieving crispy pancakes.
In a large mixing bowl, combine the drained potatoes, chopped onion, egg, flour, salt, pepper, and garlic powder (if using). Mix until well combined.
Heat the vegetable oil in a large skillet over medium-high heat. You want enough oil to cover the bottom of the skillet.
Once the oil is hot, drop spoonfuls of the potato mixture into the skillet, flattening them slightly with the back of the spoon. Cook for about 3-4 minutes on each side or until golden brown and crispy.
Remove the pancakes from the skillet and place them on a paper towel-lined plate to absorb excess oil. Repeat with the remaining mixture.
Serve warm with sour cream or applesauce on the side.