added first version of battery charge script
added improved python version of battery script