Good. Those APIs were awful. If your website needs to know the battery status or other such information , you need to be writing an app which I will never download.
replies(3):
Every additional API added to the browser makes the risk of such side effects greater.
Then make it less so. Browser APIs can - and do - lie to their users. For example, if you try to query the color of a visited link, you won't get the actual color, but instead you get the default link color. This is to prevent an old bug that let you basically harvest a user's browsing history.