Replaced unreliable sed statement in battery status call.