Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a rMBP running OS X 10.8 Mountain Lion.

I normally use the display at a 1680x1050. Is there a way to have the display automatically change resolution to the default retina when on battery, and revert to 1680x1050 when power is reconnected?

share|improve this question
up vote 4 down vote accepted

Your best bet would be to use ControlPlane (free) to detect when the power source has switched, and then fire off a shell script to change the resolution.

There's no built-in command line utility for changing the screen resolution, but someone came up with one that works well. You can download an installer here.

Then it's just a simple matter of setting ControlPlane to run screenresolution set 1440x900 or 1650x1050 as appropriate. Note that you may want to experiment with the screenresolution get command first to double check how it handles retina resolutions.

share|improve this answer
ControlPane's 'about' page says it supports Snow Leopard through Lion. While I can check this out myself, but do you know if works well with Mountain Lion as well. – Himanshu Pokhariya Apr 14 '13 at 10:36
okay, reading more through the app's website, and I see mountain lion mentioned in a couple of places. so ML seems supported (the developer probably forgot to update he about page). the app looks really nifty, thanks for pointing it out! – Himanshu Pokhariya Apr 14 '13 at 10:46

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.