You are right; the past perfect tense refers to an act, state, or condition that was completed before another specified past time or past action. If you think about it, that is indeed the case here. When the author says 'I was interested only in saving my life', he is referring to a past time.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.