You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ld...@apache.org on 2014/07/07 19:49:38 UTC

[01/10] git commit: Lisa testing pulling in plugins for plugin: cordova-plugin-battery-status

Repository: cordova-plugin-battery-status
Updated Branches:
  refs/heads/master 4e262999b -> 6b9fddc3c


Lisa testing pulling in plugins for plugin: cordova-plugin-battery-status


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-battery-status/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-battery-status/commit/2592b9f4
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-battery-status/tree/2592b9f4
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-battery-status/diff/2592b9f4

Branch: refs/heads/master
Commit: 2592b9f435ee1c1387b2c75bce2c4160155e6170
Parents: 86df72c
Author: ldeluca <ld...@us.ibm.com>
Authored: Wed Feb 26 09:35:30 2014 -0500
Committer: ldeluca <ld...@us.ibm.com>
Committed: Wed Feb 26 09:35:30 2014 -0500

----------------------------------------------------------------------
 doc/es/index.md | 129 +++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 129 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-battery-status/blob/2592b9f4/doc/es/index.md
----------------------------------------------------------------------
diff --git a/doc/es/index.md b/doc/es/index.md
new file mode 100644
index 0000000..8bb93da
--- /dev/null
+++ b/doc/es/index.md
@@ -0,0 +1,129 @@
+<!---
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+-->
+
+# org.apache.Cordova.Battery-estado
+
+Este plugin proporciona una implementación de una versión antigua de la [Batería estado eventos API][1].
+
+ [1]: http://www.w3.org/TR/2011/WD-battery-status-20110915/
+
+Agrega los siguientes tres `window` eventos:
+
+*   batterystatus
+*   batterycritical
+*   batterylow
+
+## Instalación
+
+    cordova plugin add org.apache.cordova.battery-status
+    
+
+## HomeScreen PlusPlus
+
+Este evento se desencadena cuando el porcentaje de carga de la batería cambia en menos de 1 por ciento, o si el dispositivo está conectado o desconectado.
+
+El controlador de estado de batería se pasa un objeto que contiene dos propiedades:
+
+*   **nivel**: el porcentaje de carga de la batería (0-100). *(Número)*
+
+*   **isPlugged**: un valor booleano que indica si el dispositivo está conectado pulg *(Boolean)*
+
+Las aplicaciones normalmente deben utilizar `window.addEventListener` para conectar un detector de eventos una vez el `deviceready` evento incendios. por ejemplo:
+
+### Plataformas soportadas
+
+*   Amazon fuego OS
+*   iOS
+*   Android
+*   BlackBerry 10
+*   Windows Phone 7 y 8
+*   Tizen
+
+### Windows Phone 7 y 8 rarezas
+
+Windows Phone 7 no proporciona API nativas para determinar el nivel de batería, así que el `level` propiedad no está disponible. El `isPlugged` parámetro *es* apoyado.
+
+### Ejemplo
+
+    window.addEventListener("batterystatus", onBatteryStatus, false);
+    
+    function onBatteryStatus(info) {
+        // Handle the online event
+        console.log("Level: " + info.level + " isPlugged: " + info.isPlugged);
+    }
+    
+
+## batterycritical
+
+El evento se desencadena cuando el porcentaje de carga de la batería haya alcanzado el umbral de batería crítica. El valor es específica del dispositivo.
+
+El `batterycritical` controlador se le pasa un objeto que contiene dos propiedades:
+
+*   **nivel**: el porcentaje de carga de la batería (0-100). *(Número)*
+
+*   **isPlugged**: un valor booleano que indica si el dispositivo está conectado pulg *(Boolean)*
+
+Las aplicaciones normalmente deben utilizar `window.addEventListener` para conectar un detector de eventos una vez el `deviceready` evento incendios.
+
+### Plataformas soportadas
+
+*   Amazon fuego OS
+*   iOS
+*   Android
+*   BlackBerry 10
+*   Tizen
+
+### Ejemplo
+
+    window.addEventListener("batterycritical", onBatteryCritical, false);
+    
+    function onBatteryCritical(info) {
+        // Handle the battery critical event
+        alert("Battery Level Critical " + info.level + "%\nRecharge Soon!");
+    }
+    
+
+## batterylow
+
+El evento se desencadena cuando el porcentaje de carga de la batería haya alcanzado el umbral de batería baja, el valor específico del dispositivo.
+
+El `batterylow` controlador se le pasa un objeto que contiene dos propiedades:
+
+*   **nivel**: el porcentaje de carga de la batería (0-100). *(Número)*
+
+*   **isPlugged**: un valor booleano que indica si el dispositivo está conectado pulg *(Boolean)*
+
+Las aplicaciones normalmente deben utilizar `window.addEventListener` para conectar un detector de eventos una vez el `deviceready` evento incendios.
+
+### Plataformas soportadas
+
+*   Amazon fuego OS
+*   iOS
+*   Android
+*   BlackBerry 10
+*   Tizen
+
+### Ejemplo
+
+    window.addEventListener("batterylow", onBatteryLow, false);
+    
+    function onBatteryLow(info) {
+        // Handle the battery low event
+        alert("Battery Level Low " + info.level + "%");
+    }
\ No newline at end of file


[07/10] git commit: Lisa testing pulling in plugins for plugin: cordova-plugin-battery-status

Posted by ld...@apache.org.
Lisa testing pulling in plugins for plugin: cordova-plugin-battery-status


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-battery-status/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-battery-status/commit/734807bc
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-battery-status/tree/734807bc
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-battery-status/diff/734807bc

Branch: refs/heads/master
Commit: 734807bc11c556684a03aa3160aede1f97307c8b
Parents: 5a92083
Author: ldeluca <ld...@us.ibm.com>
Authored: Tue May 27 21:21:26 2014 -0400
Committer: ldeluca <ld...@us.ibm.com>
Committed: Tue May 27 21:21:26 2014 -0400

