adding package.xml before battery is empty