added variable to set mpd addres
added so battery prints if it is present, charging or discharging