----------------------------------------------------------------------
 doc/es/index.md |   3 ++
 doc/fr/index.md |   3 ++
 doc/it/index.md | 132 +++++++++++++++++++++++++++++++++++++++++++++++++++
 doc/ko/index.md | 132 +++++++++++++++++++++++++++++++++++++++++++++++++++
 doc/pl/index.md | 132 +++++++++++++++++++++++++++++++++++++++++++++++++++
 doc/zh/index.md | 132 +++++++++++++++++++++++++++++++++++++++++++++++++++
 6 files changed, 534 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-battery-status/blob/734807bc/doc/es/index.md
----------------------------------------------------------------------
diff --git a/doc/es/index.md b/doc/es/index.md
index 8bb93da..e5c91d7 100644
--- a/doc/es/index.md
+++ b/doc/es/index.md
@@ -54,6 +54,7 @@ Las aplicaciones normalmente deben utilizar `window.addEventListener` para conec
 *   BlackBerry 10
 *   Windows Phone 7 y 8
 *   Tizen
+*   Firefox OS
 
 ### Windows Phone 7 y 8 rarezas
 
@@ -88,6 +89,7 @@ Las aplicaciones normalmente deben utilizar `window.addEventListener` para conec
 *   Android
 *   BlackBerry 10
 *   Tizen
+*   Firefox OS
 
 ### Ejemplo
 
@@ -118,6 +120,7 @@ Las aplicaciones normalmente deben utilizar `window.addEventListener` para conec
 *   Android
 *   BlackBerry 10
 *   Tizen
+*   Firefox OS
 
 ### Ejemplo
 

http://git-wip-us.apache.org/repos/asf/cordova-plugin-battery-status/blob/734807bc/doc/fr/index.md
----------------------------------------------------------------------
diff --git a/doc/fr/index.md b/doc/fr/index.md
index c19e8c7..f58fcbc 100644
--- a/doc/fr/index.md
+++ b/doc/fr/index.md
@@ -54,6 +54,7 @@ Les applications doivent généralement utiliser `window.addEventListener` pour
 *   BlackBerry 10
 *   Windows Phone 7 et 8
 *   Paciarelli
+*   Firefox OS
 
 ### Notes au sujet de Windows Phone 7 et 8
 
@@ -88,6 +89,7 @@ Les applications devraient en général utiliser `window.addEventListener` pour
 *   Android
 *   BlackBerry 10
 *   Paciarelli
+*   Firefox OS
 
 ### Exemple
 
@@ -118,6 +120,7 @@ Les applications devraient en général utiliser `window.addEventListener` pour
 *   Android
 *   BlackBerry 10
 *   Paciarelli
+*   Firefox OS
 
 ### Exemple
 

