Getting a black screen after entering my password while logging into my account while on battery with graphics switching enabled. Everything is up and running, I just can't see it.

I can log into the guest account on battery
I can log into my account while plugged into power
I can log into my account on battery if graphics switching is disabled

I believe something that is starting up in my account is causing the system to switch from integrated to discrete graphics on login, and that switch isn't working correctly on battery power.

As a work around for now, I can run with graphics switching disabled, but I'd like to solve this so I get longer battery life.

MacBook Pro Retina 15"
Mountain Lion
All updates applied