adding Battery plugin