What is phonegap plugin battery status?

Report
Question
14 views

Please explain why do you think this question should be reported?

Report Cancel

This plugin provides an implementation based on theW3C Battery Status Events API. The method navigator.getBattery() returns a promise with a BatteryManager object which has the following event handlers:

onchargingchange

onchargingtimechange

ondischargingtimechange

onlevelchange

Please follow and like us:

About the Author