The latter is quite normal. There is an APU in most commercial jet aircraft.