The message "We can’t reset your PC while it’s running on battery power" means your laptop is not connected to a power supply. While resetting a laptop, it should receive a continuous power supply. Therefore, connect your laptop to the charger and then perform a factory reset.