Detect the current battery level and battery state of your phone in Flutter and also detect if your phone is currently charging.
Why do you think that https://github.com/JohannesMilke/sqflite_database_example is a good alternative to battery_example