Autonomous solar cells