Provides a reactive Angular Resource (rxResource) for monitoring device battery level, charging state, and times.
import { injectBatteryResource } from '@angular-helpers/browser-web-apis'
resource
ResourceRef<BatteryInfo | null>
info
Signal<BatteryInfo | null | undefined>
isSupported
Signal<boolean>
refresh
() => void