title: How to detect if the phone is connected to power in flutter
body: <p>I have a requirement to show a popup if the the phone is not currently charging/connected to power.  How do I achieve this in flutter?</p>