optimizing solar charging efficiency