The next time you plug your mobile charger into a socket on a train, it might be powered by solar energy.