Fixed the energy/charge filename issue for the battery.