a battery is charged by putting electtricity into it