No worries!

Battery usage stops when you turn off your screen, or when you switch to a different app.