DatauseBatteryRead device battery level and charging state (where supported).APIuseBattery.d.tstsuseBattery(): BatteryStateView source on GitHubRelated hooksuseFetchDeclarative fetch with loading and error status.useGeoLocationBrowser geolocation state.useAsyncRun an async function and track its loading, error, and value state.useFullscreenusePermission