Optimal Design of Linear Generator to Recharge the Smartphone Battery