Removed the unnecessary battery_name variable.