Wind speed doesn’t show when IPhone is locked

I have the app open on my iPhone 6s. The wind is showing on my Z82. When the iPhone self locks after a set period of time wind stops showing.  It doesn’t make sense that I would need to have the display always on , on the iPhone, as this would drain the phone battery more quickly.  Is there a setting to resolve this problem?