power measurement in the Android application

Each mobile device is equipped with one or more power management software (PMIC) and battery level meter. How can I access their data? Are they the same with the data in / sys / class / power_supply?
In general, is there any other power measurement data that the kernel / sys / class / power_supply files that I can use for more accurate power measurements in my application control the consumption (root or not)?