Apple Script to turn off Carbonite and Dropbox when on battery

Discussion in 'MacBook Pro' started by goombamd, Mar 2, 2011.

  1. goombamd macrumors member

    Apr 18, 2010
    Is there a way to automatically shut down Carbonite and Dropbox when I unplug my mbp?

    e.g. when on battery power, automatically pause carbonite... and quit dropbox.

    I've found these significantly decrease my battery life.

    Relatively new to making macros...

  2. pendolino macrumors member


    Feb 13, 2007
    i would have to agree with this statement regarding dropbox. have not used carbonite but i know what you mean with background apps often sucking power unnecessarily.

    i would be very interested in having these switch off when running on battery.
  3. MoonshineSG, Sep 15, 2011
    Last edited: Sep 17, 2011

    MoonshineSG macrumors member

    Aug 26, 2011
    I've used MarcoPolo for similar "context aware" settings... Although it has not been updated in a while, maybe you can give it a try... It's free anyway... (
  4. MoonshineSG macrumors member

    Aug 26, 2011
    I just tried it under Lion and it hangs... I guess we need smith new....


    A bit more research revealed that MarcoPolo has been forked and development continues under a new name ControlPlane.

    Runs ok under Lion and seams to have same functionality plus more...
  5. ruedu macrumors newbie

    Jun 10, 2009
    ControlPlane can handle this at least for Dropbox. Simply create a QuitApplication action when you arrive at the appropriate context. As for Carbonite, I don't know anything about that but if it can be controlled using an AppleScript or even a shell script you can control that as well.
  6. sloan47 macrumors member

    Aug 3, 2011
    I use Marco Polo to automatically start/quit Dropbox based on my AC status. I also use it to turn off my bluetooth when I'm on battery. Amazing tool.

Share This Page