diff --git a/src/content/platform-integration/platform-channels.md b/src/content/platform-integration/platform-channels.md index 96f2c3bcf2..569d63a752 100644 --- a/src/content/platform-integration/platform-channels.md +++ b/src/content/platform-integration/platform-channels.md @@ -894,7 +894,11 @@ And replace with the following: You should now be able to run the application on Windows. If your device doesn't have a battery, it displays 'Battery level not available'. - +:::note +To ensure that the changes take effect, recompile the project. +Otherwise, you might encounter the following error: **Failed to get +battery level: Memory leak.** +::: ### Step 6: Add a macOS platform-specific implementation Start by opening the macOS host portion of your Flutter app in Xcode: