Home › Electronic device having power generation function, control method of electronic device having power generation function, and portable electronic device having power generation function, and control method of portable electronic device having power generation function