In this article we take a look at how to get the device battery information. Android provides detailed info about the battery technology, health and charging state.
In this this tutorial I'll show you how to parametrize your Android build by setting different built types and variants in the build.gradle file and also how to set different parameters based on type and variant