cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthew Keable (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-8955) iOS - Current Battery Status
Date Mon, 18 May 2015 08:51:00 GMT

    [ https://issues.apache.org/jira/browse/CB-8955?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14547740#comment-14547740
] 

Matthew Keable commented on CB-8955:
------------------------------------

[~jcesarmobile] returning the current status the first time would put it equal to the functionality
of the Android version which would be good.

> iOS - Current Battery Status
> ----------------------------
>
>                 Key: CB-8955
>                 URL: https://issues.apache.org/jira/browse/CB-8955
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: Plugin Battery Status
>         Environment: iOS
>            Reporter: Matthew Keable
>            Priority: Minor
>
> My understanding of the current Battery Status plugin on iOS is that we can only receive
data via the battery status listeners. However, these only fire when the device is (un)plugged
or the battery percentage changes by 1%.
> There doesn't seem to be a method that enables you to get the current status. For instance
I have an app that I'd like to be able to show the current battery status on screen, but on
launch those values remain empty until the first time this listener fires.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message