How to Extend the Battery Life of a Solar Generator