Solar energy has a simple but annoying weakness. It disappears when the sun does.