Languages

Menu
Sites
Language
Battery Remaining charging time ?

How mdo i know the Time left for charging

Responses

1 Replies
Anirban Dutta

Hi!

As far as I know, the battery API (1) for native applications in tizen provides following functionalities:


* Gets the battery charge in parcentage.
* Gets the charging state.
* Gets the battery level status.


But it is possible to access changes in battery status (like remaining charging time ) using BatteryStatus API for web (2).

Here is an example that implements this API :

https://developer.tizen.org/development/tutorials/web-application/w3chtml5supplementary-features/device/battery-status#retrieve

References: 

1. https://developer.tizen.org/development/api-references/native-application?redirect=https://developer.tizen.org/dev-guide/2.4.0/org.tizen.native.mobile.apireference/group__CAPI__SYSTEM__DEVICE__BATTERY__MODULE.html

2. https://www.w3.org/TR/2012/CR-battery-status-20120508/#widl-BatteryManager-chargingTime

Thanks.