Try by installing the official apple support app on your phone and start a chat session at apple.com and ask the technician online for a battery health test. That would be more accurate and secure than a free app.
you can try by connecting the device to Itunes and back up the broken device. Before you do any repair on your device make sure to back up your data first.'