[ 
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to