How do you power the computer in the Barrens in OneShot?

Quick answer: Combine the broken battery with the lens from the mine camera, charge it with the Sun, and put it in the generator in the house above Prophetbot.
Show walkthrough
Broken battery
Use the crowbar on the box in the house above Prophetbot to get a broken battery. If you do not have the crowbar yet, see how to get the crowbar.
Get the lens
Go northeast to Silver’s home by the mines and take the screwdriver. Talk to Silver, then go into the mines with her and pick up the camera. Use the screwdriver on the camera to take its lens.
Charge and insert
Combine the broken battery and the lens to make an empty battery. Use the Sun on it to charge it, then put it in the generator. The computer in the house now turns on.
What the computer does
The computer points you to a file on your own PC, usually in your Documents folder. That file holds the code for the safe in the Cliffs, which contains the gas mask. Talk to the computer again if you need a clearer hint.
