Battery Status API

Provides information about the battery status of the hosting device.

Uses

  • Involved content, such as video viewing or gaming, to alert user of low battery.
  • Also returns whether charging - possibilities there

Example

// just write code here