New answers tagged

7

Yes, the _CDBatterySaver API in the CoreDuet (Private*)Framework can be used to toggle low power mode. An example invocation, untested: #import <CoreDuet/CoreDuet.h> #import <objc/runtime.h> -(void)setLowPowerMode:(BOOL) isOn { _CDBatterySaver *batterySaver = [objc_getClass("_CDBatterySaver") batterySaver]; int nextState; if(isOn) ...


0

You can simply click on the Apple in your menu bar then click Sleep while leaving it open. This will make both monitors go black. You can close the lid afterwards if you like. Opening the lid or pressing keys on keyboard will awake the device from sleep. It's just made to go to another monitor when closing the lid as most people only use the external ...



Top 50 recent answers are included