prevent battery from being clicked