Nancy Drew 28: Ghost of Thornton Hall Hints

How do I build a battery, and why?