Organize battery charge script.