I don't think the idea "battery powered coffee grinder" is patentable but why shouldn't the unique details of the implementation be covered?
Assuming that patents were actually useful as method of sharing useful designs with the world wouldn't you want to know how to overcome the engineering challenges?