Apple has been awarded the patent for a MacBook shell that would combine smart glass and solar cells to generate power.