# Release Notes ### 2.0.3 (Jun 19, 2019) - build: add `.gitattributes` to force LF (instead of possible CRLF on Windows) ([`aded849`](https://github.com/apache/cordova-plugin-battery-status/commit/aded849)) - build: add `.npmignore` to remove unneeded files from npm package ([`55bca62`](https://github.com/apache/cordova-plugin-battery-status/commit/55bca62)) - fix(types): remove version number ([`56b3d6c`](https://github.com/apache/cordova-plugin-battery-status/commit/56b3d6c)) - chore: update github repo and issue link in plugin.xml ([`9c5c510`](https://github.com/apache/cordova-plugin-battery-status/commit/9c5c510)) - docs: remove outdated translations ([`fb13300`](https://github.com/apache/cordova-plugin-battery-status/commit/fb13300)) - ci(travis): Update Travis CI configuration for new paramedic ([#75](https://github.com/apache/cordova-plugin-battery-status/issues/75)) ([`58a3c2d`](https://github.com/apache/cordova-plugin-battery-status/commit/58a3c2d)) - feat: update typings ([#72](https://github.com/apache/cordova-plugin-battery-status/issues/72)) ([`41d35b7`](https://github.com/apache/cordova-plugin-battery-status/commit/41d35b7)) - chore: drop Node.js v4 support ([#73](https://github.com/apache/cordova-plugin-battery-status/issues/73)) ([`83c6e44`](https://github.com/apache/cordova-plugin-battery-status/commit/83c6e44)) - chore(github): Add or update GitHub pull request and issue template ([`9c272a6`](https://github.com/apache/cordova-plugin-battery-status/commit/9c272a6)) - ci(travis): add android-27 to `android update sdk -u --filter` ([`53beb6d`](https://github.com/apache/cordova-plugin-battery-status/commit/53beb6d)) ### 2.0.2 (Apr 12, 2018) * [CB-10645](https://issues.apache.org/jira/browse/CB-10645) The battery status handler doesn't reinitialize on **Android** after `window.location.reload()`. Instead of throwing an error, rather remove the status handler and re-initialize. ### 2.0.1 (Dec 27, 2017) * [CB-13700](https://issues.apache.org/jira/browse/CB-13700) Fix to allow 2.0.0 version install (#62) ### 2.0.0 (Dec 15, 2017) * [CB-13667](https://issues.apache.org/jira/browse/CB-13667): Remove deprecated platforms ### 1.2.5 (Nov 06, 2017) * [CB-13299](https://issues.apache.org/jira/browse/CB-13299) (CI) Fix **Android** builds * [CB-12895](https://issues.apache.org/jira/browse/CB-12895) added `eslint` and removed `jshint` * [CB-13028](https://issues.apache.org/jira/browse/CB-13028) (CI) Added **Browser** platform to Travis * [CB-13000](https://issues.apache.org/jira/browse/CB-13000) (CI) Speed up **Android** builds * [CB-12991](https://issues.apache.org/jira/browse/CB-12991) (CI) Updated CI badges * [CB-12847](https://issues.apache.org/jira/browse/CB-12847) added `bugs` entry to `package.json`. ### 1.2.4 (Apr 27, 2017) * [CB-12622](https://issues.apache.org/jira/browse/CB-12622) (Android) Added **Android 6.0** build badge * [CB-12685](https://issues.apache.org/jira/browse/CB-12685) added `package.json` to tests folder * [CB-12639](https://issues.apache.org/jira/browse/CB-12639) (all) Tests: console.err() -> console.error() ### 1.2.3 (Feb 28, 2017) * [CB-12369](https://issues.apache.org/jira/browse/CB-12369) Add plugin typings from `DefinitelyTyped` * [CB-12363](https://issues.apache.org/jira/browse/CB-12363) Added build badges for **iOS 9.3** and **iOS 10.0** ### 1.2.2 (Dec 12, 2016) * [CB-12227](https://issues.apache.org/jira/browse/CB-12227) (windows) Fixed Browserify error * [CB-12236](https://issues.apache.org/jira/browse/CB-12236) - Fix RELEASENOTES.md for cordova-plugin-battery-status * [CB-12230](https://issues.apache.org/jira/browse/CB-12230) Removed Windows 8.1 build badges * [CB-12224](https://issues.apache.org/jira/browse/CB-12224) Incremented plugin version. ### 1.2.1 (Dec 07, 2016) * [CB-12224](https://issues.apache.org/jira/browse/CB-12224) Updated version and RELEASENOTES.md for release 1.2.1 * [CB-8929](https://issues.apache.org/jira/browse/CB-8929) Fix failing tests on iOS * [CB-8929](https://issues.apache.org/jira/browse/CB-8929) Use PowerManager to get battery state on Win 10 * [CB-11917](https://issues.apache.org/jira/browse/CB-11917) - Remove pull request template checklist item: "iCLA has been submitted…" * [CB-11832](https://issues.apache.org/jira/browse/CB-11832) Incremented plugin version. ### 1.2.0 (Sep 08, 2016) * [CB-11795](https://issues.apache.org/jira/browse/CB-11795) Add 'protective' entry to cordovaDependencies * Plugin uses Android Log class and not Cordova LOG class * Add badges for paramedic builds on Jenkins * Add pull request template. * [CB-10996](https://issues.apache.org/jira/browse/CB-10996) Adding front matter to README.md ### 1.1.2 (Apr 15, 2016) * [CB-10720](https://issues.apache.org/jira/browse/CB-10720) Reorganizing and rewording docs. * [CB-10636](https://issues.apache.org/jira/browse/CB-10636) Add JSHint for plugins ### 1.1.1 (Nov 18, 2015) * [CB-10035](https://issues.apache.org/jira/browse/CB-10035) Updated `RELEASENOTES` to be newest to oldest * Fixing contribute link. ### 1.1.0 (Jun 17, 2015) * added missing license headers * [CB-7953](https://issues.apache.org/jira/browse/CB-7953) Add cordova-plugin-battery-status support for browser platform * [CB-9128](https://issues.apache.org/jira/browse/CB-9128) cordova-plugin-battery-status documentation translation: cordova-plugin-battery-status * attempt to fix npm issue ### 1.0.0 (Apr 15, 2015) * [CB-8746](https://issues.apache.org/jira/browse/CB-8746) gave plugin major version bump * [CB-8808](https://issues.apache.org/jira/browse/CB-8808) Fixed tests to pass on Windows Phone 8.1 * [CB-8831](https://issues.apache.org/jira/browse/CB-8831) Adds extra check for available API on Windows * [CB-8653](https://issues.apache.org/jira/browse/CB-8653) properly updated translated docs to use new id * [CB-8683](https://issues.apache.org/jira/browse/CB-8683) changed plugin-id to pacakge-name * [CB-8653](https://issues.apache.org/jira/browse/CB-8653) updated translated docs to use new id * Use TRAVIS_BUILD_DIR, install paramedic by npm * Doc correction, Use the apostrophe to show possession * Fix travis+paramedic pathing issue * add Android+FireOS warning to tell devs that prolonged use will drain the battery. * [CB-7971](https://issues.apache.org/jira/browse/CB-7971) Add cordova-plugin-battery-status support for Windows Phone 8.1 * [CB-8659](https://issues.apache.org/jira/browse/CB-8659): ios: 4.0.x Compatibility: Remove use of initWithWebView method * added apache/travis badge - will not show until INFRA updates the github integration * add travis.yml for CI with paramedic * [CB-8538](https://issues.apache.org/jira/browse/CB-8538) Added package.json file ### 0.2.12 (Dec 02, 2014) * [CB-7976](https://issues.apache.org/jira/browse/CB-7976) Android: Use webView's context rather than Activity's context for intent receiver * [CB-7700](https://issues.apache.org/jira/browse/CB-7700) cordova-plugin-battery-status documentation translation: cordova-plugin-battery-status * [CB-7571](https://issues.apache.org/jira/browse/CB-7571) Bump version of nested plugin to match parent plugin ### 0.2.11 (Sep 17, 2014) * [CB-7249](https://issues.apache.org/jira/browse/CB-7249) cordova-plugin-battery-status documentation translation: cordova-plugin-battery-status * [CB-6724](https://issues.apache.org/jira/browse/CB-6724) re-add accidental removed of var keyword * [CB-6957](https://issues.apache.org/jira/browse/CB-6957) renamed folder to tests + added nested plugin.xml * added documentation for manual tests * [CB-6957](https://issues.apache.org/jira/browse/CB-6957) Style improvements on Manual tests ### 0.2.10 (Aug 06, 2014) * [CB-6957](https://issues.apache.org/jira/browse/CB-6957) Ported Battery-status manual & automated * [CB-6127](https://issues.apache.org/jira/browse/CB-6127) Updated translations for docs ### 0.2.9 (Jun 05, 2014) * [CB-6721](https://issues.apache.org/jira/browse/CB-6721) Test for batterycritical change before batterylow change * [CB-5611](https://issues.apache.org/jira/browse/CB-5611) firefoxos: battery-status plugin support added * [CB-4519](https://issues.apache.org/jira/browse/CB-4519), [CB-4520](https://issues.apache.org/jira/browse/CB-4520) low+critical weren't firing when level went from 21->19, and were when level went 19->20 * [CB-6491](https://issues.apache.org/jira/browse/CB-6491) add CONTRIBUTING.md ### 0.2.8 (Apr 17, 2014) * [CB-6465](https://issues.apache.org/jira/browse/CB-6465): Add license headers to Tizen code * [CB-6460](https://issues.apache.org/jira/browse/CB-6460): Update license headers * Add NOTICE file ### 0.2.7 (Feb 05, 2014) * Add Tizen plugin. ### 0.2.6 (Jan 02, 2014) * [CB-5658](https://issues.apache.org/jira/browse/CB-5658) Add doc/index.md for Battery Status. ### 0.2.5 (Dec 4, 2013) * Merged WP8 support for level, but #def'd it out so the same code runs on wp7. Updated docs to reflect WP8 support for battery level, and low+critical events * wp8 add support in level * add ubuntu platform * 1. Updated platform name amazon->amazon-fireos. Deleted src files. 2. Change to use amazon-fireos as the platform if user agent string contains 'cordova-amazon-fireos' ### 0.2.4 (Oct 25, 2013) * [CB-5128](https://issues.apache.org/jira/browse/CB-5128): added repo + issue tag to plugin.xml for battery status plugin * [CB-4915](https://issues.apache.org/jira/browse/CB-4915) Incremented plugin version on dev branch. ### 0.2.3 (Sept 25, 2013) * [CB-4889](https://issues.apache.org/jira/browse/CB-4889) bumping&resetting version * [CB-4752](https://issues.apache.org/jira/browse/CB-4752) Incremented plugin version on dev branch. * [CB-4889](https://issues.apache.org/jira/browse/CB-4889) renaming org.apache.cordova.core.battery-status to org.apache.cordova.battery-status