Hello

I started working on CB-5611 battery-status plugin for FirefoxOS [1]. I
need help - code, comments, suggestions - before sending a PR [2].

Also, a note about navigator.battery, clobbering this globally will break
the default FirefoxOS behaviour which an object of BatteryManager [3].
Globally setting the action to 'merges' instead of 'clobbers' seems to
solve the issue [4] - will this worth creating a new Jira issue ?

My dev environment is both Simulator and a Keon Geeksphone device running
on B2G 1.2.0.0-prerelease.

[1] https://issues.apache.org/jira/browse/CB-5611
[2] https://github.com/rixrix/cordova-plugin-battery-status/tree/CB-5611
[3] https://developer.mozilla.org/en-US/docs/Web/API/BatteryManager
[4]
https://github.com/rixrix/cordova-plugin-battery-status/commit/83654a24eefc2ec67977ce45afd830662458465a

Best,
Richard

Reply via email to