battery manager script was added