added battery plugin