Battery semiconductors are used for solar power generation