I know how to beat it. Took me a few trys to get it right.
Try walking around instead of the usual run around mode.
Before you get to the wall sentry get your best gun and shoot it a few times. Take cover back behind the wall and continue this tactic until it is destroyed.
Now further down the corridor the battledroids will awaken throw down a grenade. Best would be the electric damaging one. These will make the droids stunned for a bit.
You will then want to take cover as often as possible.
Sometimes you may want to retreat back and then come in guns blazing.
You then should hopefully get the health terminal on the walls as you go.
P.S
Just a small tip the slightest sign of the droids moving. Throw the grenade and shoot them to bits. While taking cover.
Hope that helps you.