I'm trying to raise a method to get the battery level every 20 minutes. so my application should run in a normal way, while my method is getting called every 20 minutes in the background.
So for getting the battery level I'm using Xam.plugin.Battery
from Nuget, so that's not a problem. As for the other part, I think I should use another thread for that so that my app works in a normal way while my method of getting battery is getting called in the background every 20 minutes. The thing is: I don't know how to do this.
Thank you