http://git-wip-us.apache.org/repos/asf/cordova-plugin-battery-status/blob/734807bc/doc/it/index.md
----------------------------------------------------------------------
diff --git a/doc/it/index.md b/doc/it/index.md
new file mode 100644
index 0000000..12060e0
--- /dev/null
+++ b/doc/it/index.md
@@ -0,0 +1,132 @@
+<!---
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+-->
+
+# org.apache.Cordova.Battery-status
+
+Questo plugin fornisce un'implementazione di una vecchia versione dell' [API di eventi lo stato della batteria][1].
+
+ [1]: http://www.w3.org/TR/2011/WD-battery-status-20110915/
+
+Aggiunge i seguenti tre `window` eventi:
+
+*   batterystatus
+*   batterycritical
+*   batterylow
+
+## Installazione
+
+    cordova plugin add org.apache.cordova.battery-status
+    
+
+## batterystatus
+
+Questo evento viene generato quando la percentuale di carica della batteria cambia almeno l'1 per cento, o se il dispositivo è collegato o scollegato.
+
+Il gestore di stato della batteria viene passato un oggetto che contiene due proprietà:
+
+*   **livello**: la percentuale di carica della batteria (0-100). *(Numero)*
+
+*   **isPlugged**: un valore booleano che indica se il dispositivo è collegato poll *(Boolean)*
+
+Applicazioni in genere necessario utilizzare `window.addEventListener` per associare un listener di eventi una volta il `deviceready` evento incendi. per esempio:
+
+### Piattaforme supportate
+
+*   Amazon fuoco OS
+*   iOS
+*   Android
+*   BlackBerry 10
+*   Windows Phone 7 e 8
+*   Tizen
+*   Firefox OS
+
+### Windows Phone 7 e 8 stranezze
+
+Windows Phone 7 non fornisce le API native per determinare il livello della batteria, così la `level` proprietà non è disponibile. Il `isPlugged` parametro *è* supportato.
+
+### Esempio
+
+    window.addEventListener("batterystatus", onBatteryStatus, false);
+    
+    function onBatteryStatus(info) {
+        // Handle the online event
+        console.log("Level: " + info.level + " isPlugged: " + info.isPlugged);
+    }
+    
+
+## batterycritical
+
+L'evento viene generato quando la percentuale di carica della batteria ha raggiunto la soglia critica di batteria. Il valore è specifico del dispositivo.
+
+Il `batterycritical` gestore viene passato un oggetto che contiene due proprietà:
+
+*   **livello**: la percentuale di carica della batteria (0-100). *(Numero)*
+
+*   **isPlugged**: un valore booleano che indica se il dispositivo è collegato poll *(Boolean)*
+
+Applicazioni in genere è necessario utilizzare `window.addEventListener` per fissare un listener di eventi una volta il `deviceready` evento incendi.
+
+### Piattaforme supportate
+
+*   Amazon fuoco OS
+*   iOS
+*   Android
+*   BlackBerry 10
+*   Tizen
+*   Firefox OS
+
+### Esempio
+
+    window.addEventListener("batterycritical", onBatteryCritical, false);
+    
+    function onBatteryCritical(info) {
+        // Handle the battery critical event
+        alert("Battery Level Critical " + info.level + "%\nRecharge Soon!");
+    }
+    
+
+## batterylow
+
+L'evento viene generato quando la percentuale di carica della batteria ha raggiunto la soglia di batteria scarica, il valore specifico del dispositivo.
+
+Il `batterylow` gestore viene passato un oggetto che contiene due proprietà:
+
+*   **livello**: la percentuale di carica della batteria (0-100). *(Numero)*
+
+*   **isPlugged**: un valore booleano che indica se il dispositivo è collegato poll *(Boolean)*
+
+Applicazioni in genere è necessario utilizzare `window.addEventListener` per fissare un listener di eventi una volta il `deviceready` evento incendi.
+
+### Piattaforme supportate
+
+*   Amazon fuoco OS
+*   iOS
+*   Android
+*   BlackBerry 10
+*   Tizen
+*   Firefox OS
+
+### Esempio
+
+    window.addEventListener("batterylow", onBatteryLow, false);
+    
+    function onBatteryLow(info) {
+        // Handle the battery low event
+        alert("Battery Level Low " + info.level + "%");
+    }
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-plugin-battery-status/blob/734807bc/doc/ko/index.md
----------------------------------------------------------------------
diff --git a/doc/ko/index.md b/doc/ko/index.md
new file mode 100644
index 0000000..cd49cb9
--- /dev/null
+++ b/doc/ko/index.md
@@ -0,0 +1,132 @@
+<!---
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+-->
+
+# org.apache.cordova.battery 상태
+
+이 플러그인에서는 [배터리 상태 이벤트 API][1] 의 이전 버전의 구현을.
+
+ [1]: http://www.w3.org/TR/2011/WD-battery-status-20110915/
+
+그것은 다음과 같은 세 가지 추가 `window` 이벤트:
+
+*   batterystatus
+*   batterycritical
+*   batterylow
+
+## 설치
+
+    cordova plugin add org.apache.cordova.battery-status
+    
+
+## batterystatus
+
+이 이벤트는 배터리 충전 비율 1% 이상에 의해 변경 될 때 또는 장치를 연결 하거나 분리 하는 경우 발생 합니다.
+
+배터리 상태 처리기는 두 개의 속성이 포함 된 개체에 전달 됩니다.
+
+*   **수준**: 배터리 충전 (0-100)의 비율. *(수)*
+
+*   **isPlugged**: 장치 연결된 인치 *(부울)* 인지 여부를 나타내는 부울 값
+
+일반적으로 응용 프로그램을 사용 해야 합니다 `window.addEventListener` 한번 이벤트 리스너를 부착 하는 `deviceready` 이벤트가 발생 합니다. 예를 들어:
+
+### 지원 되는 플랫폼
+
+*   아마존 화재 운영 체제
+*   iOS
+*   안 드 로이드
+*   블랙베리 10
+*   Windows Phone 7과 8
+*   Tizen
+*   Firefox 운영 체제
+
+### Windows Phone 7, 8 특수
+
+Windows Phone 7 배터리 수준을 확인 하려면 네이티브 Api를 제공 하지 않습니다 때문에 `level` 속성은 사용할 수 없습니다. `isPlugged`매개 변수는 *는* 지원.
+
+### 예를 들어
+
+    window.addEventListener("batterystatus", onBatteryStatus, false);
+    
+    function onBatteryStatus(info) {
+        // Handle the online event
+        console.log("Level: " + info.level + " isPlugged: " + info.isPlugged);
+    }
+    
+
+## batterycritical
+
+이벤트 발생 때 배터리 충전 비율 배터리 위험 임계값에 도달 했습니다. 값은 장치 마다 다릅니다.
+
+`batterycritical`처리기는 두 개의 속성이 포함 된 개체에 전달 됩니다:
+
+*   **수준**: 배터리 충전 (0-100)의 비율. *(수)*
+
+*   **isPlugged**: 장치 연결된 인치 *(부울)* 인지 여부를 나타내는 부울 값
+
+일반적으로 응용 프로그램을 사용 해야 합니다 `window.addEventListener` 한번 이벤트 리스너를 연결 하는 `deviceready` 이벤트가 발생 합니다.
+
+### 지원 되는 플랫폼
+
+*   아마존 화재 운영 체제
+*   iOS
+*   안 드 로이드
+*   블랙베리 10
+*   Tizen
+*   Firefox 운영 체제
+
+### 예를 들어
+
+    window.addEventListener("batterycritical", onBatteryCritical, false);
+    
+    function onBatteryCritical(info) {
+        // Handle the battery critical event
+        alert("Battery Level Critical " + info.level + "%\nRecharge Soon!");
+    }
+    
+
+## batterylow
+
+이벤트 발생 때 배터리 충전 비율 낮은 배터리 임계값, 특정 값에 도달 했습니다.
+
+`batterylow`처리기는 두 개의 속성이 포함 된 개체에 전달 됩니다:
+
+*   **수준**: 배터리 충전 (0-100)의 비율. *(수)*
+
+*   **isPlugged**: 장치 연결된 인치 *(부울)* 인지 여부를 나타내는 부울 값
+
+일반적으로 응용 프로그램을 사용 해야 합니다 `window.addEventListener` 한번 이벤트 리스너를 연결 하는 `deviceready` 이벤트가 발생 합니다.
+
+### 지원 되는 플랫폼
+
+*   아마존 화재 운영 체제
+*   iOS
+*   안 드 로이드
+*   블랙베리 10
+*   Tizen
+*   Firefox 운영 체제
+
+### 예를 들어
+
+    window.addEventListener("batterylow", onBatteryLow, false);
+    
+    function onBatteryLow(info) {
+        // Handle the battery low event
+        alert("Battery Level Low " + info.level + "%");
+    }
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-plugin-battery-status/blob/734807bc/doc/pl/index.md
----------------------------------------------------------------------
diff --git a/doc/pl/index.md b/doc/pl/index.md
new file mode 100644
index 0000000..53bf82e
--- /dev/null
+++ b/doc/pl/index.md
@@ -0,0 +1,132 @@
+<!---
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+-->
+
+# org.Apache.Cordova.Battery stan
+
+Wtyczka stanowi implementację starą wersję [API zdarzeń stanu baterii][1].
+
+ [1]: http://www.w3.org/TR/2011/WD-battery-status-20110915/
+
+To dodaje następujące trzy `window` zdarzenia:
+
+*   batterystatus
+*   batterycritical
+*   batterylow
+
+## Instalacji
+
+    cordova plugin add org.apache.cordova.battery-status
+    
+
+## batterystatus
+
+To zdarzenie fires po zmianie procent naładowania baterii, przez co najmniej 1 procent, lub jeśli urządzenie jest podłączone lub odłączony.
+
+Obsługi stan baterii jest przekazywany obiekt, który zawiera dwie właściwości:
+
+*   **poziom**: procent naładowania baterii (0-100). *(Liczba)*
+
+*   **isPlugged**: boolean, która wskazuje, czy urządzenie jest podłączony *(Boolean)*
+
+Aplikacje zwykle należy użyć `window.addEventListener` Aby dołączyć słuchacza raz `deviceready` pożary zdarzenia. np.:
+
+### Obsługiwane platformy
+
+*   Amazon ogień OS
+*   iOS
+*   Android
+*   Jeżyna 10
+*   Windows Phone 7 i 8
+*   Tizen
+*   Firefox OS
+
+### Windows Phone 7 i 8 dziwactwa
+
+Windows Phone 7 nie zapewniają native API do określenia poziomu baterii, więc `level` Właściwość jest niedostępny. `isPlugged`Parametr *jest* obsługiwany.
+
+### Przykład
+
+    window.addEventListener("batterystatus", onBatteryStatus, false);
+    
+    function onBatteryStatus(info) {
+        // Handle the online event
+        console.log("Level: " + info.level + " isPlugged: " + info.isPlugged);
+    }
+    
+
+## batterycritical
+
+Zdarzenie odpala gdy procent naładowania baterii osiągnie próg rozładowanej baterii. Wartość jest specyficzne dla urządzenia.
+
+`batterycritical`Obsługi jest przekazywany obiekt, który zawiera dwie właściwości:
+
+*   **poziom**: procent naładowania baterii (0-100). *(Liczba)*
+
+*   **isPlugged**: boolean, która wskazuje, czy urządzenie jest podłączony *(logiczna)*
+
+Aplikacje zwykle należy użyć `window.addEventListener` Aby dołączyć słuchacza raz `deviceready` pożary zdarzenia.
+
+### Obsługiwane platformy
+
+*   Amazon ogień OS
+*   iOS
+*   Android
+*   Jeżyna 10
+*   Tizen
+*   Firefox OS
+
+### Przykład
+
+    window.addEventListener("batterycritical", onBatteryCritical, false);
+    
+    function onBatteryCritical(info) {
+        // Handle the battery critical event
+        alert("Battery Level Critical " + info.level + "%\nRecharge Soon!");
+    }
+    
+
+## batterylow
+
+Zdarzenie odpala gdy procent naładowania baterii osiągnie próg niskiego poziomu baterii, wartości specyficzne dla urządzenia.
+
+`batterylow`Obsługi jest przekazywany obiekt, który zawiera dwie właściwości:
+
+*   **poziom**: procent naładowania baterii (0-100). *(Liczba)*
+
+*   **isPlugged**: boolean, która wskazuje, czy urządzenie jest podłączony *(logiczna)*
+
+Aplikacje zwykle należy użyć `window.addEventListener` Aby dołączyć słuchacza raz `deviceready` pożary zdarzenia.
+
+### Obsługiwane platformy
+
+*   Amazon ogień OS
+*   iOS
+*   Android
+*   Jeżyna 10
+*   Tizen
+*   Firefox OS
+
+### Przykład
+
+    window.addEventListener("batterylow", onBatteryLow, false);
+    
+    function onBatteryLow(info) {
+        // Handle the battery low event
+        alert("Battery Level Low " + info.level + "%");
+    }
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-plugin-battery-status/blob/734807bc/doc/zh/index.md
----------------------------------------------------------------------
diff --git a/doc/zh/index.md b/doc/zh/index.md
new file mode 100644
index 0000000..bd9f541
--- /dev/null
+++ b/doc/zh/index.md
@@ -0,0 +1,132 @@
+<!---
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+-->
+
+# org.apache.cordova.battery-地位
+
+這個外掛程式提供的舊版本的[電池狀態事件 API][1]實現的.
+
+ [1]: http://www.w3.org/TR/2011/WD-battery-status-20110915/
+
+它將添加以下三 `window` 事件:
+
+*   batterystatus
+*   batterycritical
+*   batterylow
+
+## 安裝
+
+    cordova plugin add org.apache.cordova.battery-status
+    
+
+## batterystatus
+
+當電池計量的百分比改變了至少 1%,或如果在插入或拔出該設備會觸發此事件。
+
+電池狀態處理常式傳遞一個物件,包含兩個屬性:
+
+*   **級別**: 電池充電 (0-100) 的百分比。*(人數)*
+
+*   **isPlugged**: 一個布林值,該值指示設備是否插*(布林值)*
+
+應用程式通常應使用 `window.addEventListener` 將一個事件攔截器附加一次 `deviceready` 事件火災。 例如:
+
+### 支援的平臺
+
+*   亞馬遜火 OS
+*   iOS
+*   Android 系統
+*   黑莓 10
+*   Windows Phone 7 和 8
+*   Tizen
+*   火狐瀏覽器作業系統
+
+### Windows Phone 7 和 8 怪癖
+
+Windows Phone 7 並不提供本機 Api 來確定電池計量水準,所以 `level` 是不可用的屬性。`isPlugged`參數**支援的。
+
+### 示例
+
+    window.addEventListener("batterystatus", onBatteryStatus, false);
+    
+    function onBatteryStatus(info) {
+        // Handle the online event
+        console.log("Level: " + info.level + " isPlugged: " + info.isPlugged);
+    }
+    
+
+## batterycritical
+
+當電池計量的百分比已達到關鍵電池閾值時,將觸發該事件。值是特定于設備。
+
+`batterycritical`處理常式傳遞一個物件,包含兩個屬性:
+
+*   **級別**: 電池充電 (0-100) 的百分比。*(人數)*
+
+*   **isPlugged**: 一個布林值,該值指示設備是否插*(布林值)*
+
+應用程式通常應使用 `window.addEventListener` 將一個事件攔截器附加一次 `deviceready` 事件火災。
+
+### 支援的平臺
+
+*   亞馬遜火 OS
+*   iOS
+*   Android 系統
+*   黑莓 10
+*   Tizen
+*   火狐瀏覽器作業系統
+
+### 示例
+
+    window.addEventListener("batterycritical", onBatteryCritical, false);
+    
+    function onBatteryCritical(info) {
+        // Handle the battery critical event
+        alert("Battery Level Critical " + info.level + "%\nRecharge Soon!");
+    }
+    
+
+## batterylow
+
+當電池計量的百分比已達到電池計量低門檻,設備特定值時,將觸發該事件。
+
+`batterylow`處理常式傳遞一個物件,包含兩個屬性:
+
+*   **級別**: 電池充電 (0-100) 的百分比。*(人數)*
+
+*   **isPlugged**: 一個布林值,該值指示設備是否插*(布林值)*
+
+應用程式通常應使用 `window.addEventListener` 將一個事件攔截器附加一次 `deviceready` 事件火災。
+
+### 支援的平臺
+
+*   亞馬遜火 OS
+*   iOS
+*   Android 系統
+*   黑莓 10
+*   Tizen
+*   火狐瀏覽器作業系統
+
+### 示例
+
+    window.addEventListener("batterylow", onBatteryLow, false);
+    
+    function onBatteryLow(info) {
+        // Handle the battery low event
+        alert("Battery Level Low " + info.level + "%");
+    }
\ No newline at end of file


