private async void UnpinBatteryTile() { var result = await TilesHelper.UnpinBatteryTileAsync(); if (!result) { this.UseBatteryLiveTile = true; return; } BackgroundManager.Unregister(BackgroundManager.TimeBatteryLevelTaskName); }