PC Pals Forum

Technical Help & Discussion => General Tech Discussion, News & Q&A => Topic started by: sam on February 05, 2010, 03:42

Title: W3C proposes hardware interface
Post by: sam on February 05, 2010, 03:42
http://www.h-online.com/open/news/item/W3C-proposes-hardware-interface-921734.html

Quote
The World Wide Web Consortium (W3C) draft for a "System Information API" specifies JavaScript functions for accessing the battery, CPU, sensors and other hardware characteristics of a device. For this purpose, the window.navigator object's SystemInfo interface has to implement the get, set and watch methods. set can only be applied to some screen properties such as brightness and orientation, while all other hardware properties are marked as readonly. watch is used for monitoring readings, for example those of a heat sensor.