Direct during a completed battery test: "Is the battery holding its charge?" The technician asked whether ___ throughout the test.
Explication
The battery was holding uses statement order after whether and backshifts the closed test state. Was the battery holding keeps the subject-auxiliary inversion of a direct question.