I primarily use my Mac Book with the lid closed and connected to external keyboard, monitor and mouse. To save a small amount on the power bill, I would like to run it from the battery during the day and charge the battery at night when electricity is cheaper. I want to continue using the laptop regardless of whether it is switching from battery to mains or from mains to battery.
Currently, whenever I turn the mains off, the MacBook goes to sleep and I cannot wake it with the external wired mouse and keyboard.
I have set the power settings to "never sleep" wherever I can see it and have enabled "Prevent your Mac from automatically sleeping when the display is off", but still it sleeps when I turn the power off. Clearly, I do want it to sleep when I am inactive, but I have just been trying everything!
All other (non-Apple) laptops I have had will simply switch to battery when they lose mains power, without interrupting you.
Questions
With the MacBook lid closed, how do you,
- wake the MacBook when it is on battery power?
- keep the MacBook on when the power source changes?