Self-powered camera for untethered imaging