Options
All
  • Public
  • Public/Protected
  • All
Menu

Module CordovaBatteryStatusPlugin

This Cordova plugin is used for monitoring device's battery status. The plugin will monitor every change that happens to device's battery.

Please use 'Battery' as the plugin name in the manifest.json if you want to use this facility.

Usage:
window.addEventListener("batterystatus", onBatteryStatus, false);

Index

Interfaces

Type aliases

Type aliases

batteryEvent

batteryEvent: "batterystatus" | "batterycritical" | "batterylow"