battery plugin changes