How to check Battery Health on iPadOS/macOS

This article is also available on dev.to.