[09/10] git commit: Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/cordova-plugin-battery-status

Posted by ld...@apache.org.
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/cordova-plugin-battery-status


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-battery-status/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-battery-status/commit/3457ff2b
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-battery-status/tree/3457ff2b
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-battery-status/diff/3457ff2b

Branch: refs/heads/master
Commit: 3457ff2b670fe0881f00f46b35a62c356e57e238
Parents: 7bf2c50 e01a80a
Author: ldeluca <ld...@us.ibm.com>
Authored: Wed Jun 11 09:55:04 2014 -0400
Committer: ldeluca <ld...@us.ibm.com>
Committed: Wed Jun 11 09:55:04 2014 -0400

----------------------------------------------------------------------
 CONTRIBUTING.md | 21 +++++++++++++++++++++
 RELEASENOTES.md | 11 +++++++++++
 plugin.xml      |  2 +-
 3 files changed, 33 insertions(+), 1 deletion(-)
----------------------------------------------------------------------



[08/10] git commit: documentation translation: cordova-plugin-battery-status

Posted by ld...@apache.org.
documentation translation: cordova-plugin-battery-status


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-battery-status/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-battery-status/commit/7bf2c50f
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-battery-status/tree/7bf2c50f
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-battery-status/diff/7bf2c50f

Branch: refs/heads/master
Commit: 7bf2c50fea2fec98e03e4165c99bda51f9f6aad8
Parents: 734807b
Author: ldeluca <ld...@us.ibm.com>
Authored: Tue May 27 21:35:54 2014 -0400
Committer: ldeluca <ld...@us.ibm.com>
Committed: Tue May 27 21:35:54 2014 -0400

