Solar cell charging for medium