Every recent Galaxy has a built-in battery test, even when the percentage is hidden. On phones running One UI 9, go to Settings, then Device care, then Diagnostics. You can reach the same tool by opening the Samsung Members app and choosing Diagnostics, then Battery.
The check looks at the battery status and tells you if something is wrong, along with what the problem is. Diagnostics can also test sensors, cameras, buttons, the speaker, the microphone, charging and the touchscreen, which makes it handy when you’re inspecting a used phone before you hand over any cash.
The downside is that the result is blunt. The battery is rated as normal, weak or bad, and normal covers a wide range, roughly 80% and above. A battery at 99% and one at 82% can both show up as normal, so this test tells you whether to worry, not exactly how much life is left.