Created
November 19, 2020 22:25
-
-
Save ShanikaNishadhi/fa486f6926b949919a83a9fc21c9f705 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DeviceInfo.getBatteryLevel().then(batteryLevel => { | |
// 0.759999 | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment