To check the Samsung phone's battery health via system dump, dial
*#9900#, select "Run dumpstate/logcat", then "Copy to sdcard". Use a file manager to find the log folder and search the dump file for mSavedBatteryAsoc (health %) or mSavedBatteryUsage (cycles).
I use LogLog to read dump file.
mSavedBatteryAsoc meka case sensitive. MSavedBatteryUsage ekath esemai.