All Trip B values are volatile

Trip B values always resets everytime the app in on background, UNLIKE on Trip A it always preserve all its values

That is by design. Trip B is the ‘current trip’ and is also used to store Trip Diary.