Xamarin/Android App to watch a minmal/maximal charge level of the smatphon battery
A Android-ForegoundService watch the chargelevel. In the case to fallen short the minimal or overstepping the maximal charge level it would be triggered a notifivication for the user.
The Code demonstrate:
- working with a ForegoundService (for Android)
- start and stop of a service
- working with Notifications
- automatic restarting service after reboot
- communication between Android and Xamarin-Forms with DependencyService