Yeah, that looks fine. I wouldn't really call it a "power" switch, since even though it's switching a power supply connection it isn't really powering a load in the usual sense. It's just a signal switch in this case. But if it were a higher power application, R2 requires some consideration -- at 100k it will result in a fairly slow turn-off of M2, which could be problematic. For switching a voltage divider, though, it's perfectly fine.