What does してた in 元気してた means? How it came to being してた? I know that the original form of し is する, then what does 元気する means? It's really confusing. For context please see the images below:
These screenshots contain Chinese and Japanese subtitles. You can see the Japanese subtitles.