This project gives an example to developers how to get battery level and device name on both IOS and Android natively!
For kotlin code look at: https://github.com/umutarpat/flutter_native/blob/master/android/app/src/main/kotlin/com/example/flutter_native/MainActivity.kt
For Swift code look at: https://github.com/umutarpat/flutter_native/blob/master/ios/Runner/AppDelegate.swift