----------------------------------------------------------------------
 doc/de/index.md | 132 +++++++++++++++++++++++++++++++++++++++++++++++++++
 doc/ja/index.md |  11 +++--
 2 files changed, 139 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-battery-status/blob/7bf2c50f/doc/de/index.md
----------------------------------------------------------------------
diff --git a/doc/de/index.md b/doc/de/index.md
new file mode 100644
index 0000000..6d7e4ff
--- /dev/null
+++ b/doc/de/index.md
@@ -0,0 +1,132 @@
+<!---
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+-->
+
+# org.Apache.Cordova.Battery-status
+
+Dieses Plugin stellt eine Implementierung der eine alte Version des [Batterie-Status-Ereignisse-API][1].
+
+ [1]: http://www.w3.org/TR/2011/WD-battery-status-20110915/
+
+Es fügt die folgenden drei `window` Veranstaltungen:
+
+*   batterystatus
+*   batterycritical
+*   batterylow
+
+## Installation
+
+    cordova plugin add org.apache.cordova.battery-status
+    
+
+## batterystatus
+
+Dieses Ereignis wird ausgelöst, wenn der Prozentsatz der Akkuladung um mindestens 1 Prozent ändert, oder wenn das Gerät eingesteckt oder "Unplugged".
+
+Der Batterie-Status-Handler wird ein Objekt übergeben, das zwei Eigenschaften enthält:
+
+*   **Ebene**: der Prozentsatz der Batterieladung (0-100). *(Anzahl)*
+
+*   **IsPlugged**: ein boolescher Wert, der angibt, ob das Gerät eingesteckt Zoll *(boolesch)*
+
+Anwendungen sollten in der Regel verwenden `window.addEventListener` Anfügen einen Ereignis-Listener einmal den `deviceready` Event Feuer. z.B.:
+
+### Unterstützte Plattformen
+
+*   Amazon Fire OS
+*   iOS
+*   Android
+*   BlackBerry 10
+*   Windows Phone 7 und 8
+*   Tizen
+*   Firefox OS
+
+### Windows Phone 7 und 8 Macken
+
+Windows Phone 7 bietet keine systemeigenen APIs um zu bestimmen, Batterie-Niveau, so dass die `level` -Eigenschaft ist nicht verfügbar. Der `isPlugged` -Parameter *wird* unterstützt.
+
+### Beispiel
+
+    window.addEventListener("batterystatus", onBatteryStatus, false);
+    
+    function onBatteryStatus(info) {
+        // Handle the online event
+        console.log("Level: " + info.level + " isPlugged: " + info.isPlugged);
+    }
+    
+
+## batterycritical
+
+Das Ereignis wird ausgelöst, wenn der Prozentsatz der Batterieladung der kritischen Akku-Schwellenwert erreicht hat. Der Wert ist gerätespezifisch.
+
+Die `batterycritical` Handler übergeben wird ein Objekt mit zwei Eigenschaften:
+
+*   **Ebene**: der Prozentsatz der Batterieladung (0-100). *(Anzahl)*
+
+*   **IsPlugged**: ein boolescher Wert, der angibt, ob das Gerät eingesteckt Zoll *(boolesch)*
+
+Anwendungen sollten in der Regel verwenden `window.addEventListener` einmal einen Ereignis-Listener hinzufügen das `deviceready` -Ereignis ausgelöst.
+
+### Unterstützte Plattformen
+
+*   Amazon Fire OS
+*   iOS
+*   Android
+*   BlackBerry 10
+*   Tizen
+*   Firefox OS
+
+### Beispiel
+
+    window.addEventListener("batterycritical", onBatteryCritical, false);
+    
+    function onBatteryCritical(info) {
+        // Handle the battery critical event
+        alert("Battery Level Critical " + info.level + "%\nRecharge Soon!");
+    }
+    
+
+## batterylow
+
+Das Ereignis wird ausgelöst, wenn der Prozentsatz der Akkuladung, die Batterie-Schwelle, gerätespezifische Wert erreicht hat.
+
+Die `batterylow` Handler übergeben wird ein Objekt mit zwei Eigenschaften:
+
+*   **Ebene**: der Prozentsatz der Batterieladung (0-100). *(Anzahl)*
+
+*   **IsPlugged**: ein boolescher Wert, der angibt, ob das Gerät eingesteckt Zoll *(boolesch)*
+
+Anwendungen sollten in der Regel verwenden `window.addEventListener` einmal einen Ereignis-Listener hinzufügen das `deviceready` -Ereignis ausgelöst.
+
+### Unterstützte Plattformen
+
+*   Amazon Fire OS
+*   iOS
+*   Android
+*   BlackBerry 10
+*   Tizen
+*   Firefox OS
+
+### Beispiel
+
+    window.addEventListener("batterylow", onBatteryLow, false);
+    
+    function onBatteryLow(info) {
+        // Handle the battery low event
+        alert("Battery Level Low " + info.level + "%");
+    }
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-plugin-battery-status/blob/7bf2c50f/doc/ja/index.md
----------------------------------------------------------------------
diff --git a/doc/ja/index.md b/doc/ja/index.md
index 99dcc32..9d77097 100644
--- a/doc/ja/index.md
+++ b/doc/ja/index.md
@@ -17,13 +17,13 @@
     under the License.
 -->
 
-# org.apache.cordova.battery-status
+# org.apache.cordova.battery ステータス
 
-This plugin provides an implementation of an old version of the [Battery Status Events API][1].
+このプラグインは、[バッテリ ステータス イベント API][1]の旧バージョンの実装を提供します.
 
  [1]: http://www.w3.org/TR/2011/WD-battery-status-20110915/
 
-It adds the following three `window` events:
+次の 3 つを追加します `window` イベント。
 
 *   batterystatus
 *   batterycritical
@@ -44,7 +44,7 @@ It adds the following three `window` events:
 
 *   **起こしたり**: デバイスが接続されてインチ*(ブール値)*かどうかを示すブール値
 
-Applications typically should use `window.addEventListener` to attach an event listener once the `deviceready` event fires. e.g.:
+通常アプリケーションに使用する必要があります `window.addEventListener` 一度のイベント リスナーをアタッチし、 `deviceready` イベント火災。 例。
 
 ### サポートされているプラットフォーム
 
@@ -54,6 +54,7 @@ Applications typically should use `window.addEventListener` to attach an event l
 *   ブラックベリー 10
 *   Windows Phone 7 と 8
 *   Tizen
+*   Firefox の OS
 
 ### Windows Phone 7 と 8 癖
 
@@ -88,6 +89,7 @@ Windows Phone 7 は、バッテリーのレベルを決定するネイティブ
 *   アンドロイド
 *   ブラックベリー 10
 *   Tizen
+*   Firefox の OS
 
 ### 例
 
@@ -118,6 +120,7 @@ Windows Phone 7 は、バッテリーのレベルを決定するネイティブ
 *   アンドロイド
 *   ブラックベリー 10
 *   Tizen
+*   Firefox の OS
 
 ### 例
 


[06/10] git commit: Lisa testing pulling in plugins for plugin: cordova-plugin-battery-status

Posted by ld...@apache.org.
Lisa testing pulling in plugins for plugin: cordova-plugin-battery-status


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-battery-status/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-battery-status/commit/5a920830
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-battery-status/tree/5a920830
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-battery-status/diff/5a920830

Branch: refs/heads/master
Commit: 5a92083036be94adfd55697f7f71fa6adfc2cbbe
Parents: 655185c
Author: ldeluca <ld...@us.ibm.com>
Authored: Tue May 27 17:49:06 2014 -0400
Committer: ldeluca <ld...@us.ibm.com>
Committed: Tue May 27 17:49:06 2014 -0400

----------------------------------------------------------------------
 doc/ja/index.md | 129 +++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 129 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-battery-status/blob/5a920830/doc/ja/index.md
----------------------------------------------------------------------
diff --git a/doc/ja/index.md b/doc/ja/index.md
new file mode 100644
index 0000000..99dcc32
--- /dev/null
+++ b/doc/ja/index.md
@@ -0,0 +1,129 @@
+<!---
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+-->
+
+# org.apache.cordova.battery-status
+
+This plugin provides an implementation of an old version of the [Battery Status Events API][1].
+
+ [1]: http://www.w3.org/TR/2011/WD-battery-status-20110915/
+
+It adds the following three `window` events:
+
+*   batterystatus
+*   batterycritical
+*   batterylow
+
+## インストール
+
+    cordova plugin add org.apache.cordova.battery-status
+    
+
+## batterystatus
+
+バッテリーの充電の割合 1% 以上によって変更されたとき、またはデバイス接続している場合に発生します。
+
+バッテリ状態ハンドラーは 2 つのプロパティを格納しているオブジェクトに渡されます。
+
+*   **レベル**: バッテリーの充電量 (0-100) の割合。*(数)*
+
+*   **起こしたり**: デバイスが接続されてインチ*(ブール値)*かどうかを示すブール値
+
+Applications typically should use `window.addEventListener` to attach an event listener once the `deviceready` event fires. e.g.:
+
+### サポートされているプラットフォーム
+
+*   アマゾン火 OS
+*   iOS
+*   アンドロイド
+*   ブラックベリー 10
+*   Windows Phone 7 と 8
+*   Tizen
+
+### Windows Phone 7 と 8 癖
+
+Windows Phone 7 は、バッテリーのレベルを決定するネイティブ Api を提供しませんので、 `level` プロパティは使用できません。`isPlugged`パラメーター*が*サポートされています。
+
+### 例
+
+    window.addEventListener("batterystatus", onBatteryStatus, false);
+    
+    function onBatteryStatus(info) {
+        // Handle the online event
+        console.log("Level: " + info.level + " isPlugged: " + info.isPlugged);
+    }
+    
+
+## batterycritical
+
+バッテリーの充電の割合がバッテリ切れのしきい値に達したときに発生します。値は、デバイス固有です。
+
+`batterycritical`ハンドラーは 2 つのプロパティを格納しているオブジェクトに渡されます。
+
+*   **レベル**: バッテリーの充電量 (0-100) の割合。*(数)*
+
+*   **起こしたり**: デバイスが接続されてインチ*(ブール値)*かどうかを示すブール値
+
+通常アプリケーションに使用する必要があります `window.addEventListener` 一度のイベント リスナーをアタッチし、 `deviceready` イベントが発生します。
+
+### サポートされているプラットフォーム
+
+*   アマゾン火 OS
+*   iOS
+*   アンドロイド
+*   ブラックベリー 10
+*   Tizen
+
+### 例
+
+    window.addEventListener("batterycritical", onBatteryCritical, false);
+    
+    function onBatteryCritical(info) {
+        // Handle the battery critical event
+        alert("Battery Level Critical " + info.level + "%\nRecharge Soon!");
+    }
+    
+
+## batterylow
+
+バッテリーの充電の割合がバッテリ低下しきい値、デバイス固有の値に達したときに発生します。
+
+`batterylow`ハンドラーは 2 つのプロパティを格納しているオブジェクトに渡されます。
+
+*   **レベル**: バッテリーの充電量 (0-100) の割合。*(数)*
+
+*   **起こしたり**: デバイスが接続されてインチ*(ブール値)*かどうかを示すブール値
+
+通常アプリケーションに使用する必要があります `window.addEventListener` 一度のイベント リスナーをアタッチし、 `deviceready` イベントが発生します。
+
+### サポートされているプラットフォーム
+
+*   アマゾン火 OS
+*   iOS
+*   アンドロイド
+*   ブラックベリー 10
+*   Tizen
+
+### 例
+
+    window.addEventListener("batterylow", onBatteryLow, false);
+    
+    function onBatteryLow(info) {
+        // Handle the battery low event
+        alert("Battery Level Low " + info.level + "%");
+    }
\ No newline at end of file


[03/10] git commit: Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/cordova-plugin-battery-status

Posted by ld...@apache.org.
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/cordova-plugin-battery-status


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-battery-status/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-battery-status/commit/84c0f6ef
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-battery-status/tree/84c0f6ef
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-battery-status/diff/84c0f6ef

Branch: refs/heads/master
Commit: 84c0f6ef3c8a0784e70bd3594e6eb3181be02090
Parents: 240478f d38f0ab
Author: ldeluca <ld...@us.ibm.com>
Authored: Mon May 5 09:59:32 2014 -0400
Committer: ldeluca <ld...@us.ibm.com>
Committed: Mon May 5 09:59:32 2014 -0400

----------------------------------------------------------------------
 CONTRIBUTING.md                 | 16 ++++++++++++++++
 NOTICE                          |  5 +++++
 README.md                       | 19 +++++++++++++++++++
 RELEASENOTES.md                 |  5 +++++
 plugin.xml                      | 19 ++++++++++++++++++-
 src/tizen/BatteryStatusProxy.js | 21 +++++++++++++++++++++
 6 files changed, 84 insertions(+), 1 deletion(-)
----------------------------------------------------------------------



[02/10] git commit: Lisa testing pulling in plugins for plugin: cordova-plugin-battery-status

Posted by ld...@apache.org.
Lisa testing pulling in plugins for plugin: cordova-plugin-battery-status


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-battery-status/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-battery-status/commit/240478f3
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-battery-status/tree/240478f3
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-battery-status/diff/240478f3

Branch: refs/heads/master
Commit: 240478f38c2515c0b6a9c5bc36bc97504aeb87b3
Parents: 2592b9f
Author: ldeluca <ld...@us.ibm.com>
Authored: Thu Feb 27 11:14:18 2014 -0500
Committer: ldeluca <ld...@us.ibm.com>
Committed: Thu Feb 27 11:14:18 2014 -0500

----------------------------------------------------------------------
 doc/fr/index.md | 129 +++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 129 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-battery-status/blob/240478f3/doc/fr/index.md
