Memory effect on NiMH batteries