At least on my rMBP, it is impossible to switch to integrated graphics while Atom is running. This leads to a large impact on battery life.
Yeah this started in 0.70 I think. Definitely needs to be fixed. Brackets had this for a while
Here is the relevant information: https://github.com/adobe/brackets-shell/pull/399
It’s easily solved by editing Info.plist and putting this in there somewhere:
So now mine looks like:
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>CFBundleDevelopmentRegion</key> <string>English</string> <key>NSSupportsAutomaticGraphicsSwitching</key> <true/>
And now I get integrated graphics again with bonus hours of battery life!
Yeah, I did this too and it works as expected for me.
The Apple docs are here: https://developer.apple.com/library/mac/qa/qa1734/_index.html
Yeah, I use gfxCardStatus too… that’s how I knew it was Atom that was locking my GPU to NVIDIA. It’s in my screenshot linked in my first post above.
Using that app doesn’t solve the problem though, the problem is in the Info.plist file distributed by Atom.
Sweet, can run on itegrated graphics now \o/
Wow! Thanks for that @parndt! I never paid too much attention to that, even though two apps that I have to run almost all the time didn’t support the integrated graphics - Outlook and Communicator - and that plist hack solved that! cheers!
Scrolling in Outlook got quite bad though
This is a major bug with a crazy simple fix. Is there a plan to integrate this?
Worked for me too, thanks guys!
Looks like there’s been a fix put in to v0.74.0 …
Atom now uses the integrated GPU rather than the discrete GPU, improving battery life.