charging a 11.1V lithium ion battery pack while connecting to arduino