prevent battery degradation