Skip to content

Instantly share code, notes, and snippets.

@ShanikaNishadhi
Created November 19, 2020 22:25
Show Gist options
  • Save ShanikaNishadhi/fa486f6926b949919a83a9fc21c9f705 to your computer and use it in GitHub Desktop.
Save ShanikaNishadhi/fa486f6926b949919a83a9fc21c9f705 to your computer and use it in GitHub Desktop.
DeviceInfo.getBatteryLevel().then(batteryLevel => {
// 0.759999
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment