aboutsummaryrefslogtreecommitdiff
path: root/files/es/web/api/batterymanager/charging/index.html
diff options
context:
space:
mode:
authorPeter Bengtsson <mail@peterbe.com>2020-12-08 14:41:45 -0500
committerPeter Bengtsson <mail@peterbe.com>2020-12-08 14:41:45 -0500
commit1109132f09d75da9a28b649c7677bb6ce07c40c0 (patch)
tree0dd8b084480983cf9f9680e8aedb92782a921b13 /files/es/web/api/batterymanager/charging/index.html
parent4b1a9203c547c019fc5398082ae19a3f3d4c3efe (diff)
downloadtranslated-content-1109132f09d75da9a28b649c7677bb6ce07c40c0.tar.gz
translated-content-1109132f09d75da9a28b649c7677bb6ce07c40c0.tar.bz2
translated-content-1109132f09d75da9a28b649c7677bb6ce07c40c0.zip
initial commit
Diffstat (limited to 'files/es/web/api/batterymanager/charging/index.html')
-rw-r--r--files/es/web/api/batterymanager/charging/index.html28
1 files changed, 28 insertions, 0 deletions
diff --git a/files/es/web/api/batterymanager/charging/index.html b/files/es/web/api/batterymanager/charging/index.html
new file mode 100644
index 0000000000..8295785a2c
--- /dev/null
+++ b/files/es/web/api/batterymanager/charging/index.html
@@ -0,0 +1,28 @@
+---
+title: BatteryManager.charging
+slug: Web/API/BatteryManager/charging
+tags:
+ - Apps
+ - Batería
+ - Battery
+ - Firefox OS
+ - Mobile
+ - Móvil
+ - WebAPI
+translation_of: Web/API/BatteryManager/charging
+---
+<p>{{ ApiRef() }}</p>
+<h2 id="Summary" name="Summary">Resumen</h2>
+<p>Un valor boleano indicando si o no esta cargando la batería del dispositivo (está conectado el cargador).</p>
+<h2 id="Syntax" name="Syntax">Sintaxis</h2>
+<pre class="syntaxbox">var <em>charging</em> = navigator.battery.charging</pre>
+<p>Valor de retorno, <code>charging</code> indica si o no la batería esta siendo cargada; si la batería se está cargando (o si no hay batería), este valor es <code>true</code>. De lo contrario el valor es <code>false</code>.</p>
+<h2 id="Specifications">Specifications</h2>
+<p>{{page("/en-US/docs/Web/API/BatteryManager","Specifications")}}</p>
+<h2 id="Browser_compatibility">Browser compatibility</h2>
+<p>{{page("/en-US/docs/Web/API/BatteryManager","Browser_compatibility")}}</p>
+<h2 id="See_also">See also</h2>
+<ul>
+ <li>{{domxref("BatteryManager")}}</li>
+ <li>{{domxref("window.navigator.battery","navigator.battery")}}</li>
+</ul>