----------------------------------------------------------------------
diff --git a/doc/fr/index.md b/doc/fr/index.md
new file mode 100644
index 0000000..c19e8c7
--- /dev/null
+++ b/doc/fr/index.md
@@ -0,0 +1,129 @@
+<!---
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+-->
+
+# org.Apache.Cordova.Battery inscrits
+
+Ce plugin fournit une implémentation d'une ancienne version de [Batterie Status événements API][1].
+
+ [1]: http://www.w3.org/TR/2011/WD-battery-status-20110915/
+
+Il ajoute les trois `window` des événements :
+
+*   batterystatus
+*   batterycritical
+*   batterylow
+
+## Installation
+
+    cordova plugin add org.apache.cordova.battery-status
+    
+
+## batterystatus
+
+L'évènement se déclenche lorsque le taux de charge de la batterie gagne ou perd au moins un pourcent, ou quand l'appareil est branché ou débranché.
+
+Le gestionnaire est appelé avec un objet contenant deux propriétés :
+
+*   **level** : le taux de charge de la batterie (0-100). *(Number)*
+
+*   **isPlugged** : un booléen indiquant si l'appareil est en cours de chargement ou non. *(Boolean)*
+
+Les applications doivent généralement utiliser `window.addEventListener` pour attacher un écouteur d'événements une fois le `deviceready` événement incendies. par exemple :
+
+### Plates-formes prises en charge
+
+*   Amazon Fire OS
+*   iOS
+*   Android
+*   BlackBerry 10
+*   Windows Phone 7 et 8
+*   Paciarelli
+
+### Notes au sujet de Windows Phone 7 et 8
+
+Windows Phone 7 ne fournit pas d'API native pour déterminer le niveau de la batterie, de ce fait la propriété `level` n'est pas disponible. La propriété `isPlugged` *est* quant à elle prise en charge.
+
+### Exemple
+
+    window.addEventListener("batterystatus", onBatteryStatus, false);
+    
+    function onBatteryStatus(info) {
+        // Handle the online event
+        console.log("Level: " + info.level + " isPlugged: " + info.isPlugged);
+    }
+    
+
+## batterycritical
+
+L'évènement se déclenche lorsque le pourcentage de charge de la batterie a atteint un seuil critique. Cette valeur est spécifique à l'appareil.
+
+Le gestionnaire `batterycritical` est appelé avec un objet contenant deux propriétés :
+
+*   **niveau**: le pourcentage de charge de la batterie (0-100). *(Nombre)*
+
+*   **isPlugged**: valeur booléenne qui indique si l'appareil n'est branché *(Boolean)*
+
+Les applications devraient en général utiliser `window.addEventListener` pour attacher un écouteur d'évènements, une fois l'évènement `deviceready` déclenché.
+
+### Plates-formes prises en charge
+
+*   Amazon Fire OS
+*   iOS
+*   Android
+*   BlackBerry 10
+*   Paciarelli
+
+### Exemple
+
+    window.addEventListener("batterycritical", onBatteryCritical, false);
+    
+    function onBatteryCritical(info) {
+        // Handle the battery critical event
+        alert("Battery Level Critical " + info.level + "%\nRecharge Soon!");
+    }
+    
+
+## batterylow
+
+L'évènement se déclenche lorsque le pourcentage de charge de la batterie a atteint un niveau faible, cette valeur est spécifique à l'appareil.
+
+Le gestionnaire `batterylow` est appelé avec un objet contenant deux propriétés :
+
+*   **niveau**: le pourcentage de charge de la batterie (0-100). *(Nombre)*
+
+*   **isPlugged**: valeur booléenne qui indique si l'appareil n'est branché *(Boolean)*
+
+Les applications devraient en général utiliser `window.addEventListener` pour attacher un écouteur d'évènements, une fois l'évènement `deviceready` déclenché.
+
+### Plates-formes prises en charge
+
+*   Amazon Fire OS
+*   iOS
+*   Android
+*   BlackBerry 10
+*   Paciarelli
+
+### Exemple
+
+    window.addEventListener("batterylow", onBatteryLow, false);
+    
+    function onBatteryLow(info) {
+        // Handle the battery low event
+        alert("Battery Level Low " + info.level + "%");
+    }
\ No newline at end of file


[10/10] git commit: Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/cordova-plugin-battery-status

Posted by ld...@apache.org.
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/cordova-plugin-battery-status


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-battery-status/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-battery-status/commit/6b9fddc3
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-battery-status/tree/6b9fddc3
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-battery-status/diff/6b9fddc3

Branch: refs/heads/master
Commit: 6b9fddc3c58d8896dcadb368d4d27ee5e316bdf5
Parents: 3457ff2 4e26299
Author: ldeluca <ld...@us.ibm.com>
Authored: Fri Jun 27 12:51:30 2014 -0400
Committer: ldeluca <ld...@us.ibm.com>
Committed: Fri Jun 27 12:51:30 2014 -0400

----------------------------------------------------------------------
 doc/index.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------



[04/10] git commit: Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/cordova-plugin-battery-status

Posted by ld...@apache.org.
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/cordova-plugin-battery-status


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-battery-status/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-battery-status/commit/3c098401
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-battery-status/tree/3c098401
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-battery-status/diff/3c098401

Branch: refs/heads/master
Commit: 3c09840160605911234af32b9af25b78881a7421
Parents: 84c0f6e dbdcbeb
Author: ldeluca <ld...@us.ibm.com>
Authored: Tue May 20 13:54:28 2014 -0400
Committer: ldeluca <ld...@us.ibm.com>
Committed: Tue May 20 13:54:28 2014 -0400

----------------------------------------------------------------------
 doc/index.md                  |  3 ++
 plugin.xml                    |  7 +++++
 src/firefoxos/BatteryProxy.js | 61 ++++++++++++++++++++++++++++++++++++++
 www/battery.js                | 22 ++++++++------
 4 files changed, 84 insertions(+), 9 deletions(-)
----------------------------------------------------------------------



[05/10] git commit: Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/cordova-plugin-battery-status

Posted by ld...@apache.org.
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/cordova-plugin-battery-status


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-battery-status/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-battery-status/commit/655185ce
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-battery-status/tree/655185ce
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-battery-status/diff/655185ce

Branch: refs/heads/master
Commit: 655185cea72ee82af0e1196a2134e6d87da37a78
Parents: 3c09840 b48708e
Author: ldeluca <ld...@us.ibm.com>
Authored: Tue May 27 13:52:43 2014 -0400
Committer: ldeluca <ld...@us.ibm.com>
Committed: Tue May 27 13:52:43 2014 -0400

----------------------------------------------------------------------
 www/battery.js | 25 ++++++++++++++++---------
 1 file changed, 16 insertions(+), 9 deletions(-)
----------------------------------------------------------------------