From 074785cea106179cb3305637055ab0a009ca74f2 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:42:52 -0500 Subject: initial commit --- .../web/api/batterymanager/chargingtime/index.html | 34 ++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 files/pt-br/web/api/batterymanager/chargingtime/index.html (limited to 'files/pt-br/web/api/batterymanager/chargingtime') diff --git a/files/pt-br/web/api/batterymanager/chargingtime/index.html b/files/pt-br/web/api/batterymanager/chargingtime/index.html new file mode 100644 index 0000000000..3a02666207 --- /dev/null +++ b/files/pt-br/web/api/batterymanager/chargingtime/index.html @@ -0,0 +1,34 @@ +--- +title: BatteryManager.chargingTime +slug: Web/API/BatteryManager/chargingTime +tags: + - API + - Battery API + - Propriedade + - Referencia +translation_of: Web/API/BatteryManager/chargingTime +--- +

{{APIRef("Battery API")}}

+ +

Indica a quantidade de tempo, em segundos, que resta até que a bateria esteja totalmente carregada.

+ +

Sintaxe

+ +
var time = navigator.battery.chargingTime
+ +

No retorno, time é o tempo restante em segundos até que a bateria esteja totalmente carregada, ou 0 se a bateria já estiver com sua carga completa. Se a bateria estiver descarregando (ou se o sistema não é capaz de derminar o tempo restante para o carregamento), este valor é Infinity.

+ +

Especificações

+ +

{{page("/pt-BR/docs/Web/API/BatteryManager","Specifications")}}

+ +

Compatibilidade entre navegadores

+ +

{{page("/pt-BR/docs/Web/API/BatteryManager","Browser_compatibility")}}

+ +

Veja também

+ + -- cgit v1.2.3-54-g00ecf