Droid Turbo XT1254 no sound from external speaker

Droid Turbo XT1254 no sound from external speaker.
My Droid Turbo recently stopped playing sound from the external speaker, and starting about 1 or 2 months ago the flash light stopped working.

Some googling produced an article that mentioned that someone had a similar problem and they found that if they pressed on the back of the case near the camera the external speaker would start working. I found that mine exhibits the same behavior. I opened up my phone to see if I could possibly fix the problem, and found the cause The battery is swelling up. It appears that the swelling is separating some connections. This may be the cause of the back lights not working as well.

The problem might be fixable but my phone is eligible for an upgrade and I don't want to mess with it.