Fix Battery Script