언어 설정

Menu
Sites
Language
How to get battery level in web app

Hi all,
I have found PowerManager interface to manage screen state and brightness , but I did not find how to get battery level for web apps.
Is it possible for web apps or not?
Thank you.
Alexey.

Responses

2 댓글
Marco Buettner

You can use

SystemInformation API
https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/systeminfo.html#::SystemInfo::SystemInfoBattery

Also you can use

W3C Battery API
http://www.w3.org/TR/2012/CR-battery-status-20120508/
 

Alex Dem

Thank you a lot!
Alexey.